1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gst-gpac/AUTHORS Thu Feb 21 17:44:16 2008 +0000
1.3 @@ -0,0 +1,1 @@
1.4 +Hallyson Luiz de Morais Melo <hallyson.melo@indt.org.br>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/gst-gpac/COPYING Thu Feb 21 17:44:16 2008 +0000
2.3 @@ -0,0 +1,504 @@
2.4 + GNU LESSER GENERAL PUBLIC LICENSE
2.5 + Version 2.1, February 1999
2.6 +
2.7 + Copyright (C) 1991, 1999 Free Software Foundation, Inc.
2.8 + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2.9 + Everyone is permitted to copy and distribute verbatim copies
2.10 + of this license document, but changing it is not allowed.
2.11 +
2.12 +[This is the first released version of the Lesser GPL. It also counts
2.13 + as the successor of the GNU Library Public License, version 2, hence
2.14 + the version number 2.1.]
2.15 +
2.16 + Preamble
2.17 +
2.18 + The licenses for most software are designed to take away your
2.19 +freedom to share and change it. By contrast, the GNU General Public
2.20 +Licenses are intended to guarantee your freedom to share and change
2.21 +free software--to make sure the software is free for all its users.
2.22 +
2.23 + This license, the Lesser General Public License, applies to some
2.24 +specially designated software packages--typically libraries--of the
2.25 +Free Software Foundation and other authors who decide to use it. You
2.26 +can use it too, but we suggest you first think carefully about whether
2.27 +this license or the ordinary General Public License is the better
2.28 +strategy to use in any particular case, based on the explanations below.
2.29 +
2.30 + When we speak of free software, we are referring to freedom of use,
2.31 +not price. Our General Public Licenses are designed to make sure that
2.32 +you have the freedom to distribute copies of free software (and charge
2.33 +for this service if you wish); that you receive source code or can get
2.34 +it if you want it; that you can change the software and use pieces of
2.35 +it in new free programs; and that you are informed that you can do
2.36 +these things.
2.37 +
2.38 + To protect your rights, we need to make restrictions that forbid
2.39 +distributors to deny you these rights or to ask you to surrender these
2.40 +rights. These restrictions translate to certain responsibilities for
2.41 +you if you distribute copies of the library or if you modify it.
2.42 +
2.43 + For example, if you distribute copies of the library, whether gratis
2.44 +or for a fee, you must give the recipients all the rights that we gave
2.45 +you. You must make sure that they, too, receive or can get the source
2.46 +code. If you link other code with the library, you must provide
2.47 +complete object files to the recipients, so that they can relink them
2.48 +with the library after making changes to the library and recompiling
2.49 +it. And you must show them these terms so they know their rights.
2.50 +
2.51 + We protect your rights with a two-step method: (1) we copyright the
2.52 +library, and (2) we offer you this license, which gives you legal
2.53 +permission to copy, distribute and/or modify the library.
2.54 +
2.55 + To protect each distributor, we want to make it very clear that
2.56 +there is no warranty for the free library. Also, if the library is
2.57 +modified by someone else and passed on, the recipients should know
2.58 +that what they have is not the original version, so that the original
2.59 +author's reputation will not be affected by problems that might be
2.60 +introduced by others.
2.61 +
2.62 + Finally, software patents pose a constant threat to the existence of
2.63 +any free program. We wish to make sure that a company cannot
2.64 +effectively restrict the users of a free program by obtaining a
2.65 +restrictive license from a patent holder. Therefore, we insist that
2.66 +any patent license obtained for a version of the library must be
2.67 +consistent with the full freedom of use specified in this license.
2.68 +
2.69 + Most GNU software, including some libraries, is covered by the
2.70 +ordinary GNU General Public License. This license, the GNU Lesser
2.71 +General Public License, applies to certain designated libraries, and
2.72 +is quite different from the ordinary General Public License. We use
2.73 +this license for certain libraries in order to permit linking those
2.74 +libraries into non-free programs.
2.75 +
2.76 + When a program is linked with a library, whether statically or using
2.77 +a shared library, the combination of the two is legally speaking a
2.78 +combined work, a derivative of the original library. The ordinary
2.79 +General Public License therefore permits such linking only if the
2.80 +entire combination fits its criteria of freedom. The Lesser General
2.81 +Public License permits more lax criteria for linking other code with
2.82 +the library.
2.83 +
2.84 + We call this license the "Lesser" General Public License because it
2.85 +does Less to protect the user's freedom than the ordinary General
2.86 +Public License. It also provides other free software developers Less
2.87 +of an advantage over competing non-free programs. These disadvantages
2.88 +are the reason we use the ordinary General Public License for many
2.89 +libraries. However, the Lesser license provides advantages in certain
2.90 +special circumstances.
2.91 +
2.92 + For example, on rare occasions, there may be a special need to
2.93 +encourage the widest possible use of a certain library, so that it becomes
2.94 +a de-facto standard. To achieve this, non-free programs must be
2.95 +allowed to use the library. A more frequent case is that a free
2.96 +library does the same job as widely used non-free libraries. In this
2.97 +case, there is little to gain by limiting the free library to free
2.98 +software only, so we use the Lesser General Public License.
2.99 +
2.100 + In other cases, permission to use a particular library in non-free
2.101 +programs enables a greater number of people to use a large body of
2.102 +free software. For example, permission to use the GNU C Library in
2.103 +non-free programs enables many more people to use the whole GNU
2.104 +operating system, as well as its variant, the GNU/Linux operating
2.105 +system.
2.106 +
2.107 + Although the Lesser General Public License is Less protective of the
2.108 +users' freedom, it does ensure that the user of a program that is
2.109 +linked with the Library has the freedom and the wherewithal to run
2.110 +that program using a modified version of the Library.
2.111 +
2.112 + The precise terms and conditions for copying, distribution and
2.113 +modification follow. Pay close attention to the difference between a
2.114 +"work based on the library" and a "work that uses the library". The
2.115 +former contains code derived from the library, whereas the latter must
2.116 +be combined with the library in order to run.
2.117 +
2.118 + GNU LESSER GENERAL PUBLIC LICENSE
2.119 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
2.120 +
2.121 + 0. This License Agreement applies to any software library or other
2.122 +program which contains a notice placed by the copyright holder or
2.123 +other authorized party saying it may be distributed under the terms of
2.124 +this Lesser General Public License (also called "this License").
2.125 +Each licensee is addressed as "you".
2.126 +
2.127 + A "library" means a collection of software functions and/or data
2.128 +prepared so as to be conveniently linked with application programs
2.129 +(which use some of those functions and data) to form executables.
2.130 +
2.131 + The "Library", below, refers to any such software library or work
2.132 +which has been distributed under these terms. A "work based on the
2.133 +Library" means either the Library or any derivative work under
2.134 +copyright law: that is to say, a work containing the Library or a
2.135 +portion of it, either verbatim or with modifications and/or translated
2.136 +straightforwardly into another language. (Hereinafter, translation is
2.137 +included without limitation in the term "modification".)
2.138 +
2.139 + "Source code" for a work means the preferred form of the work for
2.140 +making modifications to it. For a library, complete source code means
2.141 +all the source code for all modules it contains, plus any associated
2.142 +interface definition files, plus the scripts used to control compilation
2.143 +and installation of the library.
2.144 +
2.145 + Activities other than copying, distribution and modification are not
2.146 +covered by this License; they are outside its scope. The act of
2.147 +running a program using the Library is not restricted, and output from
2.148 +such a program is covered only if its contents constitute a work based
2.149 +on the Library (independent of the use of the Library in a tool for
2.150 +writing it). Whether that is true depends on what the Library does
2.151 +and what the program that uses the Library does.
2.152 +
2.153 + 1. You may copy and distribute verbatim copies of the Library's
2.154 +complete source code as you receive it, in any medium, provided that
2.155 +you conspicuously and appropriately publish on each copy an
2.156 +appropriate copyright notice and disclaimer of warranty; keep intact
2.157 +all the notices that refer to this License and to the absence of any
2.158 +warranty; and distribute a copy of this License along with the
2.159 +Library.
2.160 +
2.161 + You may charge a fee for the physical act of transferring a copy,
2.162 +and you may at your option offer warranty protection in exchange for a
2.163 +fee.
2.164 +
2.165 + 2. You may modify your copy or copies of the Library or any portion
2.166 +of it, thus forming a work based on the Library, and copy and
2.167 +distribute such modifications or work under the terms of Section 1
2.168 +above, provided that you also meet all of these conditions:
2.169 +
2.170 + a) The modified work must itself be a software library.
2.171 +
2.172 + b) You must cause the files modified to carry prominent notices
2.173 + stating that you changed the files and the date of any change.
2.174 +
2.175 + c) You must cause the whole of the work to be licensed at no
2.176 + charge to all third parties under the terms of this License.
2.177 +
2.178 + d) If a facility in the modified Library refers to a function or a
2.179 + table of data to be supplied by an application program that uses
2.180 + the facility, other than as an argument passed when the facility
2.181 + is invoked, then you must make a good faith effort to ensure that,
2.182 + in the event an application does not supply such function or
2.183 + table, the facility still operates, and performs whatever part of
2.184 + its purpose remains meaningful.
2.185 +
2.186 + (For example, a function in a library to compute square roots has
2.187 + a purpose that is entirely well-defined independent of the
2.188 + application. Therefore, Subsection 2d requires that any
2.189 + application-supplied function or table used by this function must
2.190 + be optional: if the application does not supply it, the square
2.191 + root function must still compute square roots.)
2.192 +
2.193 +These requirements apply to the modified work as a whole. If
2.194 +identifiable sections of that work are not derived from the Library,
2.195 +and can be reasonably considered independent and separate works in
2.196 +themselves, then this License, and its terms, do not apply to those
2.197 +sections when you distribute them as separate works. But when you
2.198 +distribute the same sections as part of a whole which is a work based
2.199 +on the Library, the distribution of the whole must be on the terms of
2.200 +this License, whose permissions for other licensees extend to the
2.201 +entire whole, and thus to each and every part regardless of who wrote
2.202 +it.
2.203 +
2.204 +Thus, it is not the intent of this section to claim rights or contest
2.205 +your rights to work written entirely by you; rather, the intent is to
2.206 +exercise the right to control the distribution of derivative or
2.207 +collective works based on the Library.
2.208 +
2.209 +In addition, mere aggregation of another work not based on the Library
2.210 +with the Library (or with a work based on the Library) on a volume of
2.211 +a storage or distribution medium does not bring the other work under
2.212 +the scope of this License.
2.213 +
2.214 + 3. You may opt to apply the terms of the ordinary GNU General Public
2.215 +License instead of this License to a given copy of the Library. To do
2.216 +this, you must alter all the notices that refer to this License, so
2.217 +that they refer to the ordinary GNU General Public License, version 2,
2.218 +instead of to this License. (If a newer version than version 2 of the
2.219 +ordinary GNU General Public License has appeared, then you can specify
2.220 +that version instead if you wish.) Do not make any other change in
2.221 +these notices.
2.222 +
2.223 + Once this change is made in a given copy, it is irreversible for
2.224 +that copy, so the ordinary GNU General Public License applies to all
2.225 +subsequent copies and derivative works made from that copy.
2.226 +
2.227 + This option is useful when you wish to copy part of the code of
2.228 +the Library into a program that is not a library.
2.229 +
2.230 + 4. You may copy and distribute the Library (or a portion or
2.231 +derivative of it, under Section 2) in object code or executable form
2.232 +under the terms of Sections 1 and 2 above provided that you accompany
2.233 +it with the complete corresponding machine-readable source code, which
2.234 +must be distributed under the terms of Sections 1 and 2 above on a
2.235 +medium customarily used for software interchange.
2.236 +
2.237 + If distribution of object code is made by offering access to copy
2.238 +from a designated place, then offering equivalent access to copy the
2.239 +source code from the same place satisfies the requirement to
2.240 +distribute the source code, even though third parties are not
2.241 +compelled to copy the source along with the object code.
2.242 +
2.243 + 5. A program that contains no derivative of any portion of the
2.244 +Library, but is designed to work with the Library by being compiled or
2.245 +linked with it, is called a "work that uses the Library". Such a
2.246 +work, in isolation, is not a derivative work of the Library, and
2.247 +therefore falls outside the scope of this License.
2.248 +
2.249 + However, linking a "work that uses the Library" with the Library
2.250 +creates an executable that is a derivative of the Library (because it
2.251 +contains portions of the Library), rather than a "work that uses the
2.252 +library". The executable is therefore covered by this License.
2.253 +Section 6 states terms for distribution of such executables.
2.254 +
2.255 + When a "work that uses the Library" uses material from a header file
2.256 +that is part of the Library, the object code for the work may be a
2.257 +derivative work of the Library even though the source code is not.
2.258 +Whether this is true is especially significant if the work can be
2.259 +linked without the Library, or if the work is itself a library. The
2.260 +threshold for this to be true is not precisely defined by law.
2.261 +
2.262 + If such an object file uses only numerical parameters, data
2.263 +structure layouts and accessors, and small macros and small inline
2.264 +functions (ten lines or less in length), then the use of the object
2.265 +file is unrestricted, regardless of whether it is legally a derivative
2.266 +work. (Executables containing this object code plus portions of the
2.267 +Library will still fall under Section 6.)
2.268 +
2.269 + Otherwise, if the work is a derivative of the Library, you may
2.270 +distribute the object code for the work under the terms of Section 6.
2.271 +Any executables containing that work also fall under Section 6,
2.272 +whether or not they are linked directly with the Library itself.
2.273 +
2.274 + 6. As an exception to the Sections above, you may also combine or
2.275 +link a "work that uses the Library" with the Library to produce a
2.276 +work containing portions of the Library, and distribute that work
2.277 +under terms of your choice, provided that the terms permit
2.278 +modification of the work for the customer's own use and reverse
2.279 +engineering for debugging such modifications.
2.280 +
2.281 + You must give prominent notice with each copy of the work that the
2.282 +Library is used in it and that the Library and its use are covered by
2.283 +this License. You must supply a copy of this License. If the work
2.284 +during execution displays copyright notices, you must include the
2.285 +copyright notice for the Library among them, as well as a reference
2.286 +directing the user to the copy of this License. Also, you must do one
2.287 +of these things:
2.288 +
2.289 + a) Accompany the work with the complete corresponding
2.290 + machine-readable source code for the Library including whatever
2.291 + changes were used in the work (which must be distributed under
2.292 + Sections 1 and 2 above); and, if the work is an executable linked
2.293 + with the Library, with the complete machine-readable "work that
2.294 + uses the Library", as object code and/or source code, so that the
2.295 + user can modify the Library and then relink to produce a modified
2.296 + executable containing the modified Library. (It is understood
2.297 + that the user who changes the contents of definitions files in the
2.298 + Library will not necessarily be able to recompile the application
2.299 + to use the modified definitions.)
2.300 +
2.301 + b) Use a suitable shared library mechanism for linking with the
2.302 + Library. A suitable mechanism is one that (1) uses at run time a
2.303 + copy of the library already present on the user's computer system,
2.304 + rather than copying library functions into the executable, and (2)
2.305 + will operate properly with a modified version of the library, if
2.306 + the user installs one, as long as the modified version is
2.307 + interface-compatible with the version that the work was made with.
2.308 +
2.309 + c) Accompany the work with a written offer, valid for at
2.310 + least three years, to give the same user the materials
2.311 + specified in Subsection 6a, above, for a charge no more
2.312 + than the cost of performing this distribution.
2.313 +
2.314 + d) If distribution of the work is made by offering access to copy
2.315 + from a designated place, offer equivalent access to copy the above
2.316 + specified materials from the same place.
2.317 +
2.318 + e) Verify that the user has already received a copy of these
2.319 + materials or that you have already sent this user a copy.
2.320 +
2.321 + For an executable, the required form of the "work that uses the
2.322 +Library" must include any data and utility programs needed for
2.323 +reproducing the executable from it. However, as a special exception,
2.324 +the materials to be distributed need not include anything that is
2.325 +normally distributed (in either source or binary form) with the major
2.326 +components (compiler, kernel, and so on) of the operating system on
2.327 +which the executable runs, unless that component itself accompanies
2.328 +the executable.
2.329 +
2.330 + It may happen that this requirement contradicts the license
2.331 +restrictions of other proprietary libraries that do not normally
2.332 +accompany the operating system. Such a contradiction means you cannot
2.333 +use both them and the Library together in an executable that you
2.334 +distribute.
2.335 +
2.336 + 7. You may place library facilities that are a work based on the
2.337 +Library side-by-side in a single library together with other library
2.338 +facilities not covered by this License, and distribute such a combined
2.339 +library, provided that the separate distribution of the work based on
2.340 +the Library and of the other library facilities is otherwise
2.341 +permitted, and provided that you do these two things:
2.342 +
2.343 + a) Accompany the combined library with a copy of the same work
2.344 + based on the Library, uncombined with any other library
2.345 + facilities. This must be distributed under the terms of the
2.346 + Sections above.
2.347 +
2.348 + b) Give prominent notice with the combined library of the fact
2.349 + that part of it is a work based on the Library, and explaining
2.350 + where to find the accompanying uncombined form of the same work.
2.351 +
2.352 + 8. You may not copy, modify, sublicense, link with, or distribute
2.353 +the Library except as expressly provided under this License. Any
2.354 +attempt otherwise to copy, modify, sublicense, link with, or
2.355 +distribute the Library is void, and will automatically terminate your
2.356 +rights under this License. However, parties who have received copies,
2.357 +or rights, from you under this License will not have their licenses
2.358 +terminated so long as such parties remain in full compliance.
2.359 +
2.360 + 9. You are not required to accept this License, since you have not
2.361 +signed it. However, nothing else grants you permission to modify or
2.362 +distribute the Library or its derivative works. These actions are
2.363 +prohibited by law if you do not accept this License. Therefore, by
2.364 +modifying or distributing the Library (or any work based on the
2.365 +Library), you indicate your acceptance of this License to do so, and
2.366 +all its terms and conditions for copying, distributing or modifying
2.367 +the Library or works based on it.
2.368 +
2.369 + 10. Each time you redistribute the Library (or any work based on the
2.370 +Library), the recipient automatically receives a license from the
2.371 +original licensor to copy, distribute, link with or modify the Library
2.372 +subject to these terms and conditions. You may not impose any further
2.373 +restrictions on the recipients' exercise of the rights granted herein.
2.374 +You are not responsible for enforcing compliance by third parties with
2.375 +this License.
2.376 +
2.377 + 11. If, as a consequence of a court judgment or allegation of patent
2.378 +infringement or for any other reason (not limited to patent issues),
2.379 +conditions are imposed on you (whether by court order, agreement or
2.380 +otherwise) that contradict the conditions of this License, they do not
2.381 +excuse you from the conditions of this License. If you cannot
2.382 +distribute so as to satisfy simultaneously your obligations under this
2.383 +License and any other pertinent obligations, then as a consequence you
2.384 +may not distribute the Library at all. For example, if a patent
2.385 +license would not permit royalty-free redistribution of the Library by
2.386 +all those who receive copies directly or indirectly through you, then
2.387 +the only way you could satisfy both it and this License would be to
2.388 +refrain entirely from distribution of the Library.
2.389 +
2.390 +If any portion of this section is held invalid or unenforceable under any
2.391 +particular circumstance, the balance of the section is intended to apply,
2.392 +and the section as a whole is intended to apply in other circumstances.
2.393 +
2.394 +It is not the purpose of this section to induce you to infringe any
2.395 +patents or other property right claims or to contest validity of any
2.396 +such claims; this section has the sole purpose of protecting the
2.397 +integrity of the free software distribution system which is
2.398 +implemented by public license practices. Many people have made
2.399 +generous contributions to the wide range of software distributed
2.400 +through that system in reliance on consistent application of that
2.401 +system; it is up to the author/donor to decide if he or she is willing
2.402 +to distribute software through any other system and a licensee cannot
2.403 +impose that choice.
2.404 +
2.405 +This section is intended to make thoroughly clear what is believed to
2.406 +be a consequence of the rest of this License.
2.407 +
2.408 + 12. If the distribution and/or use of the Library is restricted in
2.409 +certain countries either by patents or by copyrighted interfaces, the
2.410 +original copyright holder who places the Library under this License may add
2.411 +an explicit geographical distribution limitation excluding those countries,
2.412 +so that distribution is permitted only in or among countries not thus
2.413 +excluded. In such case, this License incorporates the limitation as if
2.414 +written in the body of this License.
2.415 +
2.416 + 13. The Free Software Foundation may publish revised and/or new
2.417 +versions of the Lesser General Public License from time to time.
2.418 +Such new versions will be similar in spirit to the present version,
2.419 +but may differ in detail to address new problems or concerns.
2.420 +
2.421 +Each version is given a distinguishing version number. If the Library
2.422 +specifies a version number of this License which applies to it and
2.423 +"any later version", you have the option of following the terms and
2.424 +conditions either of that version or of any later version published by
2.425 +the Free Software Foundation. If the Library does not specify a
2.426 +license version number, you may choose any version ever published by
2.427 +the Free Software Foundation.
2.428 +
2.429 + 14. If you wish to incorporate parts of the Library into other free
2.430 +programs whose distribution conditions are incompatible with these,
2.431 +write to the author to ask for permission. For software which is
2.432 +copyrighted by the Free Software Foundation, write to the Free
2.433 +Software Foundation; we sometimes make exceptions for this. Our
2.434 +decision will be guided by the two goals of preserving the free status
2.435 +of all derivatives of our free software and of promoting the sharing
2.436 +and reuse of software generally.
2.437 +
2.438 + NO WARRANTY
2.439 +
2.440 + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
2.441 +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
2.442 +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
2.443 +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
2.444 +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
2.445 +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2.446 +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
2.447 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
2.448 +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
2.449 +
2.450 + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
2.451 +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
2.452 +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
2.453 +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
2.454 +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
2.455 +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
2.456 +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
2.457 +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
2.458 +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
2.459 +DAMAGES.
2.460 +
2.461 + END OF TERMS AND CONDITIONS
2.462 +
2.463 + How to Apply These Terms to Your New Libraries
2.464 +
2.465 + If you develop a new library, and you want it to be of the greatest
2.466 +possible use to the public, we recommend making it free software that
2.467 +everyone can redistribute and change. You can do so by permitting
2.468 +redistribution under these terms (or, alternatively, under the terms of the
2.469 +ordinary General Public License).
2.470 +
2.471 + To apply these terms, attach the following notices to the library. It is
2.472 +safest to attach them to the start of each source file to most effectively
2.473 +convey the exclusion of warranty; and each file should have at least the
2.474 +"copyright" line and a pointer to where the full notice is found.
2.475 +
2.476 + <one line to give the library's name and a brief idea of what it does.>
2.477 + Copyright (C) <year> <name of author>
2.478 +
2.479 + This library is free software; you can redistribute it and/or
2.480 + modify it under the terms of the GNU Lesser General Public
2.481 + License as published by the Free Software Foundation; either
2.482 + version 2.1 of the License, or (at your option) any later version.
2.483 +
2.484 + This library is distributed in the hope that it will be useful,
2.485 + but WITHOUT ANY WARRANTY; without even the implied warranty of
2.486 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2.487 + Lesser General Public License for more details.
2.488 +
2.489 + You should have received a copy of the GNU Lesser General Public
2.490 + License along with this library; if not, write to the Free Software
2.491 + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2.492 +
2.493 +Also add information on how to contact you by electronic and paper mail.
2.494 +
2.495 +You should also get your employer (if you work as a programmer) or your
2.496 +school, if any, to sign a "copyright disclaimer" for the library, if
2.497 +necessary. Here is a sample; alter the names:
2.498 +
2.499 + Yoyodyne, Inc., hereby disclaims all copyright interest in the
2.500 + library `Frob' (a library for tweaking knobs) written by James Random Hacker.
2.501 +
2.502 + <signature of Ty Coon>, 1 April 1990
2.503 + Ty Coon, President of Vice
2.504 +
2.505 +That's all there is to it!
2.506 +
2.507 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/gst-gpac/ChangeLog Thu Feb 21 17:44:16 2008 +0000
3.3 @@ -0,0 +1,3 @@
3.4 +2008-02-15 Hallyson Melo <hallyson.melo@indt.org.br>
3.5 + * Initial version based on gpac 0.4.4
3.6 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/gst-gpac/INSTALL Thu Feb 21 17:44:16 2008 +0000
4.3 @@ -0,0 +1,234 @@
4.4 +Installation Instructions
4.5 +*************************
4.6 +
4.7 +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
4.8 +2006 Free Software Foundation, Inc.
4.9 +
4.10 +This file is free documentation; the Free Software Foundation gives
4.11 +unlimited permission to copy, distribute and modify it.
4.12 +
4.13 +Basic Installation
4.14 +==================
4.15 +
4.16 +Briefly, the shell commands `./configure; make; make install' should
4.17 +configure, build, and install this package. The following
4.18 +more-detailed instructions are generic; see the `README' file for
4.19 +instructions specific to this package.
4.20 +
4.21 + The `configure' shell script attempts to guess correct values for
4.22 +various system-dependent variables used during compilation. It uses
4.23 +those values to create a `Makefile' in each directory of the package.
4.24 +It may also create one or more `.h' files containing system-dependent
4.25 +definitions. Finally, it creates a shell script `config.status' that
4.26 +you can run in the future to recreate the current configuration, and a
4.27 +file `config.log' containing compiler output (useful mainly for
4.28 +debugging `configure').
4.29 +
4.30 + It can also use an optional file (typically called `config.cache'
4.31 +and enabled with `--cache-file=config.cache' or simply `-C') that saves
4.32 +the results of its tests to speed up reconfiguring. Caching is
4.33 +disabled by default to prevent problems with accidental use of stale
4.34 +cache files.
4.35 +
4.36 + If you need to do unusual things to compile the package, please try
4.37 +to figure out how `configure' could check whether to do them, and mail
4.38 +diffs or instructions to the address given in the `README' so they can
4.39 +be considered for the next release. If you are using the cache, and at
4.40 +some point `config.cache' contains results you don't want to keep, you
4.41 +may remove or edit it.
4.42 +
4.43 + The file `configure.ac' (or `configure.in') is used to create
4.44 +`configure' by a program called `autoconf'. You need `configure.ac' if
4.45 +you want to change it or regenerate `configure' using a newer version
4.46 +of `autoconf'.
4.47 +
4.48 +The simplest way to compile this package is:
4.49 +
4.50 + 1. `cd' to the directory containing the package's source code and type
4.51 + `./configure' to configure the package for your system.
4.52 +
4.53 + Running `configure' might take a while. While running, it prints
4.54 + some messages telling which features it is checking for.
4.55 +
4.56 + 2. Type `make' to compile the package.
4.57 +
4.58 + 3. Optionally, type `make check' to run any self-tests that come with
4.59 + the package.
4.60 +
4.61 + 4. Type `make install' to install the programs and any data files and
4.62 + documentation.
4.63 +
4.64 + 5. You can remove the program binaries and object files from the
4.65 + source code directory by typing `make clean'. To also remove the
4.66 + files that `configure' created (so you can compile the package for
4.67 + a different kind of computer), type `make distclean'. There is
4.68 + also a `make maintainer-clean' target, but that is intended mainly
4.69 + for the package's developers. If you use it, you may have to get
4.70 + all sorts of other programs in order to regenerate files that came
4.71 + with the distribution.
4.72 +
4.73 +Compilers and Options
4.74 +=====================
4.75 +
4.76 +Some systems require unusual options for compilation or linking that the
4.77 +`configure' script does not know about. Run `./configure --help' for
4.78 +details on some of the pertinent environment variables.
4.79 +
4.80 + You can give `configure' initial values for configuration parameters
4.81 +by setting variables in the command line or in the environment. Here
4.82 +is an example:
4.83 +
4.84 + ./configure CC=c99 CFLAGS=-g LIBS=-lposix
4.85 +
4.86 + *Note Defining Variables::, for more details.
4.87 +
4.88 +Compiling For Multiple Architectures
4.89 +====================================
4.90 +
4.91 +You can compile the package for more than one kind of computer at the
4.92 +same time, by placing the object files for each architecture in their
4.93 +own directory. To do this, you can use GNU `make'. `cd' to the
4.94 +directory where you want the object files and executables to go and run
4.95 +the `configure' script. `configure' automatically checks for the
4.96 +source code in the directory that `configure' is in and in `..'.
4.97 +
4.98 + With a non-GNU `make', it is safer to compile the package for one
4.99 +architecture at a time in the source code directory. After you have
4.100 +installed the package for one architecture, use `make distclean' before
4.101 +reconfiguring for another architecture.
4.102 +
4.103 +Installation Names
4.104 +==================
4.105 +
4.106 +By default, `make install' installs the package's commands under
4.107 +`/usr/local/bin', include files under `/usr/local/include', etc. You
4.108 +can specify an installation prefix other than `/usr/local' by giving
4.109 +`configure' the option `--prefix=PREFIX'.
4.110 +
4.111 + You can specify separate installation prefixes for
4.112 +architecture-specific files and architecture-independent files. If you
4.113 +pass the option `--exec-prefix=PREFIX' to `configure', the package uses
4.114 +PREFIX as the prefix for installing programs and libraries.
4.115 +Documentation and other data files still use the regular prefix.
4.116 +
4.117 + In addition, if you use an unusual directory layout you can give
4.118 +options like `--bindir=DIR' to specify different values for particular
4.119 +kinds of files. Run `configure --help' for a list of the directories
4.120 +you can set and what kinds of files go in them.
4.121 +
4.122 + If the package supports it, you can cause programs to be installed
4.123 +with an extra prefix or suffix on their names by giving `configure' the
4.124 +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
4.125 +
4.126 +Optional Features
4.127 +=================
4.128 +
4.129 +Some packages pay attention to `--enable-FEATURE' options to
4.130 +`configure', where FEATURE indicates an optional part of the package.
4.131 +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
4.132 +is something like `gnu-as' or `x' (for the X Window System). The
4.133 +`README' should mention any `--enable-' and `--with-' options that the
4.134 +package recognizes.
4.135 +
4.136 + For packages that use the X Window System, `configure' can usually
4.137 +find the X include and library files automatically, but if it doesn't,
4.138 +you can use the `configure' options `--x-includes=DIR' and
4.139 +`--x-libraries=DIR' to specify their locations.
4.140 +
4.141 +Specifying the System Type
4.142 +==========================
4.143 +
4.144 +There may be some features `configure' cannot figure out automatically,
4.145 +but needs to determine by the type of machine the package will run on.
4.146 +Usually, assuming the package is built to be run on the _same_
4.147 +architectures, `configure' can figure that out, but if it prints a
4.148 +message saying it cannot guess the machine type, give it the
4.149 +`--build=TYPE' option. TYPE can either be a short name for the system
4.150 +type, such as `sun4', or a canonical name which has the form:
4.151 +
4.152 + CPU-COMPANY-SYSTEM
4.153 +
4.154 +where SYSTEM can have one of these forms:
4.155 +
4.156 + OS KERNEL-OS
4.157 +
4.158 + See the file `config.sub' for the possible values of each field. If
4.159 +`config.sub' isn't included in this package, then this package doesn't
4.160 +need to know the machine type.
4.161 +
4.162 + If you are _building_ compiler tools for cross-compiling, you should
4.163 +use the option `--target=TYPE' to select the type of system they will
4.164 +produce code for.
4.165 +
4.166 + If you want to _use_ a cross compiler, that generates code for a
4.167 +platform different from the build platform, you should specify the
4.168 +"host" platform (i.e., that on which the generated programs will
4.169 +eventually be run) with `--host=TYPE'.
4.170 +
4.171 +Sharing Defaults
4.172 +================
4.173 +
4.174 +If you want to set default values for `configure' scripts to share, you
4.175 +can create a site shell script called `config.site' that gives default
4.176 +values for variables like `CC', `cache_file', and `prefix'.
4.177 +`configure' looks for `PREFIX/share/config.site' if it exists, then
4.178 +`PREFIX/etc/config.site' if it exists. Or, you can set the
4.179 +`CONFIG_SITE' environment variable to the location of the site script.
4.180 +A warning: not all `configure' scripts look for a site script.
4.181 +
4.182 +Defining Variables
4.183 +==================
4.184 +
4.185 +Variables not defined in a site shell script can be set in the
4.186 +environment passed to `configure'. However, some packages may run
4.187 +configure again during the build, and the customized values of these
4.188 +variables may be lost. In order to avoid this problem, you should set
4.189 +them in the `configure' command line, using `VAR=value'. For example:
4.190 +
4.191 + ./configure CC=/usr/local2/bin/gcc
4.192 +
4.193 +causes the specified `gcc' to be used as the C compiler (unless it is
4.194 +overridden in the site shell script).
4.195 +
4.196 +Unfortunately, this technique does not work for `CONFIG_SHELL' due to
4.197 +an Autoconf bug. Until the bug is fixed you can use this workaround:
4.198 +
4.199 + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
4.200 +
4.201 +`configure' Invocation
4.202 +======================
4.203 +
4.204 +`configure' recognizes the following options to control how it operates.
4.205 +
4.206 +`--help'
4.207 +`-h'
4.208 + Print a summary of the options to `configure', and exit.
4.209 +
4.210 +`--version'
4.211 +`-V'
4.212 + Print the version of Autoconf used to generate the `configure'
4.213 + script, and exit.
4.214 +
4.215 +`--cache-file=FILE'
4.216 + Enable the cache: use and save the results of the tests in FILE,
4.217 + traditionally `config.cache'. FILE defaults to `/dev/null' to
4.218 + disable caching.
4.219 +
4.220 +`--config-cache'
4.221 +`-C'
4.222 + Alias for `--cache-file=config.cache'.
4.223 +
4.224 +`--quiet'
4.225 +`--silent'
4.226 +`-q'
4.227 + Do not print messages saying which checks are being made. To
4.228 + suppress all normal output, redirect it to `/dev/null' (any error
4.229 + messages will still be shown).
4.230 +
4.231 +`--srcdir=DIR'
4.232 + Look for the package's source code in directory DIR. Usually
4.233 + `configure' can determine that directory automatically.
4.234 +
4.235 +`configure' also accepts some other, not widely useful, options. Run
4.236 +`configure --help' for more details.
4.237 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/gst-gpac/Makefile.am Thu Feb 21 17:44:16 2008 +0000
5.3 @@ -0,0 +1,2 @@
5.4 +SUBDIRS = \
5.5 + src
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/gst-gpac/Makefile.in Thu Feb 21 17:44:16 2008 +0000
6.3 @@ -0,0 +1,648 @@
6.4 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
6.5 +# @configure_input@
6.6 +
6.7 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
6.8 +# 2003, 2004, 2005 Free Software Foundation, Inc.
6.9 +# This Makefile.in is free software; the Free Software Foundation
6.10 +# gives unlimited permission to copy and/or distribute it,
6.11 +# with or without modifications, as long as this notice is preserved.
6.12 +
6.13 +# This program is distributed in the hope that it will be useful,
6.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
6.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
6.16 +# PARTICULAR PURPOSE.
6.17 +
6.18 +@SET_MAKE@
6.19 +srcdir = @srcdir@
6.20 +top_srcdir = @top_srcdir@
6.21 +VPATH = @srcdir@
6.22 +pkgdatadir = $(datadir)/@PACKAGE@
6.23 +pkglibdir = $(libdir)/@PACKAGE@
6.24 +pkgincludedir = $(includedir)/@PACKAGE@
6.25 +top_builddir = .
6.26 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
6.27 +INSTALL = @INSTALL@
6.28 +install_sh_DATA = $(install_sh) -c -m 644
6.29 +install_sh_PROGRAM = $(install_sh) -c
6.30 +install_sh_SCRIPT = $(install_sh) -c
6.31 +INSTALL_HEADER = $(INSTALL_DATA)
6.32 +transform = $(program_transform_name)
6.33 +NORMAL_INSTALL = :
6.34 +PRE_INSTALL = :
6.35 +POST_INSTALL = :
6.36 +NORMAL_UNINSTALL = :
6.37 +PRE_UNINSTALL = :
6.38 +POST_UNINSTALL = :
6.39 +build_triplet = @build@
6.40 +host_triplet = @host@
6.41 +target_triplet = @target@
6.42 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
6.43 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
6.44 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
6.45 + compile config.guess config.sub depcomp install-sh ltmain.sh \
6.46 + missing
6.47 +subdir = .
6.48 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
6.49 +am__aclocal_m4_deps = $(top_srcdir)/m4/as-compiler-flag.m4 \
6.50 + $(top_srcdir)/m4/as-version.m4 $(top_srcdir)/m4/libtool.m4 \
6.51 + $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/configure.ac
6.52 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6.53 + $(ACLOCAL_M4)
6.54 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
6.55 + configure.lineno configure.status.lineno
6.56 +mkinstalldirs = $(install_sh) -d
6.57 +CONFIG_HEADER = config.h
6.58 +CONFIG_CLEAN_FILES =
6.59 +SOURCES =
6.60 +DIST_SOURCES =
6.61 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
6.62 + html-recursive info-recursive install-data-recursive \
6.63 + install-exec-recursive install-info-recursive \
6.64 + install-recursive installcheck-recursive installdirs-recursive \
6.65 + pdf-recursive ps-recursive uninstall-info-recursive \
6.66 + uninstall-recursive
6.67 +ETAGS = etags
6.68 +CTAGS = ctags
6.69 +DIST_SUBDIRS = $(SUBDIRS)
6.70 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
6.71 +distdir = $(PACKAGE)-$(VERSION)
6.72 +top_distdir = $(distdir)
6.73 +am__remove_distdir = \
6.74 + { test ! -d $(distdir) \
6.75 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
6.76 + && rm -fr $(distdir); }; }
6.77 +DIST_ARCHIVES = $(distdir).tar.gz
6.78 +GZIP_ENV = --best
6.79 +distuninstallcheck_listfiles = find . -type f -print
6.80 +distcleancheck_listfiles = find . -type f -print
6.81 +ACLOCAL = @ACLOCAL@
6.82 +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
6.83 +AMDEP_FALSE = @AMDEP_FALSE@
6.84 +AMDEP_TRUE = @AMDEP_TRUE@
6.85 +AMTAR = @AMTAR@
6.86 +AR = @AR@
6.87 +AUTOCONF = @AUTOCONF@
6.88 +AUTOHEADER = @AUTOHEADER@
6.89 +AUTOMAKE = @AUTOMAKE@
6.90 +AWK = @AWK@
6.91 +CC = @CC@
6.92 +CCAS = @CCAS@
6.93 +CCASFLAGS = @CCASFLAGS@
6.94 +CCDEPMODE = @CCDEPMODE@
6.95 +CFLAGS = @CFLAGS@
6.96 +CPP = @CPP@
6.97 +CPPFLAGS = @CPPFLAGS@
6.98 +CXX = @CXX@
6.99 +CXXCPP = @CXXCPP@
6.100 +CXXDEPMODE = @CXXDEPMODE@
6.101 +CXXFLAGS = @CXXFLAGS@
6.102 +CYGPATH_W = @CYGPATH_W@
6.103 +DEFS = @DEFS@
6.104 +DEPDIR = @DEPDIR@
6.105 +ECHO = @ECHO@
6.106 +ECHO_C = @ECHO_C@
6.107 +ECHO_N = @ECHO_N@
6.108 +ECHO_T = @ECHO_T@
6.109 +EGREP = @EGREP@
6.110 +ERROR_CFLAGS = @ERROR_CFLAGS@
6.111 +EXEEXT = @EXEEXT@
6.112 +F77 = @F77@
6.113 +FFLAGS = @FFLAGS@
6.114 +GREP = @GREP@
6.115 +GST_BASE_CFLAGS = @GST_BASE_CFLAGS@
6.116 +GST_BASE_LIBS = @GST_BASE_LIBS@
6.117 +GST_CFLAGS = @GST_CFLAGS@
6.118 +GST_LIBS = @GST_LIBS@
6.119 +GST_MAJORMINOR = @GST_MAJORMINOR@
6.120 +GST_PLUGINS_BASE_CFLAGS = @GST_PLUGINS_BASE_CFLAGS@
6.121 +GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@
6.122 +GST_PLUGINS_VERSION = @GST_PLUGINS_VERSION@
6.123 +GST_PLUGINS_VERSION_MAJOR = @GST_PLUGINS_VERSION_MAJOR@
6.124 +GST_PLUGINS_VERSION_MICRO = @GST_PLUGINS_VERSION_MICRO@
6.125 +GST_PLUGINS_VERSION_MINOR = @GST_PLUGINS_VERSION_MINOR@
6.126 +GST_PLUGINS_VERSION_NANO = @GST_PLUGINS_VERSION_NANO@
6.127 +GST_PLUGINS_VERSION_RELEASE = @GST_PLUGINS_VERSION_RELEASE@
6.128 +GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
6.129 +HAVE_CXX = @HAVE_CXX@
6.130 +HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
6.131 +INSTALL_DATA = @INSTALL_DATA@
6.132 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
6.133 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
6.134 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
6.135 +LDFLAGS = @LDFLAGS@
6.136 +LIBOBJS = @LIBOBJS@
6.137 +LIBS = @LIBS@
6.138 +LIBTOOL = @LIBTOOL@
6.139 +LN_S = @LN_S@
6.140 +LTLIBOBJS = @LTLIBOBJS@
6.141 +MAINT = @MAINT@
6.142 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
6.143 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
6.144 +MAKEINFO = @MAKEINFO@
6.145 +OBJEXT = @OBJEXT@
6.146 +PACKAGE = @PACKAGE@
6.147 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
6.148 +PACKAGE_NAME = @PACKAGE_NAME@
6.149 +PACKAGE_STRING = @PACKAGE_STRING@
6.150 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
6.151 +PACKAGE_VERSION = @PACKAGE_VERSION@
6.152 +PATH_SEPARATOR = @PATH_SEPARATOR@
6.153 +PKG_CONFIG = @PKG_CONFIG@
6.154 +RANLIB = @RANLIB@
6.155 +SET_MAKE = @SET_MAKE@
6.156 +SHELL = @SHELL@
6.157 +STRIP = @STRIP@
6.158 +VERSION = @VERSION@
6.159 +ac_ct_CC = @ac_ct_CC@
6.160 +ac_ct_CXX = @ac_ct_CXX@
6.161 +ac_ct_F77 = @ac_ct_F77@
6.162 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
6.163 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
6.164 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
6.165 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
6.166 +am__include = @am__include@
6.167 +am__leading_dot = @am__leading_dot@
6.168 +am__quote = @am__quote@
6.169 +am__tar = @am__tar@
6.170 +am__untar = @am__untar@
6.171 +bindir = @bindir@
6.172 +build = @build@
6.173 +build_alias = @build_alias@
6.174 +build_cpu = @build_cpu@
6.175 +build_os = @build_os@
6.176 +build_vendor = @build_vendor@
6.177 +datadir = @datadir@
6.178 +datarootdir = @datarootdir@
6.179 +docdir = @docdir@
6.180 +dvidir = @dvidir@
6.181 +exec_prefix = @exec_prefix@
6.182 +host = @host@
6.183 +host_alias = @host_alias@
6.184 +host_cpu = @host_cpu@
6.185 +host_os = @host_os@
6.186 +host_vendor = @host_vendor@
6.187 +htmldir = @htmldir@
6.188 +includedir = @includedir@
6.189 +infodir = @infodir@
6.190 +install_sh = @install_sh@
6.191 +libdir = @libdir@
6.192 +libexecdir = @libexecdir@
6.193 +localedir = @localedir@
6.194 +localstatedir = @localstatedir@
6.195 +mandir = @mandir@
6.196 +mkdir_p = @mkdir_p@
6.197 +oldincludedir = @oldincludedir@
6.198 +pdfdir = @pdfdir@
6.199 +plugindir = @plugindir@
6.200 +prefix = @prefix@
6.201 +program_transform_name = @program_transform_name@
6.202 +psdir = @psdir@
6.203 +sbindir = @sbindir@
6.204 +sharedstatedir = @sharedstatedir@
6.205 +sysconfdir = @sysconfdir@
6.206 +target = @target@
6.207 +target_alias = @target_alias@
6.208 +target_cpu = @target_cpu@
6.209 +target_os = @target_os@
6.210 +target_vendor = @target_vendor@
6.211 +SUBDIRS = \
6.212 + src
6.213 +
6.214 +all: config.h
6.215 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
6.216 +
6.217 +.SUFFIXES:
6.218 +am--refresh:
6.219 + @:
6.220 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
6.221 + @for dep in $?; do \
6.222 + case '$(am__configure_deps)' in \
6.223 + *$$dep*) \
6.224 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
6.225 + cd $(srcdir) && $(AUTOMAKE) --gnu \
6.226 + && exit 0; \
6.227 + exit 1;; \
6.228 + esac; \
6.229 + done; \
6.230 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
6.231 + cd $(top_srcdir) && \
6.232 + $(AUTOMAKE) --gnu Makefile
6.233 +.PRECIOUS: Makefile
6.234 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
6.235 + @case '$?' in \
6.236 + *config.status*) \
6.237 + echo ' $(SHELL) ./config.status'; \
6.238 + $(SHELL) ./config.status;; \
6.239 + *) \
6.240 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
6.241 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
6.242 + esac;
6.243 +
6.244 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
6.245 + $(SHELL) ./config.status --recheck
6.246 +
6.247 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
6.248 + cd $(srcdir) && $(AUTOCONF)
6.249 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
6.250 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
6.251 +
6.252 +config.h: stamp-h1
6.253 + @if test ! -f $@; then \
6.254 + rm -f stamp-h1; \
6.255 + $(MAKE) stamp-h1; \
6.256 + else :; fi
6.257 +
6.258 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
6.259 + @rm -f stamp-h1
6.260 + cd $(top_builddir) && $(SHELL) ./config.status config.h
6.261 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
6.262 + cd $(top_srcdir) && $(AUTOHEADER)
6.263 + rm -f stamp-h1
6.264 + touch $@
6.265 +
6.266 +distclean-hdr:
6.267 + -rm -f config.h stamp-h1
6.268 +
6.269 +mostlyclean-libtool:
6.270 + -rm -f *.lo
6.271 +
6.272 +clean-libtool:
6.273 + -rm -rf .libs _libs
6.274 +
6.275 +distclean-libtool:
6.276 + -rm -f libtool
6.277 +uninstall-info-am:
6.278 +
6.279 +# This directory's subdirectories are mostly independent; you can cd
6.280 +# into them and run `make' without going through this Makefile.
6.281 +# To change the values of `make' variables: instead of editing Makefiles,
6.282 +# (1) if the variable is set in `config.status', edit `config.status'
6.283 +# (which will cause the Makefiles to be regenerated when you run `make');
6.284 +# (2) otherwise, pass the desired values on the `make' command line.
6.285 +$(RECURSIVE_TARGETS):
6.286 + @failcom='exit 1'; \
6.287 + for f in x $$MAKEFLAGS; do \
6.288 + case $$f in \
6.289 + *=* | --[!k]*);; \
6.290 + *k*) failcom='fail=yes';; \
6.291 + esac; \
6.292 + done; \
6.293 + dot_seen=no; \
6.294 + target=`echo $@ | sed s/-recursive//`; \
6.295 + list='$(SUBDIRS)'; for subdir in $$list; do \
6.296 + echo "Making $$target in $$subdir"; \
6.297 + if test "$$subdir" = "."; then \
6.298 + dot_seen=yes; \
6.299 + local_target="$$target-am"; \
6.300 + else \
6.301 + local_target="$$target"; \
6.302 + fi; \
6.303 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
6.304 + || eval $$failcom; \
6.305 + done; \
6.306 + if test "$$dot_seen" = "no"; then \
6.307 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
6.308 + fi; test -z "$$fail"
6.309 +
6.310 +mostlyclean-recursive clean-recursive distclean-recursive \
6.311 +maintainer-clean-recursive:
6.312 + @failcom='exit 1'; \
6.313 + for f in x $$MAKEFLAGS; do \
6.314 + case $$f in \
6.315 + *=* | --[!k]*);; \
6.316 + *k*) failcom='fail=yes';; \
6.317 + esac; \
6.318 + done; \
6.319 + dot_seen=no; \
6.320 + case "$@" in \
6.321 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
6.322 + *) list='$(SUBDIRS)' ;; \
6.323 + esac; \
6.324 + rev=''; for subdir in $$list; do \
6.325 + if test "$$subdir" = "."; then :; else \
6.326 + rev="$$subdir $$rev"; \
6.327 + fi; \
6.328 + done; \
6.329 + rev="$$rev ."; \
6.330 + target=`echo $@ | sed s/-recursive//`; \
6.331 + for subdir in $$rev; do \
6.332 + echo "Making $$target in $$subdir"; \
6.333 + if test "$$subdir" = "."; then \
6.334 + local_target="$$target-am"; \
6.335 + else \
6.336 + local_target="$$target"; \
6.337 + fi; \
6.338 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
6.339 + || eval $$failcom; \
6.340 + done && test -z "$$fail"
6.341 +tags-recursive:
6.342 + list='$(SUBDIRS)'; for subdir in $$list; do \
6.343 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
6.344 + done
6.345 +ctags-recursive:
6.346 + list='$(SUBDIRS)'; for subdir in $$list; do \
6.347 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
6.348 + done
6.349 +
6.350 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
6.351 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
6.352 + unique=`for i in $$list; do \
6.353 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
6.354 + done | \
6.355 + $(AWK) ' { files[$$0] = 1; } \
6.356 + END { for (i in files) print i; }'`; \
6.357 + mkid -fID $$unique
6.358 +tags: TAGS
6.359 +
6.360 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
6.361 + $(TAGS_FILES) $(LISP)
6.362 + tags=; \
6.363 + here=`pwd`; \
6.364 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
6.365 + include_option=--etags-include; \
6.366 + empty_fix=.; \
6.367 + else \
6.368 + include_option=--include; \
6.369 + empty_fix=; \
6.370 + fi; \
6.371 + list='$(SUBDIRS)'; for subdir in $$list; do \
6.372 + if test "$$subdir" = .; then :; else \
6.373 + test ! -f $$subdir/TAGS || \
6.374 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
6.375 + fi; \
6.376 + done; \
6.377 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
6.378 + unique=`for i in $$list; do \
6.379 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
6.380 + done | \
6.381 + $(AWK) ' { files[$$0] = 1; } \
6.382 + END { for (i in files) print i; }'`; \
6.383 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
6.384 + test -n "$$unique" || unique=$$empty_fix; \
6.385 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
6.386 + $$tags $$unique; \
6.387 + fi
6.388 +ctags: CTAGS
6.389 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
6.390 + $(TAGS_FILES) $(LISP)
6.391 + tags=; \
6.392 + here=`pwd`; \
6.393 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
6.394 + unique=`for i in $$list; do \
6.395 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
6.396 + done | \
6.397 + $(AWK) ' { files[$$0] = 1; } \
6.398 + END { for (i in files) print i; }'`; \
6.399 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
6.400 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
6.401 + $$tags $$unique
6.402 +
6.403 +GTAGS:
6.404 + here=`$(am__cd) $(top_builddir) && pwd` \
6.405 + && cd $(top_srcdir) \
6.406 + && gtags -i $(GTAGS_ARGS) $$here
6.407 +
6.408 +distclean-tags:
6.409 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
6.410 +
6.411 +distdir: $(DISTFILES)
6.412 + $(am__remove_distdir)
6.413 + mkdir $(distdir)
6.414 + $(mkdir_p) $(distdir)/m4
6.415 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
6.416 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
6.417 + list='$(DISTFILES)'; for file in $$list; do \
6.418 + case $$file in \
6.419 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
6.420 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
6.421 + esac; \
6.422 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
6.423 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
6.424 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
6.425 + dir="/$$dir"; \
6.426 + $(mkdir_p) "$(distdir)$$dir"; \
6.427 + else \
6.428 + dir=''; \
6.429 + fi; \
6.430 + if test -d $$d/$$file; then \
6.431 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
6.432 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
6.433 + fi; \
6.434 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
6.435 + else \
6.436 + test -f $(distdir)/$$file \
6.437 + || cp -p $$d/$$file $(distdir)/$$file \
6.438 + || exit 1; \
6.439 + fi; \
6.440 + done
6.441 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
6.442 + if test "$$subdir" = .; then :; else \
6.443 + test -d "$(distdir)/$$subdir" \
6.444 + || $(mkdir_p) "$(distdir)/$$subdir" \
6.445 + || exit 1; \
6.446 + distdir=`$(am__cd) $(distdir) && pwd`; \
6.447 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
6.448 + (cd $$subdir && \
6.449 + $(MAKE) $(AM_MAKEFLAGS) \
6.450 + top_distdir="$$top_distdir" \
6.451 + distdir="$$distdir/$$subdir" \
6.452 + distdir) \
6.453 + || exit 1; \
6.454 + fi; \
6.455 + done
6.456 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
6.457 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
6.458 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
6.459 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
6.460 + || chmod -R a+r $(distdir)
6.461 +dist-gzip: distdir
6.462 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
6.463 + $(am__remove_distdir)
6.464 +
6.465 +dist-bzip2: distdir
6.466 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
6.467 + $(am__remove_distdir)
6.468 +
6.469 +dist-tarZ: distdir
6.470 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
6.471 + $(am__remove_distdir)
6.472 +
6.473 +dist-shar: distdir
6.474 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
6.475 + $(am__remove_distdir)
6.476 +
6.477 +dist-zip: distdir
6.478 + -rm -f $(distdir).zip
6.479 + zip -rq $(distdir).zip $(distdir)
6.480 + $(am__remove_distdir)
6.481 +
6.482 +dist dist-all: distdir
6.483 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
6.484 + $(am__remove_distdir)
6.485 +
6.486 +# This target untars the dist file and tries a VPATH configuration. Then
6.487 +# it guarantees that the distribution is self-contained by making another
6.488 +# tarfile.
6.489 +distcheck: dist
6.490 + case '$(DIST_ARCHIVES)' in \
6.491 + *.tar.gz*) \
6.492 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
6.493 + *.tar.bz2*) \
6.494 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
6.495 + *.tar.Z*) \
6.496 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
6.497 + *.shar.gz*) \
6.498 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
6.499 + *.zip*) \
6.500 + unzip $(distdir).zip ;;\
6.501 + esac
6.502 + chmod -R a-w $(distdir); chmod a+w $(distdir)
6.503 + mkdir $(distdir)/_build
6.504 + mkdir $(distdir)/_inst
6.505 + chmod a-w $(distdir)
6.506 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
6.507 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
6.508 + && cd $(distdir)/_build \
6.509 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
6.510 + $(DISTCHECK_CONFIGURE_FLAGS) \
6.511 + && $(MAKE) $(AM_MAKEFLAGS) \
6.512 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
6.513 + && $(MAKE) $(AM_MAKEFLAGS) check \
6.514 + && $(MAKE) $(AM_MAKEFLAGS) install \
6.515 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
6.516 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
6.517 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
6.518 + distuninstallcheck \
6.519 + && chmod -R a-w "$$dc_install_base" \
6.520 + && ({ \
6.521 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
6.522 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
6.523 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
6.524 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
6.525 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
6.526 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
6.527 + && rm -rf "$$dc_destdir" \
6.528 + && $(MAKE) $(AM_MAKEFLAGS) dist \
6.529 + && rm -rf $(DIST_ARCHIVES) \
6.530 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
6.531 + $(am__remove_distdir)
6.532 + @(echo "$(distdir) archives ready for distribution: "; \
6.533 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
6.534 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
6.535 +distuninstallcheck:
6.536 + @cd $(distuninstallcheck_dir) \
6.537 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
6.538 + || { echo "ERROR: files left after uninstall:" ; \
6.539 + if test -n "$(DESTDIR)"; then \
6.540 + echo " (check DESTDIR support)"; \
6.541 + fi ; \
6.542 + $(distuninstallcheck_listfiles) ; \
6.543 + exit 1; } >&2
6.544 +distcleancheck: distclean
6.545 + @if test '$(srcdir)' = . ; then \
6.546 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
6.547 + exit 1 ; \
6.548 + fi
6.549 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
6.550 + || { echo "ERROR: files left in build directory after distclean:" ; \
6.551 + $(distcleancheck_listfiles) ; \
6.552 + exit 1; } >&2
6.553 +check-am: all-am
6.554 +check: check-recursive
6.555 +all-am: Makefile config.h
6.556 +installdirs: installdirs-recursive
6.557 +installdirs-am:
6.558 +install: install-recursive
6.559 +install-exec: install-exec-recursive
6.560 +install-data: install-data-recursive
6.561 +uninstall: uninstall-recursive
6.562 +
6.563 +install-am: all-am
6.564 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
6.565 +
6.566 +installcheck: installcheck-recursive
6.567 +install-strip:
6.568 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
6.569 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
6.570 + `test -z '$(STRIP)' || \
6.571 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
6.572 +mostlyclean-generic:
6.573 +
6.574 +clean-generic:
6.575 +
6.576 +distclean-generic:
6.577 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
6.578 +
6.579 +maintainer-clean-generic:
6.580 + @echo "This command is intended for maintainers to use"
6.581 + @echo "it deletes files that may require special tools to rebuild."
6.582 +clean: clean-recursive
6.583 +
6.584 +clean-am: clean-generic clean-libtool mostlyclean-am
6.585 +
6.586 +distclean: distclean-recursive
6.587 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
6.588 + -rm -f Makefile
6.589 +distclean-am: clean-am distclean-generic distclean-hdr \
6.590 + distclean-libtool distclean-tags
6.591 +
6.592 +dvi: dvi-recursive
6.593 +
6.594 +dvi-am:
6.595 +
6.596 +html: html-recursive
6.597 +
6.598 +info: info-recursive
6.599 +
6.600 +info-am:
6.601 +
6.602 +install-data-am:
6.603 +
6.604 +install-exec-am:
6.605 +
6.606 +install-info: install-info-recursive
6.607 +
6.608 +install-man:
6.609 +
6.610 +installcheck-am:
6.611 +
6.612 +maintainer-clean: maintainer-clean-recursive
6.613 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
6.614 + -rm -rf $(top_srcdir)/autom4te.cache
6.615 + -rm -f Makefile
6.616 +maintainer-clean-am: distclean-am maintainer-clean-generic
6.617 +
6.618 +mostlyclean: mostlyclean-recursive
6.619 +
6.620 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
6.621 +
6.622 +pdf: pdf-recursive
6.623 +
6.624 +pdf-am:
6.625 +
6.626 +ps: ps-recursive
6.627 +
6.628 +ps-am:
6.629 +
6.630 +uninstall-am: uninstall-info-am
6.631 +
6.632 +uninstall-info: uninstall-info-recursive
6.633 +
6.634 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
6.635 + check-am clean clean-generic clean-libtool clean-recursive \
6.636 + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
6.637 + dist-shar dist-tarZ dist-zip distcheck distclean \
6.638 + distclean-generic distclean-hdr distclean-libtool \
6.639 + distclean-recursive distclean-tags distcleancheck distdir \
6.640 + distuninstallcheck dvi dvi-am html html-am info info-am \
6.641 + install install-am install-data install-data-am install-exec \
6.642 + install-exec-am install-info install-info-am install-man \
6.643 + install-strip installcheck installcheck-am installdirs \
6.644 + installdirs-am maintainer-clean maintainer-clean-generic \
6.645 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
6.646 + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
6.647 + tags tags-recursive uninstall uninstall-am uninstall-info-am
6.648 +
6.649 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
6.650 +# Otherwise a system limit (for SysV at least) may be exceeded.
6.651 +.NOEXPORT:
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/gst-gpac/README Thu Feb 21 17:44:16 2008 +0000
7.3 @@ -0,0 +1,11 @@
7.4 +This project is still ON DEVELOPMENT. There is no gst-gpac release yet.
7.5 +
7.6 +This project is a gstreamer element to mux .mp4 files based on gpac library
7.7 +(http://gpac.sf.net).
7.8 +
7.9 +The current element only mux one stream (video MPEG4 or audio AAC).
7.10 +
7.11 +Test pipeline for audio. Change input.mpg and output.mpg as desired.
7.12 +
7.13 +
7.14 +Contact person: hallyson"AT"gmail"DOT"com
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/gst-gpac/aclocal.m4 Thu Feb 21 17:44:16 2008 +0000
8.3 @@ -0,0 +1,916 @@
8.4 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
8.5 +
8.6 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8.7 +# 2005 Free Software Foundation, Inc.
8.8 +# This file is free software; the Free Software Foundation
8.9 +# gives unlimited permission to copy and/or distribute it,
8.10 +# with or without modifications, as long as this notice is preserved.
8.11 +
8.12 +# This program is distributed in the hope that it will be useful,
8.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
8.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8.15 +# PARTICULAR PURPOSE.
8.16 +
8.17 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
8.18 +#
8.19 +# This file is free software; the Free Software Foundation
8.20 +# gives unlimited permission to copy and/or distribute it,
8.21 +# with or without modifications, as long as this notice is preserved.
8.22 +
8.23 +# AM_AUTOMAKE_VERSION(VERSION)
8.24 +# ----------------------------
8.25 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
8.26 +# generated from the m4 files accompanying Automake X.Y.
8.27 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
8.28 +
8.29 +# AM_SET_CURRENT_AUTOMAKE_VERSION
8.30 +# -------------------------------
8.31 +# Call AM_AUTOMAKE_VERSION so it can be traced.
8.32 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
8.33 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8.34 + [AM_AUTOMAKE_VERSION([1.9.6])])
8.35 +
8.36 +# Figure out how to run the assembler. -*- Autoconf -*-
8.37 +
8.38 +# Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
8.39 +#
8.40 +# This file is free software; the Free Software Foundation
8.41 +# gives unlimited permission to copy and/or distribute it,
8.42 +# with or without modifications, as long as this notice is preserved.
8.43 +
8.44 +# serial 4
8.45 +
8.46 +# AM_PROG_AS
8.47 +# ----------
8.48 +AC_DEFUN([AM_PROG_AS],
8.49 +[# By default we simply use the C compiler to build assembly code.
8.50 +AC_REQUIRE([AC_PROG_CC])
8.51 +test "${CCAS+set}" = set || CCAS=$CC
8.52 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
8.53 +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
8.54 +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
8.55 +])
8.56 +
8.57 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
8.58 +
8.59 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8.60 +#
8.61 +# This file is free software; the Free Software Foundation
8.62 +# gives unlimited permission to copy and/or distribute it,
8.63 +# with or without modifications, as long as this notice is preserved.
8.64 +
8.65 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
8.66 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
8.67 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
8.68 +#
8.69 +# Of course, Automake must honor this variable whenever it calls a
8.70 +# tool from the auxiliary directory. The problem is that $srcdir (and
8.71 +# therefore $ac_aux_dir as well) can be either absolute or relative,
8.72 +# depending on how configure is run. This is pretty annoying, since
8.73 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
8.74 +# source directory, any form will work fine, but in subdirectories a
8.75 +# relative path needs to be adjusted first.
8.76 +#
8.77 +# $ac_aux_dir/missing
8.78 +# fails when called from a subdirectory if $ac_aux_dir is relative
8.79 +# $top_srcdir/$ac_aux_dir/missing
8.80 +# fails if $ac_aux_dir is absolute,
8.81 +# fails when called from a subdirectory in a VPATH build with
8.82 +# a relative $ac_aux_dir
8.83 +#
8.84 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
8.85 +# are both prefixed by $srcdir. In an in-source build this is usually
8.86 +# harmless because $srcdir is `.', but things will broke when you
8.87 +# start a VPATH build or use an absolute $srcdir.
8.88 +#
8.89 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
8.90 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
8.91 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
8.92 +# and then we would define $MISSING as
8.93 +# MISSING="\${SHELL} $am_aux_dir/missing"
8.94 +# This will work as long as MISSING is not called from configure, because
8.95 +# unfortunately $(top_srcdir) has no meaning in configure.
8.96 +# However there are other variables, like CC, which are often used in
8.97 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
8.98 +#
8.99 +# Another solution, used here, is to always expand $ac_aux_dir to an
8.100 +# absolute PATH. The drawback is that using absolute paths prevent a
8.101 +# configured tree to be moved without reconfiguration.
8.102 +
8.103 +AC_DEFUN([AM_AUX_DIR_EXPAND],
8.104 +[dnl Rely on autoconf to set up CDPATH properly.
8.105 +AC_PREREQ([2.50])dnl
8.106 +# expand $ac_aux_dir to an absolute path
8.107 +am_aux_dir=`cd $ac_aux_dir && pwd`
8.108 +])
8.109 +
8.110 +# AM_CONDITIONAL -*- Autoconf -*-
8.111 +
8.112 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
8.113 +# Free Software Foundation, Inc.
8.114 +#
8.115 +# This file is free software; the Free Software Foundation
8.116 +# gives unlimited permission to copy and/or distribute it,
8.117 +# with or without modifications, as long as this notice is preserved.
8.118 +
8.119 +# serial 7
8.120 +
8.121 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8.122 +# -------------------------------------
8.123 +# Define a conditional.
8.124 +AC_DEFUN([AM_CONDITIONAL],
8.125 +[AC_PREREQ(2.52)dnl
8.126 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
8.127 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
8.128 +AC_SUBST([$1_TRUE])
8.129 +AC_SUBST([$1_FALSE])
8.130 +if $2; then
8.131 + $1_TRUE=
8.132 + $1_FALSE='#'
8.133 +else
8.134 + $1_TRUE='#'
8.135 + $1_FALSE=
8.136 +fi
8.137 +AC_CONFIG_COMMANDS_PRE(
8.138 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
8.139 + AC_MSG_ERROR([[conditional "$1" was never defined.
8.140 +Usually this means the macro was only invoked conditionally.]])
8.141 +fi])])
8.142 +
8.143 +
8.144 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
8.145 +# Free Software Foundation, Inc.
8.146 +#
8.147 +# This file is free software; the Free Software Foundation
8.148 +# gives unlimited permission to copy and/or distribute it,
8.149 +# with or without modifications, as long as this notice is preserved.
8.150 +
8.151 +# serial 8
8.152 +
8.153 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8.154 +# written in clear, in which case automake, when reading aclocal.m4,
8.155 +# will think it sees a *use*, and therefore will trigger all it's
8.156 +# C support machinery. Also note that it means that autoscan, seeing
8.157 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
8.158 +
8.159 +
8.160 +# _AM_DEPENDENCIES(NAME)
8.161 +# ----------------------
8.162 +# See how the compiler implements dependency checking.
8.163 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
8.164 +# We try a few techniques and use that to set a single cache variable.
8.165 +#
8.166 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
8.167 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
8.168 +# dependency, and given that the user is not expected to run this macro,
8.169 +# just rely on AC_PROG_CC.
8.170 +AC_DEFUN([_AM_DEPENDENCIES],
8.171 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
8.172 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
8.173 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
8.174 +AC_REQUIRE([AM_DEP_TRACK])dnl
8.175 +
8.176 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
8.177 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
8.178 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
8.179 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
8.180 + [depcc="$$1" am_compiler_list=])
8.181 +
8.182 +AC_CACHE_CHECK([dependency style of $depcc],
8.183 + [am_cv_$1_dependencies_compiler_type],
8.184 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8.185 + # We make a subdir and do the tests there. Otherwise we can end up
8.186 + # making bogus files that we don't know about and never remove. For
8.187 + # instance it was reported that on HP-UX the gcc test will end up
8.188 + # making a dummy file named `D' -- because `-MD' means `put the output
8.189 + # in D'.
8.190 + mkdir conftest.dir
8.191 + # Copy depcomp to subdir because otherwise we won't find it if we're
8.192 + # using a relative directory.
8.193 + cp "$am_depcomp" conftest.dir
8.194 + cd conftest.dir
8.195 + # We will build objects and dependencies in a subdirectory because
8.196 + # it helps to detect inapplicable dependency modes. For instance
8.197 + # both Tru64's cc and ICC support -MD to output dependencies as a
8.198 + # side effect of compilation, but ICC will put the dependencies in
8.199 + # the current directory while Tru64 will put them in the object
8.200 + # directory.
8.201 + mkdir sub
8.202 +
8.203 + am_cv_$1_dependencies_compiler_type=none
8.204 + if test "$am_compiler_list" = ""; then
8.205 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8.206 + fi
8.207 + for depmode in $am_compiler_list; do
8.208 + # Setup a source with many dependencies, because some compilers
8.209 + # like to wrap large dependency lists on column 80 (with \), and
8.210 + # we should not choose a depcomp mode which is confused by this.
8.211 + #
8.212 + # We need to recreate these files for each test, as the compiler may
8.213 + # overwrite some of them when testing with obscure command lines.
8.214 + # This happens at least with the AIX C compiler.
8.215 + : > sub/conftest.c
8.216 + for i in 1 2 3 4 5 6; do
8.217 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
8.218 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8.219 + # Solaris 8's {/usr,}/bin/sh.
8.220 + touch sub/conftst$i.h
8.221 + done
8.222 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8.223 +
8.224 + case $depmode in
8.225 + nosideeffect)
8.226 + # after this tag, mechanisms are not by side-effect, so they'll
8.227 + # only be used when explicitly requested
8.228 + if test "x$enable_dependency_tracking" = xyes; then
8.229 + continue
8.230 + else
8.231 + break
8.232 + fi
8.233 + ;;
8.234 + none) break ;;
8.235 + esac
8.236 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
8.237 + # mode. It turns out that the SunPro C++ compiler does not properly
8.238 + # handle `-M -o', and we need to detect this.
8.239 + if depmode=$depmode \
8.240 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8.241 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8.242 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8.243 + >/dev/null 2>conftest.err &&
8.244 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8.245 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8.246 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8.247 + # icc doesn't choke on unknown options, it will just issue warnings
8.248 + # or remarks (even with -Werror). So we grep stderr for any message
8.249 + # that says an option was ignored or not supported.
8.250 + # When given -MP, icc 7.0 and 7.1 complain thusly:
8.251 + # icc: Command line warning: ignoring option '-M'; no argument required
8.252 + # The diagnosis changed in icc 8.0:
8.253 + # icc: Command line remark: option '-MP' not supported
8.254 + if (grep 'ignoring option' conftest.err ||
8.255 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8.256 + am_cv_$1_dependencies_compiler_type=$depmode
8.257 + break
8.258 + fi
8.259 + fi
8.260 + done
8.261 +
8.262 + cd ..
8.263 + rm -rf conftest.dir
8.264 +else
8.265 + am_cv_$1_dependencies_compiler_type=none
8.266 +fi
8.267 +])
8.268 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
8.269 +AM_CONDITIONAL([am__fastdep$1], [
8.270 + test "x$enable_dependency_tracking" != xno \
8.271 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
8.272 +])
8.273 +
8.274 +
8.275 +# AM_SET_DEPDIR
8.276 +# -------------
8.277 +# Choose a directory name for dependency files.
8.278 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
8.279 +AC_DEFUN([AM_SET_DEPDIR],
8.280 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8.281 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
8.282 +])
8.283 +
8.284 +
8.285 +# AM_DEP_TRACK
8.286 +# ------------
8.287 +AC_DEFUN([AM_DEP_TRACK],
8.288 +[AC_ARG_ENABLE(dependency-tracking,
8.289 +[ --disable-dependency-tracking speeds up one-time build
8.290 + --enable-dependency-tracking do not reject slow dependency extractors])
8.291 +if test "x$enable_dependency_tracking" != xno; then
8.292 + am_depcomp="$ac_aux_dir/depcomp"
8.293 + AMDEPBACKSLASH='\'
8.294 +fi
8.295 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
8.296 +AC_SUBST([AMDEPBACKSLASH])
8.297 +])
8.298 +
8.299 +# Generate code to set up dependency tracking. -*- Autoconf -*-
8.300 +
8.301 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
8.302 +# Free Software Foundation, Inc.
8.303 +#
8.304 +# This file is free software; the Free Software Foundation
8.305 +# gives unlimited permission to copy and/or distribute it,
8.306 +# with or without modifications, as long as this notice is preserved.
8.307 +
8.308 +#serial 3
8.309 +
8.310 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
8.311 +# ------------------------------
8.312 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8.313 +[for mf in $CONFIG_FILES; do
8.314 + # Strip MF so we end up with the name of the file.
8.315 + mf=`echo "$mf" | sed -e 's/:.*$//'`
8.316 + # Check whether this is an Automake generated Makefile or not.
8.317 + # We used to match only the files named `Makefile.in', but
8.318 + # some people rename them; so instead we look at the file content.
8.319 + # Grep'ing the first line is not enough: some people post-process
8.320 + # each Makefile.in and add a new line on top of each file to say so.
8.321 + # So let's grep whole file.
8.322 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8.323 + dirpart=`AS_DIRNAME("$mf")`
8.324 + else
8.325 + continue
8.326 + fi
8.327 + # Extract the definition of DEPDIR, am__include, and am__quote
8.328 + # from the Makefile without running `make'.
8.329 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8.330 + test -z "$DEPDIR" && continue
8.331 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
8.332 + test -z "am__include" && continue
8.333 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8.334 + # When using ansi2knr, U may be empty or an underscore; expand it
8.335 + U=`sed -n 's/^U = //p' < "$mf"`
8.336 + # Find all dependency output files, they are included files with
8.337 + # $(DEPDIR) in their names. We invoke sed twice because it is the
8.338 + # simplest approach to changing $(DEPDIR) to its actual value in the
8.339 + # expansion.
8.340 + for file in `sed -n "
8.341 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8.342 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8.343 + # Make sure the directory exists.
8.344 + test -f "$dirpart/$file" && continue
8.345 + fdir=`AS_DIRNAME(["$file"])`
8.346 + AS_MKDIR_P([$dirpart/$fdir])
8.347 + # echo "creating $dirpart/$file"
8.348 + echo '# dummy' > "$dirpart/$file"
8.349 + done
8.350 +done
8.351 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8.352 +
8.353 +
8.354 +# AM_OUTPUT_DEPENDENCY_COMMANDS
8.355 +# -----------------------------
8.356 +# This macro should only be invoked once -- use via AC_REQUIRE.
8.357 +#
8.358 +# This code is only required when automatic dependency tracking
8.359 +# is enabled. FIXME. This creates each `.P' file that we will
8.360 +# need in order to bootstrap the dependency handling code.
8.361 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
8.362 +[AC_CONFIG_COMMANDS([depfiles],
8.363 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
8.364 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
8.365 +])
8.366 +
8.367 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
8.368 +# Free Software Foundation, Inc.
8.369 +#
8.370 +# This file is free software; the Free Software Foundation
8.371 +# gives unlimited permission to copy and/or distribute it,
8.372 +# with or without modifications, as long as this notice is preserved.
8.373 +
8.374 +# serial 8
8.375 +
8.376 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
8.377 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
8.378 +
8.379 +# Do all the work for Automake. -*- Autoconf -*-
8.380 +
8.381 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
8.382 +# Free Software Foundation, Inc.
8.383 +#
8.384 +# This file is free software; the Free Software Foundation
8.385 +# gives unlimited permission to copy and/or distribute it,
8.386 +# with or without modifications, as long as this notice is preserved.
8.387 +
8.388 +# serial 12
8.389 +
8.390 +# This macro actually does too much. Some checks are only needed if
8.391 +# your package does certain things. But this isn't really a big deal.
8.392 +
8.393 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
8.394 +# AM_INIT_AUTOMAKE([OPTIONS])
8.395 +# -----------------------------------------------
8.396 +# The call with PACKAGE and VERSION arguments is the old style
8.397 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
8.398 +# and VERSION should now be passed to AC_INIT and removed from
8.399 +# the call to AM_INIT_AUTOMAKE.
8.400 +# We support both call styles for the transition. After
8.401 +# the next Automake release, Autoconf can make the AC_INIT
8.402 +# arguments mandatory, and then we can depend on a new Autoconf
8.403 +# release and drop the old call support.
8.404 +AC_DEFUN([AM_INIT_AUTOMAKE],
8.405 +[AC_PREREQ([2.58])dnl
8.406 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
8.407 +dnl the ones we care about.
8.408 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8.409 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8.410 +AC_REQUIRE([AC_PROG_INSTALL])dnl
8.411 +# test to see if srcdir already configured
8.412 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
8.413 + test -f $srcdir/config.status; then
8.414 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8.415 +fi
8.416 +
8.417 +# test whether we have cygpath
8.418 +if test -z "$CYGPATH_W"; then
8.419 + if (cygpath --version) >/dev/null 2>/dev/null; then
8.420 + CYGPATH_W='cygpath -w'
8.421 + else
8.422 + CYGPATH_W=echo
8.423 + fi
8.424 +fi
8.425 +AC_SUBST([CYGPATH_W])
8.426 +
8.427 +# Define the identity of the package.
8.428 +dnl Distinguish between old-style and new-style calls.
8.429 +m4_ifval([$2],
8.430 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
8.431 + AC_SUBST([PACKAGE], [$1])dnl
8.432 + AC_SUBST([VERSION], [$2])],
8.433 +[_AM_SET_OPTIONS([$1])dnl
8.434 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8.435 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8.436 +
8.437 +_AM_IF_OPTION([no-define],,
8.438 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
8.439 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
8.440 +
8.441 +# Some tools Automake needs.
8.442 +AC_REQUIRE([AM_SANITY_CHECK])dnl
8.443 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
8.444 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
8.445 +AM_MISSING_PROG(AUTOCONF, autoconf)
8.446 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8.447 +AM_MISSING_PROG(AUTOHEADER, autoheader)
8.448 +AM_MISSING_PROG(MAKEINFO, makeinfo)
8.449 +AM_PROG_INSTALL_SH
8.450 +AM_PROG_INSTALL_STRIP
8.451 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8.452 +# We need awk for the "check" target. The system "awk" is bad on
8.453 +# some platforms.
8.454 +AC_REQUIRE([AC_PROG_AWK])dnl
8.455 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8.456 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8.457 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8.458 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8.459 + [_AM_PROG_TAR([v7])])])
8.460 +_AM_IF_OPTION([no-dependencies],,
8.461 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
8.462 + [_AM_DEPENDENCIES(CC)],
8.463 + [define([AC_PROG_CC],
8.464 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8.465 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
8.466 + [_AM_DEPENDENCIES(CXX)],
8.467 + [define([AC_PROG_CXX],
8.468 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8.469 +])
8.470 +])
8.471 +
8.472 +
8.473 +# When config.status generates a header, we must update the stamp-h file.
8.474 +# This file resides in the same directory as the config header
8.475 +# that is generated. The stamp files are numbered to have different names.
8.476 +
8.477 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
8.478 +# loop where config.status creates the headers, so we can generate
8.479 +# our stamp files there.
8.480 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8.481 +[# Compute $1's index in $config_headers.
8.482 +_am_stamp_count=1
8.483 +for _am_header in $config_headers :; do
8.484 + case $_am_header in
8.485 + $1 | $1:* )
8.486 + break ;;
8.487 + * )
8.488 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8.489 + esac
8.490 +done
8.491 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
8.492 +
8.493 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8.494 +#
8.495 +# This file is free software; the Free Software Foundation
8.496 +# gives unlimited permission to copy and/or distribute it,
8.497 +# with or without modifications, as long as this notice is preserved.
8.498 +
8.499 +# AM_PROG_INSTALL_SH
8.500 +# ------------------
8.501 +# Define $install_sh.
8.502 +AC_DEFUN([AM_PROG_INSTALL_SH],
8.503 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8.504 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
8.505 +AC_SUBST(install_sh)])
8.506 +
8.507 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
8.508 +#
8.509 +# This file is free software; the Free Software Foundation
8.510 +# gives unlimited permission to copy and/or distribute it,
8.511 +# with or without modifications, as long as this notice is preserved.
8.512 +
8.513 +# serial 2
8.514 +
8.515 +# Check whether the underlying file-system supports filenames
8.516 +# with a leading dot. For instance MS-DOS doesn't.
8.517 +AC_DEFUN([AM_SET_LEADING_DOT],
8.518 +[rm -rf .tst 2>/dev/null
8.519 +mkdir .tst 2>/dev/null
8.520 +if test -d .tst; then
8.521 + am__leading_dot=.
8.522 +else
8.523 + am__leading_dot=_
8.524 +fi
8.525 +rmdir .tst 2>/dev/null
8.526 +AC_SUBST([am__leading_dot])])
8.527 +
8.528 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
8.529 +# From Jim Meyering
8.530 +
8.531 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
8.532 +# Free Software Foundation, Inc.
8.533 +#
8.534 +# This file is free software; the Free Software Foundation
8.535 +# gives unlimited permission to copy and/or distribute it,
8.536 +# with or without modifications, as long as this notice is preserved.
8.537 +
8.538 +# serial 4
8.539 +
8.540 +AC_DEFUN([AM_MAINTAINER_MODE],
8.541 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
8.542 + dnl maintainer-mode is disabled by default
8.543 + AC_ARG_ENABLE(maintainer-mode,
8.544 +[ --enable-maintainer-mode enable make rules and dependencies not useful
8.545 + (and sometimes confusing) to the casual installer],
8.546 + USE_MAINTAINER_MODE=$enableval,
8.547 + USE_MAINTAINER_MODE=no)
8.548 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
8.549 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
8.550 + MAINT=$MAINTAINER_MODE_TRUE
8.551 + AC_SUBST(MAINT)dnl
8.552 +]
8.553 +)
8.554 +
8.555 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
8.556 +
8.557 +# Check to see how 'make' treats includes. -*- Autoconf -*-
8.558 +
8.559 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
8.560 +#
8.561 +# This file is free software; the Free Software Foundation
8.562 +# gives unlimited permission to copy and/or distribute it,
8.563 +# with or without modifications, as long as this notice is preserved.
8.564 +
8.565 +# serial 3
8.566 +
8.567 +# AM_MAKE_INCLUDE()
8.568 +# -----------------
8.569 +# Check to see how make treats includes.
8.570 +AC_DEFUN([AM_MAKE_INCLUDE],
8.571 +[am_make=${MAKE-make}
8.572 +cat > confinc << 'END'
8.573 +am__doit:
8.574 + @echo done
8.575 +.PHONY: am__doit
8.576 +END
8.577 +# If we don't find an include directive, just comment out the code.
8.578 +AC_MSG_CHECKING([for style of include used by $am_make])
8.579 +am__include="#"
8.580 +am__quote=
8.581 +_am_result=none
8.582 +# First try GNU make style include.
8.583 +echo "include confinc" > confmf
8.584 +# We grep out `Entering directory' and `Leaving directory'
8.585 +# messages which can occur if `w' ends up in MAKEFLAGS.
8.586 +# In particular we don't look at `^make:' because GNU make might
8.587 +# be invoked under some other name (usually "gmake"), in which
8.588 +# case it prints its new name instead of `make'.
8.589 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8.590 + am__include=include
8.591 + am__quote=
8.592 + _am_result=GNU
8.593 +fi
8.594 +# Now try BSD make style include.
8.595 +if test "$am__include" = "#"; then
8.596 + echo '.include "confinc"' > confmf
8.597 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8.598 + am__include=.include
8.599 + am__quote="\""
8.600 + _am_result=BSD
8.601 + fi
8.602 +fi
8.603 +AC_SUBST([am__include])
8.604 +AC_SUBST([am__quote])
8.605 +AC_MSG_RESULT([$_am_result])
8.606 +rm -f confinc confmf
8.607 +])
8.608 +
8.609 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8.610 +
8.611 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
8.612 +# Free Software Foundation, Inc.
8.613 +#
8.614 +# This file is free software; the Free Software Foundation
8.615 +# gives unlimited permission to copy and/or distribute it,
8.616 +# with or without modifications, as long as this notice is preserved.
8.617 +
8.618 +# serial 4
8.619 +
8.620 +# AM_MISSING_PROG(NAME, PROGRAM)
8.621 +# ------------------------------
8.622 +AC_DEFUN([AM_MISSING_PROG],
8.623 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
8.624 +$1=${$1-"${am_missing_run}$2"}
8.625 +AC_SUBST($1)])
8.626 +
8.627 +
8.628 +# AM_MISSING_HAS_RUN
8.629 +# ------------------
8.630 +# Define MISSING if not defined so far and test if it supports --run.
8.631 +# If it does, set am_missing_run to use it, otherwise, to nothing.
8.632 +AC_DEFUN([AM_MISSING_HAS_RUN],
8.633 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8.634 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8.635 +# Use eval to expand $SHELL
8.636 +if eval "$MISSING --run true"; then
8.637 + am_missing_run="$MISSING --run "
8.638 +else
8.639 + am_missing_run=
8.640 + AC_MSG_WARN([`missing' script is too old or missing])
8.641 +fi
8.642 +])
8.643 +
8.644 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
8.645 +#
8.646 +# This file is free software; the Free Software Foundation
8.647 +# gives unlimited permission to copy and/or distribute it,
8.648 +# with or without modifications, as long as this notice is preserved.
8.649 +
8.650 +# AM_PROG_MKDIR_P
8.651 +# ---------------
8.652 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
8.653 +#
8.654 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
8.655 +# created by `make install' are always world readable, even if the
8.656 +# installer happens to have an overly restrictive umask (e.g. 077).
8.657 +# This was a mistake. There are at least two reasons why we must not
8.658 +# use `-m 0755':
8.659 +# - it causes special bits like SGID to be ignored,
8.660 +# - it may be too restrictive (some setups expect 775 directories).
8.661 +#
8.662 +# Do not use -m 0755 and let people choose whatever they expect by
8.663 +# setting umask.
8.664 +#
8.665 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
8.666 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
8.667 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
8.668 +# concurrently, both version can detect that a/ is missing, but only
8.669 +# one can create it and the other will error out. Consequently we
8.670 +# restrict ourselves to GNU make (using the --version option ensures
8.671 +# this.)
8.672 +AC_DEFUN([AM_PROG_MKDIR_P],
8.673 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
8.674 + # We used to keeping the `.' as first argument, in order to
8.675 + # allow $(mkdir_p) to be used without argument. As in
8.676 + # $(mkdir_p) $(somedir)
8.677 + # where $(somedir) is conditionally defined. However this is wrong
8.678 + # for two reasons:
8.679 + # 1. if the package is installed by a user who cannot write `.'
8.680 + # make install will fail,
8.681 + # 2. the above comment should most certainly read
8.682 + # $(mkdir_p) $(DESTDIR)$(somedir)
8.683 + # so it does not work when $(somedir) is undefined and
8.684 + # $(DESTDIR) is not.
8.685 + # To support the latter case, we have to write
8.686 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
8.687 + # so the `.' trick is pointless.
8.688 + mkdir_p='mkdir -p --'
8.689 +else
8.690 + # On NextStep and OpenStep, the `mkdir' command does not
8.691 + # recognize any option. It will interpret all options as
8.692 + # directories to create, and then abort because `.' already
8.693 + # exists.
8.694 + for d in ./-p ./--version;
8.695 + do
8.696 + test -d $d && rmdir $d
8.697 + done
8.698 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
8.699 + if test -f "$ac_aux_dir/mkinstalldirs"; then
8.700 + mkdir_p='$(mkinstalldirs)'
8.701 + else
8.702 + mkdir_p='$(install_sh) -d'
8.703 + fi
8.704 +fi
8.705 +AC_SUBST([mkdir_p])])
8.706 +
8.707 +# Helper functions for option handling. -*- Autoconf -*-
8.708 +
8.709 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
8.710 +#
8.711 +# This file is free software; the Free Software Foundation
8.712 +# gives unlimited permission to copy and/or distribute it,
8.713 +# with or without modifications, as long as this notice is preserved.
8.714 +
8.715 +# serial 3
8.716 +
8.717 +# _AM_MANGLE_OPTION(NAME)
8.718 +# -----------------------
8.719 +AC_DEFUN([_AM_MANGLE_OPTION],
8.720 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
8.721 +
8.722 +# _AM_SET_OPTION(NAME)
8.723 +# ------------------------------
8.724 +# Set option NAME. Presently that only means defining a flag for this option.
8.725 +AC_DEFUN([_AM_SET_OPTION],
8.726 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
8.727 +
8.728 +# _AM_SET_OPTIONS(OPTIONS)
8.729 +# ----------------------------------
8.730 +# OPTIONS is a space-separated list of Automake options.
8.731 +AC_DEFUN([_AM_SET_OPTIONS],
8.732 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
8.733 +
8.734 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
8.735 +# -------------------------------------------
8.736 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8.737 +AC_DEFUN([_AM_IF_OPTION],
8.738 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
8.739 +
8.740 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
8.741 +
8.742 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
8.743 +# Free Software Foundation, Inc.
8.744 +#
8.745 +# This file is free software; the Free Software Foundation
8.746 +# gives unlimited permission to copy and/or distribute it,
8.747 +# with or without modifications, as long as this notice is preserved.
8.748 +
8.749 +# serial 4
8.750 +
8.751 +# AM_SANITY_CHECK
8.752 +# ---------------
8.753 +AC_DEFUN([AM_SANITY_CHECK],
8.754 +[AC_MSG_CHECKING([whether build environment is sane])
8.755 +# Just in case
8.756 +sleep 1
8.757 +echo timestamp > conftest.file
8.758 +# Do `set' in a subshell so we don't clobber the current shell's
8.759 +# arguments. Must try -L first in case configure is actually a
8.760 +# symlink; some systems play weird games with the mod time of symlinks
8.761 +# (eg FreeBSD returns the mod time of the symlink's containing
8.762 +# directory).
8.763 +if (
8.764 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
8.765 + if test "$[*]" = "X"; then
8.766 + # -L didn't work.
8.767 + set X `ls -t $srcdir/configure conftest.file`
8.768 + fi
8.769 + rm -f conftest.file
8.770 + if test "$[*]" != "X $srcdir/configure conftest.file" \
8.771 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
8.772 +
8.773 + # If neither matched, then we have a broken ls. This can happen
8.774 + # if, for instance, CONFIG_SHELL is bash and it inherits a
8.775 + # broken ls alias from the environment. This has actually
8.776 + # happened. Such a system could not be considered "sane".
8.777 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
8.778 +alias in your environment])
8.779 + fi
8.780 +
8.781 + test "$[2]" = conftest.file
8.782 + )
8.783 +then
8.784 + # Ok.
8.785 + :
8.786 +else
8.787 + AC_MSG_ERROR([newly created file is older than distributed files!
8.788 +Check your system clock])
8.789 +fi
8.790 +AC_MSG_RESULT(yes)])
8.791 +
8.792 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8.793 +#
8.794 +# This file is free software; the Free Software Foundation
8.795 +# gives unlimited permission to copy and/or distribute it,
8.796 +# with or without modifications, as long as this notice is preserved.
8.797 +
8.798 +# AM_PROG_INSTALL_STRIP
8.799 +# ---------------------
8.800 +# One issue with vendor `install' (even GNU) is that you can't
8.801 +# specify the program used to strip binaries. This is especially
8.802 +# annoying in cross-compiling environments, where the build's strip
8.803 +# is unlikely to handle the host's binaries.
8.804 +# Fortunately install-sh will honor a STRIPPROG variable, so we
8.805 +# always use install-sh in `make install-strip', and initialize
8.806 +# STRIPPROG with the value of the STRIP variable (set by the user).
8.807 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
8.808 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
8.809 +# Installed binaries are usually stripped using `strip' when the user
8.810 +# run `make install-strip'. However `strip' might not be the right
8.811 +# tool to use in cross-compilation environments, therefore Automake
8.812 +# will honor the `STRIP' environment variable to overrule this program.
8.813 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
8.814 +if test "$cross_compiling" != no; then
8.815 + AC_CHECK_TOOL([STRIP], [strip], :)
8.816 +fi
8.817 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8.818 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
8.819 +
8.820 +# Check how to create a tarball. -*- Autoconf -*-
8.821 +
8.822 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
8.823 +#
8.824 +# This file is free software; the Free Software Foundation
8.825 +# gives unlimited permission to copy and/or distribute it,
8.826 +# with or without modifications, as long as this notice is preserved.
8.827 +
8.828 +# serial 2
8.829 +
8.830 +# _AM_PROG_TAR(FORMAT)
8.831 +# --------------------
8.832 +# Check how to create a tarball in format FORMAT.
8.833 +# FORMAT should be one of `v7', `ustar', or `pax'.
8.834 +#
8.835 +# Substitute a variable $(am__tar) that is a command
8.836 +# writing to stdout a FORMAT-tarball containing the directory
8.837 +# $tardir.
8.838 +# tardir=directory && $(am__tar) > result.tar
8.839 +#
8.840 +# Substitute a variable $(am__untar) that extract such
8.841 +# a tarball read from stdin.
8.842 +# $(am__untar) < result.tar
8.843 +AC_DEFUN([_AM_PROG_TAR],
8.844 +[# Always define AMTAR for backward compatibility.
8.845 +AM_MISSING_PROG([AMTAR], [tar])
8.846 +m4_if([$1], [v7],
8.847 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
8.848 + [m4_case([$1], [ustar],, [pax],,
8.849 + [m4_fatal([Unknown tar format])])
8.850 +AC_MSG_CHECKING([how to create a $1 tar archive])
8.851 +# Loop over all known methods to create a tar archive until one works.
8.852 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
8.853 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
8.854 +# Do not fold the above two line into one, because Tru64 sh and
8.855 +# Solaris sh will not grok spaces in the rhs of `-'.
8.856 +for _am_tool in $_am_tools
8.857 +do
8.858 + case $_am_tool in
8.859 + gnutar)
8.860 + for _am_tar in tar gnutar gtar;
8.861 + do
8.862 + AM_RUN_LOG([$_am_tar --version]) && break
8.863 + done
8.864 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
8.865 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
8.866 + am__untar="$_am_tar -xf -"
8.867 + ;;
8.868 + plaintar)
8.869 + # Must skip GNU tar: if it does not support --format= it doesn't create
8.870 + # ustar tarball either.
8.871 + (tar --version) >/dev/null 2>&1 && continue
8.872 + am__tar='tar chf - "$$tardir"'
8.873 + am__tar_='tar chf - "$tardir"'
8.874 + am__untar='tar xf -'
8.875 + ;;
8.876 + pax)
8.877 + am__tar='pax -L -x $1 -w "$$tardir"'
8.878 + am__tar_='pax -L -x $1 -w "$tardir"'
8.879 + am__untar='pax -r'
8.880 + ;;
8.881 + cpio)
8.882 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
8.883 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
8.884 + am__untar='cpio -i -H $1 -d'
8.885 + ;;
8.886 + none)
8.887 + am__tar=false
8.888 + am__tar_=false
8.889 + am__untar=false
8.890 + ;;
8.891 + esac
8.892 +
8.893 + # If the value was cached, stop now. We just wanted to have am__tar
8.894 + # and am__untar set.
8.895 + test -n "${am_cv_prog_tar_$1}" && break
8.896 +
8.897 + # tar/untar a dummy directory, and stop if the command works
8.898 + rm -rf conftest.dir
8.899 + mkdir conftest.dir
8.900 + echo GrepMe > conftest.dir/file
8.901 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
8.902 + rm -rf conftest.dir
8.903 + if test -s conftest.tar; then
8.904 + AM_RUN_LOG([$am__untar <conftest.tar])
8.905 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
8.906 + fi
8.907 +done
8.908 +rm -rf conftest.dir
8.909 +
8.910 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
8.911 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
8.912 +AC_SUBST([am__tar])
8.913 +AC_SUBST([am__untar])
8.914 +]) # _AM_PROG_TAR
8.915 +
8.916 +m4_include([m4/as-compiler-flag.m4])
8.917 +m4_include([m4/as-version.m4])
8.918 +m4_include([m4/libtool.m4])
8.919 +m4_include([m4/pkg.m4])
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/gst-gpac/autogen.sh Thu Feb 21 17:44:16 2008 +0000
9.3 @@ -0,0 +1,20 @@
9.4 +#!/bin/sh
9.5 +# Run this to generate all the initial makefiles, etc.
9.6 +
9.7 +srcdir=`dirname $0`
9.8 +test -z "$srcdir" && srcdir=.
9.9 +
9.10 +PKG_NAME="gstreamer elements"
9.11 +
9.12 +(test -f $srcdir/configure.ac) || {
9.13 + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
9.14 + echo " top-level $PKG_NAME directory"
9.15 + exit 1
9.16 +}
9.17 +
9.18 +which gnome-autogen.sh || {
9.19 + echo "You need to install gnome-common from the GNOME CVS"
9.20 + exit 1
9.21 +}
9.22 +ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
9.23 +REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/gst-gpac/autom4te.cache/output.0 Thu Feb 21 17:44:16 2008 +0000
10.3 @@ -0,0 +1,24171 @@
10.4 +@%:@! /bin/sh
10.5 +@%:@ Guess values for system-dependent variables and create Makefiles.
10.6 +@%:@ Generated by GNU Autoconf 2.61.
10.7 +@%:@
10.8 +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10.9 +@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10.10 +@%:@ This configure script is free software; the Free Software Foundation
10.11 +@%:@ gives unlimited permission to copy, distribute and modify it.
10.12 +## --------------------- ##
10.13 +## M4sh Initialization. ##
10.14 +## --------------------- ##
10.15 +
10.16 +# Be more Bourne compatible
10.17 +DUALCASE=1; export DUALCASE # for MKS sh
10.18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10.19 + emulate sh
10.20 + NULLCMD=:
10.21 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10.22 + # is contrary to our usage. Disable this feature.
10.23 + alias -g '${1+"$@"}'='"$@"'
10.24 + setopt NO_GLOB_SUBST
10.25 +else
10.26 + case `(set -o) 2>/dev/null` in
10.27 + *posix*) set -o posix ;;
10.28 +esac
10.29 +
10.30 +fi
10.31 +
10.32 +
10.33 +
10.34 +
10.35 +# PATH needs CR
10.36 +# Avoid depending upon Character Ranges.
10.37 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10.38 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10.39 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10.40 +as_cr_digits='0123456789'
10.41 +as_cr_alnum=$as_cr_Letters$as_cr_digits
10.42 +
10.43 +# The user is always right.
10.44 +if test "${PATH_SEPARATOR+set}" != set; then
10.45 + echo "#! /bin/sh" >conf$$.sh
10.46 + echo "exit 0" >>conf$$.sh
10.47 + chmod +x conf$$.sh
10.48 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10.49 + PATH_SEPARATOR=';'
10.50 + else
10.51 + PATH_SEPARATOR=:
10.52 + fi
10.53 + rm -f conf$$.sh
10.54 +fi
10.55 +
10.56 +# Support unset when possible.
10.57 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10.58 + as_unset=unset
10.59 +else
10.60 + as_unset=false
10.61 +fi
10.62 +
10.63 +
10.64 +# IFS
10.65 +# We need space, tab and new line, in precisely that order. Quoting is
10.66 +# there to prevent editors from complaining about space-tab.
10.67 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10.68 +# splitting by setting IFS to empty value.)
10.69 +as_nl='
10.70 +'
10.71 +IFS=" "" $as_nl"
10.72 +
10.73 +# Find who we are. Look in the path if we contain no directory separator.
10.74 +case $0 in
10.75 + *[\\/]* ) as_myself=$0 ;;
10.76 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.77 +for as_dir in $PATH
10.78 +do
10.79 + IFS=$as_save_IFS
10.80 + test -z "$as_dir" && as_dir=.
10.81 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10.82 +done
10.83 +IFS=$as_save_IFS
10.84 +
10.85 + ;;
10.86 +esac
10.87 +# We did not find ourselves, most probably we were run as `sh COMMAND'
10.88 +# in which case we are not to be found in the path.
10.89 +if test "x$as_myself" = x; then
10.90 + as_myself=$0
10.91 +fi
10.92 +if test ! -f "$as_myself"; then
10.93 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10.94 + { (exit 1); exit 1; }
10.95 +fi
10.96 +
10.97 +# Work around bugs in pre-3.0 UWIN ksh.
10.98 +for as_var in ENV MAIL MAILPATH
10.99 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10.100 +done
10.101 +PS1='$ '
10.102 +PS2='> '
10.103 +PS4='+ '
10.104 +
10.105 +# NLS nuisances.
10.106 +for as_var in \
10.107 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10.108 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10.109 + LC_TELEPHONE LC_TIME
10.110 +do
10.111 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10.112 + eval $as_var=C; export $as_var
10.113 + else
10.114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10.115 + fi
10.116 +done
10.117 +
10.118 +# Required to use basename.
10.119 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10.120 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10.121 + as_expr=expr
10.122 +else
10.123 + as_expr=false
10.124 +fi
10.125 +
10.126 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10.127 + as_basename=basename
10.128 +else
10.129 + as_basename=false
10.130 +fi
10.131 +
10.132 +
10.133 +# Name of the executable.
10.134 +as_me=`$as_basename -- "$0" ||
10.135 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10.136 + X"$0" : 'X\(//\)$' \| \
10.137 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10.138 +echo X/"$0" |
10.139 + sed '/^.*\/\([^/][^/]*\)\/*$/{
10.140 + s//\1/
10.141 + q
10.142 + }
10.143 + /^X\/\(\/\/\)$/{
10.144 + s//\1/
10.145 + q
10.146 + }
10.147 + /^X\/\(\/\).*/{
10.148 + s//\1/
10.149 + q
10.150 + }
10.151 + s/.*/./; q'`
10.152 +
10.153 +# CDPATH.
10.154 +$as_unset CDPATH
10.155 +
10.156 +
10.157 +if test "x$CONFIG_SHELL" = x; then
10.158 + if (eval ":") 2>/dev/null; then
10.159 + as_have_required=yes
10.160 +else
10.161 + as_have_required=no
10.162 +fi
10.163 +
10.164 + if test $as_have_required = yes && (eval ":
10.165 +(as_func_return () {
10.166 + (exit \$1)
10.167 +}
10.168 +as_func_success () {
10.169 + as_func_return 0
10.170 +}
10.171 +as_func_failure () {
10.172 + as_func_return 1
10.173 +}
10.174 +as_func_ret_success () {
10.175 + return 0
10.176 +}
10.177 +as_func_ret_failure () {
10.178 + return 1
10.179 +}
10.180 +
10.181 +exitcode=0
10.182 +if as_func_success; then
10.183 + :
10.184 +else
10.185 + exitcode=1
10.186 + echo as_func_success failed.
10.187 +fi
10.188 +
10.189 +if as_func_failure; then
10.190 + exitcode=1
10.191 + echo as_func_failure succeeded.
10.192 +fi
10.193 +
10.194 +if as_func_ret_success; then
10.195 + :
10.196 +else
10.197 + exitcode=1
10.198 + echo as_func_ret_success failed.
10.199 +fi
10.200 +
10.201 +if as_func_ret_failure; then
10.202 + exitcode=1
10.203 + echo as_func_ret_failure succeeded.
10.204 +fi
10.205 +
10.206 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
10.207 + :
10.208 +else
10.209 + exitcode=1
10.210 + echo positional parameters were not saved.
10.211 +fi
10.212 +
10.213 +test \$exitcode = 0) || { (exit 1); exit 1; }
10.214 +
10.215 +(
10.216 + as_lineno_1=\$LINENO
10.217 + as_lineno_2=\$LINENO
10.218 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
10.219 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
10.220 +") 2> /dev/null; then
10.221 + :
10.222 +else
10.223 + as_candidate_shells=
10.224 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.225 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10.226 +do
10.227 + IFS=$as_save_IFS
10.228 + test -z "$as_dir" && as_dir=.
10.229 + case $as_dir in
10.230 + /*)
10.231 + for as_base in sh bash ksh sh5; do
10.232 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
10.233 + done;;
10.234 + esac
10.235 +done
10.236 +IFS=$as_save_IFS
10.237 +
10.238 +
10.239 + for as_shell in $as_candidate_shells $SHELL; do
10.240 + # Try only shells that exist, to save several forks.
10.241 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
10.242 + { ("$as_shell") 2> /dev/null <<\_ASEOF
10.243 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10.244 + emulate sh
10.245 + NULLCMD=:
10.246 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10.247 + # is contrary to our usage. Disable this feature.
10.248 + alias -g '${1+"$@"}'='"$@"'
10.249 + setopt NO_GLOB_SUBST
10.250 +else
10.251 + case `(set -o) 2>/dev/null` in
10.252 + *posix*) set -o posix ;;
10.253 +esac
10.254 +
10.255 +fi
10.256 +
10.257 +
10.258 +:
10.259 +_ASEOF
10.260 +}; then
10.261 + CONFIG_SHELL=$as_shell
10.262 + as_have_required=yes
10.263 + if { "$as_shell" 2> /dev/null <<\_ASEOF
10.264 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10.265 + emulate sh
10.266 + NULLCMD=:
10.267 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10.268 + # is contrary to our usage. Disable this feature.
10.269 + alias -g '${1+"$@"}'='"$@"'
10.270 + setopt NO_GLOB_SUBST
10.271 +else
10.272 + case `(set -o) 2>/dev/null` in
10.273 + *posix*) set -o posix ;;
10.274 +esac
10.275 +
10.276 +fi
10.277 +
10.278 +
10.279 +:
10.280 +(as_func_return () {
10.281 + (exit $1)
10.282 +}
10.283 +as_func_success () {
10.284 + as_func_return 0
10.285 +}
10.286 +as_func_failure () {
10.287 + as_func_return 1
10.288 +}
10.289 +as_func_ret_success () {
10.290 + return 0
10.291 +}
10.292 +as_func_ret_failure () {
10.293 + return 1
10.294 +}
10.295 +
10.296 +exitcode=0
10.297 +if as_func_success; then
10.298 + :
10.299 +else
10.300 + exitcode=1
10.301 + echo as_func_success failed.
10.302 +fi
10.303 +
10.304 +if as_func_failure; then
10.305 + exitcode=1
10.306 + echo as_func_failure succeeded.
10.307 +fi
10.308 +
10.309 +if as_func_ret_success; then
10.310 + :
10.311 +else
10.312 + exitcode=1
10.313 + echo as_func_ret_success failed.
10.314 +fi
10.315 +
10.316 +if as_func_ret_failure; then
10.317 + exitcode=1
10.318 + echo as_func_ret_failure succeeded.
10.319 +fi
10.320 +
10.321 +if ( set x; as_func_ret_success y && test x = "$1" ); then
10.322 + :
10.323 +else
10.324 + exitcode=1
10.325 + echo positional parameters were not saved.
10.326 +fi
10.327 +
10.328 +test $exitcode = 0) || { (exit 1); exit 1; }
10.329 +
10.330 +(
10.331 + as_lineno_1=$LINENO
10.332 + as_lineno_2=$LINENO
10.333 + test "x$as_lineno_1" != "x$as_lineno_2" &&
10.334 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
10.335 +
10.336 +_ASEOF
10.337 +}; then
10.338 + break
10.339 +fi
10.340 +
10.341 +fi
10.342 +
10.343 + done
10.344 +
10.345 + if test "x$CONFIG_SHELL" != x; then
10.346 + for as_var in BASH_ENV ENV
10.347 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10.348 + done
10.349 + export CONFIG_SHELL
10.350 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
10.351 +fi
10.352 +
10.353 +
10.354 + if test $as_have_required = no; then
10.355 + echo This script requires a shell more modern than all the
10.356 + echo shells that I found on your system. Please install a
10.357 + echo modern shell, or manually run the script under such a
10.358 + echo shell if you do have one.
10.359 + { (exit 1); exit 1; }
10.360 +fi
10.361 +
10.362 +
10.363 +fi
10.364 +
10.365 +fi
10.366 +
10.367 +
10.368 +
10.369 +(eval "as_func_return () {
10.370 + (exit \$1)
10.371 +}
10.372 +as_func_success () {
10.373 + as_func_return 0
10.374 +}
10.375 +as_func_failure () {
10.376 + as_func_return 1
10.377 +}
10.378 +as_func_ret_success () {
10.379 + return 0
10.380 +}
10.381 +as_func_ret_failure () {
10.382 + return 1
10.383 +}
10.384 +
10.385 +exitcode=0
10.386 +if as_func_success; then
10.387 + :
10.388 +else
10.389 + exitcode=1
10.390 + echo as_func_success failed.
10.391 +fi
10.392 +
10.393 +if as_func_failure; then
10.394 + exitcode=1
10.395 + echo as_func_failure succeeded.
10.396 +fi
10.397 +
10.398 +if as_func_ret_success; then
10.399 + :
10.400 +else
10.401 + exitcode=1
10.402 + echo as_func_ret_success failed.
10.403 +fi
10.404 +
10.405 +if as_func_ret_failure; then
10.406 + exitcode=1
10.407 + echo as_func_ret_failure succeeded.
10.408 +fi
10.409 +
10.410 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
10.411 + :
10.412 +else
10.413 + exitcode=1
10.414 + echo positional parameters were not saved.
10.415 +fi
10.416 +
10.417 +test \$exitcode = 0") || {
10.418 + echo No shell found that supports shell functions.
10.419 + echo Please tell autoconf@gnu.org about your system,
10.420 + echo including any error possibly output before this
10.421 + echo message
10.422 +}
10.423 +
10.424 +
10.425 +
10.426 + as_lineno_1=$LINENO
10.427 + as_lineno_2=$LINENO
10.428 + test "x$as_lineno_1" != "x$as_lineno_2" &&
10.429 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10.430 +
10.431 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10.432 + # uniformly replaced by the line number. The first 'sed' inserts a
10.433 + # line-number line after each line using $LINENO; the second 'sed'
10.434 + # does the real work. The second script uses 'N' to pair each
10.435 + # line-number line with the line containing $LINENO, and appends
10.436 + # trailing '-' during substitution so that $LINENO is not a special
10.437 + # case at line end.
10.438 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10.439 + # scripts with optimization help from Paolo Bonzini. Blame Lee
10.440 + # E. McMahon (1931-1989) for sed's syntax. :-)
10.441 + sed -n '
10.442 + p
10.443 + /[$]LINENO/=
10.444 + ' <$as_myself |
10.445 + sed '
10.446 + s/[$]LINENO.*/&-/
10.447 + t lineno
10.448 + b
10.449 + :lineno
10.450 + N
10.451 + :loop
10.452 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10.453 + t loop
10.454 + s/-\n.*//
10.455 + ' >$as_me.lineno &&
10.456 + chmod +x "$as_me.lineno" ||
10.457 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10.458 + { (exit 1); exit 1; }; }
10.459 +
10.460 + # Don't try to exec as it changes $[0], causing all sort of problems
10.461 + # (the dirname of $[0] is not the place where we might find the
10.462 + # original and so on. Autoconf is especially sensitive to this).
10.463 + . "./$as_me.lineno"
10.464 + # Exit status is that of the last command.
10.465 + exit
10.466 +}
10.467 +
10.468 +
10.469 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10.470 + as_dirname=dirname
10.471 +else
10.472 + as_dirname=false
10.473 +fi
10.474 +
10.475 +ECHO_C= ECHO_N= ECHO_T=
10.476 +case `echo -n x` in
10.477 +-n*)
10.478 + case `echo 'x\c'` in
10.479 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10.480 + *) ECHO_C='\c';;
10.481 + esac;;
10.482 +*)
10.483 + ECHO_N='-n';;
10.484 +esac
10.485 +
10.486 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10.487 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10.488 + as_expr=expr
10.489 +else
10.490 + as_expr=false
10.491 +fi
10.492 +
10.493 +rm -f conf$$ conf$$.exe conf$$.file
10.494 +if test -d conf$$.dir; then
10.495 + rm -f conf$$.dir/conf$$.file
10.496 +else
10.497 + rm -f conf$$.dir
10.498 + mkdir conf$$.dir
10.499 +fi
10.500 +echo >conf$$.file
10.501 +if ln -s conf$$.file conf$$ 2>/dev/null; then
10.502 + as_ln_s='ln -s'
10.503 + # ... but there are two gotchas:
10.504 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10.505 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10.506 + # In both cases, we have to default to `cp -p'.
10.507 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10.508 + as_ln_s='cp -p'
10.509 +elif ln conf$$.file conf$$ 2>/dev/null; then
10.510 + as_ln_s=ln
10.511 +else
10.512 + as_ln_s='cp -p'
10.513 +fi
10.514 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10.515 +rmdir conf$$.dir 2>/dev/null
10.516 +
10.517 +if mkdir -p . 2>/dev/null; then
10.518 + as_mkdir_p=:
10.519 +else
10.520 + test -d ./-p && rmdir ./-p
10.521 + as_mkdir_p=false
10.522 +fi
10.523 +
10.524 +if test -x / >/dev/null 2>&1; then
10.525 + as_test_x='test -x'
10.526 +else
10.527 + if ls -dL / >/dev/null 2>&1; then
10.528 + as_ls_L_option=L
10.529 + else
10.530 + as_ls_L_option=
10.531 + fi
10.532 + as_test_x='
10.533 + eval sh -c '\''
10.534 + if test -d "$1"; then
10.535 + test -d "$1/.";
10.536 + else
10.537 + case $1 in
10.538 + -*)set "./$1";;
10.539 + esac;
10.540 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10.541 + ???[sx]*):;;*)false;;esac;fi
10.542 + '\'' sh
10.543 + '
10.544 +fi
10.545 +as_executable_p=$as_test_x
10.546 +
10.547 +# Sed expression to map a string onto a valid CPP name.
10.548 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10.549 +
10.550 +# Sed expression to map a string onto a valid variable name.
10.551 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10.552 +
10.553 +
10.554 +
10.555 +
10.556 +# Check that we are running under the correct shell.
10.557 +SHELL=${CONFIG_SHELL-/bin/sh}
10.558 +
10.559 +case X$ECHO in
10.560 +X*--fallback-echo)
10.561 + # Remove one level of quotation (which was required for Make).
10.562 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
10.563 + ;;
10.564 +esac
10.565 +
10.566 +echo=${ECHO-echo}
10.567 +if test "X$1" = X--no-reexec; then
10.568 + # Discard the --no-reexec flag, and continue.
10.569 + shift
10.570 +elif test "X$1" = X--fallback-echo; then
10.571 + # Avoid inline document here, it may be left over
10.572 + :
10.573 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
10.574 + # Yippee, $echo works!
10.575 + :
10.576 +else
10.577 + # Restart under the correct shell.
10.578 + exec $SHELL "$0" --no-reexec ${1+"$@"}
10.579 +fi
10.580 +
10.581 +if test "X$1" = X--fallback-echo; then
10.582 + # used as fallback echo
10.583 + shift
10.584 + cat <<EOF
10.585 +$*
10.586 +EOF
10.587 + exit 0
10.588 +fi
10.589 +
10.590 +# The HP-UX ksh and POSIX shell print the target directory to stdout
10.591 +# if CDPATH is set.
10.592 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
10.593 +
10.594 +if test -z "$ECHO"; then
10.595 +if test "X${echo_test_string+set}" != Xset; then
10.596 +# find a string as large as possible, as long as the shell can cope with it
10.597 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
10.598 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
10.599 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
10.600 + echo_test_string="`eval $cmd`" &&
10.601 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
10.602 + then
10.603 + break
10.604 + fi
10.605 + done
10.606 +fi
10.607 +
10.608 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
10.609 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
10.610 + test "X$echo_testing_string" = "X$echo_test_string"; then
10.611 + :
10.612 +else
10.613 + # The Solaris, AIX, and Digital Unix default echo programs unquote
10.614 + # backslashes. This makes it impossible to quote backslashes using
10.615 + # echo "$something" | sed 's/\\/\\\\/g'
10.616 + #
10.617 + # So, first we look for a working echo in the user's PATH.
10.618 +
10.619 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10.620 + for dir in $PATH /usr/ucb; do
10.621 + IFS="$lt_save_ifs"
10.622 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
10.623 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
10.624 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
10.625 + test "X$echo_testing_string" = "X$echo_test_string"; then
10.626 + echo="$dir/echo"
10.627 + break
10.628 + fi
10.629 + done
10.630 + IFS="$lt_save_ifs"
10.631 +
10.632 + if test "X$echo" = Xecho; then
10.633 + # We didn't find a better echo, so look for alternatives.
10.634 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
10.635 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
10.636 + test "X$echo_testing_string" = "X$echo_test_string"; then
10.637 + # This shell has a builtin print -r that does the trick.
10.638 + echo='print -r'
10.639 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
10.640 + test "X$CONFIG_SHELL" != X/bin/ksh; then
10.641 + # If we have ksh, try running configure again with it.
10.642 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
10.643 + export ORIGINAL_CONFIG_SHELL
10.644 + CONFIG_SHELL=/bin/ksh
10.645 + export CONFIG_SHELL
10.646 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
10.647 + else
10.648 + # Try using printf.
10.649 + echo='printf %s\n'
10.650 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
10.651 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
10.652 + test "X$echo_testing_string" = "X$echo_test_string"; then
10.653 + # Cool, printf works
10.654 + :
10.655 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
10.656 + test "X$echo_testing_string" = 'X\t' &&
10.657 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
10.658 + test "X$echo_testing_string" = "X$echo_test_string"; then
10.659 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
10.660 + export CONFIG_SHELL
10.661 + SHELL="$CONFIG_SHELL"
10.662 + export SHELL
10.663 + echo="$CONFIG_SHELL $0 --fallback-echo"
10.664 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
10.665 + test "X$echo_testing_string" = 'X\t' &&
10.666 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
10.667 + test "X$echo_testing_string" = "X$echo_test_string"; then
10.668 + echo="$CONFIG_SHELL $0 --fallback-echo"
10.669 + else
10.670 + # maybe with a smaller string...
10.671 + prev=:
10.672 +
10.673 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
10.674 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
10.675 + then
10.676 + break
10.677 + fi
10.678 + prev="$cmd"
10.679 + done
10.680 +
10.681 + if test "$prev" != 'sed 50q "$0"'; then
10.682 + echo_test_string=`eval $prev`
10.683 + export echo_test_string
10.684 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
10.685 + else
10.686 + # Oops. We lost completely, so just stick with echo.
10.687 + echo=echo
10.688 + fi
10.689 + fi
10.690 + fi
10.691 + fi
10.692 +fi
10.693 +fi
10.694 +
10.695 +# Copy echo and quote the copy suitably for passing to libtool from
10.696 +# the Makefile, instead of quoting the original, which is used later.
10.697 +ECHO=$echo
10.698 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
10.699 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
10.700 +fi
10.701 +
10.702 +
10.703 +
10.704 +
10.705 +tagnames=${tagnames+${tagnames},}CXX
10.706 +
10.707 +tagnames=${tagnames+${tagnames},}F77
10.708 +
10.709 +exec 7<&0 </dev/null 6>&1
10.710 +
10.711 +# Name of the host.
10.712 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
10.713 +# so uname gets run too.
10.714 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
10.715 +
10.716 +#
10.717 +# Initializations.
10.718 +#
10.719 +ac_default_prefix=/usr/local
10.720 +ac_clean_files=
10.721 +ac_config_libobj_dir=.
10.722 +LIB@&t@OBJS=
10.723 +cross_compiling=no
10.724 +subdirs=
10.725 +MFLAGS=
10.726 +MAKEFLAGS=
10.727 +SHELL=${CONFIG_SHELL-/bin/sh}
10.728 +
10.729 +# Identity of this package.
10.730 +PACKAGE_NAME=
10.731 +PACKAGE_TARNAME=
10.732 +PACKAGE_VERSION=
10.733 +PACKAGE_STRING=
10.734 +PACKAGE_BUGREPORT=
10.735 +
10.736 +# Factoring default headers for most tests.
10.737 +ac_includes_default="\
10.738 +#include <stdio.h>
10.739 +#ifdef HAVE_SYS_TYPES_H
10.740 +# include <sys/types.h>
10.741 +#endif
10.742 +#ifdef HAVE_SYS_STAT_H
10.743 +# include <sys/stat.h>
10.744 +#endif
10.745 +#ifdef STDC_HEADERS
10.746 +# include <stdlib.h>
10.747 +# include <stddef.h>
10.748 +#else
10.749 +# ifdef HAVE_STDLIB_H
10.750 +# include <stdlib.h>
10.751 +# endif
10.752 +#endif
10.753 +#ifdef HAVE_STRING_H
10.754 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10.755 +# include <memory.h>
10.756 +# endif
10.757 +# include <string.h>
10.758 +#endif
10.759 +#ifdef HAVE_STRINGS_H
10.760 +# include <strings.h>
10.761 +#endif
10.762 +#ifdef HAVE_INTTYPES_H
10.763 +# include <inttypes.h>
10.764 +#endif
10.765 +#ifdef HAVE_STDINT_H
10.766 +# include <stdint.h>
10.767 +#endif
10.768 +#ifdef HAVE_UNISTD_H
10.769 +# include <unistd.h>
10.770 +#endif"
10.771 +
10.772 +ac_subst_vars='SHELL
10.773 +PATH_SEPARATOR
10.774 +PACKAGE_NAME
10.775 +PACKAGE_TARNAME
10.776 +PACKAGE_VERSION
10.777 +PACKAGE_STRING
10.778 +PACKAGE_BUGREPORT
10.779 +exec_prefix
10.780 +prefix
10.781 +program_transform_name
10.782 +bindir
10.783 +sbindir
10.784 +libexecdir
10.785 +datarootdir
10.786 +datadir
10.787 +sysconfdir
10.788 +sharedstatedir
10.789 +localstatedir
10.790 +includedir
10.791 +oldincludedir
10.792 +docdir
10.793 +infodir
10.794 +htmldir
10.795 +dvidir
10.796 +pdfdir
10.797 +psdir
10.798 +libdir
10.799 +localedir
10.800 +mandir
10.801 +DEFS
10.802 +ECHO_C
10.803 +ECHO_N
10.804 +ECHO_T
10.805 +LIBS
10.806 +build_alias
10.807 +host_alias
10.808 +target_alias
10.809 +build
10.810 +build_cpu
10.811 +build_vendor
10.812 +build_os
10.813 +host
10.814 +host_cpu
10.815 +host_vendor
10.816 +host_os
10.817 +target
10.818 +target_cpu
10.819 +target_vendor
10.820 +target_os
10.821 +MAINTAINER_MODE_TRUE
10.822 +MAINTAINER_MODE_FALSE
10.823 +MAINT
10.824 +GST_PLUGINS_VERSION
10.825 +GST_PLUGINS_VERSION_RELEASE
10.826 +GST_PLUGINS_VERSION_MAJOR
10.827 +GST_PLUGINS_VERSION_MINOR
10.828 +GST_PLUGINS_VERSION_MICRO
10.829 +GST_PLUGINS_VERSION_NANO
10.830 +PACKAGE
10.831 +VERSION
10.832 +INSTALL_PROGRAM
10.833 +INSTALL_SCRIPT
10.834 +INSTALL_DATA
10.835 +am__isrc
10.836 +CYGPATH_W
10.837 +ACLOCAL
10.838 +AUTOCONF
10.839 +AUTOMAKE
10.840 +AUTOHEADER
10.841 +MAKEINFO
10.842 +install_sh
10.843 +STRIP
10.844 +INSTALL_STRIP_PROGRAM
10.845 +mkdir_p
10.846 +AWK
10.847 +SET_MAKE
10.848 +am__leading_dot
10.849 +AMTAR
10.850 +am__tar
10.851 +am__untar
10.852 +CC
10.853 +CFLAGS
10.854 +LDFLAGS
10.855 +CPPFLAGS
10.856 +ac_ct_CC
10.857 +EXEEXT
10.858 +OBJEXT
10.859 +DEPDIR
10.860 +am__include
10.861 +am__quote
10.862 +AMDEP_TRUE
10.863 +AMDEP_FALSE
10.864 +AMDEPBACKSLASH
10.865 +CCDEPMODE
10.866 +am__fastdepCC_TRUE
10.867 +am__fastdepCC_FALSE
10.868 +GREP
10.869 +EGREP
10.870 +LN_S
10.871 +ECHO
10.872 +AR
10.873 +RANLIB
10.874 +CPP
10.875 +CXX
10.876 +CXXFLAGS
10.877 +ac_ct_CXX
10.878 +CXXDEPMODE
10.879 +am__fastdepCXX_TRUE
10.880 +am__fastdepCXX_FALSE
10.881 +CXXCPP
10.882 +F77
10.883 +FFLAGS
10.884 +ac_ct_F77
10.885 +LIBTOOL
10.886 +ACLOCAL_AMFLAGS
10.887 +CCAS
10.888 +CCASFLAGS
10.889 +CCASDEPMODE
10.890 +am__fastdepCCAS_TRUE
10.891 +am__fastdepCCAS_FALSE
10.892 +ERROR_CFLAGS
10.893 +HAVE_CXX
10.894 +HAVE_PKGCONFIG
10.895 +PKG_CONFIG
10.896 +GST_CFLAGS
10.897 +GST_LIBS
10.898 +GST_MAJORMINOR
10.899 +GST_BASE_CFLAGS
10.900 +GST_BASE_LIBS
10.901 +GST_PLUGINS_BASE_CFLAGS
10.902 +GST_PLUGINS_BASE_LIBS
10.903 +plugindir
10.904 +GST_PLUGIN_LDFLAGS
10.905 +LIB@&t@OBJS
10.906 +LTLIBOBJS'
10.907 +ac_subst_files=''
10.908 + ac_precious_vars='build_alias
10.909 +host_alias
10.910 +target_alias
10.911 +CC
10.912 +CFLAGS
10.913 +LDFLAGS
10.914 +LIBS
10.915 +CPPFLAGS
10.916 +CPP
10.917 +CXX
10.918 +CXXFLAGS
10.919 +CCC
10.920 +CXXCPP
10.921 +F77
10.922 +FFLAGS
10.923 +CCAS
10.924 +CCASFLAGS
10.925 +PKG_CONFIG
10.926 +GST_CFLAGS
10.927 +GST_LIBS
10.928 +GST_BASE_CFLAGS
10.929 +GST_BASE_LIBS
10.930 +GST_PLUGINS_BASE_CFLAGS
10.931 +GST_PLUGINS_BASE_LIBS'
10.932 +
10.933 +
10.934 +# Initialize some variables set by options.
10.935 +ac_init_help=
10.936 +ac_init_version=false
10.937 +# The variables have the same names as the options, with
10.938 +# dashes changed to underlines.
10.939 +cache_file=/dev/null
10.940 +exec_prefix=NONE
10.941 +no_create=
10.942 +no_recursion=
10.943 +prefix=NONE
10.944 +program_prefix=NONE
10.945 +program_suffix=NONE
10.946 +program_transform_name=s,x,x,
10.947 +silent=
10.948 +site=
10.949 +srcdir=
10.950 +verbose=
10.951 +x_includes=NONE
10.952 +x_libraries=NONE
10.953 +
10.954 +# Installation directory options.
10.955 +# These are left unexpanded so users can "make install exec_prefix=/foo"
10.956 +# and all the variables that are supposed to be based on exec_prefix
10.957 +# by default will actually change.
10.958 +# Use braces instead of parens because sh, perl, etc. also accept them.
10.959 +# (The list follows the same order as the GNU Coding Standards.)
10.960 +bindir='${exec_prefix}/bin'
10.961 +sbindir='${exec_prefix}/sbin'
10.962 +libexecdir='${exec_prefix}/libexec'
10.963 +datarootdir='${prefix}/share'
10.964 +datadir='${datarootdir}'
10.965 +sysconfdir='${prefix}/etc'
10.966 +sharedstatedir='${prefix}/com'
10.967 +localstatedir='${prefix}/var'
10.968 +includedir='${prefix}/include'
10.969 +oldincludedir='/usr/include'
10.970 +docdir='${datarootdir}/doc/${PACKAGE}'
10.971 +infodir='${datarootdir}/info'
10.972 +htmldir='${docdir}'
10.973 +dvidir='${docdir}'
10.974 +pdfdir='${docdir}'
10.975 +psdir='${docdir}'
10.976 +libdir='${exec_prefix}/lib'
10.977 +localedir='${datarootdir}/locale'
10.978 +mandir='${datarootdir}/man'
10.979 +
10.980 +ac_prev=
10.981 +ac_dashdash=
10.982 +for ac_option
10.983 +do
10.984 + # If the previous option needs an argument, assign it.
10.985 + if test -n "$ac_prev"; then
10.986 + eval $ac_prev=\$ac_option
10.987 + ac_prev=
10.988 + continue
10.989 + fi
10.990 +
10.991 + case $ac_option in
10.992 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
10.993 + *) ac_optarg=yes ;;
10.994 + esac
10.995 +
10.996 + # Accept the important Cygnus configure options, so we can diagnose typos.
10.997 +
10.998 + case $ac_dashdash$ac_option in
10.999 + --)
10.1000 + ac_dashdash=yes ;;
10.1001 +
10.1002 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
10.1003 + ac_prev=bindir ;;
10.1004 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
10.1005 + bindir=$ac_optarg ;;
10.1006 +
10.1007 + -build | --build | --buil | --bui | --bu)
10.1008 + ac_prev=build_alias ;;
10.1009 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
10.1010 + build_alias=$ac_optarg ;;
10.1011 +
10.1012 + -cache-file | --cache-file | --cache-fil | --cache-fi \
10.1013 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
10.1014 + ac_prev=cache_file ;;
10.1015 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
10.1016 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
10.1017 + cache_file=$ac_optarg ;;
10.1018 +
10.1019 + --config-cache | -C)
10.1020 + cache_file=config.cache ;;
10.1021 +
10.1022 + -datadir | --datadir | --datadi | --datad)
10.1023 + ac_prev=datadir ;;
10.1024 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
10.1025 + datadir=$ac_optarg ;;
10.1026 +
10.1027 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
10.1028 + | --dataroo | --dataro | --datar)
10.1029 + ac_prev=datarootdir ;;
10.1030 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
10.1031 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
10.1032 + datarootdir=$ac_optarg ;;
10.1033 +
10.1034 + -disable-* | --disable-*)
10.1035 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10.1036 + # Reject names that are not valid shell variable names.
10.1037 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10.1038 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10.1039 + { (exit 1); exit 1; }; }
10.1040 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
10.1041 + eval enable_$ac_feature=no ;;
10.1042 +
10.1043 + -docdir | --docdir | --docdi | --doc | --do)
10.1044 + ac_prev=docdir ;;
10.1045 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
10.1046 + docdir=$ac_optarg ;;
10.1047 +
10.1048 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
10.1049 + ac_prev=dvidir ;;
10.1050 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
10.1051 + dvidir=$ac_optarg ;;
10.1052 +
10.1053 + -enable-* | --enable-*)
10.1054 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10.1055 + # Reject names that are not valid shell variable names.
10.1056 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10.1057 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10.1058 + { (exit 1); exit 1; }; }
10.1059 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
10.1060 + eval enable_$ac_feature=\$ac_optarg ;;
10.1061 +
10.1062 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
10.1063 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10.1064 + | --exec | --exe | --ex)
10.1065 + ac_prev=exec_prefix ;;
10.1066 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
10.1067 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
10.1068 + | --exec=* | --exe=* | --ex=*)
10.1069 + exec_prefix=$ac_optarg ;;
10.1070 +
10.1071 + -gas | --gas | --ga | --g)
10.1072 + # Obsolete; use --with-gas.
10.1073 + with_gas=yes ;;
10.1074 +
10.1075 + -help | --help | --hel | --he | -h)
10.1076 + ac_init_help=long ;;
10.1077 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
10.1078 + ac_init_help=recursive ;;
10.1079 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
10.1080 + ac_init_help=short ;;
10.1081 +
10.1082 + -host | --host | --hos | --ho)
10.1083 + ac_prev=host_alias ;;
10.1084 + -host=* | --host=* | --hos=* | --ho=*)
10.1085 + host_alias=$ac_optarg ;;
10.1086 +
10.1087 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
10.1088 + ac_prev=htmldir ;;
10.1089 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
10.1090 + | --ht=*)
10.1091 + htmldir=$ac_optarg ;;
10.1092 +
10.1093 + -includedir | --includedir | --includedi | --included | --include \
10.1094 + | --includ | --inclu | --incl | --inc)
10.1095 + ac_prev=includedir ;;
10.1096 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
10.1097 + | --includ=* | --inclu=* | --incl=* | --inc=*)
10.1098 + includedir=$ac_optarg ;;
10.1099 +
10.1100 + -infodir | --infodir | --infodi | --infod | --info | --inf)
10.1101 + ac_prev=infodir ;;
10.1102 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
10.1103 + infodir=$ac_optarg ;;
10.1104 +
10.1105 + -libdir | --libdir | --libdi | --libd)
10.1106 + ac_prev=libdir ;;
10.1107 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
10.1108 + libdir=$ac_optarg ;;
10.1109 +
10.1110 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
10.1111 + | --libexe | --libex | --libe)
10.1112 + ac_prev=libexecdir ;;
10.1113 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
10.1114 + | --libexe=* | --libex=* | --libe=*)
10.1115 + libexecdir=$ac_optarg ;;
10.1116 +
10.1117 + -localedir | --localedir | --localedi | --localed | --locale)
10.1118 + ac_prev=localedir ;;
10.1119 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
10.1120 + localedir=$ac_optarg ;;
10.1121 +
10.1122 + -localstatedir | --localstatedir | --localstatedi | --localstated \
10.1123 + | --localstate | --localstat | --localsta | --localst | --locals)
10.1124 + ac_prev=localstatedir ;;
10.1125 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
10.1126 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
10.1127 + localstatedir=$ac_optarg ;;
10.1128 +
10.1129 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
10.1130 + ac_prev=mandir ;;
10.1131 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
10.1132 + mandir=$ac_optarg ;;
10.1133 +
10.1134 + -nfp | --nfp | --nf)
10.1135 + # Obsolete; use --without-fp.
10.1136 + with_fp=no ;;
10.1137 +
10.1138 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
10.1139 + | --no-cr | --no-c | -n)
10.1140 + no_create=yes ;;
10.1141 +
10.1142 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
10.1143 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
10.1144 + no_recursion=yes ;;
10.1145 +
10.1146 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
10.1147 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
10.1148 + | --oldin | --oldi | --old | --ol | --o)
10.1149 + ac_prev=oldincludedir ;;
10.1150 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
10.1151 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
10.1152 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
10.1153 + oldincludedir=$ac_optarg ;;
10.1154 +
10.1155 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10.1156 + ac_prev=prefix ;;
10.1157 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10.1158 + prefix=$ac_optarg ;;
10.1159 +
10.1160 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
10.1161 + | --program-pre | --program-pr | --program-p)
10.1162 + ac_prev=program_prefix ;;
10.1163 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
10.1164 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
10.1165 + program_prefix=$ac_optarg ;;
10.1166 +
10.1167 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
10.1168 + | --program-suf | --program-su | --program-s)
10.1169 + ac_prev=program_suffix ;;
10.1170 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
10.1171 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
10.1172 + program_suffix=$ac_optarg ;;
10.1173 +
10.1174 + -program-transform-name | --program-transform-name \
10.1175 + | --program-transform-nam | --program-transform-na \
10.1176 + | --program-transform-n | --program-transform- \
10.1177 + | --program-transform | --program-transfor \
10.1178 + | --program-transfo | --program-transf \
10.1179 + | --program-trans | --program-tran \
10.1180 + | --progr-tra | --program-tr | --program-t)
10.1181 + ac_prev=program_transform_name ;;
10.1182 + -program-transform-name=* | --program-transform-name=* \
10.1183 + | --program-transform-nam=* | --program-transform-na=* \
10.1184 + | --program-transform-n=* | --program-transform-=* \
10.1185 + | --program-transform=* | --program-transfor=* \
10.1186 + | --program-transfo=* | --program-transf=* \
10.1187 + | --program-trans=* | --program-tran=* \
10.1188 + | --progr-tra=* | --program-tr=* | --program-t=*)
10.1189 + program_transform_name=$ac_optarg ;;
10.1190 +
10.1191 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10.1192 + ac_prev=pdfdir ;;
10.1193 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10.1194 + pdfdir=$ac_optarg ;;
10.1195 +
10.1196 + -psdir | --psdir | --psdi | --psd | --ps)
10.1197 + ac_prev=psdir ;;
10.1198 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10.1199 + psdir=$ac_optarg ;;
10.1200 +
10.1201 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10.1202 + | -silent | --silent | --silen | --sile | --sil)
10.1203 + silent=yes ;;
10.1204 +
10.1205 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10.1206 + ac_prev=sbindir ;;
10.1207 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10.1208 + | --sbi=* | --sb=*)
10.1209 + sbindir=$ac_optarg ;;
10.1210 +
10.1211 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
10.1212 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10.1213 + | --sharedst | --shareds | --shared | --share | --shar \
10.1214 + | --sha | --sh)
10.1215 + ac_prev=sharedstatedir ;;
10.1216 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10.1217 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10.1218 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10.1219 + | --sha=* | --sh=*)
10.1220 + sharedstatedir=$ac_optarg ;;
10.1221 +
10.1222 + -site | --site | --sit)
10.1223 + ac_prev=site ;;
10.1224 + -site=* | --site=* | --sit=*)
10.1225 + site=$ac_optarg ;;
10.1226 +
10.1227 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10.1228 + ac_prev=srcdir ;;
10.1229 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10.1230 + srcdir=$ac_optarg ;;
10.1231 +
10.1232 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10.1233 + | --syscon | --sysco | --sysc | --sys | --sy)
10.1234 + ac_prev=sysconfdir ;;
10.1235 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10.1236 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10.1237 + sysconfdir=$ac_optarg ;;
10.1238 +
10.1239 + -target | --target | --targe | --targ | --tar | --ta | --t)
10.1240 + ac_prev=target_alias ;;
10.1241 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10.1242 + target_alias=$ac_optarg ;;
10.1243 +
10.1244 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
10.1245 + verbose=yes ;;
10.1246 +
10.1247 + -version | --version | --versio | --versi | --vers | -V)
10.1248 + ac_init_version=: ;;
10.1249 +
10.1250 + -with-* | --with-*)
10.1251 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10.1252 + # Reject names that are not valid shell variable names.
10.1253 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10.1254 + { echo "$as_me: error: invalid package name: $ac_package" >&2
10.1255 + { (exit 1); exit 1; }; }
10.1256 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10.1257 + eval with_$ac_package=\$ac_optarg ;;
10.1258 +
10.1259 + -without-* | --without-*)
10.1260 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10.1261 + # Reject names that are not valid shell variable names.
10.1262 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10.1263 + { echo "$as_me: error: invalid package name: $ac_package" >&2
10.1264 + { (exit 1); exit 1; }; }
10.1265 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10.1266 + eval with_$ac_package=no ;;
10.1267 +
10.1268 + --x)
10.1269 + # Obsolete; use --with-x.
10.1270 + with_x=yes ;;
10.1271 +
10.1272 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10.1273 + | --x-incl | --x-inc | --x-in | --x-i)
10.1274 + ac_prev=x_includes ;;
10.1275 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10.1276 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10.1277 + x_includes=$ac_optarg ;;
10.1278 +
10.1279 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
10.1280 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10.1281 + ac_prev=x_libraries ;;
10.1282 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10.1283 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10.1284 + x_libraries=$ac_optarg ;;
10.1285 +
10.1286 + -*) { echo "$as_me: error: unrecognized option: $ac_option
10.1287 +Try \`$0 --help' for more information." >&2
10.1288 + { (exit 1); exit 1; }; }
10.1289 + ;;
10.1290 +
10.1291 + *=*)
10.1292 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10.1293 + # Reject names that are not valid shell variable names.
10.1294 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10.1295 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10.1296 + { (exit 1); exit 1; }; }
10.1297 + eval $ac_envvar=\$ac_optarg
10.1298 + export $ac_envvar ;;
10.1299 +
10.1300 + *)
10.1301 + # FIXME: should be removed in autoconf 3.0.
10.1302 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10.1303 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10.1304 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10.1305 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10.1306 + ;;
10.1307 +
10.1308 + esac
10.1309 +done
10.1310 +
10.1311 +if test -n "$ac_prev"; then
10.1312 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10.1313 + { echo "$as_me: error: missing argument to $ac_option" >&2
10.1314 + { (exit 1); exit 1; }; }
10.1315 +fi
10.1316 +
10.1317 +# Be sure to have absolute directory names.
10.1318 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10.1319 + datadir sysconfdir sharedstatedir localstatedir includedir \
10.1320 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10.1321 + libdir localedir mandir
10.1322 +do
10.1323 + eval ac_val=\$$ac_var
10.1324 + case $ac_val in
10.1325 + [\\/$]* | ?:[\\/]* ) continue;;
10.1326 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10.1327 + esac
10.1328 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10.1329 + { (exit 1); exit 1; }; }
10.1330 +done
10.1331 +
10.1332 +# There might be people who depend on the old broken behavior: `$host'
10.1333 +# used to hold the argument of --host etc.
10.1334 +# FIXME: To remove some day.
10.1335 +build=$build_alias
10.1336 +host=$host_alias
10.1337 +target=$target_alias
10.1338 +
10.1339 +# FIXME: To remove some day.
10.1340 +if test "x$host_alias" != x; then
10.1341 + if test "x$build_alias" = x; then
10.1342 + cross_compiling=maybe
10.1343 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10.1344 + If a cross compiler is detected then cross compile mode will be used." >&2
10.1345 + elif test "x$build_alias" != "x$host_alias"; then
10.1346 + cross_compiling=yes
10.1347 + fi
10.1348 +fi
10.1349 +
10.1350 +ac_tool_prefix=
10.1351 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
10.1352 +
10.1353 +test "$silent" = yes && exec 6>/dev/null
10.1354 +
10.1355 +
10.1356 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
10.1357 +ac_ls_di=`ls -di .` &&
10.1358 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
10.1359 + { echo "$as_me: error: Working directory cannot be determined" >&2
10.1360 + { (exit 1); exit 1; }; }
10.1361 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
10.1362 + { echo "$as_me: error: pwd does not report name of working directory" >&2
10.1363 + { (exit 1); exit 1; }; }
10.1364 +
10.1365 +
10.1366 +# Find the source files, if location was not specified.
10.1367 +if test -z "$srcdir"; then
10.1368 + ac_srcdir_defaulted=yes
10.1369 + # Try the directory containing this script, then the parent directory.
10.1370 + ac_confdir=`$as_dirname -- "$0" ||
10.1371 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.1372 + X"$0" : 'X\(//\)[^/]' \| \
10.1373 + X"$0" : 'X\(//\)$' \| \
10.1374 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10.1375 +echo X"$0" |
10.1376 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.1377 + s//\1/
10.1378 + q
10.1379 + }
10.1380 + /^X\(\/\/\)[^/].*/{
10.1381 + s//\1/
10.1382 + q
10.1383 + }
10.1384 + /^X\(\/\/\)$/{
10.1385 + s//\1/
10.1386 + q
10.1387 + }
10.1388 + /^X\(\/\).*/{
10.1389 + s//\1/
10.1390 + q
10.1391 + }
10.1392 + s/.*/./; q'`
10.1393 + srcdir=$ac_confdir
10.1394 + if test ! -r "$srcdir/$ac_unique_file"; then
10.1395 + srcdir=..
10.1396 + fi
10.1397 +else
10.1398 + ac_srcdir_defaulted=no
10.1399 +fi
10.1400 +if test ! -r "$srcdir/$ac_unique_file"; then
10.1401 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
10.1402 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10.1403 + { (exit 1); exit 1; }; }
10.1404 +fi
10.1405 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
10.1406 +ac_abs_confdir=`(
10.1407 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
10.1408 + { (exit 1); exit 1; }; }
10.1409 + pwd)`
10.1410 +# When building in place, set srcdir=.
10.1411 +if test "$ac_abs_confdir" = "$ac_pwd"; then
10.1412 + srcdir=.
10.1413 +fi
10.1414 +# Remove unnecessary trailing slashes from srcdir.
10.1415 +# Double slashes in file names in object file debugging info
10.1416 +# mess up M-x gdb in Emacs.
10.1417 +case $srcdir in
10.1418 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
10.1419 +esac
10.1420 +for ac_var in $ac_precious_vars; do
10.1421 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
10.1422 + eval ac_env_${ac_var}_value=\$${ac_var}
10.1423 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
10.1424 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
10.1425 +done
10.1426 +
10.1427 +#
10.1428 +# Report the --help message.
10.1429 +#
10.1430 +if test "$ac_init_help" = "long"; then
10.1431 + # Omit some internal or obsolete options to make the list less imposing.
10.1432 + # This message is too long to be a string in the A/UX 3.1 sh.
10.1433 + cat <<_ACEOF
10.1434 +\`configure' configures this package to adapt to many kinds of systems.
10.1435 +
10.1436 +Usage: $0 [OPTION]... [VAR=VALUE]...
10.1437 +
10.1438 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
10.1439 +VAR=VALUE. See below for descriptions of some of the useful variables.
10.1440 +
10.1441 +Defaults for the options are specified in brackets.
10.1442 +
10.1443 +Configuration:
10.1444 + -h, --help display this help and exit
10.1445 + --help=short display options specific to this package
10.1446 + --help=recursive display the short help of all the included packages
10.1447 + -V, --version display version information and exit
10.1448 + -q, --quiet, --silent do not print \`checking...' messages
10.1449 + --cache-file=FILE cache test results in FILE [disabled]
10.1450 + -C, --config-cache alias for \`--cache-file=config.cache'
10.1451 + -n, --no-create do not create output files
10.1452 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
10.1453 +
10.1454 +Installation directories:
10.1455 + --prefix=PREFIX install architecture-independent files in PREFIX
10.1456 + [$ac_default_prefix]
10.1457 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
10.1458 + [PREFIX]
10.1459 +
10.1460 +By default, \`make install' will install all the files in
10.1461 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
10.1462 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
10.1463 +for instance \`--prefix=\$HOME'.
10.1464 +
10.1465 +For better control, use the options below.
10.1466 +
10.1467 +Fine tuning of the installation directories:
10.1468 + --bindir=DIR user executables [EPREFIX/bin]
10.1469 + --sbindir=DIR system admin executables [EPREFIX/sbin]
10.1470 + --libexecdir=DIR program executables [EPREFIX/libexec]
10.1471 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10.1472 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10.1473 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10.1474 + --libdir=DIR object code libraries [EPREFIX/lib]
10.1475 + --includedir=DIR C header files [PREFIX/include]
10.1476 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
10.1477 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
10.1478 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
10.1479 + --infodir=DIR info documentation [DATAROOTDIR/info]
10.1480 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
10.1481 + --mandir=DIR man documentation [DATAROOTDIR/man]
10.1482 + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
10.1483 + --htmldir=DIR html documentation [DOCDIR]
10.1484 + --dvidir=DIR dvi documentation [DOCDIR]
10.1485 + --pdfdir=DIR pdf documentation [DOCDIR]
10.1486 + --psdir=DIR ps documentation [DOCDIR]
10.1487 +_ACEOF
10.1488 +
10.1489 + cat <<\_ACEOF
10.1490 +
10.1491 +Program names:
10.1492 + --program-prefix=PREFIX prepend PREFIX to installed program names
10.1493 + --program-suffix=SUFFIX append SUFFIX to installed program names
10.1494 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
10.1495 +
10.1496 +System types:
10.1497 + --build=BUILD configure for building on BUILD [guessed]
10.1498 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
10.1499 + --target=TARGET configure for building compilers for TARGET [HOST]
10.1500 +_ACEOF
10.1501 +fi
10.1502 +
10.1503 +if test -n "$ac_init_help"; then
10.1504 +
10.1505 + cat <<\_ACEOF
10.1506 +
10.1507 +Optional Features:
10.1508 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10.1509 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10.1510 + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
10.1511 + --enable-maintainer-mode enable make rules and dependencies not useful
10.1512 + (and sometimes confusing) to the casual installer
10.1513 + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
10.1514 + --enable-fast-install@<:@=PKGS@:>@
10.1515 + optimize for fast installation @<:@default=yes@:>@
10.1516 + --disable-dependency-tracking speeds up one-time build
10.1517 + --enable-dependency-tracking do not reject slow dependency extractors
10.1518 + --disable-libtool-lock avoid locking (might break parallel builds)
10.1519 +
10.1520 +Optional Packages:
10.1521 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
10.1522 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
10.1523 + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
10.1524 + --with-pic try to use only PIC/non-PIC objects @<:@default=use
10.1525 + both@:>@
10.1526 + --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
10.1527 +
10.1528 +Some influential environment variables:
10.1529 + CC C compiler command
10.1530 + CFLAGS C compiler flags
10.1531 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10.1532 + nonstandard directory <lib dir>
10.1533 + LIBS libraries to pass to the linker, e.g. -l<library>
10.1534 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
10.1535 + you have headers in a nonstandard directory <include dir>
10.1536 + CPP C preprocessor
10.1537 + CXX C++ compiler command
10.1538 + CXXFLAGS C++ compiler flags
10.1539 + CXXCPP C++ preprocessor
10.1540 + F77 Fortran 77 compiler command
10.1541 + FFLAGS Fortran 77 compiler flags
10.1542 + CCAS assembler compiler command (defaults to CC)
10.1543 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
10.1544 + PKG_CONFIG path to pkg-config utility
10.1545 + GST_CFLAGS C compiler flags for GST, overriding pkg-config
10.1546 + GST_LIBS linker flags for GST, overriding pkg-config
10.1547 + GST_BASE_CFLAGS
10.1548 + C compiler flags for GST_BASE, overriding pkg-config
10.1549 + GST_BASE_LIBS
10.1550 + linker flags for GST_BASE, overriding pkg-config
10.1551 + GST_PLUGINS_BASE_CFLAGS
10.1552 + C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
10.1553 + GST_PLUGINS_BASE_LIBS
10.1554 + linker flags for GST_PLUGINS_BASE, overriding pkg-config
10.1555 +
10.1556 +Use these variables to override the choices made by `configure' or to help
10.1557 +it to find libraries and programs with nonstandard names/locations.
10.1558 +
10.1559 +_ACEOF
10.1560 +ac_status=$?
10.1561 +fi
10.1562 +
10.1563 +if test "$ac_init_help" = "recursive"; then
10.1564 + # If there are subdirs, report their specific --help.
10.1565 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10.1566 + test -d "$ac_dir" || continue
10.1567 + ac_builddir=.
10.1568 +
10.1569 +case "$ac_dir" in
10.1570 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10.1571 +*)
10.1572 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10.1573 + # A ".." for each directory in $ac_dir_suffix.
10.1574 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10.1575 + case $ac_top_builddir_sub in
10.1576 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10.1577 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10.1578 + esac ;;
10.1579 +esac
10.1580 +ac_abs_top_builddir=$ac_pwd
10.1581 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
10.1582 +# for backward compatibility:
10.1583 +ac_top_builddir=$ac_top_build_prefix
10.1584 +
10.1585 +case $srcdir in
10.1586 + .) # We are building in place.
10.1587 + ac_srcdir=.
10.1588 + ac_top_srcdir=$ac_top_builddir_sub
10.1589 + ac_abs_top_srcdir=$ac_pwd ;;
10.1590 + [\\/]* | ?:[\\/]* ) # Absolute name.
10.1591 + ac_srcdir=$srcdir$ac_dir_suffix;
10.1592 + ac_top_srcdir=$srcdir
10.1593 + ac_abs_top_srcdir=$srcdir ;;
10.1594 + *) # Relative name.
10.1595 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10.1596 + ac_top_srcdir=$ac_top_build_prefix$srcdir
10.1597 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10.1598 +esac
10.1599 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10.1600 +
10.1601 + cd "$ac_dir" || { ac_status=$?; continue; }
10.1602 + # Check for guested configure.
10.1603 + if test -f "$ac_srcdir/configure.gnu"; then
10.1604 + echo &&
10.1605 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
10.1606 + elif test -f "$ac_srcdir/configure"; then
10.1607 + echo &&
10.1608 + $SHELL "$ac_srcdir/configure" --help=recursive
10.1609 + else
10.1610 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
10.1611 + fi || ac_status=$?
10.1612 + cd "$ac_pwd" || { ac_status=$?; break; }
10.1613 + done
10.1614 +fi
10.1615 +
10.1616 +test -n "$ac_init_help" && exit $ac_status
10.1617 +if $ac_init_version; then
10.1618 + cat <<\_ACEOF
10.1619 +configure
10.1620 +generated by GNU Autoconf 2.61
10.1621 +
10.1622 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10.1623 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10.1624 +This configure script is free software; the Free Software Foundation
10.1625 +gives unlimited permission to copy, distribute and modify it.
10.1626 +_ACEOF
10.1627 + exit
10.1628 +fi
10.1629 +cat >config.log <<_ACEOF
10.1630 +This file contains any messages produced by compilers while
10.1631 +running configure, to aid debugging if configure makes a mistake.
10.1632 +
10.1633 +It was created by $as_me, which was
10.1634 +generated by GNU Autoconf 2.61. Invocation command line was
10.1635 +
10.1636 + $ $0 $@
10.1637 +
10.1638 +_ACEOF
10.1639 +exec 5>>config.log
10.1640 +{
10.1641 +cat <<_ASUNAME
10.1642 +@%:@@%:@ --------- @%:@@%:@
10.1643 +@%:@@%:@ Platform. @%:@@%:@
10.1644 +@%:@@%:@ --------- @%:@@%:@
10.1645 +
10.1646 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
10.1647 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
10.1648 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
10.1649 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
10.1650 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
10.1651 +
10.1652 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
10.1653 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
10.1654 +
10.1655 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10.1656 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10.1657 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
10.1658 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
10.1659 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10.1660 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10.1661 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10.1662 +
10.1663 +_ASUNAME
10.1664 +
10.1665 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.1666 +for as_dir in $PATH
10.1667 +do
10.1668 + IFS=$as_save_IFS
10.1669 + test -z "$as_dir" && as_dir=.
10.1670 + echo "PATH: $as_dir"
10.1671 +done
10.1672 +IFS=$as_save_IFS
10.1673 +
10.1674 +} >&5
10.1675 +
10.1676 +cat >&5 <<_ACEOF
10.1677 +
10.1678 +
10.1679 +@%:@@%:@ ----------- @%:@@%:@
10.1680 +@%:@@%:@ Core tests. @%:@@%:@
10.1681 +@%:@@%:@ ----------- @%:@@%:@
10.1682 +
10.1683 +_ACEOF
10.1684 +
10.1685 +
10.1686 +# Keep a trace of the command line.
10.1687 +# Strip out --no-create and --no-recursion so they do not pile up.
10.1688 +# Strip out --silent because we don't want to record it for future runs.
10.1689 +# Also quote any args containing shell meta-characters.
10.1690 +# Make two passes to allow for proper duplicate-argument suppression.
10.1691 +ac_configure_args=
10.1692 +ac_configure_args0=
10.1693 +ac_configure_args1=
10.1694 +ac_must_keep_next=false
10.1695 +for ac_pass in 1 2
10.1696 +do
10.1697 + for ac_arg
10.1698 + do
10.1699 + case $ac_arg in
10.1700 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
10.1701 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10.1702 + | -silent | --silent | --silen | --sile | --sil)
10.1703 + continue ;;
10.1704 + *\'*)
10.1705 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10.1706 + esac
10.1707 + case $ac_pass in
10.1708 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10.1709 + 2)
10.1710 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10.1711 + if test $ac_must_keep_next = true; then
10.1712 + ac_must_keep_next=false # Got value, back to normal.
10.1713 + else
10.1714 + case $ac_arg in
10.1715 + *=* | --config-cache | -C | -disable-* | --disable-* \
10.1716 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10.1717 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10.1718 + | -with-* | --with-* | -without-* | --without-* | --x)
10.1719 + case "$ac_configure_args0 " in
10.1720 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10.1721 + esac
10.1722 + ;;
10.1723 + -* ) ac_must_keep_next=true ;;
10.1724 + esac
10.1725 + fi
10.1726 + ac_configure_args="$ac_configure_args '$ac_arg'"
10.1727 + ;;
10.1728 + esac
10.1729 + done
10.1730 +done
10.1731 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10.1732 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10.1733 +
10.1734 +# When interrupted or exit'd, cleanup temporary files, and complete
10.1735 +# config.log. We remove comments because anyway the quotes in there
10.1736 +# would cause problems or look ugly.
10.1737 +# WARNING: Use '\'' to represent an apostrophe within the trap.
10.1738 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10.1739 +trap 'exit_status=$?
10.1740 + # Save into config.log some information that might help in debugging.
10.1741 + {
10.1742 + echo
10.1743 +
10.1744 + cat <<\_ASBOX
10.1745 +@%:@@%:@ ---------------- @%:@@%:@
10.1746 +@%:@@%:@ Cache variables. @%:@@%:@
10.1747 +@%:@@%:@ ---------------- @%:@@%:@
10.1748 +_ASBOX
10.1749 + echo
10.1750 + # The following way of writing the cache mishandles newlines in values,
10.1751 +(
10.1752 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
10.1753 + eval ac_val=\$$ac_var
10.1754 + case $ac_val in #(
10.1755 + *${as_nl}*)
10.1756 + case $ac_var in #(
10.1757 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10.1758 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10.1759 + esac
10.1760 + case $ac_var in #(
10.1761 + _ | IFS | as_nl) ;; #(
10.1762 + *) $as_unset $ac_var ;;
10.1763 + esac ;;
10.1764 + esac
10.1765 + done
10.1766 + (set) 2>&1 |
10.1767 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
10.1768 + *${as_nl}ac_space=\ *)
10.1769 + sed -n \
10.1770 + "s/'\''/'\''\\\\'\'''\''/g;
10.1771 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
10.1772 + ;; #(
10.1773 + *)
10.1774 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10.1775 + ;;
10.1776 + esac |
10.1777 + sort
10.1778 +)
10.1779 + echo
10.1780 +
10.1781 + cat <<\_ASBOX
10.1782 +@%:@@%:@ ----------------- @%:@@%:@
10.1783 +@%:@@%:@ Output variables. @%:@@%:@
10.1784 +@%:@@%:@ ----------------- @%:@@%:@
10.1785 +_ASBOX
10.1786 + echo
10.1787 + for ac_var in $ac_subst_vars
10.1788 + do
10.1789 + eval ac_val=\$$ac_var
10.1790 + case $ac_val in
10.1791 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
10.1792 + esac
10.1793 + echo "$ac_var='\''$ac_val'\''"
10.1794 + done | sort
10.1795 + echo
10.1796 +
10.1797 + if test -n "$ac_subst_files"; then
10.1798 + cat <<\_ASBOX
10.1799 +@%:@@%:@ ------------------- @%:@@%:@
10.1800 +@%:@@%:@ File substitutions. @%:@@%:@
10.1801 +@%:@@%:@ ------------------- @%:@@%:@
10.1802 +_ASBOX
10.1803 + echo
10.1804 + for ac_var in $ac_subst_files
10.1805 + do
10.1806 + eval ac_val=\$$ac_var
10.1807 + case $ac_val in
10.1808 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
10.1809 + esac
10.1810 + echo "$ac_var='\''$ac_val'\''"
10.1811 + done | sort
10.1812 + echo
10.1813 + fi
10.1814 +
10.1815 + if test -s confdefs.h; then
10.1816 + cat <<\_ASBOX
10.1817 +@%:@@%:@ ----------- @%:@@%:@
10.1818 +@%:@@%:@ confdefs.h. @%:@@%:@
10.1819 +@%:@@%:@ ----------- @%:@@%:@
10.1820 +_ASBOX
10.1821 + echo
10.1822 + cat confdefs.h
10.1823 + echo
10.1824 + fi
10.1825 + test "$ac_signal" != 0 &&
10.1826 + echo "$as_me: caught signal $ac_signal"
10.1827 + echo "$as_me: exit $exit_status"
10.1828 + } >&5
10.1829 + rm -f core *.core core.conftest.* &&
10.1830 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
10.1831 + exit $exit_status
10.1832 +' 0
10.1833 +for ac_signal in 1 2 13 15; do
10.1834 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
10.1835 +done
10.1836 +ac_signal=0
10.1837 +
10.1838 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
10.1839 +rm -f -r conftest* confdefs.h
10.1840 +
10.1841 +# Predefined preprocessor variables.
10.1842 +
10.1843 +cat >>confdefs.h <<_ACEOF
10.1844 +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
10.1845 +_ACEOF
10.1846 +
10.1847 +
10.1848 +cat >>confdefs.h <<_ACEOF
10.1849 +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
10.1850 +_ACEOF
10.1851 +
10.1852 +
10.1853 +cat >>confdefs.h <<_ACEOF
10.1854 +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
10.1855 +_ACEOF
10.1856 +
10.1857 +
10.1858 +cat >>confdefs.h <<_ACEOF
10.1859 +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
10.1860 +_ACEOF
10.1861 +
10.1862 +
10.1863 +cat >>confdefs.h <<_ACEOF
10.1864 +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
10.1865 +_ACEOF
10.1866 +
10.1867 +
10.1868 +# Let the site file select an alternate cache file if it wants to.
10.1869 +# Prefer explicitly selected file to automatically selected ones.
10.1870 +if test -n "$CONFIG_SITE"; then
10.1871 + set x "$CONFIG_SITE"
10.1872 +elif test "x$prefix" != xNONE; then
10.1873 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
10.1874 +else
10.1875 + set x "$ac_default_prefix/share/config.site" \
10.1876 + "$ac_default_prefix/etc/config.site"
10.1877 +fi
10.1878 +shift
10.1879 +for ac_site_file
10.1880 +do
10.1881 + if test -r "$ac_site_file"; then
10.1882 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
10.1883 +echo "$as_me: loading site script $ac_site_file" >&6;}
10.1884 + sed 's/^/| /' "$ac_site_file" >&5
10.1885 + . "$ac_site_file"
10.1886 + fi
10.1887 +done
10.1888 +
10.1889 +if test -r "$cache_file"; then
10.1890 + # Some versions of bash will fail to source /dev/null (special
10.1891 + # files actually), so we avoid doing that.
10.1892 + if test -f "$cache_file"; then
10.1893 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
10.1894 +echo "$as_me: loading cache $cache_file" >&6;}
10.1895 + case $cache_file in
10.1896 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
10.1897 + *) . "./$cache_file";;
10.1898 + esac
10.1899 + fi
10.1900 +else
10.1901 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
10.1902 +echo "$as_me: creating cache $cache_file" >&6;}
10.1903 + >$cache_file
10.1904 +fi
10.1905 +
10.1906 +# Check that the precious variables saved in the cache have kept the same
10.1907 +# value.
10.1908 +ac_cache_corrupted=false
10.1909 +for ac_var in $ac_precious_vars; do
10.1910 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
10.1911 + eval ac_new_set=\$ac_env_${ac_var}_set
10.1912 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
10.1913 + eval ac_new_val=\$ac_env_${ac_var}_value
10.1914 + case $ac_old_set,$ac_new_set in
10.1915 + set,)
10.1916 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
10.1917 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
10.1918 + ac_cache_corrupted=: ;;
10.1919 + ,set)
10.1920 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
10.1921 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
10.1922 + ac_cache_corrupted=: ;;
10.1923 + ,);;
10.1924 + *)
10.1925 + if test "x$ac_old_val" != "x$ac_new_val"; then
10.1926 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
10.1927 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
10.1928 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
10.1929 +echo "$as_me: former value: $ac_old_val" >&2;}
10.1930 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
10.1931 +echo "$as_me: current value: $ac_new_val" >&2;}
10.1932 + ac_cache_corrupted=:
10.1933 + fi;;
10.1934 + esac
10.1935 + # Pass precious variables to config.status.
10.1936 + if test "$ac_new_set" = set; then
10.1937 + case $ac_new_val in
10.1938 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
10.1939 + *) ac_arg=$ac_var=$ac_new_val ;;
10.1940 + esac
10.1941 + case " $ac_configure_args " in
10.1942 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
10.1943 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
10.1944 + esac
10.1945 + fi
10.1946 +done
10.1947 +if $ac_cache_corrupted; then
10.1948 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
10.1949 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
10.1950 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
10.1951 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
10.1952 + { (exit 1); exit 1; }; }
10.1953 +fi
10.1954 +
10.1955 +
10.1956 +
10.1957 +
10.1958 +
10.1959 +
10.1960 +
10.1961 +
10.1962 +
10.1963 +
10.1964 +
10.1965 +
10.1966 +
10.1967 +
10.1968 +
10.1969 +
10.1970 +
10.1971 +ac_ext=c
10.1972 +ac_cpp='$CPP $CPPFLAGS'
10.1973 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.1974 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.1975 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.1976 +
10.1977 +
10.1978 +ac_aux_dir=
10.1979 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
10.1980 + if test -f "$ac_dir/install-sh"; then
10.1981 + ac_aux_dir=$ac_dir
10.1982 + ac_install_sh="$ac_aux_dir/install-sh -c"
10.1983 + break
10.1984 + elif test -f "$ac_dir/install.sh"; then
10.1985 + ac_aux_dir=$ac_dir
10.1986 + ac_install_sh="$ac_aux_dir/install.sh -c"
10.1987 + break
10.1988 + elif test -f "$ac_dir/shtool"; then
10.1989 + ac_aux_dir=$ac_dir
10.1990 + ac_install_sh="$ac_aux_dir/shtool install -c"
10.1991 + break
10.1992 + fi
10.1993 +done
10.1994 +if test -z "$ac_aux_dir"; then
10.1995 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
10.1996 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
10.1997 + { (exit 1); exit 1; }; }
10.1998 +fi
10.1999 +
10.2000 +# These three variables are undocumented and unsupported,
10.2001 +# and are intended to be withdrawn in a future Autoconf release.
10.2002 +# They can cause serious problems if a builder's source tree is in a directory
10.2003 +# whose full name contains unusual characters.
10.2004 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
10.2005 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
10.2006 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
10.2007 +
10.2008 +
10.2009 +# Make sure we can run config.sub.
10.2010 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
10.2011 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
10.2012 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
10.2013 + { (exit 1); exit 1; }; }
10.2014 +
10.2015 +{ echo "$as_me:$LINENO: checking build system type" >&5
10.2016 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
10.2017 +if test "${ac_cv_build+set}" = set; then
10.2018 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2019 +else
10.2020 + ac_build_alias=$build_alias
10.2021 +test "x$ac_build_alias" = x &&
10.2022 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
10.2023 +test "x$ac_build_alias" = x &&
10.2024 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
10.2025 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
10.2026 + { (exit 1); exit 1; }; }
10.2027 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
10.2028 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
10.2029 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
10.2030 + { (exit 1); exit 1; }; }
10.2031 +
10.2032 +fi
10.2033 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
10.2034 +echo "${ECHO_T}$ac_cv_build" >&6; }
10.2035 +case $ac_cv_build in
10.2036 +*-*-*) ;;
10.2037 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
10.2038 +echo "$as_me: error: invalid value of canonical build" >&2;}
10.2039 + { (exit 1); exit 1; }; };;
10.2040 +esac
10.2041 +build=$ac_cv_build
10.2042 +ac_save_IFS=$IFS; IFS='-'
10.2043 +set x $ac_cv_build
10.2044 +shift
10.2045 +build_cpu=$1
10.2046 +build_vendor=$2
10.2047 +shift; shift
10.2048 +# Remember, the first character of IFS is used to create $*,
10.2049 +# except with old shells:
10.2050 +build_os=$*
10.2051 +IFS=$ac_save_IFS
10.2052 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
10.2053 +
10.2054 +
10.2055 +{ echo "$as_me:$LINENO: checking host system type" >&5
10.2056 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
10.2057 +if test "${ac_cv_host+set}" = set; then
10.2058 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2059 +else
10.2060 + if test "x$host_alias" = x; then
10.2061 + ac_cv_host=$ac_cv_build
10.2062 +else
10.2063 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
10.2064 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
10.2065 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
10.2066 + { (exit 1); exit 1; }; }
10.2067 +fi
10.2068 +
10.2069 +fi
10.2070 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
10.2071 +echo "${ECHO_T}$ac_cv_host" >&6; }
10.2072 +case $ac_cv_host in
10.2073 +*-*-*) ;;
10.2074 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
10.2075 +echo "$as_me: error: invalid value of canonical host" >&2;}
10.2076 + { (exit 1); exit 1; }; };;
10.2077 +esac
10.2078 +host=$ac_cv_host
10.2079 +ac_save_IFS=$IFS; IFS='-'
10.2080 +set x $ac_cv_host
10.2081 +shift
10.2082 +host_cpu=$1
10.2083 +host_vendor=$2
10.2084 +shift; shift
10.2085 +# Remember, the first character of IFS is used to create $*,
10.2086 +# except with old shells:
10.2087 +host_os=$*
10.2088 +IFS=$ac_save_IFS
10.2089 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
10.2090 +
10.2091 +
10.2092 +{ echo "$as_me:$LINENO: checking target system type" >&5
10.2093 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
10.2094 +if test "${ac_cv_target+set}" = set; then
10.2095 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2096 +else
10.2097 + if test "x$target_alias" = x; then
10.2098 + ac_cv_target=$ac_cv_host
10.2099 +else
10.2100 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
10.2101 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
10.2102 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
10.2103 + { (exit 1); exit 1; }; }
10.2104 +fi
10.2105 +
10.2106 +fi
10.2107 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
10.2108 +echo "${ECHO_T}$ac_cv_target" >&6; }
10.2109 +case $ac_cv_target in
10.2110 +*-*-*) ;;
10.2111 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
10.2112 +echo "$as_me: error: invalid value of canonical target" >&2;}
10.2113 + { (exit 1); exit 1; }; };;
10.2114 +esac
10.2115 +target=$ac_cv_target
10.2116 +ac_save_IFS=$IFS; IFS='-'
10.2117 +set x $ac_cv_target
10.2118 +shift
10.2119 +target_cpu=$1
10.2120 +target_vendor=$2
10.2121 +shift; shift
10.2122 +# Remember, the first character of IFS is used to create $*,
10.2123 +# except with old shells:
10.2124 +target_os=$*
10.2125 +IFS=$ac_save_IFS
10.2126 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
10.2127 +
10.2128 +
10.2129 +# The aliases save the names the user supplied, while $host etc.
10.2130 +# will get canonicalized.
10.2131 +test -n "$target_alias" &&
10.2132 + test "$program_prefix$program_suffix$program_transform_name" = \
10.2133 + NONENONEs,x,x, &&
10.2134 + program_prefix=${target_alias}-
10.2135 +
10.2136 +
10.2137 +# Check whether --enable-static was given.
10.2138 +if test "${enable_static+set}" = set; then
10.2139 + enableval=$enable_static; p=${PACKAGE-default}
10.2140 + case $enableval in
10.2141 + yes) enable_static=yes ;;
10.2142 + no) enable_static=no ;;
10.2143 + *)
10.2144 + enable_static=no
10.2145 + # Look at the argument we got. We use all the common list separators.
10.2146 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10.2147 + for pkg in $enableval; do
10.2148 + IFS="$lt_save_ifs"
10.2149 + if test "X$pkg" = "X$p"; then
10.2150 + enable_static=yes
10.2151 + fi
10.2152 + done
10.2153 + IFS="$lt_save_ifs"
10.2154 + ;;
10.2155 + esac
10.2156 +else
10.2157 + enable_static=no
10.2158 +fi
10.2159 +
10.2160 +
10.2161 +
10.2162 +
10.2163 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10.2164 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
10.2165 + # Check whether --enable-maintainer-mode was given.
10.2166 +if test "${enable_maintainer_mode+set}" = set; then
10.2167 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10.2168 +else
10.2169 + USE_MAINTAINER_MODE=no
10.2170 +fi
10.2171 +
10.2172 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10.2173 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
10.2174 + if test $USE_MAINTAINER_MODE = yes; then
10.2175 + MAINTAINER_MODE_TRUE=
10.2176 + MAINTAINER_MODE_FALSE='#'
10.2177 +else
10.2178 + MAINTAINER_MODE_TRUE='#'
10.2179 + MAINTAINER_MODE_FALSE=
10.2180 +fi
10.2181 +
10.2182 + MAINT=$MAINTAINER_MODE_TRUE
10.2183 +
10.2184 +
10.2185 +
10.2186 +
10.2187 + PACKAGE=gst-indt-plugins
10.2188 + GST_PLUGINS_VERSION_MAJOR=0
10.2189 + GST_PLUGINS_VERSION_MINOR=10
10.2190 + GST_PLUGINS_VERSION_MICRO=0
10.2191 + NANO=1
10.2192 + GST_PLUGINS_VERSION_NANO=$NANO
10.2193 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
10.2194 + then
10.2195 + { echo "$as_me:$LINENO: configuring gst-indt-plugins for release" >&5
10.2196 +echo "$as_me: configuring gst-indt-plugins for release" >&6;}
10.2197 + VERSION=0.10.0
10.2198 + GST_PLUGINS_VERSION_RELEASE=1
10.2199 + GST_CVS="no"
10.2200 + else
10.2201 + { echo "$as_me:$LINENO: configuring gst-indt-plugins for development with nano $NANO" >&5
10.2202 +echo "$as_me: configuring gst-indt-plugins for development with nano $NANO" >&6;}
10.2203 + VERSION=0.10.0.$NANO
10.2204 + GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
10.2205 + GST_CVS="yes"
10.2206 + fi
10.2207 +
10.2208 + GST_PLUGINS_VERSION=$VERSION
10.2209 +
10.2210 +cat >>confdefs.h <<_ACEOF
10.2211 +@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
10.2212 +_ACEOF
10.2213 +
10.2214 +
10.2215 +
10.2216 +cat >>confdefs.h <<_ACEOF
10.2217 +@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
10.2218 +_ACEOF
10.2219 +
10.2220 +
10.2221 +
10.2222 +
10.2223 +
10.2224 +
10.2225 +
10.2226 +
10.2227 +cat >>confdefs.h <<_ACEOF
10.2228 +@%:@define PACKAGE "$PACKAGE"
10.2229 +_ACEOF
10.2230 +
10.2231 +
10.2232 +
10.2233 +cat >>confdefs.h <<_ACEOF
10.2234 +@%:@define VERSION "$VERSION"
10.2235 +_ACEOF
10.2236 +
10.2237 +
10.2238 +
10.2239 +
10.2240 +am__api_version='1.10'
10.2241 +
10.2242 +# Find a good install program. We prefer a C program (faster),
10.2243 +# so one script is as good as another. But avoid the broken or
10.2244 +# incompatible versions:
10.2245 +# SysV /etc/install, /usr/sbin/install
10.2246 +# SunOS /usr/etc/install
10.2247 +# IRIX /sbin/install
10.2248 +# AIX /bin/install
10.2249 +# AmigaOS /C/install, which installs bootblocks on floppy discs
10.2250 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10.2251 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
10.2252 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10.2253 +# OS/2's system install, which has a completely different semantic
10.2254 +# ./install, which can be erroneously created by make from ./install.sh.
10.2255 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10.2256 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
10.2257 +if test -z "$INSTALL"; then
10.2258 +if test "${ac_cv_path_install+set}" = set; then
10.2259 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2260 +else
10.2261 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2262 +for as_dir in $PATH
10.2263 +do
10.2264 + IFS=$as_save_IFS
10.2265 + test -z "$as_dir" && as_dir=.
10.2266 + # Account for people who put trailing slashes in PATH elements.
10.2267 +case $as_dir/ in
10.2268 + ./ | .// | /cC/* | \
10.2269 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10.2270 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
10.2271 + /usr/ucb/* ) ;;
10.2272 + *)
10.2273 + # OSF1 and SCO ODT 3.0 have their own names for install.
10.2274 + # Don't use installbsd from OSF since it installs stuff as root
10.2275 + # by default.
10.2276 + for ac_prog in ginstall scoinst install; do
10.2277 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2278 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10.2279 + if test $ac_prog = install &&
10.2280 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10.2281 + # AIX install. It has an incompatible calling convention.
10.2282 + :
10.2283 + elif test $ac_prog = install &&
10.2284 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10.2285 + # program-specific install script used by HP pwplus--don't use.
10.2286 + :
10.2287 + else
10.2288 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10.2289 + break 3
10.2290 + fi
10.2291 + fi
10.2292 + done
10.2293 + done
10.2294 + ;;
10.2295 +esac
10.2296 +done
10.2297 +IFS=$as_save_IFS
10.2298 +
10.2299 +
10.2300 +fi
10.2301 + if test "${ac_cv_path_install+set}" = set; then
10.2302 + INSTALL=$ac_cv_path_install
10.2303 + else
10.2304 + # As a last resort, use the slow shell script. Don't cache a
10.2305 + # value for INSTALL within a source directory, because that will
10.2306 + # break other packages using the cache if that directory is
10.2307 + # removed, or if the value is a relative name.
10.2308 + INSTALL=$ac_install_sh
10.2309 + fi
10.2310 +fi
10.2311 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
10.2312 +echo "${ECHO_T}$INSTALL" >&6; }
10.2313 +
10.2314 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10.2315 +# It thinks the first close brace ends the variable substitution.
10.2316 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10.2317 +
10.2318 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10.2319 +
10.2320 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10.2321 +
10.2322 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
10.2323 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
10.2324 +# Just in case
10.2325 +sleep 1
10.2326 +echo timestamp > conftest.file
10.2327 +# Do `set' in a subshell so we don't clobber the current shell's
10.2328 +# arguments. Must try -L first in case configure is actually a
10.2329 +# symlink; some systems play weird games with the mod time of symlinks
10.2330 +# (eg FreeBSD returns the mod time of the symlink's containing
10.2331 +# directory).
10.2332 +if (
10.2333 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
10.2334 + if test "$*" = "X"; then
10.2335 + # -L didn't work.
10.2336 + set X `ls -t $srcdir/configure conftest.file`
10.2337 + fi
10.2338 + rm -f conftest.file
10.2339 + if test "$*" != "X $srcdir/configure conftest.file" \
10.2340 + && test "$*" != "X conftest.file $srcdir/configure"; then
10.2341 +
10.2342 + # If neither matched, then we have a broken ls. This can happen
10.2343 + # if, for instance, CONFIG_SHELL is bash and it inherits a
10.2344 + # broken ls alias from the environment. This has actually
10.2345 + # happened. Such a system could not be considered "sane".
10.2346 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
10.2347 +alias in your environment" >&5
10.2348 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
10.2349 +alias in your environment" >&2;}
10.2350 + { (exit 1); exit 1; }; }
10.2351 + fi
10.2352 +
10.2353 + test "$2" = conftest.file
10.2354 + )
10.2355 +then
10.2356 + # Ok.
10.2357 + :
10.2358 +else
10.2359 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
10.2360 +Check your system clock" >&5
10.2361 +echo "$as_me: error: newly created file is older than distributed files!
10.2362 +Check your system clock" >&2;}
10.2363 + { (exit 1); exit 1; }; }
10.2364 +fi
10.2365 +{ echo "$as_me:$LINENO: result: yes" >&5
10.2366 +echo "${ECHO_T}yes" >&6; }
10.2367 +test "$program_prefix" != NONE &&
10.2368 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
10.2369 +# Use a double $ so make ignores it.
10.2370 +test "$program_suffix" != NONE &&
10.2371 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
10.2372 +# Double any \ or $. echo might interpret backslashes.
10.2373 +# By default was `s,x,x', remove it if useless.
10.2374 +cat <<\_ACEOF >conftest.sed
10.2375 +s/[\\$]/&&/g;s/;s,x,x,$//
10.2376 +_ACEOF
10.2377 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
10.2378 +rm -f conftest.sed
10.2379 +
10.2380 +# expand $ac_aux_dir to an absolute path
10.2381 +am_aux_dir=`cd $ac_aux_dir && pwd`
10.2382 +
10.2383 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
10.2384 +# Use eval to expand $SHELL
10.2385 +if eval "$MISSING --run true"; then
10.2386 + am_missing_run="$MISSING --run "
10.2387 +else
10.2388 + am_missing_run=
10.2389 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
10.2390 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
10.2391 +fi
10.2392 +
10.2393 +{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
10.2394 +echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
10.2395 +if test -z "$MKDIR_P"; then
10.2396 + if test "${ac_cv_path_mkdir+set}" = set; then
10.2397 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2398 +else
10.2399 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2400 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
10.2401 +do
10.2402 + IFS=$as_save_IFS
10.2403 + test -z "$as_dir" && as_dir=.
10.2404 + for ac_prog in mkdir gmkdir; do
10.2405 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2406 + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
10.2407 + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
10.2408 + 'mkdir (GNU coreutils) '* | \
10.2409 + 'mkdir (coreutils) '* | \
10.2410 + 'mkdir (fileutils) '4.1*)
10.2411 + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
10.2412 + break 3;;
10.2413 + esac
10.2414 + done
10.2415 + done
10.2416 +done
10.2417 +IFS=$as_save_IFS
10.2418 +
10.2419 +fi
10.2420 +
10.2421 + if test "${ac_cv_path_mkdir+set}" = set; then
10.2422 + MKDIR_P="$ac_cv_path_mkdir -p"
10.2423 + else
10.2424 + # As a last resort, use the slow shell script. Don't cache a
10.2425 + # value for MKDIR_P within a source directory, because that will
10.2426 + # break other packages using the cache if that directory is
10.2427 + # removed, or if the value is a relative name.
10.2428 + test -d ./--version && rmdir ./--version
10.2429 + MKDIR_P="$ac_install_sh -d"
10.2430 + fi
10.2431 +fi
10.2432 +{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
10.2433 +echo "${ECHO_T}$MKDIR_P" >&6; }
10.2434 +
10.2435 +mkdir_p="$MKDIR_P"
10.2436 +case $mkdir_p in
10.2437 + [\\/$]* | ?:[\\/]*) ;;
10.2438 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
10.2439 +esac
10.2440 +
10.2441 +for ac_prog in gawk mawk nawk awk
10.2442 +do
10.2443 + # Extract the first word of "$ac_prog", so it can be a program name with args.
10.2444 +set dummy $ac_prog; ac_word=$2
10.2445 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2446 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2447 +if test "${ac_cv_prog_AWK+set}" = set; then
10.2448 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2449 +else
10.2450 + if test -n "$AWK"; then
10.2451 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
10.2452 +else
10.2453 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2454 +for as_dir in $PATH
10.2455 +do
10.2456 + IFS=$as_save_IFS
10.2457 + test -z "$as_dir" && as_dir=.
10.2458 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2459 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2460 + ac_cv_prog_AWK="$ac_prog"
10.2461 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2462 + break 2
10.2463 + fi
10.2464 +done
10.2465 +done
10.2466 +IFS=$as_save_IFS
10.2467 +
10.2468 +fi
10.2469 +fi
10.2470 +AWK=$ac_cv_prog_AWK
10.2471 +if test -n "$AWK"; then
10.2472 + { echo "$as_me:$LINENO: result: $AWK" >&5
10.2473 +echo "${ECHO_T}$AWK" >&6; }
10.2474 +else
10.2475 + { echo "$as_me:$LINENO: result: no" >&5
10.2476 +echo "${ECHO_T}no" >&6; }
10.2477 +fi
10.2478 +
10.2479 +
10.2480 + test -n "$AWK" && break
10.2481 +done
10.2482 +
10.2483 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10.2484 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
10.2485 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10.2486 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
10.2487 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2488 +else
10.2489 + cat >conftest.make <<\_ACEOF
10.2490 +SHELL = /bin/sh
10.2491 +all:
10.2492 + @echo '@@@%%%=$(MAKE)=@@@%%%'
10.2493 +_ACEOF
10.2494 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10.2495 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
10.2496 + *@@@%%%=?*=@@@%%%*)
10.2497 + eval ac_cv_prog_make_${ac_make}_set=yes;;
10.2498 + *)
10.2499 + eval ac_cv_prog_make_${ac_make}_set=no;;
10.2500 +esac
10.2501 +rm -f conftest.make
10.2502 +fi
10.2503 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10.2504 + { echo "$as_me:$LINENO: result: yes" >&5
10.2505 +echo "${ECHO_T}yes" >&6; }
10.2506 + SET_MAKE=
10.2507 +else
10.2508 + { echo "$as_me:$LINENO: result: no" >&5
10.2509 +echo "${ECHO_T}no" >&6; }
10.2510 + SET_MAKE="MAKE=${MAKE-make}"
10.2511 +fi
10.2512 +
10.2513 +rm -rf .tst 2>/dev/null
10.2514 +mkdir .tst 2>/dev/null
10.2515 +if test -d .tst; then
10.2516 + am__leading_dot=.
10.2517 +else
10.2518 + am__leading_dot=_
10.2519 +fi
10.2520 +rmdir .tst 2>/dev/null
10.2521 +
10.2522 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
10.2523 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
10.2524 + # is not polluted with repeated "-I."
10.2525 + am__isrc=' -I$(srcdir)'
10.2526 + # test to see if srcdir already configured
10.2527 + if test -f $srcdir/config.status; then
10.2528 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
10.2529 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
10.2530 + { (exit 1); exit 1; }; }
10.2531 + fi
10.2532 +fi
10.2533 +
10.2534 +# test whether we have cygpath
10.2535 +if test -z "$CYGPATH_W"; then
10.2536 + if (cygpath --version) >/dev/null 2>/dev/null; then
10.2537 + CYGPATH_W='cygpath -w'
10.2538 + else
10.2539 + CYGPATH_W=echo
10.2540 + fi
10.2541 +fi
10.2542 +
10.2543 +
10.2544 +# Define the identity of the package.
10.2545 + PACKAGE=$PACKAGE
10.2546 + VERSION=$VERSION
10.2547 +
10.2548 +
10.2549 +cat >>confdefs.h <<_ACEOF
10.2550 +@%:@define PACKAGE "$PACKAGE"
10.2551 +_ACEOF
10.2552 +
10.2553 +
10.2554 +cat >>confdefs.h <<_ACEOF
10.2555 +@%:@define VERSION "$VERSION"
10.2556 +_ACEOF
10.2557 +
10.2558 +# Some tools Automake needs.
10.2559 +
10.2560 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
10.2561 +
10.2562 +
10.2563 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
10.2564 +
10.2565 +
10.2566 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
10.2567 +
10.2568 +
10.2569 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
10.2570 +
10.2571 +
10.2572 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
10.2573 +
10.2574 +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
10.2575 +
10.2576 +# Installed binaries are usually stripped using `strip' when the user
10.2577 +# run `make install-strip'. However `strip' might not be the right
10.2578 +# tool to use in cross-compilation environments, therefore Automake
10.2579 +# will honor the `STRIP' environment variable to overrule this program.
10.2580 +if test "$cross_compiling" != no; then
10.2581 + if test -n "$ac_tool_prefix"; then
10.2582 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10.2583 +set dummy ${ac_tool_prefix}strip; ac_word=$2
10.2584 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2585 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2586 +if test "${ac_cv_prog_STRIP+set}" = set; then
10.2587 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2588 +else
10.2589 + if test -n "$STRIP"; then
10.2590 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10.2591 +else
10.2592 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2593 +for as_dir in $PATH
10.2594 +do
10.2595 + IFS=$as_save_IFS
10.2596 + test -z "$as_dir" && as_dir=.
10.2597 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2598 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2599 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10.2600 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2601 + break 2
10.2602 + fi
10.2603 +done
10.2604 +done
10.2605 +IFS=$as_save_IFS
10.2606 +
10.2607 +fi
10.2608 +fi
10.2609 +STRIP=$ac_cv_prog_STRIP
10.2610 +if test -n "$STRIP"; then
10.2611 + { echo "$as_me:$LINENO: result: $STRIP" >&5
10.2612 +echo "${ECHO_T}$STRIP" >&6; }
10.2613 +else
10.2614 + { echo "$as_me:$LINENO: result: no" >&5
10.2615 +echo "${ECHO_T}no" >&6; }
10.2616 +fi
10.2617 +
10.2618 +
10.2619 +fi
10.2620 +if test -z "$ac_cv_prog_STRIP"; then
10.2621 + ac_ct_STRIP=$STRIP
10.2622 + # Extract the first word of "strip", so it can be a program name with args.
10.2623 +set dummy strip; ac_word=$2
10.2624 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2625 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2626 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10.2627 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2628 +else
10.2629 + if test -n "$ac_ct_STRIP"; then
10.2630 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10.2631 +else
10.2632 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2633 +for as_dir in $PATH
10.2634 +do
10.2635 + IFS=$as_save_IFS
10.2636 + test -z "$as_dir" && as_dir=.
10.2637 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2638 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2639 + ac_cv_prog_ac_ct_STRIP="strip"
10.2640 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2641 + break 2
10.2642 + fi
10.2643 +done
10.2644 +done
10.2645 +IFS=$as_save_IFS
10.2646 +
10.2647 +fi
10.2648 +fi
10.2649 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10.2650 +if test -n "$ac_ct_STRIP"; then
10.2651 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10.2652 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
10.2653 +else
10.2654 + { echo "$as_me:$LINENO: result: no" >&5
10.2655 +echo "${ECHO_T}no" >&6; }
10.2656 +fi
10.2657 +
10.2658 + if test "x$ac_ct_STRIP" = x; then
10.2659 + STRIP=":"
10.2660 + else
10.2661 + case $cross_compiling:$ac_tool_warned in
10.2662 +yes:)
10.2663 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.2664 +whose name does not start with the host triplet. If you think this
10.2665 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.2666 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.2667 +whose name does not start with the host triplet. If you think this
10.2668 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.2669 +ac_tool_warned=yes ;;
10.2670 +esac
10.2671 + STRIP=$ac_ct_STRIP
10.2672 + fi
10.2673 +else
10.2674 + STRIP="$ac_cv_prog_STRIP"
10.2675 +fi
10.2676 +
10.2677 +fi
10.2678 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10.2679 +
10.2680 +# We need awk for the "check" target. The system "awk" is bad on
10.2681 +# some platforms.
10.2682 +# Always define AMTAR for backward compatibility.
10.2683 +
10.2684 +AMTAR=${AMTAR-"${am_missing_run}tar"}
10.2685 +
10.2686 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
10.2687 +
10.2688 +
10.2689 +
10.2690 +
10.2691 +
10.2692 +
10.2693 +# Check whether --enable-shared was given.
10.2694 +if test "${enable_shared+set}" = set; then
10.2695 + enableval=$enable_shared; p=${PACKAGE-default}
10.2696 + case $enableval in
10.2697 + yes) enable_shared=yes ;;
10.2698 + no) enable_shared=no ;;
10.2699 + *)
10.2700 + enable_shared=no
10.2701 + # Look at the argument we got. We use all the common list separators.
10.2702 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10.2703 + for pkg in $enableval; do
10.2704 + IFS="$lt_save_ifs"
10.2705 + if test "X$pkg" = "X$p"; then
10.2706 + enable_shared=yes
10.2707 + fi
10.2708 + done
10.2709 + IFS="$lt_save_ifs"
10.2710 + ;;
10.2711 + esac
10.2712 +else
10.2713 + enable_shared=yes
10.2714 +fi
10.2715 +
10.2716 +
10.2717 +# Check whether --enable-fast-install was given.
10.2718 +if test "${enable_fast_install+set}" = set; then
10.2719 + enableval=$enable_fast_install; p=${PACKAGE-default}
10.2720 + case $enableval in
10.2721 + yes) enable_fast_install=yes ;;
10.2722 + no) enable_fast_install=no ;;
10.2723 + *)
10.2724 + enable_fast_install=no
10.2725 + # Look at the argument we got. We use all the common list separators.
10.2726 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10.2727 + for pkg in $enableval; do
10.2728 + IFS="$lt_save_ifs"
10.2729 + if test "X$pkg" = "X$p"; then
10.2730 + enable_fast_install=yes
10.2731 + fi
10.2732 + done
10.2733 + IFS="$lt_save_ifs"
10.2734 + ;;
10.2735 + esac
10.2736 +else
10.2737 + enable_fast_install=yes
10.2738 +fi
10.2739 +
10.2740 +
10.2741 +DEPDIR="${am__leading_dot}deps"
10.2742 +
10.2743 +ac_config_commands="$ac_config_commands depfiles"
10.2744 +
10.2745 +
10.2746 +am_make=${MAKE-make}
10.2747 +cat > confinc << 'END'
10.2748 +am__doit:
10.2749 + @echo done
10.2750 +.PHONY: am__doit
10.2751 +END
10.2752 +# If we don't find an include directive, just comment out the code.
10.2753 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
10.2754 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
10.2755 +am__include="#"
10.2756 +am__quote=
10.2757 +_am_result=none
10.2758 +# First try GNU make style include.
10.2759 +echo "include confinc" > confmf
10.2760 +# We grep out `Entering directory' and `Leaving directory'
10.2761 +# messages which can occur if `w' ends up in MAKEFLAGS.
10.2762 +# In particular we don't look at `^make:' because GNU make might
10.2763 +# be invoked under some other name (usually "gmake"), in which
10.2764 +# case it prints its new name instead of `make'.
10.2765 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
10.2766 + am__include=include
10.2767 + am__quote=
10.2768 + _am_result=GNU
10.2769 +fi
10.2770 +# Now try BSD make style include.
10.2771 +if test "$am__include" = "#"; then
10.2772 + echo '.include "confinc"' > confmf
10.2773 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
10.2774 + am__include=.include
10.2775 + am__quote="\""
10.2776 + _am_result=BSD
10.2777 + fi
10.2778 +fi
10.2779 +
10.2780 +
10.2781 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
10.2782 +echo "${ECHO_T}$_am_result" >&6; }
10.2783 +rm -f confinc confmf
10.2784 +
10.2785 +# Check whether --enable-dependency-tracking was given.
10.2786 +if test "${enable_dependency_tracking+set}" = set; then
10.2787 + enableval=$enable_dependency_tracking;
10.2788 +fi
10.2789 +
10.2790 +if test "x$enable_dependency_tracking" != xno; then
10.2791 + am_depcomp="$ac_aux_dir/depcomp"
10.2792 + AMDEPBACKSLASH='\'
10.2793 +fi
10.2794 + if test "x$enable_dependency_tracking" != xno; then
10.2795 + AMDEP_TRUE=
10.2796 + AMDEP_FALSE='#'
10.2797 +else
10.2798 + AMDEP_TRUE='#'
10.2799 + AMDEP_FALSE=
10.2800 +fi
10.2801 +
10.2802 +
10.2803 +ac_ext=c
10.2804 +ac_cpp='$CPP $CPPFLAGS'
10.2805 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.2806 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.2807 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.2808 +if test -n "$ac_tool_prefix"; then
10.2809 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10.2810 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
10.2811 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2812 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2813 +if test "${ac_cv_prog_CC+set}" = set; then
10.2814 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2815 +else
10.2816 + if test -n "$CC"; then
10.2817 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.2818 +else
10.2819 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2820 +for as_dir in $PATH
10.2821 +do
10.2822 + IFS=$as_save_IFS
10.2823 + test -z "$as_dir" && as_dir=.
10.2824 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2825 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2826 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
10.2827 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2828 + break 2
10.2829 + fi
10.2830 +done
10.2831 +done
10.2832 +IFS=$as_save_IFS
10.2833 +
10.2834 +fi
10.2835 +fi
10.2836 +CC=$ac_cv_prog_CC
10.2837 +if test -n "$CC"; then
10.2838 + { echo "$as_me:$LINENO: result: $CC" >&5
10.2839 +echo "${ECHO_T}$CC" >&6; }
10.2840 +else
10.2841 + { echo "$as_me:$LINENO: result: no" >&5
10.2842 +echo "${ECHO_T}no" >&6; }
10.2843 +fi
10.2844 +
10.2845 +
10.2846 +fi
10.2847 +if test -z "$ac_cv_prog_CC"; then
10.2848 + ac_ct_CC=$CC
10.2849 + # Extract the first word of "gcc", so it can be a program name with args.
10.2850 +set dummy gcc; ac_word=$2
10.2851 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2852 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2853 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10.2854 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2855 +else
10.2856 + if test -n "$ac_ct_CC"; then
10.2857 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10.2858 +else
10.2859 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2860 +for as_dir in $PATH
10.2861 +do
10.2862 + IFS=$as_save_IFS
10.2863 + test -z "$as_dir" && as_dir=.
10.2864 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2865 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2866 + ac_cv_prog_ac_ct_CC="gcc"
10.2867 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2868 + break 2
10.2869 + fi
10.2870 +done
10.2871 +done
10.2872 +IFS=$as_save_IFS
10.2873 +
10.2874 +fi
10.2875 +fi
10.2876 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
10.2877 +if test -n "$ac_ct_CC"; then
10.2878 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10.2879 +echo "${ECHO_T}$ac_ct_CC" >&6; }
10.2880 +else
10.2881 + { echo "$as_me:$LINENO: result: no" >&5
10.2882 +echo "${ECHO_T}no" >&6; }
10.2883 +fi
10.2884 +
10.2885 + if test "x$ac_ct_CC" = x; then
10.2886 + CC=""
10.2887 + else
10.2888 + case $cross_compiling:$ac_tool_warned in
10.2889 +yes:)
10.2890 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.2891 +whose name does not start with the host triplet. If you think this
10.2892 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.2893 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.2894 +whose name does not start with the host triplet. If you think this
10.2895 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.2896 +ac_tool_warned=yes ;;
10.2897 +esac
10.2898 + CC=$ac_ct_CC
10.2899 + fi
10.2900 +else
10.2901 + CC="$ac_cv_prog_CC"
10.2902 +fi
10.2903 +
10.2904 +if test -z "$CC"; then
10.2905 + if test -n "$ac_tool_prefix"; then
10.2906 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10.2907 +set dummy ${ac_tool_prefix}cc; ac_word=$2
10.2908 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2909 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2910 +if test "${ac_cv_prog_CC+set}" = set; then
10.2911 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2912 +else
10.2913 + if test -n "$CC"; then
10.2914 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.2915 +else
10.2916 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2917 +for as_dir in $PATH
10.2918 +do
10.2919 + IFS=$as_save_IFS
10.2920 + test -z "$as_dir" && as_dir=.
10.2921 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2922 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2923 + ac_cv_prog_CC="${ac_tool_prefix}cc"
10.2924 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2925 + break 2
10.2926 + fi
10.2927 +done
10.2928 +done
10.2929 +IFS=$as_save_IFS
10.2930 +
10.2931 +fi
10.2932 +fi
10.2933 +CC=$ac_cv_prog_CC
10.2934 +if test -n "$CC"; then
10.2935 + { echo "$as_me:$LINENO: result: $CC" >&5
10.2936 +echo "${ECHO_T}$CC" >&6; }
10.2937 +else
10.2938 + { echo "$as_me:$LINENO: result: no" >&5
10.2939 +echo "${ECHO_T}no" >&6; }
10.2940 +fi
10.2941 +
10.2942 +
10.2943 + fi
10.2944 +fi
10.2945 +if test -z "$CC"; then
10.2946 + # Extract the first word of "cc", so it can be a program name with args.
10.2947 +set dummy cc; ac_word=$2
10.2948 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.2949 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.2950 +if test "${ac_cv_prog_CC+set}" = set; then
10.2951 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.2952 +else
10.2953 + if test -n "$CC"; then
10.2954 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.2955 +else
10.2956 + ac_prog_rejected=no
10.2957 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.2958 +for as_dir in $PATH
10.2959 +do
10.2960 + IFS=$as_save_IFS
10.2961 + test -z "$as_dir" && as_dir=.
10.2962 + for ac_exec_ext in '' $ac_executable_extensions; do
10.2963 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.2964 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10.2965 + ac_prog_rejected=yes
10.2966 + continue
10.2967 + fi
10.2968 + ac_cv_prog_CC="cc"
10.2969 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.2970 + break 2
10.2971 + fi
10.2972 +done
10.2973 +done
10.2974 +IFS=$as_save_IFS
10.2975 +
10.2976 +if test $ac_prog_rejected = yes; then
10.2977 + # We found a bogon in the path, so make sure we never use it.
10.2978 + set dummy $ac_cv_prog_CC
10.2979 + shift
10.2980 + if test $@%:@ != 0; then
10.2981 + # We chose a different compiler from the bogus one.
10.2982 + # However, it has the same basename, so the bogon will be chosen
10.2983 + # first if we set CC to just the basename; use the full file name.
10.2984 + shift
10.2985 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10.2986 + fi
10.2987 +fi
10.2988 +fi
10.2989 +fi
10.2990 +CC=$ac_cv_prog_CC
10.2991 +if test -n "$CC"; then
10.2992 + { echo "$as_me:$LINENO: result: $CC" >&5
10.2993 +echo "${ECHO_T}$CC" >&6; }
10.2994 +else
10.2995 + { echo "$as_me:$LINENO: result: no" >&5
10.2996 +echo "${ECHO_T}no" >&6; }
10.2997 +fi
10.2998 +
10.2999 +
10.3000 +fi
10.3001 +if test -z "$CC"; then
10.3002 + if test -n "$ac_tool_prefix"; then
10.3003 + for ac_prog in cl.exe
10.3004 + do
10.3005 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10.3006 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10.3007 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.3008 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.3009 +if test "${ac_cv_prog_CC+set}" = set; then
10.3010 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3011 +else
10.3012 + if test -n "$CC"; then
10.3013 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.3014 +else
10.3015 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.3016 +for as_dir in $PATH
10.3017 +do
10.3018 + IFS=$as_save_IFS
10.3019 + test -z "$as_dir" && as_dir=.
10.3020 + for ac_exec_ext in '' $ac_executable_extensions; do
10.3021 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.3022 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10.3023 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.3024 + break 2
10.3025 + fi
10.3026 +done
10.3027 +done
10.3028 +IFS=$as_save_IFS
10.3029 +
10.3030 +fi
10.3031 +fi
10.3032 +CC=$ac_cv_prog_CC
10.3033 +if test -n "$CC"; then
10.3034 + { echo "$as_me:$LINENO: result: $CC" >&5
10.3035 +echo "${ECHO_T}$CC" >&6; }
10.3036 +else
10.3037 + { echo "$as_me:$LINENO: result: no" >&5
10.3038 +echo "${ECHO_T}no" >&6; }
10.3039 +fi
10.3040 +
10.3041 +
10.3042 + test -n "$CC" && break
10.3043 + done
10.3044 +fi
10.3045 +if test -z "$CC"; then
10.3046 + ac_ct_CC=$CC
10.3047 + for ac_prog in cl.exe
10.3048 +do
10.3049 + # Extract the first word of "$ac_prog", so it can be a program name with args.
10.3050 +set dummy $ac_prog; ac_word=$2
10.3051 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.3052 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.3053 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10.3054 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3055 +else
10.3056 + if test -n "$ac_ct_CC"; then
10.3057 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10.3058 +else
10.3059 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.3060 +for as_dir in $PATH
10.3061 +do
10.3062 + IFS=$as_save_IFS
10.3063 + test -z "$as_dir" && as_dir=.
10.3064 + for ac_exec_ext in '' $ac_executable_extensions; do
10.3065 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.3066 + ac_cv_prog_ac_ct_CC="$ac_prog"
10.3067 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.3068 + break 2
10.3069 + fi
10.3070 +done
10.3071 +done
10.3072 +IFS=$as_save_IFS
10.3073 +
10.3074 +fi
10.3075 +fi
10.3076 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
10.3077 +if test -n "$ac_ct_CC"; then
10.3078 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10.3079 +echo "${ECHO_T}$ac_ct_CC" >&6; }
10.3080 +else
10.3081 + { echo "$as_me:$LINENO: result: no" >&5
10.3082 +echo "${ECHO_T}no" >&6; }
10.3083 +fi
10.3084 +
10.3085 +
10.3086 + test -n "$ac_ct_CC" && break
10.3087 +done
10.3088 +
10.3089 + if test "x$ac_ct_CC" = x; then
10.3090 + CC=""
10.3091 + else
10.3092 + case $cross_compiling:$ac_tool_warned in
10.3093 +yes:)
10.3094 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.3095 +whose name does not start with the host triplet. If you think this
10.3096 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.3097 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.3098 +whose name does not start with the host triplet. If you think this
10.3099 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.3100 +ac_tool_warned=yes ;;
10.3101 +esac
10.3102 + CC=$ac_ct_CC
10.3103 + fi
10.3104 +fi
10.3105 +
10.3106 +fi
10.3107 +
10.3108 +
10.3109 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10.3110 +See \`config.log' for more details." >&5
10.3111 +echo "$as_me: error: no acceptable C compiler found in \$PATH
10.3112 +See \`config.log' for more details." >&2;}
10.3113 + { (exit 1); exit 1; }; }
10.3114 +
10.3115 +# Provide some information about the compiler.
10.3116 +echo "$as_me:$LINENO: checking for C compiler version" >&5
10.3117 +ac_compiler=`set X $ac_compile; echo $2`
10.3118 +{ (ac_try="$ac_compiler --version >&5"
10.3119 +case "(($ac_try" in
10.3120 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3121 + *) ac_try_echo=$ac_try;;
10.3122 +esac
10.3123 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3124 + (eval "$ac_compiler --version >&5") 2>&5
10.3125 + ac_status=$?
10.3126 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3127 + (exit $ac_status); }
10.3128 +{ (ac_try="$ac_compiler -v >&5"
10.3129 +case "(($ac_try" in
10.3130 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3131 + *) ac_try_echo=$ac_try;;
10.3132 +esac
10.3133 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3134 + (eval "$ac_compiler -v >&5") 2>&5
10.3135 + ac_status=$?
10.3136 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3137 + (exit $ac_status); }
10.3138 +{ (ac_try="$ac_compiler -V >&5"
10.3139 +case "(($ac_try" in
10.3140 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3141 + *) ac_try_echo=$ac_try;;
10.3142 +esac
10.3143 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3144 + (eval "$ac_compiler -V >&5") 2>&5
10.3145 + ac_status=$?
10.3146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3147 + (exit $ac_status); }
10.3148 +
10.3149 +cat >conftest.$ac_ext <<_ACEOF
10.3150 +/* confdefs.h. */
10.3151 +_ACEOF
10.3152 +cat confdefs.h >>conftest.$ac_ext
10.3153 +cat >>conftest.$ac_ext <<_ACEOF
10.3154 +/* end confdefs.h. */
10.3155 +
10.3156 +int
10.3157 +main ()
10.3158 +{
10.3159 +
10.3160 + ;
10.3161 + return 0;
10.3162 +}
10.3163 +_ACEOF
10.3164 +ac_clean_files_save=$ac_clean_files
10.3165 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
10.3166 +# Try to create an executable without -o first, disregard a.out.
10.3167 +# It will help us diagnose broken compilers, and finding out an intuition
10.3168 +# of exeext.
10.3169 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10.3170 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
10.3171 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10.3172 +#
10.3173 +# List of possible output files, starting from the most likely.
10.3174 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
10.3175 +# only as a last resort. b.out is created by i960 compilers.
10.3176 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
10.3177 +#
10.3178 +# The IRIX 6 linker writes into existing files which may not be
10.3179 +# executable, retaining their permissions. Remove them first so a
10.3180 +# subsequent execution test works.
10.3181 +ac_rmfiles=
10.3182 +for ac_file in $ac_files
10.3183 +do
10.3184 + case $ac_file in
10.3185 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
10.3186 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
10.3187 + esac
10.3188 +done
10.3189 +rm -f $ac_rmfiles
10.3190 +
10.3191 +if { (ac_try="$ac_link_default"
10.3192 +case "(($ac_try" in
10.3193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3194 + *) ac_try_echo=$ac_try;;
10.3195 +esac
10.3196 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3197 + (eval "$ac_link_default") 2>&5
10.3198 + ac_status=$?
10.3199 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3200 + (exit $ac_status); }; then
10.3201 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
10.3202 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
10.3203 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
10.3204 +# so that the user can short-circuit this test for compilers unknown to
10.3205 +# Autoconf.
10.3206 +for ac_file in $ac_files ''
10.3207 +do
10.3208 + test -f "$ac_file" || continue
10.3209 + case $ac_file in
10.3210 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
10.3211 + ;;
10.3212 + [ab].out )
10.3213 + # We found the default executable, but exeext='' is most
10.3214 + # certainly right.
10.3215 + break;;
10.3216 + *.* )
10.3217 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
10.3218 + then :; else
10.3219 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10.3220 + fi
10.3221 + # We set ac_cv_exeext here because the later test for it is not
10.3222 + # safe: cross compilers may not add the suffix if given an `-o'
10.3223 + # argument, so we may need to know it at that point already.
10.3224 + # Even if this section looks crufty: it has the advantage of
10.3225 + # actually working.
10.3226 + break;;
10.3227 + * )
10.3228 + break;;
10.3229 + esac
10.3230 +done
10.3231 +test "$ac_cv_exeext" = no && ac_cv_exeext=
10.3232 +
10.3233 +else
10.3234 + ac_file=''
10.3235 +fi
10.3236 +
10.3237 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
10.3238 +echo "${ECHO_T}$ac_file" >&6; }
10.3239 +if test -z "$ac_file"; then
10.3240 + echo "$as_me: failed program was:" >&5
10.3241 +sed 's/^/| /' conftest.$ac_ext >&5
10.3242 +
10.3243 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10.3244 +See \`config.log' for more details." >&5
10.3245 +echo "$as_me: error: C compiler cannot create executables
10.3246 +See \`config.log' for more details." >&2;}
10.3247 + { (exit 77); exit 77; }; }
10.3248 +fi
10.3249 +
10.3250 +ac_exeext=$ac_cv_exeext
10.3251 +
10.3252 +# Check that the compiler produces executables we can run. If not, either
10.3253 +# the compiler is broken, or we cross compile.
10.3254 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10.3255 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
10.3256 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10.3257 +# If not cross compiling, check that we can run a simple program.
10.3258 +if test "$cross_compiling" != yes; then
10.3259 + if { ac_try='./$ac_file'
10.3260 + { (case "(($ac_try" in
10.3261 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3262 + *) ac_try_echo=$ac_try;;
10.3263 +esac
10.3264 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3265 + (eval "$ac_try") 2>&5
10.3266 + ac_status=$?
10.3267 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3268 + (exit $ac_status); }; }; then
10.3269 + cross_compiling=no
10.3270 + else
10.3271 + if test "$cross_compiling" = maybe; then
10.3272 + cross_compiling=yes
10.3273 + else
10.3274 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10.3275 +If you meant to cross compile, use \`--host'.
10.3276 +See \`config.log' for more details." >&5
10.3277 +echo "$as_me: error: cannot run C compiled programs.
10.3278 +If you meant to cross compile, use \`--host'.
10.3279 +See \`config.log' for more details." >&2;}
10.3280 + { (exit 1); exit 1; }; }
10.3281 + fi
10.3282 + fi
10.3283 +fi
10.3284 +{ echo "$as_me:$LINENO: result: yes" >&5
10.3285 +echo "${ECHO_T}yes" >&6; }
10.3286 +
10.3287 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
10.3288 +ac_clean_files=$ac_clean_files_save
10.3289 +# Check that the compiler produces executables we can run. If not, either
10.3290 +# the compiler is broken, or we cross compile.
10.3291 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10.3292 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
10.3293 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
10.3294 +echo "${ECHO_T}$cross_compiling" >&6; }
10.3295 +
10.3296 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
10.3297 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
10.3298 +if { (ac_try="$ac_link"
10.3299 +case "(($ac_try" in
10.3300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3301 + *) ac_try_echo=$ac_try;;
10.3302 +esac
10.3303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3304 + (eval "$ac_link") 2>&5
10.3305 + ac_status=$?
10.3306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3307 + (exit $ac_status); }; then
10.3308 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
10.3309 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10.3310 +# work properly (i.e., refer to `conftest.exe'), while it won't with
10.3311 +# `rm'.
10.3312 +for ac_file in conftest.exe conftest conftest.*; do
10.3313 + test -f "$ac_file" || continue
10.3314 + case $ac_file in
10.3315 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
10.3316 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10.3317 + break;;
10.3318 + * ) break;;
10.3319 + esac
10.3320 +done
10.3321 +else
10.3322 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10.3323 +See \`config.log' for more details." >&5
10.3324 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10.3325 +See \`config.log' for more details." >&2;}
10.3326 + { (exit 1); exit 1; }; }
10.3327 +fi
10.3328 +
10.3329 +rm -f conftest$ac_cv_exeext
10.3330 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10.3331 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
10.3332 +
10.3333 +rm -f conftest.$ac_ext
10.3334 +EXEEXT=$ac_cv_exeext
10.3335 +ac_exeext=$EXEEXT
10.3336 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
10.3337 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
10.3338 +if test "${ac_cv_objext+set}" = set; then
10.3339 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3340 +else
10.3341 + cat >conftest.$ac_ext <<_ACEOF
10.3342 +/* confdefs.h. */
10.3343 +_ACEOF
10.3344 +cat confdefs.h >>conftest.$ac_ext
10.3345 +cat >>conftest.$ac_ext <<_ACEOF
10.3346 +/* end confdefs.h. */
10.3347 +
10.3348 +int
10.3349 +main ()
10.3350 +{
10.3351 +
10.3352 + ;
10.3353 + return 0;
10.3354 +}
10.3355 +_ACEOF
10.3356 +rm -f conftest.o conftest.obj
10.3357 +if { (ac_try="$ac_compile"
10.3358 +case "(($ac_try" in
10.3359 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3360 + *) ac_try_echo=$ac_try;;
10.3361 +esac
10.3362 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3363 + (eval "$ac_compile") 2>&5
10.3364 + ac_status=$?
10.3365 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3366 + (exit $ac_status); }; then
10.3367 + for ac_file in conftest.o conftest.obj conftest.*; do
10.3368 + test -f "$ac_file" || continue;
10.3369 + case $ac_file in
10.3370 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
10.3371 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10.3372 + break;;
10.3373 + esac
10.3374 +done
10.3375 +else
10.3376 + echo "$as_me: failed program was:" >&5
10.3377 +sed 's/^/| /' conftest.$ac_ext >&5
10.3378 +
10.3379 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10.3380 +See \`config.log' for more details." >&5
10.3381 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
10.3382 +See \`config.log' for more details." >&2;}
10.3383 + { (exit 1); exit 1; }; }
10.3384 +fi
10.3385 +
10.3386 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
10.3387 +fi
10.3388 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10.3389 +echo "${ECHO_T}$ac_cv_objext" >&6; }
10.3390 +OBJEXT=$ac_cv_objext
10.3391 +ac_objext=$OBJEXT
10.3392 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10.3393 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
10.3394 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
10.3395 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3396 +else
10.3397 + cat >conftest.$ac_ext <<_ACEOF
10.3398 +/* confdefs.h. */
10.3399 +_ACEOF
10.3400 +cat confdefs.h >>conftest.$ac_ext
10.3401 +cat >>conftest.$ac_ext <<_ACEOF
10.3402 +/* end confdefs.h. */
10.3403 +
10.3404 +int
10.3405 +main ()
10.3406 +{
10.3407 +#ifndef __GNUC__
10.3408 + choke me
10.3409 +#endif
10.3410 +
10.3411 + ;
10.3412 + return 0;
10.3413 +}
10.3414 +_ACEOF
10.3415 +rm -f conftest.$ac_objext
10.3416 +if { (ac_try="$ac_compile"
10.3417 +case "(($ac_try" in
10.3418 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3419 + *) ac_try_echo=$ac_try;;
10.3420 +esac
10.3421 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3422 + (eval "$ac_compile") 2>conftest.er1
10.3423 + ac_status=$?
10.3424 + grep -v '^ *+' conftest.er1 >conftest.err
10.3425 + rm -f conftest.er1
10.3426 + cat conftest.err >&5
10.3427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3428 + (exit $ac_status); } && {
10.3429 + test -z "$ac_c_werror_flag" ||
10.3430 + test ! -s conftest.err
10.3431 + } && test -s conftest.$ac_objext; then
10.3432 + ac_compiler_gnu=yes
10.3433 +else
10.3434 + echo "$as_me: failed program was:" >&5
10.3435 +sed 's/^/| /' conftest.$ac_ext >&5
10.3436 +
10.3437 + ac_compiler_gnu=no
10.3438 +fi
10.3439 +
10.3440 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.3441 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
10.3442 +
10.3443 +fi
10.3444 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10.3445 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
10.3446 +GCC=`test $ac_compiler_gnu = yes && echo yes`
10.3447 +ac_test_CFLAGS=${CFLAGS+set}
10.3448 +ac_save_CFLAGS=$CFLAGS
10.3449 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10.3450 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
10.3451 +if test "${ac_cv_prog_cc_g+set}" = set; then
10.3452 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3453 +else
10.3454 + ac_save_c_werror_flag=$ac_c_werror_flag
10.3455 + ac_c_werror_flag=yes
10.3456 + ac_cv_prog_cc_g=no
10.3457 + CFLAGS="-g"
10.3458 + cat >conftest.$ac_ext <<_ACEOF
10.3459 +/* confdefs.h. */
10.3460 +_ACEOF
10.3461 +cat confdefs.h >>conftest.$ac_ext
10.3462 +cat >>conftest.$ac_ext <<_ACEOF
10.3463 +/* end confdefs.h. */
10.3464 +
10.3465 +int
10.3466 +main ()
10.3467 +{
10.3468 +
10.3469 + ;
10.3470 + return 0;
10.3471 +}
10.3472 +_ACEOF
10.3473 +rm -f conftest.$ac_objext
10.3474 +if { (ac_try="$ac_compile"
10.3475 +case "(($ac_try" in
10.3476 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3477 + *) ac_try_echo=$ac_try;;
10.3478 +esac
10.3479 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3480 + (eval "$ac_compile") 2>conftest.er1
10.3481 + ac_status=$?
10.3482 + grep -v '^ *+' conftest.er1 >conftest.err
10.3483 + rm -f conftest.er1
10.3484 + cat conftest.err >&5
10.3485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3486 + (exit $ac_status); } && {
10.3487 + test -z "$ac_c_werror_flag" ||
10.3488 + test ! -s conftest.err
10.3489 + } && test -s conftest.$ac_objext; then
10.3490 + ac_cv_prog_cc_g=yes
10.3491 +else
10.3492 + echo "$as_me: failed program was:" >&5
10.3493 +sed 's/^/| /' conftest.$ac_ext >&5
10.3494 +
10.3495 + CFLAGS=""
10.3496 + cat >conftest.$ac_ext <<_ACEOF
10.3497 +/* confdefs.h. */
10.3498 +_ACEOF
10.3499 +cat confdefs.h >>conftest.$ac_ext
10.3500 +cat >>conftest.$ac_ext <<_ACEOF
10.3501 +/* end confdefs.h. */
10.3502 +
10.3503 +int
10.3504 +main ()
10.3505 +{
10.3506 +
10.3507 + ;
10.3508 + return 0;
10.3509 +}
10.3510 +_ACEOF
10.3511 +rm -f conftest.$ac_objext
10.3512 +if { (ac_try="$ac_compile"
10.3513 +case "(($ac_try" in
10.3514 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3515 + *) ac_try_echo=$ac_try;;
10.3516 +esac
10.3517 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3518 + (eval "$ac_compile") 2>conftest.er1
10.3519 + ac_status=$?
10.3520 + grep -v '^ *+' conftest.er1 >conftest.err
10.3521 + rm -f conftest.er1
10.3522 + cat conftest.err >&5
10.3523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3524 + (exit $ac_status); } && {
10.3525 + test -z "$ac_c_werror_flag" ||
10.3526 + test ! -s conftest.err
10.3527 + } && test -s conftest.$ac_objext; then
10.3528 + :
10.3529 +else
10.3530 + echo "$as_me: failed program was:" >&5
10.3531 +sed 's/^/| /' conftest.$ac_ext >&5
10.3532 +
10.3533 + ac_c_werror_flag=$ac_save_c_werror_flag
10.3534 + CFLAGS="-g"
10.3535 + cat >conftest.$ac_ext <<_ACEOF
10.3536 +/* confdefs.h. */
10.3537 +_ACEOF
10.3538 +cat confdefs.h >>conftest.$ac_ext
10.3539 +cat >>conftest.$ac_ext <<_ACEOF
10.3540 +/* end confdefs.h. */
10.3541 +
10.3542 +int
10.3543 +main ()
10.3544 +{
10.3545 +
10.3546 + ;
10.3547 + return 0;
10.3548 +}
10.3549 +_ACEOF
10.3550 +rm -f conftest.$ac_objext
10.3551 +if { (ac_try="$ac_compile"
10.3552 +case "(($ac_try" in
10.3553 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3554 + *) ac_try_echo=$ac_try;;
10.3555 +esac
10.3556 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3557 + (eval "$ac_compile") 2>conftest.er1
10.3558 + ac_status=$?
10.3559 + grep -v '^ *+' conftest.er1 >conftest.err
10.3560 + rm -f conftest.er1
10.3561 + cat conftest.err >&5
10.3562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3563 + (exit $ac_status); } && {
10.3564 + test -z "$ac_c_werror_flag" ||
10.3565 + test ! -s conftest.err
10.3566 + } && test -s conftest.$ac_objext; then
10.3567 + ac_cv_prog_cc_g=yes
10.3568 +else
10.3569 + echo "$as_me: failed program was:" >&5
10.3570 +sed 's/^/| /' conftest.$ac_ext >&5
10.3571 +
10.3572 +
10.3573 +fi
10.3574 +
10.3575 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.3576 +fi
10.3577 +
10.3578 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.3579 +fi
10.3580 +
10.3581 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.3582 + ac_c_werror_flag=$ac_save_c_werror_flag
10.3583 +fi
10.3584 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10.3585 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
10.3586 +if test "$ac_test_CFLAGS" = set; then
10.3587 + CFLAGS=$ac_save_CFLAGS
10.3588 +elif test $ac_cv_prog_cc_g = yes; then
10.3589 + if test "$GCC" = yes; then
10.3590 + CFLAGS="-g -O2"
10.3591 + else
10.3592 + CFLAGS="-g"
10.3593 + fi
10.3594 +else
10.3595 + if test "$GCC" = yes; then
10.3596 + CFLAGS="-O2"
10.3597 + else
10.3598 + CFLAGS=
10.3599 + fi
10.3600 +fi
10.3601 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
10.3602 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
10.3603 +if test "${ac_cv_prog_cc_c89+set}" = set; then
10.3604 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3605 +else
10.3606 + ac_cv_prog_cc_c89=no
10.3607 +ac_save_CC=$CC
10.3608 +cat >conftest.$ac_ext <<_ACEOF
10.3609 +/* confdefs.h. */
10.3610 +_ACEOF
10.3611 +cat confdefs.h >>conftest.$ac_ext
10.3612 +cat >>conftest.$ac_ext <<_ACEOF
10.3613 +/* end confdefs.h. */
10.3614 +#include <stdarg.h>
10.3615 +#include <stdio.h>
10.3616 +#include <sys/types.h>
10.3617 +#include <sys/stat.h>
10.3618 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10.3619 +struct buf { int x; };
10.3620 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
10.3621 +static char *e (p, i)
10.3622 + char **p;
10.3623 + int i;
10.3624 +{
10.3625 + return p[i];
10.3626 +}
10.3627 +static char *f (char * (*g) (char **, int), char **p, ...)
10.3628 +{
10.3629 + char *s;
10.3630 + va_list v;
10.3631 + va_start (v,p);
10.3632 + s = g (p, va_arg (v,int));
10.3633 + va_end (v);
10.3634 + return s;
10.3635 +}
10.3636 +
10.3637 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10.3638 + function prototypes and stuff, but not '\xHH' hex character constants.
10.3639 + These don't provoke an error unfortunately, instead are silently treated
10.3640 + as 'x'. The following induces an error, until -std is added to get
10.3641 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10.3642 + array size at least. It's necessary to write '\x00'==0 to get something
10.3643 + that's true only with -std. */
10.3644 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10.3645 +
10.3646 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10.3647 + inside strings and character constants. */
10.3648 +#define FOO(x) 'x'
10.3649 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10.3650 +
10.3651 +int test (int i, double x);
10.3652 +struct s1 {int (*f) (int a);};
10.3653 +struct s2 {int (*f) (double a);};
10.3654 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10.3655 +int argc;
10.3656 +char **argv;
10.3657 +int
10.3658 +main ()
10.3659 +{
10.3660 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10.3661 + ;
10.3662 + return 0;
10.3663 +}
10.3664 +_ACEOF
10.3665 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10.3666 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10.3667 +do
10.3668 + CC="$ac_save_CC $ac_arg"
10.3669 + rm -f conftest.$ac_objext
10.3670 +if { (ac_try="$ac_compile"
10.3671 +case "(($ac_try" in
10.3672 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.3673 + *) ac_try_echo=$ac_try;;
10.3674 +esac
10.3675 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.3676 + (eval "$ac_compile") 2>conftest.er1
10.3677 + ac_status=$?
10.3678 + grep -v '^ *+' conftest.er1 >conftest.err
10.3679 + rm -f conftest.er1
10.3680 + cat conftest.err >&5
10.3681 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.3682 + (exit $ac_status); } && {
10.3683 + test -z "$ac_c_werror_flag" ||
10.3684 + test ! -s conftest.err
10.3685 + } && test -s conftest.$ac_objext; then
10.3686 + ac_cv_prog_cc_c89=$ac_arg
10.3687 +else
10.3688 + echo "$as_me: failed program was:" >&5
10.3689 +sed 's/^/| /' conftest.$ac_ext >&5
10.3690 +
10.3691 +
10.3692 +fi
10.3693 +
10.3694 +rm -f core conftest.err conftest.$ac_objext
10.3695 + test "x$ac_cv_prog_cc_c89" != "xno" && break
10.3696 +done
10.3697 +rm -f conftest.$ac_ext
10.3698 +CC=$ac_save_CC
10.3699 +
10.3700 +fi
10.3701 +# AC_CACHE_VAL
10.3702 +case "x$ac_cv_prog_cc_c89" in
10.3703 + x)
10.3704 + { echo "$as_me:$LINENO: result: none needed" >&5
10.3705 +echo "${ECHO_T}none needed" >&6; } ;;
10.3706 + xno)
10.3707 + { echo "$as_me:$LINENO: result: unsupported" >&5
10.3708 +echo "${ECHO_T}unsupported" >&6; } ;;
10.3709 + *)
10.3710 + CC="$CC $ac_cv_prog_cc_c89"
10.3711 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
10.3712 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
10.3713 +esac
10.3714 +
10.3715 +
10.3716 +ac_ext=c
10.3717 +ac_cpp='$CPP $CPPFLAGS'
10.3718 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.3719 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.3720 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.3721 +
10.3722 +depcc="$CC" am_compiler_list=
10.3723 +
10.3724 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10.3725 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10.3726 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
10.3727 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3728 +else
10.3729 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10.3730 + # We make a subdir and do the tests there. Otherwise we can end up
10.3731 + # making bogus files that we don't know about and never remove. For
10.3732 + # instance it was reported that on HP-UX the gcc test will end up
10.3733 + # making a dummy file named `D' -- because `-MD' means `put the output
10.3734 + # in D'.
10.3735 + mkdir conftest.dir
10.3736 + # Copy depcomp to subdir because otherwise we won't find it if we're
10.3737 + # using a relative directory.
10.3738 + cp "$am_depcomp" conftest.dir
10.3739 + cd conftest.dir
10.3740 + # We will build objects and dependencies in a subdirectory because
10.3741 + # it helps to detect inapplicable dependency modes. For instance
10.3742 + # both Tru64's cc and ICC support -MD to output dependencies as a
10.3743 + # side effect of compilation, but ICC will put the dependencies in
10.3744 + # the current directory while Tru64 will put them in the object
10.3745 + # directory.
10.3746 + mkdir sub
10.3747 +
10.3748 + am_cv_CC_dependencies_compiler_type=none
10.3749 + if test "$am_compiler_list" = ""; then
10.3750 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10.3751 + fi
10.3752 + for depmode in $am_compiler_list; do
10.3753 + # Setup a source with many dependencies, because some compilers
10.3754 + # like to wrap large dependency lists on column 80 (with \), and
10.3755 + # we should not choose a depcomp mode which is confused by this.
10.3756 + #
10.3757 + # We need to recreate these files for each test, as the compiler may
10.3758 + # overwrite some of them when testing with obscure command lines.
10.3759 + # This happens at least with the AIX C compiler.
10.3760 + : > sub/conftest.c
10.3761 + for i in 1 2 3 4 5 6; do
10.3762 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
10.3763 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10.3764 + # Solaris 8's {/usr,}/bin/sh.
10.3765 + touch sub/conftst$i.h
10.3766 + done
10.3767 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10.3768 +
10.3769 + case $depmode in
10.3770 + nosideeffect)
10.3771 + # after this tag, mechanisms are not by side-effect, so they'll
10.3772 + # only be used when explicitly requested
10.3773 + if test "x$enable_dependency_tracking" = xyes; then
10.3774 + continue
10.3775 + else
10.3776 + break
10.3777 + fi
10.3778 + ;;
10.3779 + none) break ;;
10.3780 + esac
10.3781 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
10.3782 + # mode. It turns out that the SunPro C++ compiler does not properly
10.3783 + # handle `-M -o', and we need to detect this.
10.3784 + if depmode=$depmode \
10.3785 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10.3786 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10.3787 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10.3788 + >/dev/null 2>conftest.err &&
10.3789 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10.3790 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10.3791 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10.3792 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10.3793 + # icc doesn't choke on unknown options, it will just issue warnings
10.3794 + # or remarks (even with -Werror). So we grep stderr for any message
10.3795 + # that says an option was ignored or not supported.
10.3796 + # When given -MP, icc 7.0 and 7.1 complain thusly:
10.3797 + # icc: Command line warning: ignoring option '-M'; no argument required
10.3798 + # The diagnosis changed in icc 8.0:
10.3799 + # icc: Command line remark: option '-MP' not supported
10.3800 + if (grep 'ignoring option' conftest.err ||
10.3801 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10.3802 + am_cv_CC_dependencies_compiler_type=$depmode
10.3803 + break
10.3804 + fi
10.3805 + fi
10.3806 + done
10.3807 +
10.3808 + cd ..
10.3809 + rm -rf conftest.dir
10.3810 +else
10.3811 + am_cv_CC_dependencies_compiler_type=none
10.3812 +fi
10.3813 +
10.3814 +fi
10.3815 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
10.3816 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
10.3817 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10.3818 +
10.3819 + if
10.3820 + test "x$enable_dependency_tracking" != xno \
10.3821 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10.3822 + am__fastdepCC_TRUE=
10.3823 + am__fastdepCC_FALSE='#'
10.3824 +else
10.3825 + am__fastdepCC_TRUE='#'
10.3826 + am__fastdepCC_FALSE=
10.3827 +fi
10.3828 +
10.3829 +
10.3830 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
10.3831 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
10.3832 +if test "${lt_cv_path_SED+set}" = set; then
10.3833 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3834 +else
10.3835 + # Loop through the user's path and test for sed and gsed.
10.3836 +# Then use that list of sed's as ones to test for truncation.
10.3837 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.3838 +for as_dir in $PATH
10.3839 +do
10.3840 + IFS=$as_save_IFS
10.3841 + test -z "$as_dir" && as_dir=.
10.3842 + for lt_ac_prog in sed gsed; do
10.3843 + for ac_exec_ext in '' $ac_executable_extensions; do
10.3844 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10.3845 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10.3846 + fi
10.3847 + done
10.3848 + done
10.3849 +done
10.3850 +lt_ac_max=0
10.3851 +lt_ac_count=0
10.3852 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
10.3853 +# along with /bin/sed that truncates output.
10.3854 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10.3855 + test ! -f $lt_ac_sed && break
10.3856 + cat /dev/null > conftest.in
10.3857 + lt_ac_count=0
10.3858 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10.3859 + # Check for GNU sed and select it if it is found.
10.3860 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10.3861 + lt_cv_path_SED=$lt_ac_sed
10.3862 + break
10.3863 + fi
10.3864 + while true; do
10.3865 + cat conftest.in conftest.in >conftest.tmp
10.3866 + mv conftest.tmp conftest.in
10.3867 + cp conftest.in conftest.nl
10.3868 + echo >>conftest.nl
10.3869 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10.3870 + cmp -s conftest.out conftest.nl || break
10.3871 + # 10000 chars as input seems more than enough
10.3872 + test $lt_ac_count -gt 10 && break
10.3873 + lt_ac_count=`expr $lt_ac_count + 1`
10.3874 + if test $lt_ac_count -gt $lt_ac_max; then
10.3875 + lt_ac_max=$lt_ac_count
10.3876 + lt_cv_path_SED=$lt_ac_sed
10.3877 + fi
10.3878 + done
10.3879 +done
10.3880 +SED=$lt_cv_path_SED
10.3881 +
10.3882 +fi
10.3883 +
10.3884 +{ echo "$as_me:$LINENO: result: $SED" >&5
10.3885 +echo "${ECHO_T}$SED" >&6; }
10.3886 +
10.3887 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
10.3888 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
10.3889 +if test "${ac_cv_path_GREP+set}" = set; then
10.3890 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3891 +else
10.3892 + # Extract the first word of "grep ggrep" to use in msg output
10.3893 +if test -z "$GREP"; then
10.3894 +set dummy grep ggrep; ac_prog_name=$2
10.3895 +if test "${ac_cv_path_GREP+set}" = set; then
10.3896 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3897 +else
10.3898 + ac_path_GREP_found=false
10.3899 +# Loop through the user's path and test for each of PROGNAME-LIST
10.3900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.3901 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10.3902 +do
10.3903 + IFS=$as_save_IFS
10.3904 + test -z "$as_dir" && as_dir=.
10.3905 + for ac_prog in grep ggrep; do
10.3906 + for ac_exec_ext in '' $ac_executable_extensions; do
10.3907 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
10.3908 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
10.3909 + # Check for GNU ac_path_GREP and select it if it is found.
10.3910 + # Check for GNU $ac_path_GREP
10.3911 +case `"$ac_path_GREP" --version 2>&1` in
10.3912 +*GNU*)
10.3913 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
10.3914 +*)
10.3915 + ac_count=0
10.3916 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
10.3917 + while :
10.3918 + do
10.3919 + cat "conftest.in" "conftest.in" >"conftest.tmp"
10.3920 + mv "conftest.tmp" "conftest.in"
10.3921 + cp "conftest.in" "conftest.nl"
10.3922 + echo 'GREP' >> "conftest.nl"
10.3923 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
10.3924 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10.3925 + ac_count=`expr $ac_count + 1`
10.3926 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
10.3927 + # Best one so far, save it but keep looking for a better one
10.3928 + ac_cv_path_GREP="$ac_path_GREP"
10.3929 + ac_path_GREP_max=$ac_count
10.3930 + fi
10.3931 + # 10*(2^10) chars as input seems more than enough
10.3932 + test $ac_count -gt 10 && break
10.3933 + done
10.3934 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10.3935 +esac
10.3936 +
10.3937 +
10.3938 + $ac_path_GREP_found && break 3
10.3939 + done
10.3940 +done
10.3941 +
10.3942 +done
10.3943 +IFS=$as_save_IFS
10.3944 +
10.3945 +
10.3946 +fi
10.3947 +
10.3948 +GREP="$ac_cv_path_GREP"
10.3949 +if test -z "$GREP"; then
10.3950 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
10.3951 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
10.3952 + { (exit 1); exit 1; }; }
10.3953 +fi
10.3954 +
10.3955 +else
10.3956 + ac_cv_path_GREP=$GREP
10.3957 +fi
10.3958 +
10.3959 +
10.3960 +fi
10.3961 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
10.3962 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
10.3963 + GREP="$ac_cv_path_GREP"
10.3964 +
10.3965 +
10.3966 +{ echo "$as_me:$LINENO: checking for egrep" >&5
10.3967 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
10.3968 +if test "${ac_cv_path_EGREP+set}" = set; then
10.3969 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3970 +else
10.3971 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
10.3972 + then ac_cv_path_EGREP="$GREP -E"
10.3973 + else
10.3974 + # Extract the first word of "egrep" to use in msg output
10.3975 +if test -z "$EGREP"; then
10.3976 +set dummy egrep; ac_prog_name=$2
10.3977 +if test "${ac_cv_path_EGREP+set}" = set; then
10.3978 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.3979 +else
10.3980 + ac_path_EGREP_found=false
10.3981 +# Loop through the user's path and test for each of PROGNAME-LIST
10.3982 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.3983 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10.3984 +do
10.3985 + IFS=$as_save_IFS
10.3986 + test -z "$as_dir" && as_dir=.
10.3987 + for ac_prog in egrep; do
10.3988 + for ac_exec_ext in '' $ac_executable_extensions; do
10.3989 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
10.3990 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
10.3991 + # Check for GNU ac_path_EGREP and select it if it is found.
10.3992 + # Check for GNU $ac_path_EGREP
10.3993 +case `"$ac_path_EGREP" --version 2>&1` in
10.3994 +*GNU*)
10.3995 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
10.3996 +*)
10.3997 + ac_count=0
10.3998 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
10.3999 + while :
10.4000 + do
10.4001 + cat "conftest.in" "conftest.in" >"conftest.tmp"
10.4002 + mv "conftest.tmp" "conftest.in"
10.4003 + cp "conftest.in" "conftest.nl"
10.4004 + echo 'EGREP' >> "conftest.nl"
10.4005 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
10.4006 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10.4007 + ac_count=`expr $ac_count + 1`
10.4008 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
10.4009 + # Best one so far, save it but keep looking for a better one
10.4010 + ac_cv_path_EGREP="$ac_path_EGREP"
10.4011 + ac_path_EGREP_max=$ac_count
10.4012 + fi
10.4013 + # 10*(2^10) chars as input seems more than enough
10.4014 + test $ac_count -gt 10 && break
10.4015 + done
10.4016 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10.4017 +esac
10.4018 +
10.4019 +
10.4020 + $ac_path_EGREP_found && break 3
10.4021 + done
10.4022 +done
10.4023 +
10.4024 +done
10.4025 +IFS=$as_save_IFS
10.4026 +
10.4027 +
10.4028 +fi
10.4029 +
10.4030 +EGREP="$ac_cv_path_EGREP"
10.4031 +if test -z "$EGREP"; then
10.4032 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
10.4033 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
10.4034 + { (exit 1); exit 1; }; }
10.4035 +fi
10.4036 +
10.4037 +else
10.4038 + ac_cv_path_EGREP=$EGREP
10.4039 +fi
10.4040 +
10.4041 +
10.4042 + fi
10.4043 +fi
10.4044 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
10.4045 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
10.4046 + EGREP="$ac_cv_path_EGREP"
10.4047 +
10.4048 +
10.4049 +
10.4050 +# Check whether --with-gnu-ld was given.
10.4051 +if test "${with_gnu_ld+set}" = set; then
10.4052 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10.4053 +else
10.4054 + with_gnu_ld=no
10.4055 +fi
10.4056 +
10.4057 +ac_prog=ld
10.4058 +if test "$GCC" = yes; then
10.4059 + # Check if gcc -print-prog-name=ld gives a path.
10.4060 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10.4061 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10.4062 + case $host in
10.4063 + *-*-mingw*)
10.4064 + # gcc leaves a trailing carriage return which upsets mingw
10.4065 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10.4066 + *)
10.4067 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10.4068 + esac
10.4069 + case $ac_prog in
10.4070 + # Accept absolute paths.
10.4071 + [\\/]* | ?:[\\/]*)
10.4072 + re_direlt='/[^/][^/]*/\.\./'
10.4073 + # Canonicalize the pathname of ld
10.4074 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10.4075 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10.4076 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10.4077 + done
10.4078 + test -z "$LD" && LD="$ac_prog"
10.4079 + ;;
10.4080 + "")
10.4081 + # If it fails, then pretend we aren't using GCC.
10.4082 + ac_prog=ld
10.4083 + ;;
10.4084 + *)
10.4085 + # If it is relative, then search for the first ld in PATH.
10.4086 + with_gnu_ld=unknown
10.4087 + ;;
10.4088 + esac
10.4089 +elif test "$with_gnu_ld" = yes; then
10.4090 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
10.4091 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10.4092 +else
10.4093 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10.4094 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10.4095 +fi
10.4096 +if test "${lt_cv_path_LD+set}" = set; then
10.4097 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4098 +else
10.4099 + if test -z "$LD"; then
10.4100 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10.4101 + for ac_dir in $PATH; do
10.4102 + IFS="$lt_save_ifs"
10.4103 + test -z "$ac_dir" && ac_dir=.
10.4104 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10.4105 + lt_cv_path_LD="$ac_dir/$ac_prog"
10.4106 + # Check to see if the program is GNU ld. I'd rather use --version,
10.4107 + # but apparently some GNU ld's only accept -v.
10.4108 + # Break only if it was the GNU/non-GNU ld that we prefer.
10.4109 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10.4110 + *GNU* | *'with BFD'*)
10.4111 + test "$with_gnu_ld" != no && break
10.4112 + ;;
10.4113 + *)
10.4114 + test "$with_gnu_ld" != yes && break
10.4115 + ;;
10.4116 + esac
10.4117 + fi
10.4118 + done
10.4119 + IFS="$lt_save_ifs"
10.4120 +else
10.4121 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
10.4122 +fi
10.4123 +fi
10.4124 +
10.4125 +LD="$lt_cv_path_LD"
10.4126 +if test -n "$LD"; then
10.4127 + { echo "$as_me:$LINENO: result: $LD" >&5
10.4128 +echo "${ECHO_T}$LD" >&6; }
10.4129 +else
10.4130 + { echo "$as_me:$LINENO: result: no" >&5
10.4131 +echo "${ECHO_T}no" >&6; }
10.4132 +fi
10.4133 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10.4134 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10.4135 + { (exit 1); exit 1; }; }
10.4136 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10.4137 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10.4138 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
10.4139 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4140 +else
10.4141 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10.4142 +case `$LD -v 2>&1 </dev/null` in
10.4143 +*GNU* | *'with BFD'*)
10.4144 + lt_cv_prog_gnu_ld=yes
10.4145 + ;;
10.4146 +*)
10.4147 + lt_cv_prog_gnu_ld=no
10.4148 + ;;
10.4149 +esac
10.4150 +fi
10.4151 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10.4152 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10.4153 +with_gnu_ld=$lt_cv_prog_gnu_ld
10.4154 +
10.4155 +
10.4156 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10.4157 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
10.4158 +if test "${lt_cv_ld_reload_flag+set}" = set; then
10.4159 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4160 +else
10.4161 + lt_cv_ld_reload_flag='-r'
10.4162 +fi
10.4163 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10.4164 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
10.4165 +reload_flag=$lt_cv_ld_reload_flag
10.4166 +case $reload_flag in
10.4167 +"" | " "*) ;;
10.4168 +*) reload_flag=" $reload_flag" ;;
10.4169 +esac
10.4170 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
10.4171 +
10.4172 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10.4173 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
10.4174 +if test "${lt_cv_path_NM+set}" = set; then
10.4175 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4176 +else
10.4177 + if test -n "$NM"; then
10.4178 + # Let the user override the test.
10.4179 + lt_cv_path_NM="$NM"
10.4180 +else
10.4181 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10.4182 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10.4183 + IFS="$lt_save_ifs"
10.4184 + test -z "$ac_dir" && ac_dir=.
10.4185 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10.4186 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10.4187 + # Check to see if the nm accepts a BSD-compat flag.
10.4188 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10.4189 + # nm: unknown option "B" ignored
10.4190 + # Tru64's nm complains that /dev/null is an invalid object file
10.4191 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10.4192 + */dev/null* | *'Invalid file or object type'*)
10.4193 + lt_cv_path_NM="$tmp_nm -B"
10.4194 + break
10.4195 + ;;
10.4196 + *)
10.4197 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10.4198 + */dev/null*)
10.4199 + lt_cv_path_NM="$tmp_nm -p"
10.4200 + break
10.4201 + ;;
10.4202 + *)
10.4203 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10.4204 + continue # so that we can try to find one that supports BSD flags
10.4205 + ;;
10.4206 + esac
10.4207 + esac
10.4208 + fi
10.4209 + done
10.4210 + IFS="$lt_save_ifs"
10.4211 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10.4212 +fi
10.4213 +fi
10.4214 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10.4215 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
10.4216 +NM="$lt_cv_path_NM"
10.4217 +
10.4218 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
10.4219 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10.4220 +LN_S=$as_ln_s
10.4221 +if test "$LN_S" = "ln -s"; then
10.4222 + { echo "$as_me:$LINENO: result: yes" >&5
10.4223 +echo "${ECHO_T}yes" >&6; }
10.4224 +else
10.4225 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10.4226 +echo "${ECHO_T}no, using $LN_S" >&6; }
10.4227 +fi
10.4228 +
10.4229 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10.4230 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
10.4231 +if test "${lt_cv_deplibs_check_method+set}" = set; then
10.4232 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4233 +else
10.4234 + lt_cv_file_magic_cmd='$MAGIC_CMD'
10.4235 +lt_cv_file_magic_test_file=
10.4236 +lt_cv_deplibs_check_method='unknown'
10.4237 +# Need to set the preceding variable on all platforms that support
10.4238 +# interlibrary dependencies.
10.4239 +# 'none' -- dependencies not supported.
10.4240 +# `unknown' -- same as none, but documents that we really don't know.
10.4241 +# 'pass_all' -- all dependencies passed with no checks.
10.4242 +# 'test_compile' -- check by making test program.
10.4243 +# 'file_magic [[regex]]' -- check by looking for files in library path
10.4244 +# which responds to the $file_magic_cmd with a given extended regex.
10.4245 +# If you have `file' or equivalent on your system and you're not sure
10.4246 +# whether `pass_all' will *always* work, you probably want this one.
10.4247 +
10.4248 +case $host_os in
10.4249 +aix4* | aix5*)
10.4250 + lt_cv_deplibs_check_method=pass_all
10.4251 + ;;
10.4252 +
10.4253 +beos*)
10.4254 + lt_cv_deplibs_check_method=pass_all
10.4255 + ;;
10.4256 +
10.4257 +bsdi4*)
10.4258 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10.4259 + lt_cv_file_magic_cmd='/usr/bin/file -L'
10.4260 + lt_cv_file_magic_test_file=/shlib/libc.so
10.4261 + ;;
10.4262 +
10.4263 +cygwin*)
10.4264 + # func_win32_libid is a shell function defined in ltmain.sh
10.4265 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10.4266 + lt_cv_file_magic_cmd='func_win32_libid'
10.4267 + ;;
10.4268 +
10.4269 +mingw* | pw32*)
10.4270 + # Base MSYS/MinGW do not provide the 'file' command needed by
10.4271 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10.4272 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10.4273 + lt_cv_file_magic_cmd='$OBJDUMP -f'
10.4274 + ;;
10.4275 +
10.4276 +darwin* | rhapsody*)
10.4277 + lt_cv_deplibs_check_method=pass_all
10.4278 + ;;
10.4279 +
10.4280 +freebsd* | kfreebsd*-gnu)
10.4281 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10.4282 + case $host_cpu in
10.4283 + i*86 )
10.4284 + # Not sure whether the presence of OpenBSD here was a mistake.
10.4285 + # Let's accept both of them until this is cleared up.
10.4286 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10.4287 + lt_cv_file_magic_cmd=/usr/bin/file
10.4288 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10.4289 + ;;
10.4290 + esac
10.4291 + else
10.4292 + lt_cv_deplibs_check_method=pass_all
10.4293 + fi
10.4294 + ;;
10.4295 +
10.4296 +gnu*)
10.4297 + lt_cv_deplibs_check_method=pass_all
10.4298 + ;;
10.4299 +
10.4300 +hpux10.20* | hpux11*)
10.4301 + lt_cv_file_magic_cmd=/usr/bin/file
10.4302 + case "$host_cpu" in
10.4303 + ia64*)
10.4304 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10.4305 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10.4306 + ;;
10.4307 + hppa*64*)
10.4308 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
10.4309 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10.4310 + ;;
10.4311 + *)
10.4312 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10.4313 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
10.4314 + ;;
10.4315 + esac
10.4316 + ;;
10.4317 +
10.4318 +irix5* | irix6* | nonstopux*)
10.4319 + case $LD in
10.4320 + *-32|*"-32 ") libmagic=32-bit;;
10.4321 + *-n32|*"-n32 ") libmagic=N32;;
10.4322 + *-64|*"-64 ") libmagic=64-bit;;
10.4323 + *) libmagic=never-match;;
10.4324 + esac
10.4325 + lt_cv_deplibs_check_method=pass_all
10.4326 + ;;
10.4327 +
10.4328 +# This must be Linux ELF.
10.4329 +linux*)
10.4330 + lt_cv_deplibs_check_method=pass_all
10.4331 + ;;
10.4332 +
10.4333 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.4334 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10.4335 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10.4336 + else
10.4337 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10.4338 + fi
10.4339 + ;;
10.4340 +
10.4341 +newos6*)
10.4342 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10.4343 + lt_cv_file_magic_cmd=/usr/bin/file
10.4344 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
10.4345 + ;;
10.4346 +
10.4347 +nto-qnx*)
10.4348 + lt_cv_deplibs_check_method=unknown
10.4349 + ;;
10.4350 +
10.4351 +openbsd*)
10.4352 + lt_cv_file_magic_cmd=/usr/bin/file
10.4353 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10.4354 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.4355 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
10.4356 + else
10.4357 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
10.4358 + fi
10.4359 + ;;
10.4360 +
10.4361 +osf3* | osf4* | osf5*)
10.4362 + lt_cv_deplibs_check_method=pass_all
10.4363 + ;;
10.4364 +
10.4365 +sco3.2v5*)
10.4366 + lt_cv_deplibs_check_method=pass_all
10.4367 + ;;
10.4368 +
10.4369 +solaris*)
10.4370 + lt_cv_deplibs_check_method=pass_all
10.4371 + ;;
10.4372 +
10.4373 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.4374 + case $host_vendor in
10.4375 + motorola)
10.4376 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
10.4377 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10.4378 + ;;
10.4379 + ncr)
10.4380 + lt_cv_deplibs_check_method=pass_all
10.4381 + ;;
10.4382 + sequent)
10.4383 + lt_cv_file_magic_cmd='/bin/file'
10.4384 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10.4385 + ;;
10.4386 + sni)
10.4387 + lt_cv_file_magic_cmd='/bin/file'
10.4388 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10.4389 + lt_cv_file_magic_test_file=/lib/libc.so
10.4390 + ;;
10.4391 + siemens)
10.4392 + lt_cv_deplibs_check_method=pass_all
10.4393 + ;;
10.4394 + esac
10.4395 + ;;
10.4396 +
10.4397 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
10.4398 + lt_cv_deplibs_check_method=pass_all
10.4399 + ;;
10.4400 +esac
10.4401 +
10.4402 +fi
10.4403 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10.4404 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
10.4405 +file_magic_cmd=$lt_cv_file_magic_cmd
10.4406 +deplibs_check_method=$lt_cv_deplibs_check_method
10.4407 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
10.4408 +
10.4409 +
10.4410 +
10.4411 +
10.4412 +# If no C compiler was specified, use CC.
10.4413 +LTCC=${LTCC-"$CC"}
10.4414 +
10.4415 +# Allow CC to be a program name with arguments.
10.4416 +compiler=$CC
10.4417 +
10.4418 +
10.4419 +# Check whether --enable-libtool-lock was given.
10.4420 +if test "${enable_libtool_lock+set}" = set; then
10.4421 + enableval=$enable_libtool_lock;
10.4422 +fi
10.4423 +
10.4424 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10.4425 +
10.4426 +# Some flags need to be propagated to the compiler or linker for good
10.4427 +# libtool support.
10.4428 +case $host in
10.4429 +ia64-*-hpux*)
10.4430 + # Find out which ABI we are using.
10.4431 + echo 'int i;' > conftest.$ac_ext
10.4432 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.4433 + (eval $ac_compile) 2>&5
10.4434 + ac_status=$?
10.4435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4436 + (exit $ac_status); }; then
10.4437 + case `/usr/bin/file conftest.$ac_objext` in
10.4438 + *ELF-32*)
10.4439 + HPUX_IA64_MODE="32"
10.4440 + ;;
10.4441 + *ELF-64*)
10.4442 + HPUX_IA64_MODE="64"
10.4443 + ;;
10.4444 + esac
10.4445 + fi
10.4446 + rm -rf conftest*
10.4447 + ;;
10.4448 +*-*-irix6*)
10.4449 + # Find out which ABI we are using.
10.4450 + echo '#line __oline__ "configure"' > conftest.$ac_ext
10.4451 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.4452 + (eval $ac_compile) 2>&5
10.4453 + ac_status=$?
10.4454 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4455 + (exit $ac_status); }; then
10.4456 + if test "$lt_cv_prog_gnu_ld" = yes; then
10.4457 + case `/usr/bin/file conftest.$ac_objext` in
10.4458 + *32-bit*)
10.4459 + LD="${LD-ld} -melf32bsmip"
10.4460 + ;;
10.4461 + *N32*)
10.4462 + LD="${LD-ld} -melf32bmipn32"
10.4463 + ;;
10.4464 + *64-bit*)
10.4465 + LD="${LD-ld} -melf64bmip"
10.4466 + ;;
10.4467 + esac
10.4468 + else
10.4469 + case `/usr/bin/file conftest.$ac_objext` in
10.4470 + *32-bit*)
10.4471 + LD="${LD-ld} -32"
10.4472 + ;;
10.4473 + *N32*)
10.4474 + LD="${LD-ld} -n32"
10.4475 + ;;
10.4476 + *64-bit*)
10.4477 + LD="${LD-ld} -64"
10.4478 + ;;
10.4479 + esac
10.4480 + fi
10.4481 + fi
10.4482 + rm -rf conftest*
10.4483 + ;;
10.4484 +
10.4485 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10.4486 + # Find out which ABI we are using.
10.4487 + echo 'int i;' > conftest.$ac_ext
10.4488 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.4489 + (eval $ac_compile) 2>&5
10.4490 + ac_status=$?
10.4491 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4492 + (exit $ac_status); }; then
10.4493 + case "`/usr/bin/file conftest.o`" in
10.4494 + *32-bit*)
10.4495 + case $host in
10.4496 + x86_64-*linux*)
10.4497 + LD="${LD-ld} -m elf_i386"
10.4498 + ;;
10.4499 + ppc64-*linux*|powerpc64-*linux*)
10.4500 + LD="${LD-ld} -m elf32ppclinux"
10.4501 + ;;
10.4502 + s390x-*linux*)
10.4503 + LD="${LD-ld} -m elf_s390"
10.4504 + ;;
10.4505 + sparc64-*linux*)
10.4506 + LD="${LD-ld} -m elf32_sparc"
10.4507 + ;;
10.4508 + esac
10.4509 + ;;
10.4510 + *64-bit*)
10.4511 + case $host in
10.4512 + x86_64-*linux*)
10.4513 + LD="${LD-ld} -m elf_x86_64"
10.4514 + ;;
10.4515 + ppc*-*linux*|powerpc*-*linux*)
10.4516 + LD="${LD-ld} -m elf64ppc"
10.4517 + ;;
10.4518 + s390*-*linux*)
10.4519 + LD="${LD-ld} -m elf64_s390"
10.4520 + ;;
10.4521 + sparc*-*linux*)
10.4522 + LD="${LD-ld} -m elf64_sparc"
10.4523 + ;;
10.4524 + esac
10.4525 + ;;
10.4526 + esac
10.4527 + fi
10.4528 + rm -rf conftest*
10.4529 + ;;
10.4530 +
10.4531 +*-*-sco3.2v5*)
10.4532 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10.4533 + SAVE_CFLAGS="$CFLAGS"
10.4534 + CFLAGS="$CFLAGS -belf"
10.4535 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10.4536 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
10.4537 +if test "${lt_cv_cc_needs_belf+set}" = set; then
10.4538 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4539 +else
10.4540 + ac_ext=c
10.4541 +ac_cpp='$CPP $CPPFLAGS'
10.4542 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.4543 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.4544 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.4545 +
10.4546 + cat >conftest.$ac_ext <<_ACEOF
10.4547 +/* confdefs.h. */
10.4548 +_ACEOF
10.4549 +cat confdefs.h >>conftest.$ac_ext
10.4550 +cat >>conftest.$ac_ext <<_ACEOF
10.4551 +/* end confdefs.h. */
10.4552 +
10.4553 +int
10.4554 +main ()
10.4555 +{
10.4556 +
10.4557 + ;
10.4558 + return 0;
10.4559 +}
10.4560 +_ACEOF
10.4561 +rm -f conftest.$ac_objext conftest$ac_exeext
10.4562 +if { (ac_try="$ac_link"
10.4563 +case "(($ac_try" in
10.4564 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4565 + *) ac_try_echo=$ac_try;;
10.4566 +esac
10.4567 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4568 + (eval "$ac_link") 2>conftest.er1
10.4569 + ac_status=$?
10.4570 + grep -v '^ *+' conftest.er1 >conftest.err
10.4571 + rm -f conftest.er1
10.4572 + cat conftest.err >&5
10.4573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4574 + (exit $ac_status); } && {
10.4575 + test -z "$ac_c_werror_flag" ||
10.4576 + test ! -s conftest.err
10.4577 + } && test -s conftest$ac_exeext &&
10.4578 + $as_test_x conftest$ac_exeext; then
10.4579 + lt_cv_cc_needs_belf=yes
10.4580 +else
10.4581 + echo "$as_me: failed program was:" >&5
10.4582 +sed 's/^/| /' conftest.$ac_ext >&5
10.4583 +
10.4584 + lt_cv_cc_needs_belf=no
10.4585 +fi
10.4586 +
10.4587 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.4588 + conftest$ac_exeext conftest.$ac_ext
10.4589 + ac_ext=c
10.4590 +ac_cpp='$CPP $CPPFLAGS'
10.4591 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.4592 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.4593 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.4594 +
10.4595 +fi
10.4596 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10.4597 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
10.4598 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10.4599 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10.4600 + CFLAGS="$SAVE_CFLAGS"
10.4601 + fi
10.4602 + ;;
10.4603 +
10.4604 +esac
10.4605 +
10.4606 +need_locks="$enable_libtool_lock"
10.4607 +
10.4608 +
10.4609 +ac_ext=c
10.4610 +ac_cpp='$CPP $CPPFLAGS'
10.4611 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.4612 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.4613 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.4614 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10.4615 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10.4616 +# On Suns, sometimes $CPP names a directory.
10.4617 +if test -n "$CPP" && test -d "$CPP"; then
10.4618 + CPP=
10.4619 +fi
10.4620 +if test -z "$CPP"; then
10.4621 + if test "${ac_cv_prog_CPP+set}" = set; then
10.4622 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4623 +else
10.4624 + # Double quotes because CPP needs to be expanded
10.4625 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10.4626 + do
10.4627 + ac_preproc_ok=false
10.4628 +for ac_c_preproc_warn_flag in '' yes
10.4629 +do
10.4630 + # Use a header file that comes with gcc, so configuring glibc
10.4631 + # with a fresh cross-compiler works.
10.4632 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.4633 + # <limits.h> exists even on freestanding compilers.
10.4634 + # On the NeXT, cc -E runs the code through the compiler's parser,
10.4635 + # not just through cpp. "Syntax error" is here to catch this case.
10.4636 + cat >conftest.$ac_ext <<_ACEOF
10.4637 +/* confdefs.h. */
10.4638 +_ACEOF
10.4639 +cat confdefs.h >>conftest.$ac_ext
10.4640 +cat >>conftest.$ac_ext <<_ACEOF
10.4641 +/* end confdefs.h. */
10.4642 +@%:@ifdef __STDC__
10.4643 +@%:@ include <limits.h>
10.4644 +@%:@else
10.4645 +@%:@ include <assert.h>
10.4646 +@%:@endif
10.4647 + Syntax error
10.4648 +_ACEOF
10.4649 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.4650 +case "(($ac_try" in
10.4651 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4652 + *) ac_try_echo=$ac_try;;
10.4653 +esac
10.4654 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4655 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.4656 + ac_status=$?
10.4657 + grep -v '^ *+' conftest.er1 >conftest.err
10.4658 + rm -f conftest.er1
10.4659 + cat conftest.err >&5
10.4660 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4661 + (exit $ac_status); } >/dev/null && {
10.4662 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10.4663 + test ! -s conftest.err
10.4664 + }; then
10.4665 + :
10.4666 +else
10.4667 + echo "$as_me: failed program was:" >&5
10.4668 +sed 's/^/| /' conftest.$ac_ext >&5
10.4669 +
10.4670 + # Broken: fails on valid input.
10.4671 +continue
10.4672 +fi
10.4673 +
10.4674 +rm -f conftest.err conftest.$ac_ext
10.4675 +
10.4676 + # OK, works on sane cases. Now check whether nonexistent headers
10.4677 + # can be detected and how.
10.4678 + cat >conftest.$ac_ext <<_ACEOF
10.4679 +/* confdefs.h. */
10.4680 +_ACEOF
10.4681 +cat confdefs.h >>conftest.$ac_ext
10.4682 +cat >>conftest.$ac_ext <<_ACEOF
10.4683 +/* end confdefs.h. */
10.4684 +@%:@include <ac_nonexistent.h>
10.4685 +_ACEOF
10.4686 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.4687 +case "(($ac_try" in
10.4688 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4689 + *) ac_try_echo=$ac_try;;
10.4690 +esac
10.4691 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4692 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.4693 + ac_status=$?
10.4694 + grep -v '^ *+' conftest.er1 >conftest.err
10.4695 + rm -f conftest.er1
10.4696 + cat conftest.err >&5
10.4697 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4698 + (exit $ac_status); } >/dev/null && {
10.4699 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10.4700 + test ! -s conftest.err
10.4701 + }; then
10.4702 + # Broken: success on invalid input.
10.4703 +continue
10.4704 +else
10.4705 + echo "$as_me: failed program was:" >&5
10.4706 +sed 's/^/| /' conftest.$ac_ext >&5
10.4707 +
10.4708 + # Passes both tests.
10.4709 +ac_preproc_ok=:
10.4710 +break
10.4711 +fi
10.4712 +
10.4713 +rm -f conftest.err conftest.$ac_ext
10.4714 +
10.4715 +done
10.4716 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10.4717 +rm -f conftest.err conftest.$ac_ext
10.4718 +if $ac_preproc_ok; then
10.4719 + break
10.4720 +fi
10.4721 +
10.4722 + done
10.4723 + ac_cv_prog_CPP=$CPP
10.4724 +
10.4725 +fi
10.4726 + CPP=$ac_cv_prog_CPP
10.4727 +else
10.4728 + ac_cv_prog_CPP=$CPP
10.4729 +fi
10.4730 +{ echo "$as_me:$LINENO: result: $CPP" >&5
10.4731 +echo "${ECHO_T}$CPP" >&6; }
10.4732 +ac_preproc_ok=false
10.4733 +for ac_c_preproc_warn_flag in '' yes
10.4734 +do
10.4735 + # Use a header file that comes with gcc, so configuring glibc
10.4736 + # with a fresh cross-compiler works.
10.4737 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.4738 + # <limits.h> exists even on freestanding compilers.
10.4739 + # On the NeXT, cc -E runs the code through the compiler's parser,
10.4740 + # not just through cpp. "Syntax error" is here to catch this case.
10.4741 + cat >conftest.$ac_ext <<_ACEOF
10.4742 +/* confdefs.h. */
10.4743 +_ACEOF
10.4744 +cat confdefs.h >>conftest.$ac_ext
10.4745 +cat >>conftest.$ac_ext <<_ACEOF
10.4746 +/* end confdefs.h. */
10.4747 +@%:@ifdef __STDC__
10.4748 +@%:@ include <limits.h>
10.4749 +@%:@else
10.4750 +@%:@ include <assert.h>
10.4751 +@%:@endif
10.4752 + Syntax error
10.4753 +_ACEOF
10.4754 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.4755 +case "(($ac_try" in
10.4756 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4757 + *) ac_try_echo=$ac_try;;
10.4758 +esac
10.4759 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4760 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.4761 + ac_status=$?
10.4762 + grep -v '^ *+' conftest.er1 >conftest.err
10.4763 + rm -f conftest.er1
10.4764 + cat conftest.err >&5
10.4765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4766 + (exit $ac_status); } >/dev/null && {
10.4767 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10.4768 + test ! -s conftest.err
10.4769 + }; then
10.4770 + :
10.4771 +else
10.4772 + echo "$as_me: failed program was:" >&5
10.4773 +sed 's/^/| /' conftest.$ac_ext >&5
10.4774 +
10.4775 + # Broken: fails on valid input.
10.4776 +continue
10.4777 +fi
10.4778 +
10.4779 +rm -f conftest.err conftest.$ac_ext
10.4780 +
10.4781 + # OK, works on sane cases. Now check whether nonexistent headers
10.4782 + # can be detected and how.
10.4783 + cat >conftest.$ac_ext <<_ACEOF
10.4784 +/* confdefs.h. */
10.4785 +_ACEOF
10.4786 +cat confdefs.h >>conftest.$ac_ext
10.4787 +cat >>conftest.$ac_ext <<_ACEOF
10.4788 +/* end confdefs.h. */
10.4789 +@%:@include <ac_nonexistent.h>
10.4790 +_ACEOF
10.4791 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.4792 +case "(($ac_try" in
10.4793 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4794 + *) ac_try_echo=$ac_try;;
10.4795 +esac
10.4796 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4797 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.4798 + ac_status=$?
10.4799 + grep -v '^ *+' conftest.er1 >conftest.err
10.4800 + rm -f conftest.er1
10.4801 + cat conftest.err >&5
10.4802 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4803 + (exit $ac_status); } >/dev/null && {
10.4804 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10.4805 + test ! -s conftest.err
10.4806 + }; then
10.4807 + # Broken: success on invalid input.
10.4808 +continue
10.4809 +else
10.4810 + echo "$as_me: failed program was:" >&5
10.4811 +sed 's/^/| /' conftest.$ac_ext >&5
10.4812 +
10.4813 + # Passes both tests.
10.4814 +ac_preproc_ok=:
10.4815 +break
10.4816 +fi
10.4817 +
10.4818 +rm -f conftest.err conftest.$ac_ext
10.4819 +
10.4820 +done
10.4821 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10.4822 +rm -f conftest.err conftest.$ac_ext
10.4823 +if $ac_preproc_ok; then
10.4824 + :
10.4825 +else
10.4826 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10.4827 +See \`config.log' for more details." >&5
10.4828 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10.4829 +See \`config.log' for more details." >&2;}
10.4830 + { (exit 1); exit 1; }; }
10.4831 +fi
10.4832 +
10.4833 +ac_ext=c
10.4834 +ac_cpp='$CPP $CPPFLAGS'
10.4835 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.4836 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.4837 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.4838 +
10.4839 +
10.4840 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10.4841 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10.4842 +if test "${ac_cv_header_stdc+set}" = set; then
10.4843 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.4844 +else
10.4845 + cat >conftest.$ac_ext <<_ACEOF
10.4846 +/* confdefs.h. */
10.4847 +_ACEOF
10.4848 +cat confdefs.h >>conftest.$ac_ext
10.4849 +cat >>conftest.$ac_ext <<_ACEOF
10.4850 +/* end confdefs.h. */
10.4851 +#include <stdlib.h>
10.4852 +#include <stdarg.h>
10.4853 +#include <string.h>
10.4854 +#include <float.h>
10.4855 +
10.4856 +int
10.4857 +main ()
10.4858 +{
10.4859 +
10.4860 + ;
10.4861 + return 0;
10.4862 +}
10.4863 +_ACEOF
10.4864 +rm -f conftest.$ac_objext
10.4865 +if { (ac_try="$ac_compile"
10.4866 +case "(($ac_try" in
10.4867 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4868 + *) ac_try_echo=$ac_try;;
10.4869 +esac
10.4870 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4871 + (eval "$ac_compile") 2>conftest.er1
10.4872 + ac_status=$?
10.4873 + grep -v '^ *+' conftest.er1 >conftest.err
10.4874 + rm -f conftest.er1
10.4875 + cat conftest.err >&5
10.4876 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4877 + (exit $ac_status); } && {
10.4878 + test -z "$ac_c_werror_flag" ||
10.4879 + test ! -s conftest.err
10.4880 + } && test -s conftest.$ac_objext; then
10.4881 + ac_cv_header_stdc=yes
10.4882 +else
10.4883 + echo "$as_me: failed program was:" >&5
10.4884 +sed 's/^/| /' conftest.$ac_ext >&5
10.4885 +
10.4886 + ac_cv_header_stdc=no
10.4887 +fi
10.4888 +
10.4889 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.4890 +
10.4891 +if test $ac_cv_header_stdc = yes; then
10.4892 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10.4893 + cat >conftest.$ac_ext <<_ACEOF
10.4894 +/* confdefs.h. */
10.4895 +_ACEOF
10.4896 +cat confdefs.h >>conftest.$ac_ext
10.4897 +cat >>conftest.$ac_ext <<_ACEOF
10.4898 +/* end confdefs.h. */
10.4899 +#include <string.h>
10.4900 +
10.4901 +_ACEOF
10.4902 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10.4903 + $EGREP "memchr" >/dev/null 2>&1; then
10.4904 + :
10.4905 +else
10.4906 + ac_cv_header_stdc=no
10.4907 +fi
10.4908 +rm -f conftest*
10.4909 +
10.4910 +fi
10.4911 +
10.4912 +if test $ac_cv_header_stdc = yes; then
10.4913 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10.4914 + cat >conftest.$ac_ext <<_ACEOF
10.4915 +/* confdefs.h. */
10.4916 +_ACEOF
10.4917 +cat confdefs.h >>conftest.$ac_ext
10.4918 +cat >>conftest.$ac_ext <<_ACEOF
10.4919 +/* end confdefs.h. */
10.4920 +#include <stdlib.h>
10.4921 +
10.4922 +_ACEOF
10.4923 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10.4924 + $EGREP "free" >/dev/null 2>&1; then
10.4925 + :
10.4926 +else
10.4927 + ac_cv_header_stdc=no
10.4928 +fi
10.4929 +rm -f conftest*
10.4930 +
10.4931 +fi
10.4932 +
10.4933 +if test $ac_cv_header_stdc = yes; then
10.4934 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10.4935 + if test "$cross_compiling" = yes; then
10.4936 + :
10.4937 +else
10.4938 + cat >conftest.$ac_ext <<_ACEOF
10.4939 +/* confdefs.h. */
10.4940 +_ACEOF
10.4941 +cat confdefs.h >>conftest.$ac_ext
10.4942 +cat >>conftest.$ac_ext <<_ACEOF
10.4943 +/* end confdefs.h. */
10.4944 +#include <ctype.h>
10.4945 +#include <stdlib.h>
10.4946 +#if ((' ' & 0x0FF) == 0x020)
10.4947 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10.4948 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10.4949 +#else
10.4950 +# define ISLOWER(c) \
10.4951 + (('a' <= (c) && (c) <= 'i') \
10.4952 + || ('j' <= (c) && (c) <= 'r') \
10.4953 + || ('s' <= (c) && (c) <= 'z'))
10.4954 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10.4955 +#endif
10.4956 +
10.4957 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10.4958 +int
10.4959 +main ()
10.4960 +{
10.4961 + int i;
10.4962 + for (i = 0; i < 256; i++)
10.4963 + if (XOR (islower (i), ISLOWER (i))
10.4964 + || toupper (i) != TOUPPER (i))
10.4965 + return 2;
10.4966 + return 0;
10.4967 +}
10.4968 +_ACEOF
10.4969 +rm -f conftest$ac_exeext
10.4970 +if { (ac_try="$ac_link"
10.4971 +case "(($ac_try" in
10.4972 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4973 + *) ac_try_echo=$ac_try;;
10.4974 +esac
10.4975 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4976 + (eval "$ac_link") 2>&5
10.4977 + ac_status=$?
10.4978 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4979 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10.4980 + { (case "(($ac_try" in
10.4981 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.4982 + *) ac_try_echo=$ac_try;;
10.4983 +esac
10.4984 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.4985 + (eval "$ac_try") 2>&5
10.4986 + ac_status=$?
10.4987 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.4988 + (exit $ac_status); }; }; then
10.4989 + :
10.4990 +else
10.4991 + echo "$as_me: program exited with status $ac_status" >&5
10.4992 +echo "$as_me: failed program was:" >&5
10.4993 +sed 's/^/| /' conftest.$ac_ext >&5
10.4994 +
10.4995 +( exit $ac_status )
10.4996 +ac_cv_header_stdc=no
10.4997 +fi
10.4998 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10.4999 +fi
10.5000 +
10.5001 +
10.5002 +fi
10.5003 +fi
10.5004 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10.5005 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10.5006 +if test $ac_cv_header_stdc = yes; then
10.5007 +
10.5008 +cat >>confdefs.h <<\_ACEOF
10.5009 +@%:@define STDC_HEADERS 1
10.5010 +_ACEOF
10.5011 +
10.5012 +fi
10.5013 +
10.5014 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
10.5015 +
10.5016 +
10.5017 +
10.5018 +
10.5019 +
10.5020 +
10.5021 +
10.5022 +
10.5023 +
10.5024 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10.5025 + inttypes.h stdint.h unistd.h
10.5026 +do
10.5027 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10.5028 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10.5029 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10.5030 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10.5031 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5032 +else
10.5033 + cat >conftest.$ac_ext <<_ACEOF
10.5034 +/* confdefs.h. */
10.5035 +_ACEOF
10.5036 +cat confdefs.h >>conftest.$ac_ext
10.5037 +cat >>conftest.$ac_ext <<_ACEOF
10.5038 +/* end confdefs.h. */
10.5039 +$ac_includes_default
10.5040 +
10.5041 +@%:@include <$ac_header>
10.5042 +_ACEOF
10.5043 +rm -f conftest.$ac_objext
10.5044 +if { (ac_try="$ac_compile"
10.5045 +case "(($ac_try" in
10.5046 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5047 + *) ac_try_echo=$ac_try;;
10.5048 +esac
10.5049 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5050 + (eval "$ac_compile") 2>conftest.er1
10.5051 + ac_status=$?
10.5052 + grep -v '^ *+' conftest.er1 >conftest.err
10.5053 + rm -f conftest.er1
10.5054 + cat conftest.err >&5
10.5055 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5056 + (exit $ac_status); } && {
10.5057 + test -z "$ac_c_werror_flag" ||
10.5058 + test ! -s conftest.err
10.5059 + } && test -s conftest.$ac_objext; then
10.5060 + eval "$as_ac_Header=yes"
10.5061 +else
10.5062 + echo "$as_me: failed program was:" >&5
10.5063 +sed 's/^/| /' conftest.$ac_ext >&5
10.5064 +
10.5065 + eval "$as_ac_Header=no"
10.5066 +fi
10.5067 +
10.5068 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.5069 +fi
10.5070 +ac_res=`eval echo '${'$as_ac_Header'}'`
10.5071 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10.5072 +echo "${ECHO_T}$ac_res" >&6; }
10.5073 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
10.5074 + cat >>confdefs.h <<_ACEOF
10.5075 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10.5076 +_ACEOF
10.5077 +
10.5078 +fi
10.5079 +
10.5080 +done
10.5081 +
10.5082 +
10.5083 +
10.5084 +for ac_header in dlfcn.h
10.5085 +do
10.5086 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10.5087 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10.5088 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10.5089 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10.5090 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10.5091 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5092 +fi
10.5093 +ac_res=`eval echo '${'$as_ac_Header'}'`
10.5094 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10.5095 +echo "${ECHO_T}$ac_res" >&6; }
10.5096 +else
10.5097 + # Is the header compilable?
10.5098 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10.5099 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10.5100 +cat >conftest.$ac_ext <<_ACEOF
10.5101 +/* confdefs.h. */
10.5102 +_ACEOF
10.5103 +cat confdefs.h >>conftest.$ac_ext
10.5104 +cat >>conftest.$ac_ext <<_ACEOF
10.5105 +/* end confdefs.h. */
10.5106 +$ac_includes_default
10.5107 +@%:@include <$ac_header>
10.5108 +_ACEOF
10.5109 +rm -f conftest.$ac_objext
10.5110 +if { (ac_try="$ac_compile"
10.5111 +case "(($ac_try" in
10.5112 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5113 + *) ac_try_echo=$ac_try;;
10.5114 +esac
10.5115 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5116 + (eval "$ac_compile") 2>conftest.er1
10.5117 + ac_status=$?
10.5118 + grep -v '^ *+' conftest.er1 >conftest.err
10.5119 + rm -f conftest.er1
10.5120 + cat conftest.err >&5
10.5121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5122 + (exit $ac_status); } && {
10.5123 + test -z "$ac_c_werror_flag" ||
10.5124 + test ! -s conftest.err
10.5125 + } && test -s conftest.$ac_objext; then
10.5126 + ac_header_compiler=yes
10.5127 +else
10.5128 + echo "$as_me: failed program was:" >&5
10.5129 +sed 's/^/| /' conftest.$ac_ext >&5
10.5130 +
10.5131 + ac_header_compiler=no
10.5132 +fi
10.5133 +
10.5134 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.5135 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10.5136 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10.5137 +
10.5138 +# Is the header present?
10.5139 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10.5140 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10.5141 +cat >conftest.$ac_ext <<_ACEOF
10.5142 +/* confdefs.h. */
10.5143 +_ACEOF
10.5144 +cat confdefs.h >>conftest.$ac_ext
10.5145 +cat >>conftest.$ac_ext <<_ACEOF
10.5146 +/* end confdefs.h. */
10.5147 +@%:@include <$ac_header>
10.5148 +_ACEOF
10.5149 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.5150 +case "(($ac_try" in
10.5151 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5152 + *) ac_try_echo=$ac_try;;
10.5153 +esac
10.5154 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5155 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.5156 + ac_status=$?
10.5157 + grep -v '^ *+' conftest.er1 >conftest.err
10.5158 + rm -f conftest.er1
10.5159 + cat conftest.err >&5
10.5160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5161 + (exit $ac_status); } >/dev/null && {
10.5162 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10.5163 + test ! -s conftest.err
10.5164 + }; then
10.5165 + ac_header_preproc=yes
10.5166 +else
10.5167 + echo "$as_me: failed program was:" >&5
10.5168 +sed 's/^/| /' conftest.$ac_ext >&5
10.5169 +
10.5170 + ac_header_preproc=no
10.5171 +fi
10.5172 +
10.5173 +rm -f conftest.err conftest.$ac_ext
10.5174 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10.5175 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10.5176 +
10.5177 +# So? What about this header?
10.5178 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10.5179 + yes:no: )
10.5180 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10.5181 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10.5182 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10.5183 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10.5184 + ac_header_preproc=yes
10.5185 + ;;
10.5186 + no:yes:* )
10.5187 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10.5188 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10.5189 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10.5190 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10.5191 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10.5192 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10.5193 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10.5194 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10.5195 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10.5196 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10.5197 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10.5198 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10.5199 +
10.5200 + ;;
10.5201 +esac
10.5202 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10.5203 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10.5204 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10.5205 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5206 +else
10.5207 + eval "$as_ac_Header=\$ac_header_preproc"
10.5208 +fi
10.5209 +ac_res=`eval echo '${'$as_ac_Header'}'`
10.5210 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10.5211 +echo "${ECHO_T}$ac_res" >&6; }
10.5212 +
10.5213 +fi
10.5214 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
10.5215 + cat >>confdefs.h <<_ACEOF
10.5216 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10.5217 +_ACEOF
10.5218 +
10.5219 +fi
10.5220 +
10.5221 +done
10.5222 +
10.5223 +ac_ext=cpp
10.5224 +ac_cpp='$CXXCPP $CPPFLAGS'
10.5225 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.5226 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.5227 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.5228 +if test -z "$CXX"; then
10.5229 + if test -n "$CCC"; then
10.5230 + CXX=$CCC
10.5231 + else
10.5232 + if test -n "$ac_tool_prefix"; then
10.5233 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10.5234 + do
10.5235 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10.5236 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10.5237 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.5238 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.5239 +if test "${ac_cv_prog_CXX+set}" = set; then
10.5240 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5241 +else
10.5242 + if test -n "$CXX"; then
10.5243 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
10.5244 +else
10.5245 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.5246 +for as_dir in $PATH
10.5247 +do
10.5248 + IFS=$as_save_IFS
10.5249 + test -z "$as_dir" && as_dir=.
10.5250 + for ac_exec_ext in '' $ac_executable_extensions; do
10.5251 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.5252 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10.5253 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.5254 + break 2
10.5255 + fi
10.5256 +done
10.5257 +done
10.5258 +IFS=$as_save_IFS
10.5259 +
10.5260 +fi
10.5261 +fi
10.5262 +CXX=$ac_cv_prog_CXX
10.5263 +if test -n "$CXX"; then
10.5264 + { echo "$as_me:$LINENO: result: $CXX" >&5
10.5265 +echo "${ECHO_T}$CXX" >&6; }
10.5266 +else
10.5267 + { echo "$as_me:$LINENO: result: no" >&5
10.5268 +echo "${ECHO_T}no" >&6; }
10.5269 +fi
10.5270 +
10.5271 +
10.5272 + test -n "$CXX" && break
10.5273 + done
10.5274 +fi
10.5275 +if test -z "$CXX"; then
10.5276 + ac_ct_CXX=$CXX
10.5277 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10.5278 +do
10.5279 + # Extract the first word of "$ac_prog", so it can be a program name with args.
10.5280 +set dummy $ac_prog; ac_word=$2
10.5281 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.5282 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.5283 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10.5284 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5285 +else
10.5286 + if test -n "$ac_ct_CXX"; then
10.5287 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10.5288 +else
10.5289 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.5290 +for as_dir in $PATH
10.5291 +do
10.5292 + IFS=$as_save_IFS
10.5293 + test -z "$as_dir" && as_dir=.
10.5294 + for ac_exec_ext in '' $ac_executable_extensions; do
10.5295 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.5296 + ac_cv_prog_ac_ct_CXX="$ac_prog"
10.5297 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.5298 + break 2
10.5299 + fi
10.5300 +done
10.5301 +done
10.5302 +IFS=$as_save_IFS
10.5303 +
10.5304 +fi
10.5305 +fi
10.5306 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10.5307 +if test -n "$ac_ct_CXX"; then
10.5308 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10.5309 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
10.5310 +else
10.5311 + { echo "$as_me:$LINENO: result: no" >&5
10.5312 +echo "${ECHO_T}no" >&6; }
10.5313 +fi
10.5314 +
10.5315 +
10.5316 + test -n "$ac_ct_CXX" && break
10.5317 +done
10.5318 +
10.5319 + if test "x$ac_ct_CXX" = x; then
10.5320 + CXX="g++"
10.5321 + else
10.5322 + case $cross_compiling:$ac_tool_warned in
10.5323 +yes:)
10.5324 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.5325 +whose name does not start with the host triplet. If you think this
10.5326 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.5327 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.5328 +whose name does not start with the host triplet. If you think this
10.5329 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.5330 +ac_tool_warned=yes ;;
10.5331 +esac
10.5332 + CXX=$ac_ct_CXX
10.5333 + fi
10.5334 +fi
10.5335 +
10.5336 + fi
10.5337 +fi
10.5338 +# Provide some information about the compiler.
10.5339 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
10.5340 +ac_compiler=`set X $ac_compile; echo $2`
10.5341 +{ (ac_try="$ac_compiler --version >&5"
10.5342 +case "(($ac_try" in
10.5343 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5344 + *) ac_try_echo=$ac_try;;
10.5345 +esac
10.5346 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5347 + (eval "$ac_compiler --version >&5") 2>&5
10.5348 + ac_status=$?
10.5349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5350 + (exit $ac_status); }
10.5351 +{ (ac_try="$ac_compiler -v >&5"
10.5352 +case "(($ac_try" in
10.5353 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5354 + *) ac_try_echo=$ac_try;;
10.5355 +esac
10.5356 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5357 + (eval "$ac_compiler -v >&5") 2>&5
10.5358 + ac_status=$?
10.5359 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5360 + (exit $ac_status); }
10.5361 +{ (ac_try="$ac_compiler -V >&5"
10.5362 +case "(($ac_try" in
10.5363 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5364 + *) ac_try_echo=$ac_try;;
10.5365 +esac
10.5366 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5367 + (eval "$ac_compiler -V >&5") 2>&5
10.5368 + ac_status=$?
10.5369 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5370 + (exit $ac_status); }
10.5371 +
10.5372 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10.5373 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
10.5374 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10.5375 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5376 +else
10.5377 + cat >conftest.$ac_ext <<_ACEOF
10.5378 +/* confdefs.h. */
10.5379 +_ACEOF
10.5380 +cat confdefs.h >>conftest.$ac_ext
10.5381 +cat >>conftest.$ac_ext <<_ACEOF
10.5382 +/* end confdefs.h. */
10.5383 +
10.5384 +int
10.5385 +main ()
10.5386 +{
10.5387 +#ifndef __GNUC__
10.5388 + choke me
10.5389 +#endif
10.5390 +
10.5391 + ;
10.5392 + return 0;
10.5393 +}
10.5394 +_ACEOF
10.5395 +rm -f conftest.$ac_objext
10.5396 +if { (ac_try="$ac_compile"
10.5397 +case "(($ac_try" in
10.5398 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5399 + *) ac_try_echo=$ac_try;;
10.5400 +esac
10.5401 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5402 + (eval "$ac_compile") 2>conftest.er1
10.5403 + ac_status=$?
10.5404 + grep -v '^ *+' conftest.er1 >conftest.err
10.5405 + rm -f conftest.er1
10.5406 + cat conftest.err >&5
10.5407 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5408 + (exit $ac_status); } && {
10.5409 + test -z "$ac_cxx_werror_flag" ||
10.5410 + test ! -s conftest.err
10.5411 + } && test -s conftest.$ac_objext; then
10.5412 + ac_compiler_gnu=yes
10.5413 +else
10.5414 + echo "$as_me: failed program was:" >&5
10.5415 +sed 's/^/| /' conftest.$ac_ext >&5
10.5416 +
10.5417 + ac_compiler_gnu=no
10.5418 +fi
10.5419 +
10.5420 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.5421 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10.5422 +
10.5423 +fi
10.5424 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10.5425 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
10.5426 +GXX=`test $ac_compiler_gnu = yes && echo yes`
10.5427 +ac_test_CXXFLAGS=${CXXFLAGS+set}
10.5428 +ac_save_CXXFLAGS=$CXXFLAGS
10.5429 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10.5430 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
10.5431 +if test "${ac_cv_prog_cxx_g+set}" = set; then
10.5432 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5433 +else
10.5434 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10.5435 + ac_cxx_werror_flag=yes
10.5436 + ac_cv_prog_cxx_g=no
10.5437 + CXXFLAGS="-g"
10.5438 + cat >conftest.$ac_ext <<_ACEOF
10.5439 +/* confdefs.h. */
10.5440 +_ACEOF
10.5441 +cat confdefs.h >>conftest.$ac_ext
10.5442 +cat >>conftest.$ac_ext <<_ACEOF
10.5443 +/* end confdefs.h. */
10.5444 +
10.5445 +int
10.5446 +main ()
10.5447 +{
10.5448 +
10.5449 + ;
10.5450 + return 0;
10.5451 +}
10.5452 +_ACEOF
10.5453 +rm -f conftest.$ac_objext
10.5454 +if { (ac_try="$ac_compile"
10.5455 +case "(($ac_try" in
10.5456 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5457 + *) ac_try_echo=$ac_try;;
10.5458 +esac
10.5459 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5460 + (eval "$ac_compile") 2>conftest.er1
10.5461 + ac_status=$?
10.5462 + grep -v '^ *+' conftest.er1 >conftest.err
10.5463 + rm -f conftest.er1
10.5464 + cat conftest.err >&5
10.5465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5466 + (exit $ac_status); } && {
10.5467 + test -z "$ac_cxx_werror_flag" ||
10.5468 + test ! -s conftest.err
10.5469 + } && test -s conftest.$ac_objext; then
10.5470 + ac_cv_prog_cxx_g=yes
10.5471 +else
10.5472 + echo "$as_me: failed program was:" >&5
10.5473 +sed 's/^/| /' conftest.$ac_ext >&5
10.5474 +
10.5475 + CXXFLAGS=""
10.5476 + cat >conftest.$ac_ext <<_ACEOF
10.5477 +/* confdefs.h. */
10.5478 +_ACEOF
10.5479 +cat confdefs.h >>conftest.$ac_ext
10.5480 +cat >>conftest.$ac_ext <<_ACEOF
10.5481 +/* end confdefs.h. */
10.5482 +
10.5483 +int
10.5484 +main ()
10.5485 +{
10.5486 +
10.5487 + ;
10.5488 + return 0;
10.5489 +}
10.5490 +_ACEOF
10.5491 +rm -f conftest.$ac_objext
10.5492 +if { (ac_try="$ac_compile"
10.5493 +case "(($ac_try" in
10.5494 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5495 + *) ac_try_echo=$ac_try;;
10.5496 +esac
10.5497 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5498 + (eval "$ac_compile") 2>conftest.er1
10.5499 + ac_status=$?
10.5500 + grep -v '^ *+' conftest.er1 >conftest.err
10.5501 + rm -f conftest.er1
10.5502 + cat conftest.err >&5
10.5503 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5504 + (exit $ac_status); } && {
10.5505 + test -z "$ac_cxx_werror_flag" ||
10.5506 + test ! -s conftest.err
10.5507 + } && test -s conftest.$ac_objext; then
10.5508 + :
10.5509 +else
10.5510 + echo "$as_me: failed program was:" >&5
10.5511 +sed 's/^/| /' conftest.$ac_ext >&5
10.5512 +
10.5513 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10.5514 + CXXFLAGS="-g"
10.5515 + cat >conftest.$ac_ext <<_ACEOF
10.5516 +/* confdefs.h. */
10.5517 +_ACEOF
10.5518 +cat confdefs.h >>conftest.$ac_ext
10.5519 +cat >>conftest.$ac_ext <<_ACEOF
10.5520 +/* end confdefs.h. */
10.5521 +
10.5522 +int
10.5523 +main ()
10.5524 +{
10.5525 +
10.5526 + ;
10.5527 + return 0;
10.5528 +}
10.5529 +_ACEOF
10.5530 +rm -f conftest.$ac_objext
10.5531 +if { (ac_try="$ac_compile"
10.5532 +case "(($ac_try" in
10.5533 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5534 + *) ac_try_echo=$ac_try;;
10.5535 +esac
10.5536 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5537 + (eval "$ac_compile") 2>conftest.er1
10.5538 + ac_status=$?
10.5539 + grep -v '^ *+' conftest.er1 >conftest.err
10.5540 + rm -f conftest.er1
10.5541 + cat conftest.err >&5
10.5542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5543 + (exit $ac_status); } && {
10.5544 + test -z "$ac_cxx_werror_flag" ||
10.5545 + test ! -s conftest.err
10.5546 + } && test -s conftest.$ac_objext; then
10.5547 + ac_cv_prog_cxx_g=yes
10.5548 +else
10.5549 + echo "$as_me: failed program was:" >&5
10.5550 +sed 's/^/| /' conftest.$ac_ext >&5
10.5551 +
10.5552 +
10.5553 +fi
10.5554 +
10.5555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.5556 +fi
10.5557 +
10.5558 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.5559 +fi
10.5560 +
10.5561 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.5562 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10.5563 +fi
10.5564 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
10.5565 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
10.5566 +if test "$ac_test_CXXFLAGS" = set; then
10.5567 + CXXFLAGS=$ac_save_CXXFLAGS
10.5568 +elif test $ac_cv_prog_cxx_g = yes; then
10.5569 + if test "$GXX" = yes; then
10.5570 + CXXFLAGS="-g -O2"
10.5571 + else
10.5572 + CXXFLAGS="-g"
10.5573 + fi
10.5574 +else
10.5575 + if test "$GXX" = yes; then
10.5576 + CXXFLAGS="-O2"
10.5577 + else
10.5578 + CXXFLAGS=
10.5579 + fi
10.5580 +fi
10.5581 +ac_ext=cpp
10.5582 +ac_cpp='$CXXCPP $CPPFLAGS'
10.5583 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.5584 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.5585 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.5586 +
10.5587 +depcc="$CXX" am_compiler_list=
10.5588 +
10.5589 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10.5590 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10.5591 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
10.5592 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5593 +else
10.5594 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10.5595 + # We make a subdir and do the tests there. Otherwise we can end up
10.5596 + # making bogus files that we don't know about and never remove. For
10.5597 + # instance it was reported that on HP-UX the gcc test will end up
10.5598 + # making a dummy file named `D' -- because `-MD' means `put the output
10.5599 + # in D'.
10.5600 + mkdir conftest.dir
10.5601 + # Copy depcomp to subdir because otherwise we won't find it if we're
10.5602 + # using a relative directory.
10.5603 + cp "$am_depcomp" conftest.dir
10.5604 + cd conftest.dir
10.5605 + # We will build objects and dependencies in a subdirectory because
10.5606 + # it helps to detect inapplicable dependency modes. For instance
10.5607 + # both Tru64's cc and ICC support -MD to output dependencies as a
10.5608 + # side effect of compilation, but ICC will put the dependencies in
10.5609 + # the current directory while Tru64 will put them in the object
10.5610 + # directory.
10.5611 + mkdir sub
10.5612 +
10.5613 + am_cv_CXX_dependencies_compiler_type=none
10.5614 + if test "$am_compiler_list" = ""; then
10.5615 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10.5616 + fi
10.5617 + for depmode in $am_compiler_list; do
10.5618 + # Setup a source with many dependencies, because some compilers
10.5619 + # like to wrap large dependency lists on column 80 (with \), and
10.5620 + # we should not choose a depcomp mode which is confused by this.
10.5621 + #
10.5622 + # We need to recreate these files for each test, as the compiler may
10.5623 + # overwrite some of them when testing with obscure command lines.
10.5624 + # This happens at least with the AIX C compiler.
10.5625 + : > sub/conftest.c
10.5626 + for i in 1 2 3 4 5 6; do
10.5627 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
10.5628 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10.5629 + # Solaris 8's {/usr,}/bin/sh.
10.5630 + touch sub/conftst$i.h
10.5631 + done
10.5632 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10.5633 +
10.5634 + case $depmode in
10.5635 + nosideeffect)
10.5636 + # after this tag, mechanisms are not by side-effect, so they'll
10.5637 + # only be used when explicitly requested
10.5638 + if test "x$enable_dependency_tracking" = xyes; then
10.5639 + continue
10.5640 + else
10.5641 + break
10.5642 + fi
10.5643 + ;;
10.5644 + none) break ;;
10.5645 + esac
10.5646 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
10.5647 + # mode. It turns out that the SunPro C++ compiler does not properly
10.5648 + # handle `-M -o', and we need to detect this.
10.5649 + if depmode=$depmode \
10.5650 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10.5651 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10.5652 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10.5653 + >/dev/null 2>conftest.err &&
10.5654 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10.5655 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10.5656 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10.5657 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10.5658 + # icc doesn't choke on unknown options, it will just issue warnings
10.5659 + # or remarks (even with -Werror). So we grep stderr for any message
10.5660 + # that says an option was ignored or not supported.
10.5661 + # When given -MP, icc 7.0 and 7.1 complain thusly:
10.5662 + # icc: Command line warning: ignoring option '-M'; no argument required
10.5663 + # The diagnosis changed in icc 8.0:
10.5664 + # icc: Command line remark: option '-MP' not supported
10.5665 + if (grep 'ignoring option' conftest.err ||
10.5666 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10.5667 + am_cv_CXX_dependencies_compiler_type=$depmode
10.5668 + break
10.5669 + fi
10.5670 + fi
10.5671 + done
10.5672 +
10.5673 + cd ..
10.5674 + rm -rf conftest.dir
10.5675 +else
10.5676 + am_cv_CXX_dependencies_compiler_type=none
10.5677 +fi
10.5678 +
10.5679 +fi
10.5680 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
10.5681 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
10.5682 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10.5683 +
10.5684 + if
10.5685 + test "x$enable_dependency_tracking" != xno \
10.5686 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10.5687 + am__fastdepCXX_TRUE=
10.5688 + am__fastdepCXX_FALSE='#'
10.5689 +else
10.5690 + am__fastdepCXX_TRUE='#'
10.5691 + am__fastdepCXX_FALSE=
10.5692 +fi
10.5693 +
10.5694 +
10.5695 +ac_ext=cpp
10.5696 +ac_cpp='$CXXCPP $CPPFLAGS'
10.5697 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.5698 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.5699 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.5700 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10.5701 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
10.5702 +if test -z "$CXXCPP"; then
10.5703 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
10.5704 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5705 +else
10.5706 + # Double quotes because CXXCPP needs to be expanded
10.5707 + for CXXCPP in "$CXX -E" "/lib/cpp"
10.5708 + do
10.5709 + ac_preproc_ok=false
10.5710 +for ac_cxx_preproc_warn_flag in '' yes
10.5711 +do
10.5712 + # Use a header file that comes with gcc, so configuring glibc
10.5713 + # with a fresh cross-compiler works.
10.5714 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.5715 + # <limits.h> exists even on freestanding compilers.
10.5716 + # On the NeXT, cc -E runs the code through the compiler's parser,
10.5717 + # not just through cpp. "Syntax error" is here to catch this case.
10.5718 + cat >conftest.$ac_ext <<_ACEOF
10.5719 +/* confdefs.h. */
10.5720 +_ACEOF
10.5721 +cat confdefs.h >>conftest.$ac_ext
10.5722 +cat >>conftest.$ac_ext <<_ACEOF
10.5723 +/* end confdefs.h. */
10.5724 +@%:@ifdef __STDC__
10.5725 +@%:@ include <limits.h>
10.5726 +@%:@else
10.5727 +@%:@ include <assert.h>
10.5728 +@%:@endif
10.5729 + Syntax error
10.5730 +_ACEOF
10.5731 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.5732 +case "(($ac_try" in
10.5733 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5734 + *) ac_try_echo=$ac_try;;
10.5735 +esac
10.5736 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5737 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.5738 + ac_status=$?
10.5739 + grep -v '^ *+' conftest.er1 >conftest.err
10.5740 + rm -f conftest.er1
10.5741 + cat conftest.err >&5
10.5742 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5743 + (exit $ac_status); } >/dev/null && {
10.5744 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.5745 + test ! -s conftest.err
10.5746 + }; then
10.5747 + :
10.5748 +else
10.5749 + echo "$as_me: failed program was:" >&5
10.5750 +sed 's/^/| /' conftest.$ac_ext >&5
10.5751 +
10.5752 + # Broken: fails on valid input.
10.5753 +continue
10.5754 +fi
10.5755 +
10.5756 +rm -f conftest.err conftest.$ac_ext
10.5757 +
10.5758 + # OK, works on sane cases. Now check whether nonexistent headers
10.5759 + # can be detected and how.
10.5760 + cat >conftest.$ac_ext <<_ACEOF
10.5761 +/* confdefs.h. */
10.5762 +_ACEOF
10.5763 +cat confdefs.h >>conftest.$ac_ext
10.5764 +cat >>conftest.$ac_ext <<_ACEOF
10.5765 +/* end confdefs.h. */
10.5766 +@%:@include <ac_nonexistent.h>
10.5767 +_ACEOF
10.5768 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.5769 +case "(($ac_try" in
10.5770 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5771 + *) ac_try_echo=$ac_try;;
10.5772 +esac
10.5773 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5774 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.5775 + ac_status=$?
10.5776 + grep -v '^ *+' conftest.er1 >conftest.err
10.5777 + rm -f conftest.er1
10.5778 + cat conftest.err >&5
10.5779 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5780 + (exit $ac_status); } >/dev/null && {
10.5781 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.5782 + test ! -s conftest.err
10.5783 + }; then
10.5784 + # Broken: success on invalid input.
10.5785 +continue
10.5786 +else
10.5787 + echo "$as_me: failed program was:" >&5
10.5788 +sed 's/^/| /' conftest.$ac_ext >&5
10.5789 +
10.5790 + # Passes both tests.
10.5791 +ac_preproc_ok=:
10.5792 +break
10.5793 +fi
10.5794 +
10.5795 +rm -f conftest.err conftest.$ac_ext
10.5796 +
10.5797 +done
10.5798 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10.5799 +rm -f conftest.err conftest.$ac_ext
10.5800 +if $ac_preproc_ok; then
10.5801 + break
10.5802 +fi
10.5803 +
10.5804 + done
10.5805 + ac_cv_prog_CXXCPP=$CXXCPP
10.5806 +
10.5807 +fi
10.5808 + CXXCPP=$ac_cv_prog_CXXCPP
10.5809 +else
10.5810 + ac_cv_prog_CXXCPP=$CXXCPP
10.5811 +fi
10.5812 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
10.5813 +echo "${ECHO_T}$CXXCPP" >&6; }
10.5814 +ac_preproc_ok=false
10.5815 +for ac_cxx_preproc_warn_flag in '' yes
10.5816 +do
10.5817 + # Use a header file that comes with gcc, so configuring glibc
10.5818 + # with a fresh cross-compiler works.
10.5819 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.5820 + # <limits.h> exists even on freestanding compilers.
10.5821 + # On the NeXT, cc -E runs the code through the compiler's parser,
10.5822 + # not just through cpp. "Syntax error" is here to catch this case.
10.5823 + cat >conftest.$ac_ext <<_ACEOF
10.5824 +/* confdefs.h. */
10.5825 +_ACEOF
10.5826 +cat confdefs.h >>conftest.$ac_ext
10.5827 +cat >>conftest.$ac_ext <<_ACEOF
10.5828 +/* end confdefs.h. */
10.5829 +@%:@ifdef __STDC__
10.5830 +@%:@ include <limits.h>
10.5831 +@%:@else
10.5832 +@%:@ include <assert.h>
10.5833 +@%:@endif
10.5834 + Syntax error
10.5835 +_ACEOF
10.5836 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.5837 +case "(($ac_try" in
10.5838 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5839 + *) ac_try_echo=$ac_try;;
10.5840 +esac
10.5841 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5842 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.5843 + ac_status=$?
10.5844 + grep -v '^ *+' conftest.er1 >conftest.err
10.5845 + rm -f conftest.er1
10.5846 + cat conftest.err >&5
10.5847 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5848 + (exit $ac_status); } >/dev/null && {
10.5849 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.5850 + test ! -s conftest.err
10.5851 + }; then
10.5852 + :
10.5853 +else
10.5854 + echo "$as_me: failed program was:" >&5
10.5855 +sed 's/^/| /' conftest.$ac_ext >&5
10.5856 +
10.5857 + # Broken: fails on valid input.
10.5858 +continue
10.5859 +fi
10.5860 +
10.5861 +rm -f conftest.err conftest.$ac_ext
10.5862 +
10.5863 + # OK, works on sane cases. Now check whether nonexistent headers
10.5864 + # can be detected and how.
10.5865 + cat >conftest.$ac_ext <<_ACEOF
10.5866 +/* confdefs.h. */
10.5867 +_ACEOF
10.5868 +cat confdefs.h >>conftest.$ac_ext
10.5869 +cat >>conftest.$ac_ext <<_ACEOF
10.5870 +/* end confdefs.h. */
10.5871 +@%:@include <ac_nonexistent.h>
10.5872 +_ACEOF
10.5873 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.5874 +case "(($ac_try" in
10.5875 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.5876 + *) ac_try_echo=$ac_try;;
10.5877 +esac
10.5878 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.5879 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.5880 + ac_status=$?
10.5881 + grep -v '^ *+' conftest.er1 >conftest.err
10.5882 + rm -f conftest.er1
10.5883 + cat conftest.err >&5
10.5884 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.5885 + (exit $ac_status); } >/dev/null && {
10.5886 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.5887 + test ! -s conftest.err
10.5888 + }; then
10.5889 + # Broken: success on invalid input.
10.5890 +continue
10.5891 +else
10.5892 + echo "$as_me: failed program was:" >&5
10.5893 +sed 's/^/| /' conftest.$ac_ext >&5
10.5894 +
10.5895 + # Passes both tests.
10.5896 +ac_preproc_ok=:
10.5897 +break
10.5898 +fi
10.5899 +
10.5900 +rm -f conftest.err conftest.$ac_ext
10.5901 +
10.5902 +done
10.5903 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10.5904 +rm -f conftest.err conftest.$ac_ext
10.5905 +if $ac_preproc_ok; then
10.5906 + :
10.5907 +else
10.5908 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10.5909 +See \`config.log' for more details." >&5
10.5910 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10.5911 +See \`config.log' for more details." >&2;}
10.5912 + { (exit 1); exit 1; }; }
10.5913 +fi
10.5914 +
10.5915 +ac_ext=cpp
10.5916 +ac_cpp='$CXXCPP $CPPFLAGS'
10.5917 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.5918 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.5919 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.5920 +
10.5921 +
10.5922 +ac_ext=f
10.5923 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10.5924 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.5925 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
10.5926 +if test -n "$ac_tool_prefix"; then
10.5927 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
10.5928 + do
10.5929 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10.5930 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10.5931 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.5932 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.5933 +if test "${ac_cv_prog_F77+set}" = set; then
10.5934 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5935 +else
10.5936 + if test -n "$F77"; then
10.5937 + ac_cv_prog_F77="$F77" # Let the user override the test.
10.5938 +else
10.5939 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.5940 +for as_dir in $PATH
10.5941 +do
10.5942 + IFS=$as_save_IFS
10.5943 + test -z "$as_dir" && as_dir=.
10.5944 + for ac_exec_ext in '' $ac_executable_extensions; do
10.5945 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.5946 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
10.5947 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.5948 + break 2
10.5949 + fi
10.5950 +done
10.5951 +done
10.5952 +IFS=$as_save_IFS
10.5953 +
10.5954 +fi
10.5955 +fi
10.5956 +F77=$ac_cv_prog_F77
10.5957 +if test -n "$F77"; then
10.5958 + { echo "$as_me:$LINENO: result: $F77" >&5
10.5959 +echo "${ECHO_T}$F77" >&6; }
10.5960 +else
10.5961 + { echo "$as_me:$LINENO: result: no" >&5
10.5962 +echo "${ECHO_T}no" >&6; }
10.5963 +fi
10.5964 +
10.5965 +
10.5966 + test -n "$F77" && break
10.5967 + done
10.5968 +fi
10.5969 +if test -z "$F77"; then
10.5970 + ac_ct_F77=$F77
10.5971 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
10.5972 +do
10.5973 + # Extract the first word of "$ac_prog", so it can be a program name with args.
10.5974 +set dummy $ac_prog; ac_word=$2
10.5975 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.5976 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.5977 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10.5978 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.5979 +else
10.5980 + if test -n "$ac_ct_F77"; then
10.5981 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
10.5982 +else
10.5983 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.5984 +for as_dir in $PATH
10.5985 +do
10.5986 + IFS=$as_save_IFS
10.5987 + test -z "$as_dir" && as_dir=.
10.5988 + for ac_exec_ext in '' $ac_executable_extensions; do
10.5989 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.5990 + ac_cv_prog_ac_ct_F77="$ac_prog"
10.5991 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.5992 + break 2
10.5993 + fi
10.5994 +done
10.5995 +done
10.5996 +IFS=$as_save_IFS
10.5997 +
10.5998 +fi
10.5999 +fi
10.6000 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
10.6001 +if test -n "$ac_ct_F77"; then
10.6002 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
10.6003 +echo "${ECHO_T}$ac_ct_F77" >&6; }
10.6004 +else
10.6005 + { echo "$as_me:$LINENO: result: no" >&5
10.6006 +echo "${ECHO_T}no" >&6; }
10.6007 +fi
10.6008 +
10.6009 +
10.6010 + test -n "$ac_ct_F77" && break
10.6011 +done
10.6012 +
10.6013 + if test "x$ac_ct_F77" = x; then
10.6014 + F77=""
10.6015 + else
10.6016 + case $cross_compiling:$ac_tool_warned in
10.6017 +yes:)
10.6018 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.6019 +whose name does not start with the host triplet. If you think this
10.6020 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.6021 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.6022 +whose name does not start with the host triplet. If you think this
10.6023 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.6024 +ac_tool_warned=yes ;;
10.6025 +esac
10.6026 + F77=$ac_ct_F77
10.6027 + fi
10.6028 +fi
10.6029 +
10.6030 +
10.6031 +# Provide some information about the compiler.
10.6032 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
10.6033 +ac_compiler=`set X $ac_compile; echo $2`
10.6034 +{ (ac_try="$ac_compiler --version >&5"
10.6035 +case "(($ac_try" in
10.6036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.6037 + *) ac_try_echo=$ac_try;;
10.6038 +esac
10.6039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.6040 + (eval "$ac_compiler --version >&5") 2>&5
10.6041 + ac_status=$?
10.6042 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6043 + (exit $ac_status); }
10.6044 +{ (ac_try="$ac_compiler -v >&5"
10.6045 +case "(($ac_try" in
10.6046 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.6047 + *) ac_try_echo=$ac_try;;
10.6048 +esac
10.6049 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.6050 + (eval "$ac_compiler -v >&5") 2>&5
10.6051 + ac_status=$?
10.6052 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6053 + (exit $ac_status); }
10.6054 +{ (ac_try="$ac_compiler -V >&5"
10.6055 +case "(($ac_try" in
10.6056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.6057 + *) ac_try_echo=$ac_try;;
10.6058 +esac
10.6059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.6060 + (eval "$ac_compiler -V >&5") 2>&5
10.6061 + ac_status=$?
10.6062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6063 + (exit $ac_status); }
10.6064 +rm -f a.out
10.6065 +
10.6066 +# If we don't use `.F' as extension, the preprocessor is not run on the
10.6067 +# input file. (Note that this only needs to work for GNU compilers.)
10.6068 +ac_save_ext=$ac_ext
10.6069 +ac_ext=F
10.6070 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
10.6071 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
10.6072 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
10.6073 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6074 +else
10.6075 + cat >conftest.$ac_ext <<_ACEOF
10.6076 + program main
10.6077 +#ifndef __GNUC__
10.6078 + choke me
10.6079 +#endif
10.6080 +
10.6081 + end
10.6082 +_ACEOF
10.6083 +rm -f conftest.$ac_objext
10.6084 +if { (ac_try="$ac_compile"
10.6085 +case "(($ac_try" in
10.6086 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.6087 + *) ac_try_echo=$ac_try;;
10.6088 +esac
10.6089 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.6090 + (eval "$ac_compile") 2>conftest.er1
10.6091 + ac_status=$?
10.6092 + grep -v '^ *+' conftest.er1 >conftest.err
10.6093 + rm -f conftest.er1
10.6094 + cat conftest.err >&5
10.6095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6096 + (exit $ac_status); } && {
10.6097 + test -z "$ac_f77_werror_flag" ||
10.6098 + test ! -s conftest.err
10.6099 + } && test -s conftest.$ac_objext; then
10.6100 + ac_compiler_gnu=yes
10.6101 +else
10.6102 + echo "$as_me: failed program was:" >&5
10.6103 +sed 's/^/| /' conftest.$ac_ext >&5
10.6104 +
10.6105 + ac_compiler_gnu=no
10.6106 +fi
10.6107 +
10.6108 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.6109 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
10.6110 +
10.6111 +fi
10.6112 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
10.6113 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
10.6114 +ac_ext=$ac_save_ext
10.6115 +ac_test_FFLAGS=${FFLAGS+set}
10.6116 +ac_save_FFLAGS=$FFLAGS
10.6117 +FFLAGS=
10.6118 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
10.6119 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
10.6120 +if test "${ac_cv_prog_f77_g+set}" = set; then
10.6121 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6122 +else
10.6123 + FFLAGS=-g
10.6124 +cat >conftest.$ac_ext <<_ACEOF
10.6125 + program main
10.6126 +
10.6127 + end
10.6128 +_ACEOF
10.6129 +rm -f conftest.$ac_objext
10.6130 +if { (ac_try="$ac_compile"
10.6131 +case "(($ac_try" in
10.6132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.6133 + *) ac_try_echo=$ac_try;;
10.6134 +esac
10.6135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.6136 + (eval "$ac_compile") 2>conftest.er1
10.6137 + ac_status=$?
10.6138 + grep -v '^ *+' conftest.er1 >conftest.err
10.6139 + rm -f conftest.er1
10.6140 + cat conftest.err >&5
10.6141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6142 + (exit $ac_status); } && {
10.6143 + test -z "$ac_f77_werror_flag" ||
10.6144 + test ! -s conftest.err
10.6145 + } && test -s conftest.$ac_objext; then
10.6146 + ac_cv_prog_f77_g=yes
10.6147 +else
10.6148 + echo "$as_me: failed program was:" >&5
10.6149 +sed 's/^/| /' conftest.$ac_ext >&5
10.6150 +
10.6151 + ac_cv_prog_f77_g=no
10.6152 +fi
10.6153 +
10.6154 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.6155 +
10.6156 +fi
10.6157 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
10.6158 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
10.6159 +if test "$ac_test_FFLAGS" = set; then
10.6160 + FFLAGS=$ac_save_FFLAGS
10.6161 +elif test $ac_cv_prog_f77_g = yes; then
10.6162 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
10.6163 + FFLAGS="-g -O2"
10.6164 + else
10.6165 + FFLAGS="-g"
10.6166 + fi
10.6167 +else
10.6168 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
10.6169 + FFLAGS="-O2"
10.6170 + else
10.6171 + FFLAGS=
10.6172 + fi
10.6173 +fi
10.6174 +
10.6175 +G77=`test $ac_compiler_gnu = yes && echo yes`
10.6176 +ac_ext=c
10.6177 +ac_cpp='$CPP $CPPFLAGS'
10.6178 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.6179 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.6180 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.6181 +
10.6182 +
10.6183 +
10.6184 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
10.6185 +
10.6186 +# find the maximum length of command line arguments
10.6187 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
10.6188 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
10.6189 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
10.6190 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6191 +else
10.6192 + i=0
10.6193 + teststring="ABCD"
10.6194 +
10.6195 + case $build_os in
10.6196 + msdosdjgpp*)
10.6197 + # On DJGPP, this test can blow up pretty badly due to problems in libc
10.6198 + # (any single argument exceeding 2000 bytes causes a buffer overrun
10.6199 + # during glob expansion). Even if it were fixed, the result of this
10.6200 + # check would be larger than it should be.
10.6201 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
10.6202 + ;;
10.6203 +
10.6204 + gnu*)
10.6205 + # Under GNU Hurd, this test is not required because there is
10.6206 + # no limit to the length of command line arguments.
10.6207 + # Libtool will interpret -1 as no limit whatsoever
10.6208 + lt_cv_sys_max_cmd_len=-1;
10.6209 + ;;
10.6210 +
10.6211 + cygwin* | mingw*)
10.6212 + # On Win9x/ME, this test blows up -- it succeeds, but takes
10.6213 + # about 5 minutes as the teststring grows exponentially.
10.6214 + # Worse, since 9x/ME are not pre-emptively multitasking,
10.6215 + # you end up with a "frozen" computer, even though with patience
10.6216 + # the test eventually succeeds (with a max line length of 256k).
10.6217 + # Instead, let's just punt: use the minimum linelength reported by
10.6218 + # all of the supported platforms: 8192 (on NT/2K/XP).
10.6219 + lt_cv_sys_max_cmd_len=8192;
10.6220 + ;;
10.6221 +
10.6222 + amigaos*)
10.6223 + # On AmigaOS with pdksh, this test takes hours, literally.
10.6224 + # So we just punt and use a minimum line length of 8192.
10.6225 + lt_cv_sys_max_cmd_len=8192;
10.6226 + ;;
10.6227 +
10.6228 + *)
10.6229 + # If test is not a shell built-in, we'll probably end up computing a
10.6230 + # maximum length that is only half of the actual maximum length, but
10.6231 + # we can't tell.
10.6232 + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
10.6233 + = "XX$teststring") >/dev/null 2>&1 &&
10.6234 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
10.6235 + lt_cv_sys_max_cmd_len=$new_result &&
10.6236 + test $i != 17 # 1/2 MB should be enough
10.6237 + do
10.6238 + i=`expr $i + 1`
10.6239 + teststring=$teststring$teststring
10.6240 + done
10.6241 + teststring=
10.6242 + # Add a significant safety factor because C++ compilers can tack on massive
10.6243 + # amounts of additional arguments before passing them to the linker.
10.6244 + # It appears as though 1/2 is a usable value.
10.6245 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
10.6246 + ;;
10.6247 + esac
10.6248 +
10.6249 +fi
10.6250 +
10.6251 +if test -n $lt_cv_sys_max_cmd_len ; then
10.6252 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
10.6253 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
10.6254 +else
10.6255 + { echo "$as_me:$LINENO: result: none" >&5
10.6256 +echo "${ECHO_T}none" >&6; }
10.6257 +fi
10.6258 +
10.6259 +
10.6260 +
10.6261 +
10.6262 +# Check for command to grab the raw symbol name followed by C symbol from nm.
10.6263 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10.6264 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
10.6265 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10.6266 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6267 +else
10.6268 +
10.6269 +# These are sane defaults that work on at least a few old systems.
10.6270 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
10.6271 +
10.6272 +# Character class describing NM global symbol codes.
10.6273 +symcode='[BCDEGRST]'
10.6274 +
10.6275 +# Regexp to match symbols that can be accessed directly from C.
10.6276 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10.6277 +
10.6278 +# Transform the above into a raw symbol and a C symbol.
10.6279 +symxfrm='\1 \2\3 \3'
10.6280 +
10.6281 +# Transform an extracted symbol line into a proper C declaration
10.6282 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10.6283 +
10.6284 +# Transform an extracted symbol line into symbol name and symbol address
10.6285 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10.6286 +
10.6287 +# Define system-specific variables.
10.6288 +case $host_os in
10.6289 +aix*)
10.6290 + symcode='[BCDT]'
10.6291 + ;;
10.6292 +cygwin* | mingw* | pw32*)
10.6293 + symcode='[ABCDGISTW]'
10.6294 + ;;
10.6295 +hpux*) # Its linker distinguishes data from code symbols
10.6296 + if test "$host_cpu" = ia64; then
10.6297 + symcode='[ABCDEGRST]'
10.6298 + fi
10.6299 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10.6300 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
10.6301 + ;;
10.6302 +irix* | nonstopux*)
10.6303 + symcode='[BCDEGRST]'
10.6304 + ;;
10.6305 +osf*)
10.6306 + symcode='[BCDEGQRST]'
10.6307 + ;;
10.6308 +solaris* | sysv5*)
10.6309 + symcode='[BDRT]'
10.6310 + ;;
10.6311 +sysv4)
10.6312 + symcode='[DFNSTU]'
10.6313 + ;;
10.6314 +esac
10.6315 +
10.6316 +# Handle CRLF in mingw tool chain
10.6317 +opt_cr=
10.6318 +case $build_os in
10.6319 +mingw*)
10.6320 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10.6321 + ;;
10.6322 +esac
10.6323 +
10.6324 +# If we're using GNU nm, then use its standard symbol codes.
10.6325 +case `$NM -V 2>&1` in
10.6326 +*GNU* | *'with BFD'*)
10.6327 + symcode='[ABCDGIRSTW]' ;;
10.6328 +esac
10.6329 +
10.6330 +# Try without a prefix undercore, then with it.
10.6331 +for ac_symprfx in "" "_"; do
10.6332 +
10.6333 + # Write the raw and C identifiers.
10.6334 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
10.6335 +
10.6336 + # Check to see that the pipe works correctly.
10.6337 + pipe_works=no
10.6338 +
10.6339 + rm -f conftest*
10.6340 + cat > conftest.$ac_ext <<EOF
10.6341 +#ifdef __cplusplus
10.6342 +extern "C" {
10.6343 +#endif
10.6344 +char nm_test_var;
10.6345 +void nm_test_func(){}
10.6346 +#ifdef __cplusplus
10.6347 +}
10.6348 +#endif
10.6349 +int main(){nm_test_var='a';nm_test_func();return(0);}
10.6350 +EOF
10.6351 +
10.6352 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.6353 + (eval $ac_compile) 2>&5
10.6354 + ac_status=$?
10.6355 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6356 + (exit $ac_status); }; then
10.6357 + # Now try to grab the symbols.
10.6358 + nlist=conftest.nm
10.6359 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10.6360 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10.6361 + ac_status=$?
10.6362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6363 + (exit $ac_status); } && test -s "$nlist"; then
10.6364 + # Try sorting and uniquifying the output.
10.6365 + if sort "$nlist" | uniq > "$nlist"T; then
10.6366 + mv -f "$nlist"T "$nlist"
10.6367 + else
10.6368 + rm -f "$nlist"T
10.6369 + fi
10.6370 +
10.6371 + # Make sure that we snagged all the symbols we need.
10.6372 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
10.6373 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
10.6374 + cat <<EOF > conftest.$ac_ext
10.6375 +#ifdef __cplusplus
10.6376 +extern "C" {
10.6377 +#endif
10.6378 +
10.6379 +EOF
10.6380 + # Now generate the symbol file.
10.6381 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10.6382 +
10.6383 + cat <<EOF >> conftest.$ac_ext
10.6384 +#if defined (__STDC__) && __STDC__
10.6385 +# define lt_ptr_t void *
10.6386 +#else
10.6387 +# define lt_ptr_t char *
10.6388 +# define const
10.6389 +#endif
10.6390 +
10.6391 +/* The mapping between symbol names and symbols. */
10.6392 +const struct {
10.6393 + const char *name;
10.6394 + lt_ptr_t address;
10.6395 +}
10.6396 +lt_preloaded_symbols[] =
10.6397 +{
10.6398 +EOF
10.6399 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
10.6400 + cat <<\EOF >> conftest.$ac_ext
10.6401 + {0, (lt_ptr_t) 0}
10.6402 +};
10.6403 +
10.6404 +#ifdef __cplusplus
10.6405 +}
10.6406 +#endif
10.6407 +EOF
10.6408 + # Now try linking the two files.
10.6409 + mv conftest.$ac_objext conftstm.$ac_objext
10.6410 + lt_save_LIBS="$LIBS"
10.6411 + lt_save_CFLAGS="$CFLAGS"
10.6412 + LIBS="conftstm.$ac_objext"
10.6413 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10.6414 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.6415 + (eval $ac_link) 2>&5
10.6416 + ac_status=$?
10.6417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.6418 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
10.6419 + pipe_works=yes
10.6420 + fi
10.6421 + LIBS="$lt_save_LIBS"
10.6422 + CFLAGS="$lt_save_CFLAGS"
10.6423 + else
10.6424 + echo "cannot find nm_test_func in $nlist" >&5
10.6425 + fi
10.6426 + else
10.6427 + echo "cannot find nm_test_var in $nlist" >&5
10.6428 + fi
10.6429 + else
10.6430 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10.6431 + fi
10.6432 + else
10.6433 + echo "$progname: failed program was:" >&5
10.6434 + cat conftest.$ac_ext >&5
10.6435 + fi
10.6436 + rm -f conftest* conftst*
10.6437 +
10.6438 + # Do not use the global_symbol_pipe unless it works.
10.6439 + if test "$pipe_works" = yes; then
10.6440 + break
10.6441 + else
10.6442 + lt_cv_sys_global_symbol_pipe=
10.6443 + fi
10.6444 +done
10.6445 +
10.6446 +fi
10.6447 +
10.6448 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
10.6449 + lt_cv_sys_global_symbol_to_cdecl=
10.6450 +fi
10.6451 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10.6452 + { echo "$as_me:$LINENO: result: failed" >&5
10.6453 +echo "${ECHO_T}failed" >&6; }
10.6454 +else
10.6455 + { echo "$as_me:$LINENO: result: ok" >&5
10.6456 +echo "${ECHO_T}ok" >&6; }
10.6457 +fi
10.6458 +
10.6459 +{ echo "$as_me:$LINENO: checking for objdir" >&5
10.6460 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
10.6461 +if test "${lt_cv_objdir+set}" = set; then
10.6462 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6463 +else
10.6464 + rm -f .libs 2>/dev/null
10.6465 +mkdir .libs 2>/dev/null
10.6466 +if test -d .libs; then
10.6467 + lt_cv_objdir=.libs
10.6468 +else
10.6469 + # MS-DOS does not allow filenames that begin with a dot.
10.6470 + lt_cv_objdir=_libs
10.6471 +fi
10.6472 +rmdir .libs 2>/dev/null
10.6473 +fi
10.6474 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10.6475 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
10.6476 +objdir=$lt_cv_objdir
10.6477 +
10.6478 +
10.6479 +
10.6480 +
10.6481 +
10.6482 +case $host_os in
10.6483 +aix3*)
10.6484 + # AIX sometimes has problems with the GCC collect2 program. For some
10.6485 + # reason, if we set the COLLECT_NAMES environment variable, the problems
10.6486 + # vanish in a puff of smoke.
10.6487 + if test "X${COLLECT_NAMES+set}" != Xset; then
10.6488 + COLLECT_NAMES=
10.6489 + export COLLECT_NAMES
10.6490 + fi
10.6491 + ;;
10.6492 +esac
10.6493 +
10.6494 +# Sed substitution that helps us do robust quoting. It backslashifies
10.6495 +# metacharacters that are still active within double-quoted strings.
10.6496 +Xsed='sed -e s/^X//'
10.6497 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
10.6498 +
10.6499 +# Same as above, but do not quote variable references.
10.6500 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
10.6501 +
10.6502 +# Sed substitution to delay expansion of an escaped shell variable in a
10.6503 +# double_quote_subst'ed string.
10.6504 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10.6505 +
10.6506 +# Sed substitution to avoid accidental globbing in evaled expressions
10.6507 +no_glob_subst='s/\*/\\\*/g'
10.6508 +
10.6509 +# Constants:
10.6510 +rm="rm -f"
10.6511 +
10.6512 +# Global variables:
10.6513 +default_ofile=libtool
10.6514 +can_build_shared=yes
10.6515 +
10.6516 +# All known linkers require a `.a' archive for static linking (except M$VC,
10.6517 +# which needs '.lib').
10.6518 +libext=a
10.6519 +ltmain="$ac_aux_dir/ltmain.sh"
10.6520 +ofile="$default_ofile"
10.6521 +with_gnu_ld="$lt_cv_prog_gnu_ld"
10.6522 +
10.6523 +if test -n "$ac_tool_prefix"; then
10.6524 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10.6525 +set dummy ${ac_tool_prefix}ar; ac_word=$2
10.6526 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.6527 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.6528 +if test "${ac_cv_prog_AR+set}" = set; then
10.6529 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6530 +else
10.6531 + if test -n "$AR"; then
10.6532 + ac_cv_prog_AR="$AR" # Let the user override the test.
10.6533 +else
10.6534 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.6535 +for as_dir in $PATH
10.6536 +do
10.6537 + IFS=$as_save_IFS
10.6538 + test -z "$as_dir" && as_dir=.
10.6539 + for ac_exec_ext in '' $ac_executable_extensions; do
10.6540 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.6541 + ac_cv_prog_AR="${ac_tool_prefix}ar"
10.6542 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.6543 + break 2
10.6544 + fi
10.6545 +done
10.6546 +done
10.6547 +IFS=$as_save_IFS
10.6548 +
10.6549 +fi
10.6550 +fi
10.6551 +AR=$ac_cv_prog_AR
10.6552 +if test -n "$AR"; then
10.6553 + { echo "$as_me:$LINENO: result: $AR" >&5
10.6554 +echo "${ECHO_T}$AR" >&6; }
10.6555 +else
10.6556 + { echo "$as_me:$LINENO: result: no" >&5
10.6557 +echo "${ECHO_T}no" >&6; }
10.6558 +fi
10.6559 +
10.6560 +
10.6561 +fi
10.6562 +if test -z "$ac_cv_prog_AR"; then
10.6563 + ac_ct_AR=$AR
10.6564 + # Extract the first word of "ar", so it can be a program name with args.
10.6565 +set dummy ar; ac_word=$2
10.6566 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.6567 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.6568 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
10.6569 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6570 +else
10.6571 + if test -n "$ac_ct_AR"; then
10.6572 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10.6573 +else
10.6574 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.6575 +for as_dir in $PATH
10.6576 +do
10.6577 + IFS=$as_save_IFS
10.6578 + test -z "$as_dir" && as_dir=.
10.6579 + for ac_exec_ext in '' $ac_executable_extensions; do
10.6580 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.6581 + ac_cv_prog_ac_ct_AR="ar"
10.6582 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.6583 + break 2
10.6584 + fi
10.6585 +done
10.6586 +done
10.6587 +IFS=$as_save_IFS
10.6588 +
10.6589 +fi
10.6590 +fi
10.6591 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
10.6592 +if test -n "$ac_ct_AR"; then
10.6593 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
10.6594 +echo "${ECHO_T}$ac_ct_AR" >&6; }
10.6595 +else
10.6596 + { echo "$as_me:$LINENO: result: no" >&5
10.6597 +echo "${ECHO_T}no" >&6; }
10.6598 +fi
10.6599 +
10.6600 + if test "x$ac_ct_AR" = x; then
10.6601 + AR="false"
10.6602 + else
10.6603 + case $cross_compiling:$ac_tool_warned in
10.6604 +yes:)
10.6605 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.6606 +whose name does not start with the host triplet. If you think this
10.6607 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.6608 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.6609 +whose name does not start with the host triplet. If you think this
10.6610 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.6611 +ac_tool_warned=yes ;;
10.6612 +esac
10.6613 + AR=$ac_ct_AR
10.6614 + fi
10.6615 +else
10.6616 + AR="$ac_cv_prog_AR"
10.6617 +fi
10.6618 +
10.6619 +if test -n "$ac_tool_prefix"; then
10.6620 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10.6621 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10.6622 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.6623 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.6624 +if test "${ac_cv_prog_RANLIB+set}" = set; then
10.6625 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6626 +else
10.6627 + if test -n "$RANLIB"; then
10.6628 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10.6629 +else
10.6630 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.6631 +for as_dir in $PATH
10.6632 +do
10.6633 + IFS=$as_save_IFS
10.6634 + test -z "$as_dir" && as_dir=.
10.6635 + for ac_exec_ext in '' $ac_executable_extensions; do
10.6636 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.6637 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10.6638 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.6639 + break 2
10.6640 + fi
10.6641 +done
10.6642 +done
10.6643 +IFS=$as_save_IFS
10.6644 +
10.6645 +fi
10.6646 +fi
10.6647 +RANLIB=$ac_cv_prog_RANLIB
10.6648 +if test -n "$RANLIB"; then
10.6649 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
10.6650 +echo "${ECHO_T}$RANLIB" >&6; }
10.6651 +else
10.6652 + { echo "$as_me:$LINENO: result: no" >&5
10.6653 +echo "${ECHO_T}no" >&6; }
10.6654 +fi
10.6655 +
10.6656 +
10.6657 +fi
10.6658 +if test -z "$ac_cv_prog_RANLIB"; then
10.6659 + ac_ct_RANLIB=$RANLIB
10.6660 + # Extract the first word of "ranlib", so it can be a program name with args.
10.6661 +set dummy ranlib; ac_word=$2
10.6662 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.6663 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.6664 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10.6665 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6666 +else
10.6667 + if test -n "$ac_ct_RANLIB"; then
10.6668 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10.6669 +else
10.6670 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.6671 +for as_dir in $PATH
10.6672 +do
10.6673 + IFS=$as_save_IFS
10.6674 + test -z "$as_dir" && as_dir=.
10.6675 + for ac_exec_ext in '' $ac_executable_extensions; do
10.6676 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.6677 + ac_cv_prog_ac_ct_RANLIB="ranlib"
10.6678 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.6679 + break 2
10.6680 + fi
10.6681 +done
10.6682 +done
10.6683 +IFS=$as_save_IFS
10.6684 +
10.6685 +fi
10.6686 +fi
10.6687 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10.6688 +if test -n "$ac_ct_RANLIB"; then
10.6689 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10.6690 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
10.6691 +else
10.6692 + { echo "$as_me:$LINENO: result: no" >&5
10.6693 +echo "${ECHO_T}no" >&6; }
10.6694 +fi
10.6695 +
10.6696 + if test "x$ac_ct_RANLIB" = x; then
10.6697 + RANLIB=":"
10.6698 + else
10.6699 + case $cross_compiling:$ac_tool_warned in
10.6700 +yes:)
10.6701 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.6702 +whose name does not start with the host triplet. If you think this
10.6703 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.6704 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.6705 +whose name does not start with the host triplet. If you think this
10.6706 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.6707 +ac_tool_warned=yes ;;
10.6708 +esac
10.6709 + RANLIB=$ac_ct_RANLIB
10.6710 + fi
10.6711 +else
10.6712 + RANLIB="$ac_cv_prog_RANLIB"
10.6713 +fi
10.6714 +
10.6715 +if test -n "$ac_tool_prefix"; then
10.6716 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10.6717 +set dummy ${ac_tool_prefix}strip; ac_word=$2
10.6718 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.6719 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.6720 +if test "${ac_cv_prog_STRIP+set}" = set; then
10.6721 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6722 +else
10.6723 + if test -n "$STRIP"; then
10.6724 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10.6725 +else
10.6726 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.6727 +for as_dir in $PATH
10.6728 +do
10.6729 + IFS=$as_save_IFS
10.6730 + test -z "$as_dir" && as_dir=.
10.6731 + for ac_exec_ext in '' $ac_executable_extensions; do
10.6732 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.6733 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10.6734 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.6735 + break 2
10.6736 + fi
10.6737 +done
10.6738 +done
10.6739 +IFS=$as_save_IFS
10.6740 +
10.6741 +fi
10.6742 +fi
10.6743 +STRIP=$ac_cv_prog_STRIP
10.6744 +if test -n "$STRIP"; then
10.6745 + { echo "$as_me:$LINENO: result: $STRIP" >&5
10.6746 +echo "${ECHO_T}$STRIP" >&6; }
10.6747 +else
10.6748 + { echo "$as_me:$LINENO: result: no" >&5
10.6749 +echo "${ECHO_T}no" >&6; }
10.6750 +fi
10.6751 +
10.6752 +
10.6753 +fi
10.6754 +if test -z "$ac_cv_prog_STRIP"; then
10.6755 + ac_ct_STRIP=$STRIP
10.6756 + # Extract the first word of "strip", so it can be a program name with args.
10.6757 +set dummy strip; ac_word=$2
10.6758 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.6759 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.6760 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10.6761 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6762 +else
10.6763 + if test -n "$ac_ct_STRIP"; then
10.6764 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10.6765 +else
10.6766 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.6767 +for as_dir in $PATH
10.6768 +do
10.6769 + IFS=$as_save_IFS
10.6770 + test -z "$as_dir" && as_dir=.
10.6771 + for ac_exec_ext in '' $ac_executable_extensions; do
10.6772 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.6773 + ac_cv_prog_ac_ct_STRIP="strip"
10.6774 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.6775 + break 2
10.6776 + fi
10.6777 +done
10.6778 +done
10.6779 +IFS=$as_save_IFS
10.6780 +
10.6781 +fi
10.6782 +fi
10.6783 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10.6784 +if test -n "$ac_ct_STRIP"; then
10.6785 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10.6786 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
10.6787 +else
10.6788 + { echo "$as_me:$LINENO: result: no" >&5
10.6789 +echo "${ECHO_T}no" >&6; }
10.6790 +fi
10.6791 +
10.6792 + if test "x$ac_ct_STRIP" = x; then
10.6793 + STRIP=":"
10.6794 + else
10.6795 + case $cross_compiling:$ac_tool_warned in
10.6796 +yes:)
10.6797 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.6798 +whose name does not start with the host triplet. If you think this
10.6799 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.6800 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.6801 +whose name does not start with the host triplet. If you think this
10.6802 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.6803 +ac_tool_warned=yes ;;
10.6804 +esac
10.6805 + STRIP=$ac_ct_STRIP
10.6806 + fi
10.6807 +else
10.6808 + STRIP="$ac_cv_prog_STRIP"
10.6809 +fi
10.6810 +
10.6811 +
10.6812 +old_CC="$CC"
10.6813 +old_CFLAGS="$CFLAGS"
10.6814 +
10.6815 +# Set sane defaults for various variables
10.6816 +test -z "$AR" && AR=ar
10.6817 +test -z "$AR_FLAGS" && AR_FLAGS=cru
10.6818 +test -z "$AS" && AS=as
10.6819 +test -z "$CC" && CC=cc
10.6820 +test -z "$LTCC" && LTCC=$CC
10.6821 +test -z "$DLLTOOL" && DLLTOOL=dlltool
10.6822 +test -z "$LD" && LD=ld
10.6823 +test -z "$LN_S" && LN_S="ln -s"
10.6824 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
10.6825 +test -z "$NM" && NM=nm
10.6826 +test -z "$SED" && SED=sed
10.6827 +test -z "$OBJDUMP" && OBJDUMP=objdump
10.6828 +test -z "$RANLIB" && RANLIB=:
10.6829 +test -z "$STRIP" && STRIP=:
10.6830 +test -z "$ac_objext" && ac_objext=o
10.6831 +
10.6832 +# Determine commands to create old-style static archives.
10.6833 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
10.6834 +old_postinstall_cmds='chmod 644 $oldlib'
10.6835 +old_postuninstall_cmds=
10.6836 +
10.6837 +if test -n "$RANLIB"; then
10.6838 + case $host_os in
10.6839 + openbsd*)
10.6840 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
10.6841 + ;;
10.6842 + *)
10.6843 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
10.6844 + ;;
10.6845 + esac
10.6846 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10.6847 +fi
10.6848 +
10.6849 +# Only perform the check for file, if the check method requires it
10.6850 +case $deplibs_check_method in
10.6851 +file_magic*)
10.6852 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10.6853 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10.6854 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
10.6855 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10.6856 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6857 +else
10.6858 + case $MAGIC_CMD in
10.6859 +[\\/*] | ?:[\\/]*)
10.6860 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10.6861 + ;;
10.6862 +*)
10.6863 + lt_save_MAGIC_CMD="$MAGIC_CMD"
10.6864 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10.6865 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10.6866 + for ac_dir in $ac_dummy; do
10.6867 + IFS="$lt_save_ifs"
10.6868 + test -z "$ac_dir" && ac_dir=.
10.6869 + if test -f $ac_dir/${ac_tool_prefix}file; then
10.6870 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10.6871 + if test -n "$file_magic_test_file"; then
10.6872 + case $deplibs_check_method in
10.6873 + "file_magic "*)
10.6874 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
10.6875 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10.6876 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10.6877 + $EGREP "$file_magic_regex" > /dev/null; then
10.6878 + :
10.6879 + else
10.6880 + cat <<EOF 1>&2
10.6881 +
10.6882 +*** Warning: the command libtool uses to detect shared libraries,
10.6883 +*** $file_magic_cmd, produces output that libtool cannot recognize.
10.6884 +*** The result is that libtool may fail to recognize shared libraries
10.6885 +*** as such. This will affect the creation of libtool libraries that
10.6886 +*** depend on shared libraries, but programs linked with such libtool
10.6887 +*** libraries will work regardless of this problem. Nevertheless, you
10.6888 +*** may want to report the problem to your system manager and/or to
10.6889 +*** bug-libtool@gnu.org
10.6890 +
10.6891 +EOF
10.6892 + fi ;;
10.6893 + esac
10.6894 + fi
10.6895 + break
10.6896 + fi
10.6897 + done
10.6898 + IFS="$lt_save_ifs"
10.6899 + MAGIC_CMD="$lt_save_MAGIC_CMD"
10.6900 + ;;
10.6901 +esac
10.6902 +fi
10.6903 +
10.6904 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10.6905 +if test -n "$MAGIC_CMD"; then
10.6906 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10.6907 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
10.6908 +else
10.6909 + { echo "$as_me:$LINENO: result: no" >&5
10.6910 +echo "${ECHO_T}no" >&6; }
10.6911 +fi
10.6912 +
10.6913 +if test -z "$lt_cv_path_MAGIC_CMD"; then
10.6914 + if test -n "$ac_tool_prefix"; then
10.6915 + { echo "$as_me:$LINENO: checking for file" >&5
10.6916 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
10.6917 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10.6918 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.6919 +else
10.6920 + case $MAGIC_CMD in
10.6921 +[\\/*] | ?:[\\/]*)
10.6922 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10.6923 + ;;
10.6924 +*)
10.6925 + lt_save_MAGIC_CMD="$MAGIC_CMD"
10.6926 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10.6927 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10.6928 + for ac_dir in $ac_dummy; do
10.6929 + IFS="$lt_save_ifs"
10.6930 + test -z "$ac_dir" && ac_dir=.
10.6931 + if test -f $ac_dir/file; then
10.6932 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
10.6933 + if test -n "$file_magic_test_file"; then
10.6934 + case $deplibs_check_method in
10.6935 + "file_magic "*)
10.6936 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
10.6937 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10.6938 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10.6939 + $EGREP "$file_magic_regex" > /dev/null; then
10.6940 + :
10.6941 + else
10.6942 + cat <<EOF 1>&2
10.6943 +
10.6944 +*** Warning: the command libtool uses to detect shared libraries,
10.6945 +*** $file_magic_cmd, produces output that libtool cannot recognize.
10.6946 +*** The result is that libtool may fail to recognize shared libraries
10.6947 +*** as such. This will affect the creation of libtool libraries that
10.6948 +*** depend on shared libraries, but programs linked with such libtool
10.6949 +*** libraries will work regardless of this problem. Nevertheless, you
10.6950 +*** may want to report the problem to your system manager and/or to
10.6951 +*** bug-libtool@gnu.org
10.6952 +
10.6953 +EOF
10.6954 + fi ;;
10.6955 + esac
10.6956 + fi
10.6957 + break
10.6958 + fi
10.6959 + done
10.6960 + IFS="$lt_save_ifs"
10.6961 + MAGIC_CMD="$lt_save_MAGIC_CMD"
10.6962 + ;;
10.6963 +esac
10.6964 +fi
10.6965 +
10.6966 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10.6967 +if test -n "$MAGIC_CMD"; then
10.6968 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10.6969 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
10.6970 +else
10.6971 + { echo "$as_me:$LINENO: result: no" >&5
10.6972 +echo "${ECHO_T}no" >&6; }
10.6973 +fi
10.6974 +
10.6975 + else
10.6976 + MAGIC_CMD=:
10.6977 + fi
10.6978 +fi
10.6979 +
10.6980 + fi
10.6981 + ;;
10.6982 +esac
10.6983 +
10.6984 +enable_dlopen=no
10.6985 +enable_win32_dll=no
10.6986 +
10.6987 +# Check whether --enable-libtool-lock was given.
10.6988 +if test "${enable_libtool_lock+set}" = set; then
10.6989 + enableval=$enable_libtool_lock;
10.6990 +fi
10.6991 +
10.6992 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10.6993 +
10.6994 +
10.6995 +# Check whether --with-pic was given.
10.6996 +if test "${with_pic+set}" = set; then
10.6997 + withval=$with_pic; pic_mode="$withval"
10.6998 +else
10.6999 + pic_mode=default
10.7000 +fi
10.7001 +
10.7002 +test -z "$pic_mode" && pic_mode=default
10.7003 +
10.7004 +# Use C for the default configuration in the libtool script
10.7005 +tagname=
10.7006 +lt_save_CC="$CC"
10.7007 +ac_ext=c
10.7008 +ac_cpp='$CPP $CPPFLAGS'
10.7009 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.7010 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.7011 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.7012 +
10.7013 +
10.7014 +# Source file extension for C test sources.
10.7015 +ac_ext=c
10.7016 +
10.7017 +# Object file extension for compiled C test sources.
10.7018 +objext=o
10.7019 +objext=$objext
10.7020 +
10.7021 +# Code to be used in simple compile tests
10.7022 +lt_simple_compile_test_code="int some_variable = 0;\n"
10.7023 +
10.7024 +# Code to be used in simple link tests
10.7025 +lt_simple_link_test_code='int main(){return(0);}\n'
10.7026 +
10.7027 +
10.7028 +# If no C compiler was specified, use CC.
10.7029 +LTCC=${LTCC-"$CC"}
10.7030 +
10.7031 +# Allow CC to be a program name with arguments.
10.7032 +compiler=$CC
10.7033 +
10.7034 +
10.7035 +#
10.7036 +# Check for any special shared library compilation flags.
10.7037 +#
10.7038 +lt_prog_cc_shlib=
10.7039 +if test "$GCC" = no; then
10.7040 + case $host_os in
10.7041 + sco3.2v5*)
10.7042 + lt_prog_cc_shlib='-belf'
10.7043 + ;;
10.7044 + esac
10.7045 +fi
10.7046 +if test -n "$lt_prog_cc_shlib"; then
10.7047 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10.7048 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10.7049 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
10.7050 + else
10.7051 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10.7052 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10.7053 + lt_cv_prog_cc_can_build_shared=no
10.7054 + fi
10.7055 +fi
10.7056 +
10.7057 +
10.7058 +#
10.7059 +# Check to make sure the static flag actually works.
10.7060 +#
10.7061 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10.7062 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
10.7063 +if test "${lt_prog_compiler_static_works+set}" = set; then
10.7064 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.7065 +else
10.7066 + lt_prog_compiler_static_works=no
10.7067 + save_LDFLAGS="$LDFLAGS"
10.7068 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10.7069 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
10.7070 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10.7071 + # The compiler can only warn and ignore the option if not recognized
10.7072 + # So say no if there are warnings
10.7073 + if test -s conftest.err; then
10.7074 + # Append any errors to the config.log.
10.7075 + cat conftest.err 1>&5
10.7076 + else
10.7077 + lt_prog_compiler_static_works=yes
10.7078 + fi
10.7079 + fi
10.7080 + $rm conftest*
10.7081 + LDFLAGS="$save_LDFLAGS"
10.7082 +
10.7083 +fi
10.7084 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10.7085 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10.7086 +
10.7087 +if test x"$lt_prog_compiler_static_works" = xyes; then
10.7088 + :
10.7089 +else
10.7090 + lt_prog_compiler_static=
10.7091 +fi
10.7092 +
10.7093 +
10.7094 +
10.7095 +## CAVEAT EMPTOR:
10.7096 +## There is no encapsulation within the following macros, do not change
10.7097 +## the running order or otherwise move them around unless you know exactly
10.7098 +## what you are doing...
10.7099 +
10.7100 +lt_prog_compiler_no_builtin_flag=
10.7101 +
10.7102 +if test "$GCC" = yes; then
10.7103 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10.7104 +
10.7105 +
10.7106 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10.7107 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10.7108 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10.7109 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.7110 +else
10.7111 + lt_cv_prog_compiler_rtti_exceptions=no
10.7112 + ac_outfile=conftest.$ac_objext
10.7113 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.7114 + lt_compiler_flag="-fno-rtti -fno-exceptions"
10.7115 + # Insert the option either (1) after the last *FLAGS variable, or
10.7116 + # (2) before a word containing "conftest.", or (3) at the end.
10.7117 + # Note that $ac_compile itself does not contain backslashes and begins
10.7118 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.7119 + # The option is referenced via a variable to avoid confusing sed.
10.7120 + lt_compile=`echo "$ac_compile" | $SED \
10.7121 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.7122 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.7123 + -e 's:$: $lt_compiler_flag:'`
10.7124 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.7125 + (eval "$lt_compile" 2>conftest.err)
10.7126 + ac_status=$?
10.7127 + cat conftest.err >&5
10.7128 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.7129 + if (exit $ac_status) && test -s "$ac_outfile"; then
10.7130 + # The compiler can only warn and ignore the option if not recognized
10.7131 + # So say no if there are warnings
10.7132 + if test ! -s conftest.err; then
10.7133 + lt_cv_prog_compiler_rtti_exceptions=yes
10.7134 + fi
10.7135 + fi
10.7136 + $rm conftest*
10.7137 +
10.7138 +fi
10.7139 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10.7140 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10.7141 +
10.7142 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10.7143 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10.7144 +else
10.7145 + :
10.7146 +fi
10.7147 +
10.7148 +fi
10.7149 +
10.7150 +lt_prog_compiler_wl=
10.7151 +lt_prog_compiler_pic=
10.7152 +lt_prog_compiler_static=
10.7153 +
10.7154 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10.7155 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10.7156 +
10.7157 + if test "$GCC" = yes; then
10.7158 + lt_prog_compiler_wl='-Wl,'
10.7159 + lt_prog_compiler_static='-static'
10.7160 +
10.7161 + case $host_os in
10.7162 + aix*)
10.7163 + # All AIX code is PIC.
10.7164 + if test "$host_cpu" = ia64; then
10.7165 + # AIX 5 now supports IA64 processor
10.7166 + lt_prog_compiler_static='-Bstatic'
10.7167 + fi
10.7168 + ;;
10.7169 +
10.7170 + amigaos*)
10.7171 + # FIXME: we need at least 68020 code to build shared libraries, but
10.7172 + # adding the `-m68020' flag to GCC prevents building anything better,
10.7173 + # like `-m68040'.
10.7174 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10.7175 + ;;
10.7176 +
10.7177 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10.7178 + # PIC is the default for these OSes.
10.7179 + ;;
10.7180 +
10.7181 + mingw* | pw32* | os2*)
10.7182 + # This hack is so that the source file can tell whether it is being
10.7183 + # built for inclusion in a dll (and should export symbols for example).
10.7184 + lt_prog_compiler_pic='-DDLL_EXPORT'
10.7185 + ;;
10.7186 +
10.7187 + darwin* | rhapsody*)
10.7188 + # PIC is the default on this platform
10.7189 + # Common symbols not allowed in MH_DYLIB files
10.7190 + lt_prog_compiler_pic='-fno-common'
10.7191 + ;;
10.7192 +
10.7193 + msdosdjgpp*)
10.7194 + # Just because we use GCC doesn't mean we suddenly get shared libraries
10.7195 + # on systems that don't support them.
10.7196 + lt_prog_compiler_can_build_shared=no
10.7197 + enable_shared=no
10.7198 + ;;
10.7199 +
10.7200 + sysv4*MP*)
10.7201 + if test -d /usr/nec; then
10.7202 + lt_prog_compiler_pic=-Kconform_pic
10.7203 + fi
10.7204 + ;;
10.7205 +
10.7206 + hpux*)
10.7207 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.7208 + # not for PA HP-UX.
10.7209 + case "$host_cpu" in
10.7210 + hppa*64*|ia64*)
10.7211 + # +Z the default
10.7212 + ;;
10.7213 + *)
10.7214 + lt_prog_compiler_pic='-fPIC'
10.7215 + ;;
10.7216 + esac
10.7217 + ;;
10.7218 +
10.7219 + *)
10.7220 + lt_prog_compiler_pic='-fPIC'
10.7221 + ;;
10.7222 + esac
10.7223 + else
10.7224 + # PORTME Check for flag to pass linker flags through the system compiler.
10.7225 + case $host_os in
10.7226 + aix*)
10.7227 + lt_prog_compiler_wl='-Wl,'
10.7228 + if test "$host_cpu" = ia64; then
10.7229 + # AIX 5 now supports IA64 processor
10.7230 + lt_prog_compiler_static='-Bstatic'
10.7231 + else
10.7232 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10.7233 + fi
10.7234 + ;;
10.7235 +
10.7236 + mingw* | pw32* | os2*)
10.7237 + # This hack is so that the source file can tell whether it is being
10.7238 + # built for inclusion in a dll (and should export symbols for example).
10.7239 + lt_prog_compiler_pic='-DDLL_EXPORT'
10.7240 + ;;
10.7241 +
10.7242 + hpux9* | hpux10* | hpux11*)
10.7243 + lt_prog_compiler_wl='-Wl,'
10.7244 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.7245 + # not for PA HP-UX.
10.7246 + case "$host_cpu" in
10.7247 + hppa*64*|ia64*)
10.7248 + # +Z the default
10.7249 + ;;
10.7250 + *)
10.7251 + lt_prog_compiler_pic='+Z'
10.7252 + ;;
10.7253 + esac
10.7254 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
10.7255 + lt_prog_compiler_static='${wl}-a ${wl}archive'
10.7256 + ;;
10.7257 +
10.7258 + irix5* | irix6* | nonstopux*)
10.7259 + lt_prog_compiler_wl='-Wl,'
10.7260 + # PIC (with -KPIC) is the default.
10.7261 + lt_prog_compiler_static='-non_shared'
10.7262 + ;;
10.7263 +
10.7264 + newsos6)
10.7265 + lt_prog_compiler_pic='-KPIC'
10.7266 + lt_prog_compiler_static='-Bstatic'
10.7267 + ;;
10.7268 +
10.7269 + linux*)
10.7270 + case $CC in
10.7271 + icc* | ecc*)
10.7272 + lt_prog_compiler_wl='-Wl,'
10.7273 + lt_prog_compiler_pic='-KPIC'
10.7274 + lt_prog_compiler_static='-static'
10.7275 + ;;
10.7276 + ccc*)
10.7277 + lt_prog_compiler_wl='-Wl,'
10.7278 + # All Alpha code is PIC.
10.7279 + lt_prog_compiler_static='-non_shared'
10.7280 + ;;
10.7281 + esac
10.7282 + ;;
10.7283 +
10.7284 + osf3* | osf4* | osf5*)
10.7285 + lt_prog_compiler_wl='-Wl,'
10.7286 + # All OSF/1 code is PIC.
10.7287 + lt_prog_compiler_static='-non_shared'
10.7288 + ;;
10.7289 +
10.7290 + sco3.2v5*)
10.7291 + lt_prog_compiler_pic='-Kpic'
10.7292 + lt_prog_compiler_static='-dn'
10.7293 + ;;
10.7294 +
10.7295 + solaris*)
10.7296 + lt_prog_compiler_wl='-Wl,'
10.7297 + lt_prog_compiler_pic='-KPIC'
10.7298 + lt_prog_compiler_static='-Bstatic'
10.7299 + ;;
10.7300 +
10.7301 + sunos4*)
10.7302 + lt_prog_compiler_wl='-Qoption ld '
10.7303 + lt_prog_compiler_pic='-PIC'
10.7304 + lt_prog_compiler_static='-Bstatic'
10.7305 + ;;
10.7306 +
10.7307 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.7308 + lt_prog_compiler_wl='-Wl,'
10.7309 + lt_prog_compiler_pic='-KPIC'
10.7310 + lt_prog_compiler_static='-Bstatic'
10.7311 + ;;
10.7312 +
10.7313 + sysv4*MP*)
10.7314 + if test -d /usr/nec ;then
10.7315 + lt_prog_compiler_pic='-Kconform_pic'
10.7316 + lt_prog_compiler_static='-Bstatic'
10.7317 + fi
10.7318 + ;;
10.7319 +
10.7320 + uts4*)
10.7321 + lt_prog_compiler_pic='-pic'
10.7322 + lt_prog_compiler_static='-Bstatic'
10.7323 + ;;
10.7324 +
10.7325 + *)
10.7326 + lt_prog_compiler_can_build_shared=no
10.7327 + ;;
10.7328 + esac
10.7329 + fi
10.7330 +
10.7331 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10.7332 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10.7333 +
10.7334 +#
10.7335 +# Check to make sure the PIC flag actually works.
10.7336 +#
10.7337 +if test -n "$lt_prog_compiler_pic"; then
10.7338 +
10.7339 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10.7340 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10.7341 +if test "${lt_prog_compiler_pic_works+set}" = set; then
10.7342 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.7343 +else
10.7344 + lt_prog_compiler_pic_works=no
10.7345 + ac_outfile=conftest.$ac_objext
10.7346 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.7347 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10.7348 + # Insert the option either (1) after the last *FLAGS variable, or
10.7349 + # (2) before a word containing "conftest.", or (3) at the end.
10.7350 + # Note that $ac_compile itself does not contain backslashes and begins
10.7351 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.7352 + # The option is referenced via a variable to avoid confusing sed.
10.7353 + lt_compile=`echo "$ac_compile" | $SED \
10.7354 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.7355 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.7356 + -e 's:$: $lt_compiler_flag:'`
10.7357 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.7358 + (eval "$lt_compile" 2>conftest.err)
10.7359 + ac_status=$?
10.7360 + cat conftest.err >&5
10.7361 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.7362 + if (exit $ac_status) && test -s "$ac_outfile"; then
10.7363 + # The compiler can only warn and ignore the option if not recognized
10.7364 + # So say no if there are warnings
10.7365 + if test ! -s conftest.err; then
10.7366 + lt_prog_compiler_pic_works=yes
10.7367 + fi
10.7368 + fi
10.7369 + $rm conftest*
10.7370 +
10.7371 +fi
10.7372 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10.7373 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10.7374 +
10.7375 +if test x"$lt_prog_compiler_pic_works" = xyes; then
10.7376 + case $lt_prog_compiler_pic in
10.7377 + "" | " "*) ;;
10.7378 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10.7379 + esac
10.7380 +else
10.7381 + lt_prog_compiler_pic=
10.7382 + lt_prog_compiler_can_build_shared=no
10.7383 +fi
10.7384 +
10.7385 +fi
10.7386 +case "$host_os" in
10.7387 + # For platforms which do not support PIC, -DPIC is meaningless:
10.7388 + *djgpp*)
10.7389 + lt_prog_compiler_pic=
10.7390 + ;;
10.7391 + *)
10.7392 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10.7393 + ;;
10.7394 +esac
10.7395 +
10.7396 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10.7397 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10.7398 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10.7399 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.7400 +else
10.7401 + lt_cv_prog_compiler_c_o=no
10.7402 + $rm -r conftest 2>/dev/null
10.7403 + mkdir conftest
10.7404 + cd conftest
10.7405 + mkdir out
10.7406 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.7407 +
10.7408 + lt_compiler_flag="-o out/conftest2.$ac_objext"
10.7409 + # Insert the option either (1) after the last *FLAGS variable, or
10.7410 + # (2) before a word containing "conftest.", or (3) at the end.
10.7411 + # Note that $ac_compile itself does not contain backslashes and begins
10.7412 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.7413 + lt_compile=`echo "$ac_compile" | $SED \
10.7414 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.7415 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.7416 + -e 's:$: $lt_compiler_flag:'`
10.7417 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.7418 + (eval "$lt_compile" 2>out/conftest.err)
10.7419 + ac_status=$?
10.7420 + cat out/conftest.err >&5
10.7421 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.7422 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
10.7423 + then
10.7424 + # The compiler can only warn and ignore the option if not recognized
10.7425 + # So say no if there are warnings
10.7426 + if test ! -s out/conftest.err; then
10.7427 + lt_cv_prog_compiler_c_o=yes
10.7428 + fi
10.7429 + fi
10.7430 + chmod u+w .
10.7431 + $rm conftest*
10.7432 + # SGI C++ compiler will create directory out/ii_files/ for
10.7433 + # template instantiation
10.7434 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10.7435 + $rm out/* && rmdir out
10.7436 + cd ..
10.7437 + rmdir conftest
10.7438 + $rm conftest*
10.7439 +
10.7440 +fi
10.7441 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10.7442 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10.7443 +
10.7444 +
10.7445 +hard_links="nottested"
10.7446 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10.7447 + # do not overwrite the value of need_locks provided by the user
10.7448 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10.7449 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10.7450 + hard_links=yes
10.7451 + $rm conftest*
10.7452 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.7453 + touch conftest.a
10.7454 + ln conftest.a conftest.b 2>&5 || hard_links=no
10.7455 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.7456 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10.7457 +echo "${ECHO_T}$hard_links" >&6; }
10.7458 + if test "$hard_links" = no; then
10.7459 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10.7460 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10.7461 + need_locks=warn
10.7462 + fi
10.7463 +else
10.7464 + need_locks=no
10.7465 +fi
10.7466 +
10.7467 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10.7468 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10.7469 +
10.7470 + runpath_var=
10.7471 + allow_undefined_flag=
10.7472 + enable_shared_with_static_runtimes=no
10.7473 + archive_cmds=
10.7474 + archive_expsym_cmds=
10.7475 + old_archive_From_new_cmds=
10.7476 + old_archive_from_expsyms_cmds=
10.7477 + export_dynamic_flag_spec=
10.7478 + whole_archive_flag_spec=
10.7479 + thread_safe_flag_spec=
10.7480 + hardcode_libdir_flag_spec=
10.7481 + hardcode_libdir_flag_spec_ld=
10.7482 + hardcode_libdir_separator=
10.7483 + hardcode_direct=no
10.7484 + hardcode_minus_L=no
10.7485 + hardcode_shlibpath_var=unsupported
10.7486 + link_all_deplibs=unknown
10.7487 + hardcode_automatic=no
10.7488 + module_cmds=
10.7489 + module_expsym_cmds=
10.7490 + always_export_symbols=no
10.7491 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10.7492 + # include_expsyms should be a list of space-separated symbols to be *always*
10.7493 + # included in the symbol list
10.7494 + include_expsyms=
10.7495 + # exclude_expsyms can be an extended regexp of symbols to exclude
10.7496 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
10.7497 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10.7498 + # as well as any symbol that contains `d'.
10.7499 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10.7500 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10.7501 + # platforms (ab)use it in PIC code, but their linkers get confused if
10.7502 + # the symbol is explicitly referenced. Since portable code cannot
10.7503 + # rely on this symbol name, it's probably fine to never include it in
10.7504 + # preloaded symbol tables.
10.7505 + extract_expsyms_cmds=
10.7506 +
10.7507 + case $host_os in
10.7508 + cygwin* | mingw* | pw32*)
10.7509 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
10.7510 + # When not using gcc, we currently assume that we are using
10.7511 + # Microsoft Visual C++.
10.7512 + if test "$GCC" != yes; then
10.7513 + with_gnu_ld=no
10.7514 + fi
10.7515 + ;;
10.7516 + openbsd*)
10.7517 + with_gnu_ld=no
10.7518 + ;;
10.7519 + esac
10.7520 +
10.7521 + ld_shlibs=yes
10.7522 + if test "$with_gnu_ld" = yes; then
10.7523 + # If archive_cmds runs LD, not CC, wlarc should be empty
10.7524 + wlarc='${wl}'
10.7525 +
10.7526 + # See if GNU ld supports shared libraries.
10.7527 + case $host_os in
10.7528 + aix3* | aix4* | aix5*)
10.7529 + # On AIX/PPC, the GNU linker is very broken
10.7530 + if test "$host_cpu" != ia64; then
10.7531 + ld_shlibs=no
10.7532 + cat <<EOF 1>&2
10.7533 +
10.7534 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10.7535 +*** to be unable to reliably create shared libraries on AIX.
10.7536 +*** Therefore, libtool is disabling shared libraries support. If you
10.7537 +*** really care for shared libraries, you may want to modify your PATH
10.7538 +*** so that a non-GNU linker is found, and then restart.
10.7539 +
10.7540 +EOF
10.7541 + fi
10.7542 + ;;
10.7543 +
10.7544 + amigaos*)
10.7545 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10.7546 + hardcode_libdir_flag_spec='-L$libdir'
10.7547 + hardcode_minus_L=yes
10.7548 +
10.7549 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10.7550 + # that the semantics of dynamic libraries on AmigaOS, at least up
10.7551 + # to version 4, is to share data among multiple programs linked
10.7552 + # with the same dynamic library. Since this doesn't match the
10.7553 + # behavior of shared libraries on other platforms, we can't use
10.7554 + # them.
10.7555 + ld_shlibs=no
10.7556 + ;;
10.7557 +
10.7558 + beos*)
10.7559 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.7560 + allow_undefined_flag=unsupported
10.7561 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10.7562 + # support --undefined. This deserves some investigation. FIXME
10.7563 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.7564 + else
10.7565 + ld_shlibs=no
10.7566 + fi
10.7567 + ;;
10.7568 +
10.7569 + cygwin* | mingw* | pw32*)
10.7570 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10.7571 + # as there is no search path for DLLs.
10.7572 + hardcode_libdir_flag_spec='-L$libdir'
10.7573 + allow_undefined_flag=unsupported
10.7574 + always_export_symbols=no
10.7575 + enable_shared_with_static_runtimes=yes
10.7576 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10.7577 +
10.7578 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10.7579 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.7580 + # If the export-symbols file already is a .def file (1st line
10.7581 + # is EXPORTS), use it as is; otherwise, prepend...
10.7582 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10.7583 + cp $export_symbols $output_objdir/$soname.def;
10.7584 + else
10.7585 + echo EXPORTS > $output_objdir/$soname.def;
10.7586 + cat $export_symbols >> $output_objdir/$soname.def;
10.7587 + fi~
10.7588 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.7589 + else
10.7590 + ld_shlibs=no
10.7591 + fi
10.7592 + ;;
10.7593 +
10.7594 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.7595 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.7596 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10.7597 + wlarc=
10.7598 + else
10.7599 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.7600 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.7601 + fi
10.7602 + ;;
10.7603 +
10.7604 + solaris* | sysv5*)
10.7605 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10.7606 + ld_shlibs=no
10.7607 + cat <<EOF 1>&2
10.7608 +
10.7609 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10.7610 +*** create shared libraries on Solaris systems. Therefore, libtool
10.7611 +*** is disabling shared libraries support. We urge you to upgrade GNU
10.7612 +*** binutils to release 2.9.1 or newer. Another option is to modify
10.7613 +*** your PATH or compiler configuration so that the native linker is
10.7614 +*** used, and then restart.
10.7615 +
10.7616 +EOF
10.7617 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.7618 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.7619 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.7620 + else
10.7621 + ld_shlibs=no
10.7622 + fi
10.7623 + ;;
10.7624 +
10.7625 + sunos4*)
10.7626 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.7627 + wlarc=
10.7628 + hardcode_direct=yes
10.7629 + hardcode_shlibpath_var=no
10.7630 + ;;
10.7631 +
10.7632 + linux*)
10.7633 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.7634 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.7635 + archive_cmds="$tmp_archive_cmds"
10.7636 + supports_anon_versioning=no
10.7637 + case `$LD -v 2>/dev/null` in
10.7638 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10.7639 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10.7640 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10.7641 + *\ 2.11.*) ;; # other 2.11 versions
10.7642 + *) supports_anon_versioning=yes ;;
10.7643 + esac
10.7644 + if test $supports_anon_versioning = yes; then
10.7645 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10.7646 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10.7647 +$echo "local: *; };" >> $output_objdir/$libname.ver~
10.7648 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10.7649 + else
10.7650 + archive_expsym_cmds="$tmp_archive_cmds"
10.7651 + fi
10.7652 + link_all_deplibs=no
10.7653 + else
10.7654 + ld_shlibs=no
10.7655 + fi
10.7656 + ;;
10.7657 +
10.7658 + *)
10.7659 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.7660 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.7661 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.7662 + else
10.7663 + ld_shlibs=no
10.7664 + fi
10.7665 + ;;
10.7666 + esac
10.7667 +
10.7668 + if test "$ld_shlibs" = yes; then
10.7669 + runpath_var=LD_RUN_PATH
10.7670 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10.7671 + export_dynamic_flag_spec='${wl}--export-dynamic'
10.7672 + # ancient GNU ld didn't support --whole-archive et. al.
10.7673 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10.7674 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10.7675 + else
10.7676 + whole_archive_flag_spec=
10.7677 + fi
10.7678 + fi
10.7679 + else
10.7680 + # PORTME fill in a description of your system's linker (not GNU ld)
10.7681 + case $host_os in
10.7682 + aix3*)
10.7683 + allow_undefined_flag=unsupported
10.7684 + always_export_symbols=yes
10.7685 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10.7686 + # Note: this linker hardcodes the directories in LIBPATH if there
10.7687 + # are no directories specified by -L.
10.7688 + hardcode_minus_L=yes
10.7689 + if test "$GCC" = yes && test -z "$link_static_flag"; then
10.7690 + # Neither direct hardcoding nor static linking is supported with a
10.7691 + # broken collect2.
10.7692 + hardcode_direct=unsupported
10.7693 + fi
10.7694 + ;;
10.7695 +
10.7696 + aix4* | aix5*)
10.7697 + if test "$host_cpu" = ia64; then
10.7698 + # On IA64, the linker does run time linking by default, so we don't
10.7699 + # have to do anything special.
10.7700 + aix_use_runtimelinking=no
10.7701 + exp_sym_flag='-Bexport'
10.7702 + no_entry_flag=""
10.7703 + else
10.7704 + # If we're using GNU nm, then we don't want the "-C" option.
10.7705 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
10.7706 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10.7707 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.7708 + else
10.7709 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.7710 + fi
10.7711 + aix_use_runtimelinking=no
10.7712 +
10.7713 + # Test if we are trying to use run time linking or normal
10.7714 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10.7715 + # need to do runtime linking.
10.7716 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10.7717 + for ld_flag in $LDFLAGS; do
10.7718 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10.7719 + aix_use_runtimelinking=yes
10.7720 + break
10.7721 + fi
10.7722 + done
10.7723 + esac
10.7724 +
10.7725 + exp_sym_flag='-bexport'
10.7726 + no_entry_flag='-bnoentry'
10.7727 + fi
10.7728 +
10.7729 + # When large executables or shared objects are built, AIX ld can
10.7730 + # have problems creating the table of contents. If linking a library
10.7731 + # or program results in "error TOC overflow" add -mminimal-toc to
10.7732 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10.7733 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10.7734 +
10.7735 + archive_cmds=''
10.7736 + hardcode_direct=yes
10.7737 + hardcode_libdir_separator=':'
10.7738 + link_all_deplibs=yes
10.7739 +
10.7740 + if test "$GCC" = yes; then
10.7741 + case $host_os in aix4.012|aix4.012.*)
10.7742 + # We only want to do this on AIX 4.2 and lower, the check
10.7743 + # below for broken collect2 doesn't work under 4.3+
10.7744 + collect2name=`${CC} -print-prog-name=collect2`
10.7745 + if test -f "$collect2name" && \
10.7746 + strings "$collect2name" | grep resolve_lib_name >/dev/null
10.7747 + then
10.7748 + # We have reworked collect2
10.7749 + hardcode_direct=yes
10.7750 + else
10.7751 + # We have old collect2
10.7752 + hardcode_direct=unsupported
10.7753 + # It fails to find uninstalled libraries when the uninstalled
10.7754 + # path is not listed in the libpath. Setting hardcode_minus_L
10.7755 + # to unsupported forces relinking
10.7756 + hardcode_minus_L=yes
10.7757 + hardcode_libdir_flag_spec='-L$libdir'
10.7758 + hardcode_libdir_separator=
10.7759 + fi
10.7760 + esac
10.7761 + shared_flag='-shared'
10.7762 + else
10.7763 + # not using gcc
10.7764 + if test "$host_cpu" = ia64; then
10.7765 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10.7766 + # chokes on -Wl,-G. The following line is correct:
10.7767 + shared_flag='-G'
10.7768 + else
10.7769 + if test "$aix_use_runtimelinking" = yes; then
10.7770 + shared_flag='${wl}-G'
10.7771 + else
10.7772 + shared_flag='${wl}-bM:SRE'
10.7773 + fi
10.7774 + fi
10.7775 + fi
10.7776 +
10.7777 + # It seems that -bexpall does not export symbols beginning with
10.7778 + # underscore (_), so it is better to generate a list of symbols to export.
10.7779 + always_export_symbols=yes
10.7780 + if test "$aix_use_runtimelinking" = yes; then
10.7781 + # Warning - without using the other runtime loading flags (-brtl),
10.7782 + # -berok will link without error, but may produce a broken library.
10.7783 + allow_undefined_flag='-berok'
10.7784 + # Determine the default libpath from the value encoded in an empty executable.
10.7785 + cat >conftest.$ac_ext <<_ACEOF
10.7786 +/* confdefs.h. */
10.7787 +_ACEOF
10.7788 +cat confdefs.h >>conftest.$ac_ext
10.7789 +cat >>conftest.$ac_ext <<_ACEOF
10.7790 +/* end confdefs.h. */
10.7791 +
10.7792 +int
10.7793 +main ()
10.7794 +{
10.7795 +
10.7796 + ;
10.7797 + return 0;
10.7798 +}
10.7799 +_ACEOF
10.7800 +rm -f conftest.$ac_objext conftest$ac_exeext
10.7801 +if { (ac_try="$ac_link"
10.7802 +case "(($ac_try" in
10.7803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.7804 + *) ac_try_echo=$ac_try;;
10.7805 +esac
10.7806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.7807 + (eval "$ac_link") 2>conftest.er1
10.7808 + ac_status=$?
10.7809 + grep -v '^ *+' conftest.er1 >conftest.err
10.7810 + rm -f conftest.er1
10.7811 + cat conftest.err >&5
10.7812 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.7813 + (exit $ac_status); } && {
10.7814 + test -z "$ac_c_werror_flag" ||
10.7815 + test ! -s conftest.err
10.7816 + } && test -s conftest$ac_exeext &&
10.7817 + $as_test_x conftest$ac_exeext; then
10.7818 +
10.7819 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.7820 +}'`
10.7821 +# Check for a 64-bit object if we didn't find anything.
10.7822 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.7823 +}'`; fi
10.7824 +else
10.7825 + echo "$as_me: failed program was:" >&5
10.7826 +sed 's/^/| /' conftest.$ac_ext >&5
10.7827 +
10.7828 +
10.7829 +fi
10.7830 +
10.7831 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.7832 + conftest$ac_exeext conftest.$ac_ext
10.7833 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.7834 +
10.7835 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10.7836 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10.7837 + else
10.7838 + if test "$host_cpu" = ia64; then
10.7839 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10.7840 + allow_undefined_flag="-z nodefs"
10.7841 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10.7842 + else
10.7843 + # Determine the default libpath from the value encoded in an empty executable.
10.7844 + cat >conftest.$ac_ext <<_ACEOF
10.7845 +/* confdefs.h. */
10.7846 +_ACEOF
10.7847 +cat confdefs.h >>conftest.$ac_ext
10.7848 +cat >>conftest.$ac_ext <<_ACEOF
10.7849 +/* end confdefs.h. */
10.7850 +
10.7851 +int
10.7852 +main ()
10.7853 +{
10.7854 +
10.7855 + ;
10.7856 + return 0;
10.7857 +}
10.7858 +_ACEOF
10.7859 +rm -f conftest.$ac_objext conftest$ac_exeext
10.7860 +if { (ac_try="$ac_link"
10.7861 +case "(($ac_try" in
10.7862 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.7863 + *) ac_try_echo=$ac_try;;
10.7864 +esac
10.7865 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.7866 + (eval "$ac_link") 2>conftest.er1
10.7867 + ac_status=$?
10.7868 + grep -v '^ *+' conftest.er1 >conftest.err
10.7869 + rm -f conftest.er1
10.7870 + cat conftest.err >&5
10.7871 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.7872 + (exit $ac_status); } && {
10.7873 + test -z "$ac_c_werror_flag" ||
10.7874 + test ! -s conftest.err
10.7875 + } && test -s conftest$ac_exeext &&
10.7876 + $as_test_x conftest$ac_exeext; then
10.7877 +
10.7878 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.7879 +}'`
10.7880 +# Check for a 64-bit object if we didn't find anything.
10.7881 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.7882 +}'`; fi
10.7883 +else
10.7884 + echo "$as_me: failed program was:" >&5
10.7885 +sed 's/^/| /' conftest.$ac_ext >&5
10.7886 +
10.7887 +
10.7888 +fi
10.7889 +
10.7890 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.7891 + conftest$ac_exeext conftest.$ac_ext
10.7892 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.7893 +
10.7894 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10.7895 + # Warning - without using the other run time loading flags,
10.7896 + # -berok will link without error, but may produce a broken library.
10.7897 + no_undefined_flag=' ${wl}-bernotok'
10.7898 + allow_undefined_flag=' ${wl}-berok'
10.7899 + # -bexpall does not export symbols beginning with underscore (_)
10.7900 + always_export_symbols=yes
10.7901 + # Exported symbols can be pulled into shared objects from archives
10.7902 + whole_archive_flag_spec=' '
10.7903 + archive_cmds_need_lc=yes
10.7904 + # This is similar to how AIX traditionally builds it's shared libraries.
10.7905 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10.7906 + fi
10.7907 + fi
10.7908 + ;;
10.7909 +
10.7910 + amigaos*)
10.7911 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10.7912 + hardcode_libdir_flag_spec='-L$libdir'
10.7913 + hardcode_minus_L=yes
10.7914 + # see comment about different semantics on the GNU ld section
10.7915 + ld_shlibs=no
10.7916 + ;;
10.7917 +
10.7918 + bsdi4*)
10.7919 + export_dynamic_flag_spec=-rdynamic
10.7920 + ;;
10.7921 +
10.7922 + cygwin* | mingw* | pw32*)
10.7923 + # When not using gcc, we currently assume that we are using
10.7924 + # Microsoft Visual C++.
10.7925 + # hardcode_libdir_flag_spec is actually meaningless, as there is
10.7926 + # no search path for DLLs.
10.7927 + hardcode_libdir_flag_spec=' '
10.7928 + allow_undefined_flag=unsupported
10.7929 + # Tell ltmain to make .lib files, not .a files.
10.7930 + libext=lib
10.7931 + # Tell ltmain to make .dll files, not .so files.
10.7932 + shrext_cmds=".dll"
10.7933 + # FIXME: Setting linknames here is a bad hack.
10.7934 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10.7935 + # The linker will automatically build a .lib file if we build a DLL.
10.7936 + old_archive_From_new_cmds='true'
10.7937 + # FIXME: Should let the user specify the lib program.
10.7938 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10.7939 + fix_srcfile_path='`cygpath -w "$srcfile"`'
10.7940 + enable_shared_with_static_runtimes=yes
10.7941 + ;;
10.7942 +
10.7943 + darwin* | rhapsody*)
10.7944 + if test "$GXX" = yes ; then
10.7945 + archive_cmds_need_lc=no
10.7946 + case "$host_os" in
10.7947 + rhapsody* | darwin1.[012])
10.7948 + allow_undefined_flag='-undefined suppress'
10.7949 + ;;
10.7950 + *) # Darwin 1.3 on
10.7951 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10.7952 + allow_undefined_flag='-flat_namespace -undefined suppress'
10.7953 + else
10.7954 + case ${MACOSX_DEPLOYMENT_TARGET} in
10.7955 + 10.[012])
10.7956 + allow_undefined_flag='-flat_namespace -undefined suppress'
10.7957 + ;;
10.7958 + 10.*)
10.7959 + allow_undefined_flag='-undefined dynamic_lookup'
10.7960 + ;;
10.7961 + esac
10.7962 + fi
10.7963 + ;;
10.7964 + esac
10.7965 + lt_int_apple_cc_single_mod=no
10.7966 + output_verbose_link_cmd='echo'
10.7967 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10.7968 + lt_int_apple_cc_single_mod=yes
10.7969 + fi
10.7970 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.7971 + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.7972 + else
10.7973 + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.7974 + fi
10.7975 + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10.7976 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10.7977 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.7978 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.7979 + else
10.7980 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.7981 + fi
10.7982 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.7983 + hardcode_direct=no
10.7984 + hardcode_automatic=yes
10.7985 + hardcode_shlibpath_var=unsupported
10.7986 + whole_archive_flag_spec='-all_load $convenience'
10.7987 + link_all_deplibs=yes
10.7988 + else
10.7989 + ld_shlibs=no
10.7990 + fi
10.7991 + ;;
10.7992 +
10.7993 + dgux*)
10.7994 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.7995 + hardcode_libdir_flag_spec='-L$libdir'
10.7996 + hardcode_shlibpath_var=no
10.7997 + ;;
10.7998 +
10.7999 + freebsd1*)
10.8000 + ld_shlibs=no
10.8001 + ;;
10.8002 +
10.8003 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10.8004 + # support. Future versions do this automatically, but an explicit c++rt0.o
10.8005 + # does not break anything, and helps significantly (at the cost of a little
10.8006 + # extra space).
10.8007 + freebsd2.2*)
10.8008 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10.8009 + hardcode_libdir_flag_spec='-R$libdir'
10.8010 + hardcode_direct=yes
10.8011 + hardcode_shlibpath_var=no
10.8012 + ;;
10.8013 +
10.8014 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10.8015 + freebsd2*)
10.8016 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.8017 + hardcode_direct=yes
10.8018 + hardcode_minus_L=yes
10.8019 + hardcode_shlibpath_var=no
10.8020 + ;;
10.8021 +
10.8022 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10.8023 + freebsd* | kfreebsd*-gnu)
10.8024 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10.8025 + hardcode_libdir_flag_spec='-R$libdir'
10.8026 + hardcode_direct=yes
10.8027 + hardcode_shlibpath_var=no
10.8028 + ;;
10.8029 +
10.8030 + hpux9*)
10.8031 + if test "$GCC" = yes; then
10.8032 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.8033 + else
10.8034 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.8035 + fi
10.8036 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10.8037 + hardcode_libdir_separator=:
10.8038 + hardcode_direct=yes
10.8039 +
10.8040 + # hardcode_minus_L: Not really in the search PATH,
10.8041 + # but as the default location of the library.
10.8042 + hardcode_minus_L=yes
10.8043 + export_dynamic_flag_spec='${wl}-E'
10.8044 + ;;
10.8045 +
10.8046 + hpux10* | hpux11*)
10.8047 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10.8048 + case "$host_cpu" in
10.8049 + hppa*64*|ia64*)
10.8050 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.8051 + ;;
10.8052 + *)
10.8053 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10.8054 + ;;
10.8055 + esac
10.8056 + else
10.8057 + case "$host_cpu" in
10.8058 + hppa*64*|ia64*)
10.8059 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8060 + ;;
10.8061 + *)
10.8062 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10.8063 + ;;
10.8064 + esac
10.8065 + fi
10.8066 + if test "$with_gnu_ld" = no; then
10.8067 + case "$host_cpu" in
10.8068 + hppa*64*)
10.8069 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10.8070 + hardcode_libdir_flag_spec_ld='+b $libdir'
10.8071 + hardcode_libdir_separator=:
10.8072 + hardcode_direct=no
10.8073 + hardcode_shlibpath_var=no
10.8074 + ;;
10.8075 + ia64*)
10.8076 + hardcode_libdir_flag_spec='-L$libdir'
10.8077 + hardcode_direct=no
10.8078 + hardcode_shlibpath_var=no
10.8079 +
10.8080 + # hardcode_minus_L: Not really in the search PATH,
10.8081 + # but as the default location of the library.
10.8082 + hardcode_minus_L=yes
10.8083 + ;;
10.8084 + *)
10.8085 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10.8086 + hardcode_libdir_separator=:
10.8087 + hardcode_direct=yes
10.8088 + export_dynamic_flag_spec='${wl}-E'
10.8089 +
10.8090 + # hardcode_minus_L: Not really in the search PATH,
10.8091 + # but as the default location of the library.
10.8092 + hardcode_minus_L=yes
10.8093 + ;;
10.8094 + esac
10.8095 + fi
10.8096 + ;;
10.8097 +
10.8098 + irix5* | irix6* | nonstopux*)
10.8099 + if test "$GCC" = yes; then
10.8100 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.8101 + else
10.8102 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.8103 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
10.8104 + fi
10.8105 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10.8106 + hardcode_libdir_separator=:
10.8107 + link_all_deplibs=yes
10.8108 + ;;
10.8109 +
10.8110 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.8111 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.8112 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10.8113 + else
10.8114 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10.8115 + fi
10.8116 + hardcode_libdir_flag_spec='-R$libdir'
10.8117 + hardcode_direct=yes
10.8118 + hardcode_shlibpath_var=no
10.8119 + ;;
10.8120 +
10.8121 + newsos6)
10.8122 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8123 + hardcode_direct=yes
10.8124 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10.8125 + hardcode_libdir_separator=:
10.8126 + hardcode_shlibpath_var=no
10.8127 + ;;
10.8128 +
10.8129 + openbsd*)
10.8130 + hardcode_direct=yes
10.8131 + hardcode_shlibpath_var=no
10.8132 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.8133 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10.8134 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10.8135 + export_dynamic_flag_spec='${wl}-E'
10.8136 + else
10.8137 + case $host_os in
10.8138 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10.8139 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.8140 + hardcode_libdir_flag_spec='-R$libdir'
10.8141 + ;;
10.8142 + *)
10.8143 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10.8144 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10.8145 + ;;
10.8146 + esac
10.8147 + fi
10.8148 + ;;
10.8149 +
10.8150 + os2*)
10.8151 + hardcode_libdir_flag_spec='-L$libdir'
10.8152 + hardcode_minus_L=yes
10.8153 + allow_undefined_flag=unsupported
10.8154 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10.8155 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10.8156 + ;;
10.8157 +
10.8158 + osf3*)
10.8159 + if test "$GCC" = yes; then
10.8160 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10.8161 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.8162 + else
10.8163 + allow_undefined_flag=' -expect_unresolved \*'
10.8164 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.8165 + fi
10.8166 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10.8167 + hardcode_libdir_separator=:
10.8168 + ;;
10.8169 +
10.8170 + osf4* | osf5*) # as osf3* with the addition of -msym flag
10.8171 + if test "$GCC" = yes; then
10.8172 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10.8173 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.8174 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10.8175 + else
10.8176 + allow_undefined_flag=' -expect_unresolved \*'
10.8177 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.8178 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10.8179 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
10.8180 +
10.8181 + # Both c and cxx compiler support -rpath directly
10.8182 + hardcode_libdir_flag_spec='-rpath $libdir'
10.8183 + fi
10.8184 + hardcode_libdir_separator=:
10.8185 + ;;
10.8186 +
10.8187 + sco3.2v5*)
10.8188 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8189 + hardcode_shlibpath_var=no
10.8190 + export_dynamic_flag_spec='${wl}-Bexport'
10.8191 + runpath_var=LD_RUN_PATH
10.8192 + hardcode_runpath_var=yes
10.8193 + ;;
10.8194 +
10.8195 + solaris*)
10.8196 + no_undefined_flag=' -z text'
10.8197 + if test "$GCC" = yes; then
10.8198 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.8199 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.8200 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10.8201 + else
10.8202 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8203 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.8204 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10.8205 + fi
10.8206 + hardcode_libdir_flag_spec='-R$libdir'
10.8207 + hardcode_shlibpath_var=no
10.8208 + case $host_os in
10.8209 + solaris2.[0-5] | solaris2.[0-5].*) ;;
10.8210 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
10.8211 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
10.8212 + esac
10.8213 + link_all_deplibs=yes
10.8214 + ;;
10.8215 +
10.8216 + sunos4*)
10.8217 + if test "x$host_vendor" = xsequent; then
10.8218 + # Use $CC to link under sequent, because it throws in some extra .o
10.8219 + # files that make .init and .fini sections work.
10.8220 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10.8221 + else
10.8222 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10.8223 + fi
10.8224 + hardcode_libdir_flag_spec='-L$libdir'
10.8225 + hardcode_direct=yes
10.8226 + hardcode_minus_L=yes
10.8227 + hardcode_shlibpath_var=no
10.8228 + ;;
10.8229 +
10.8230 + sysv4)
10.8231 + case $host_vendor in
10.8232 + sni)
10.8233 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8234 + hardcode_direct=yes # is this really true???
10.8235 + ;;
10.8236 + siemens)
10.8237 + ## LD is ld it makes a PLAMLIB
10.8238 + ## CC just makes a GrossModule.
10.8239 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10.8240 + reload_cmds='$CC -r -o $output$reload_objs'
10.8241 + hardcode_direct=no
10.8242 + ;;
10.8243 + motorola)
10.8244 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8245 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10.8246 + ;;
10.8247 + esac
10.8248 + runpath_var='LD_RUN_PATH'
10.8249 + hardcode_shlibpath_var=no
10.8250 + ;;
10.8251 +
10.8252 + sysv4.3*)
10.8253 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8254 + hardcode_shlibpath_var=no
10.8255 + export_dynamic_flag_spec='-Bexport'
10.8256 + ;;
10.8257 +
10.8258 + sysv4*MP*)
10.8259 + if test -d /usr/nec; then
10.8260 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8261 + hardcode_shlibpath_var=no
10.8262 + runpath_var=LD_RUN_PATH
10.8263 + hardcode_runpath_var=yes
10.8264 + ld_shlibs=yes
10.8265 + fi
10.8266 + ;;
10.8267 +
10.8268 + sysv4.2uw2*)
10.8269 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10.8270 + hardcode_direct=yes
10.8271 + hardcode_minus_L=no
10.8272 + hardcode_shlibpath_var=no
10.8273 + hardcode_runpath_var=yes
10.8274 + runpath_var=LD_RUN_PATH
10.8275 + ;;
10.8276 +
10.8277 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10.8278 + no_undefined_flag='${wl}-z ${wl}text'
10.8279 + if test "$GCC" = yes; then
10.8280 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.8281 + else
10.8282 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.8283 + fi
10.8284 + runpath_var='LD_RUN_PATH'
10.8285 + hardcode_shlibpath_var=no
10.8286 + ;;
10.8287 +
10.8288 + sysv5*)
10.8289 + no_undefined_flag=' -z text'
10.8290 + # $CC -shared without GNU ld will not create a library from C++
10.8291 + # object files and a static libstdc++, better avoid it by now
10.8292 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8293 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.8294 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10.8295 + hardcode_libdir_flag_spec=
10.8296 + hardcode_shlibpath_var=no
10.8297 + runpath_var='LD_RUN_PATH'
10.8298 + ;;
10.8299 +
10.8300 + uts4*)
10.8301 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.8302 + hardcode_libdir_flag_spec='-L$libdir'
10.8303 + hardcode_shlibpath_var=no
10.8304 + ;;
10.8305 +
10.8306 + *)
10.8307 + ld_shlibs=no
10.8308 + ;;
10.8309 + esac
10.8310 + fi
10.8311 +
10.8312 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10.8313 +echo "${ECHO_T}$ld_shlibs" >&6; }
10.8314 +test "$ld_shlibs" = no && can_build_shared=no
10.8315 +
10.8316 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10.8317 +if test "$GCC" = yes; then
10.8318 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10.8319 +fi
10.8320 +
10.8321 +#
10.8322 +# Do we need to explicitly link libc?
10.8323 +#
10.8324 +case "x$archive_cmds_need_lc" in
10.8325 +x|xyes)
10.8326 + # Assume -lc should be added
10.8327 + archive_cmds_need_lc=yes
10.8328 +
10.8329 + if test "$enable_shared" = yes && test "$GCC" = yes; then
10.8330 + case $archive_cmds in
10.8331 + *'~'*)
10.8332 + # FIXME: we may have to deal with multi-command sequences.
10.8333 + ;;
10.8334 + '$CC '*)
10.8335 + # Test whether the compiler implicitly links with -lc since on some
10.8336 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
10.8337 + # to ld, don't add -lc before -lgcc.
10.8338 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10.8339 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10.8340 + $rm conftest*
10.8341 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.8342 +
10.8343 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.8344 + (eval $ac_compile) 2>&5
10.8345 + ac_status=$?
10.8346 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.8347 + (exit $ac_status); } 2>conftest.err; then
10.8348 + soname=conftest
10.8349 + lib=conftest
10.8350 + libobjs=conftest.$ac_objext
10.8351 + deplibs=
10.8352 + wl=$lt_prog_compiler_wl
10.8353 + compiler_flags=-v
10.8354 + linker_flags=-v
10.8355 + verstring=
10.8356 + output_objdir=.
10.8357 + libname=conftest
10.8358 + lt_save_allow_undefined_flag=$allow_undefined_flag
10.8359 + allow_undefined_flag=
10.8360 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10.8361 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10.8362 + ac_status=$?
10.8363 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.8364 + (exit $ac_status); }
10.8365 + then
10.8366 + archive_cmds_need_lc=no
10.8367 + else
10.8368 + archive_cmds_need_lc=yes
10.8369 + fi
10.8370 + allow_undefined_flag=$lt_save_allow_undefined_flag
10.8371 + else
10.8372 + cat conftest.err 1>&5
10.8373 + fi
10.8374 + $rm conftest*
10.8375 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10.8376 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10.8377 + ;;
10.8378 + esac
10.8379 + fi
10.8380 + ;;
10.8381 +esac
10.8382 +
10.8383 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10.8384 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10.8385 +library_names_spec=
10.8386 +libname_spec='lib$name'
10.8387 +soname_spec=
10.8388 +shrext_cmds=".so"
10.8389 +postinstall_cmds=
10.8390 +postuninstall_cmds=
10.8391 +finish_cmds=
10.8392 +finish_eval=
10.8393 +shlibpath_var=
10.8394 +shlibpath_overrides_runpath=unknown
10.8395 +version_type=none
10.8396 +dynamic_linker="$host_os ld.so"
10.8397 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
10.8398 +if test "$GCC" = yes; then
10.8399 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.8400 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10.8401 + # if the path contains ";" then we assume it to be the separator
10.8402 + # otherwise default to the standard path separator (i.e. ":") - it is
10.8403 + # assumed that no part of a normal pathname contains ";" but that should
10.8404 + # okay in the real world where ";" in dirpaths is itself problematic.
10.8405 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.8406 + else
10.8407 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.8408 + fi
10.8409 +else
10.8410 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10.8411 +fi
10.8412 +need_lib_prefix=unknown
10.8413 +hardcode_into_libs=no
10.8414 +
10.8415 +# when you set need_version to no, make sure it does not cause -set_version
10.8416 +# flags to be left without arguments
10.8417 +need_version=unknown
10.8418 +
10.8419 +case $host_os in
10.8420 +aix3*)
10.8421 + version_type=linux
10.8422 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10.8423 + shlibpath_var=LIBPATH
10.8424 +
10.8425 + # AIX 3 has no versioning support, so we append a major version to the name.
10.8426 + soname_spec='${libname}${release}${shared_ext}$major'
10.8427 + ;;
10.8428 +
10.8429 +aix4* | aix5*)
10.8430 + version_type=linux
10.8431 + need_lib_prefix=no
10.8432 + need_version=no
10.8433 + hardcode_into_libs=yes
10.8434 + if test "$host_cpu" = ia64; then
10.8435 + # AIX 5 supports IA64
10.8436 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10.8437 + shlibpath_var=LD_LIBRARY_PATH
10.8438 + else
10.8439 + # With GCC up to 2.95.x, collect2 would create an import file
10.8440 + # for dependence libraries. The import file would start with
10.8441 + # the line `#! .'. This would cause the generated library to
10.8442 + # depend on `.', always an invalid library. This was fixed in
10.8443 + # development snapshots of GCC prior to 3.0.
10.8444 + case $host_os in
10.8445 + aix4 | aix4.[01] | aix4.[01].*)
10.8446 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10.8447 + echo ' yes '
10.8448 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10.8449 + :
10.8450 + else
10.8451 + can_build_shared=no
10.8452 + fi
10.8453 + ;;
10.8454 + esac
10.8455 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10.8456 + # soname into executable. Probably we can add versioning support to
10.8457 + # collect2, so additional links can be useful in future.
10.8458 + if test "$aix_use_runtimelinking" = yes; then
10.8459 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10.8460 + # instead of lib<name>.a to let people know that these are not
10.8461 + # typical AIX shared libraries.
10.8462 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8463 + else
10.8464 + # We preserve .a as extension for shared libraries through AIX4.2
10.8465 + # and later when we are not doing run time linking.
10.8466 + library_names_spec='${libname}${release}.a $libname.a'
10.8467 + soname_spec='${libname}${release}${shared_ext}$major'
10.8468 + fi
10.8469 + shlibpath_var=LIBPATH
10.8470 + fi
10.8471 + ;;
10.8472 +
10.8473 +amigaos*)
10.8474 + library_names_spec='$libname.ixlibrary $libname.a'
10.8475 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
10.8476 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10.8477 + ;;
10.8478 +
10.8479 +beos*)
10.8480 + library_names_spec='${libname}${shared_ext}'
10.8481 + dynamic_linker="$host_os ld.so"
10.8482 + shlibpath_var=LIBRARY_PATH
10.8483 + ;;
10.8484 +
10.8485 +bsdi4*)
10.8486 + version_type=linux
10.8487 + need_version=no
10.8488 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8489 + soname_spec='${libname}${release}${shared_ext}$major'
10.8490 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10.8491 + shlibpath_var=LD_LIBRARY_PATH
10.8492 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10.8493 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10.8494 + # the default ld.so.conf also contains /usr/contrib/lib and
10.8495 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10.8496 + # libtool to hard-code these into programs
10.8497 + ;;
10.8498 +
10.8499 +cygwin* | mingw* | pw32*)
10.8500 + version_type=windows
10.8501 + shrext_cmds=".dll"
10.8502 + need_version=no
10.8503 + need_lib_prefix=no
10.8504 +
10.8505 + case $GCC,$host_os in
10.8506 + yes,cygwin* | yes,mingw* | yes,pw32*)
10.8507 + library_names_spec='$libname.dll.a'
10.8508 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
10.8509 + postinstall_cmds='base_file=`basename \${file}`~
10.8510 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10.8511 + dldir=$destdir/`dirname \$dlpath`~
10.8512 + test -d \$dldir || mkdir -p \$dldir~
10.8513 + $install_prog $dir/$dlname \$dldir/$dlname'
10.8514 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10.8515 + dlpath=$dir/\$dldll~
10.8516 + $rm \$dlpath'
10.8517 + shlibpath_overrides_runpath=yes
10.8518 +
10.8519 + case $host_os in
10.8520 + cygwin*)
10.8521 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10.8522 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.8523 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10.8524 + ;;
10.8525 + mingw*)
10.8526 + # MinGW DLLs use traditional 'lib' prefix
10.8527 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.8528 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.8529 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10.8530 + # It is most probably a Windows format PATH printed by
10.8531 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
10.8532 + # path with ; separators, and with drive letters. We can handle the
10.8533 + # drive letters (cygwin fileutils understands them), so leave them,
10.8534 + # especially as we might pass files found there to a mingw objdump,
10.8535 + # which wouldn't understand a cygwinified path. Ahh.
10.8536 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.8537 + else
10.8538 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.8539 + fi
10.8540 + ;;
10.8541 + pw32*)
10.8542 + # pw32 DLLs use 'pw' prefix rather than 'lib'
10.8543 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10.8544 + ;;
10.8545 + esac
10.8546 + ;;
10.8547 +
10.8548 + *)
10.8549 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10.8550 + ;;
10.8551 + esac
10.8552 + dynamic_linker='Win32 ld.exe'
10.8553 + # FIXME: first we should search . and the directory the executable is in
10.8554 + shlibpath_var=PATH
10.8555 + ;;
10.8556 +
10.8557 +darwin* | rhapsody*)
10.8558 + dynamic_linker="$host_os dyld"
10.8559 + version_type=darwin
10.8560 + need_lib_prefix=no
10.8561 + need_version=no
10.8562 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10.8563 + soname_spec='${libname}${release}${major}$shared_ext'
10.8564 + shlibpath_overrides_runpath=yes
10.8565 + shlibpath_var=DYLD_LIBRARY_PATH
10.8566 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
10.8567 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10.8568 + if test "$GCC" = yes; then
10.8569 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10.8570 + else
10.8571 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10.8572 + fi
10.8573 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10.8574 + ;;
10.8575 +
10.8576 +dgux*)
10.8577 + version_type=linux
10.8578 + need_lib_prefix=no
10.8579 + need_version=no
10.8580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10.8581 + soname_spec='${libname}${release}${shared_ext}$major'
10.8582 + shlibpath_var=LD_LIBRARY_PATH
10.8583 + ;;
10.8584 +
10.8585 +freebsd1*)
10.8586 + dynamic_linker=no
10.8587 + ;;
10.8588 +
10.8589 +kfreebsd*-gnu)
10.8590 + version_type=linux
10.8591 + need_lib_prefix=no
10.8592 + need_version=no
10.8593 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.8594 + soname_spec='${libname}${release}${shared_ext}$major'
10.8595 + shlibpath_var=LD_LIBRARY_PATH
10.8596 + shlibpath_overrides_runpath=no
10.8597 + hardcode_into_libs=yes
10.8598 + dynamic_linker='GNU ld.so'
10.8599 + ;;
10.8600 +
10.8601 +freebsd*)
10.8602 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10.8603 + version_type=freebsd-$objformat
10.8604 + case $version_type in
10.8605 + freebsd-elf*)
10.8606 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10.8607 + need_version=no
10.8608 + need_lib_prefix=no
10.8609 + ;;
10.8610 + freebsd-*)
10.8611 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10.8612 + need_version=yes
10.8613 + ;;
10.8614 + esac
10.8615 + shlibpath_var=LD_LIBRARY_PATH
10.8616 + case $host_os in
10.8617 + freebsd2*)
10.8618 + shlibpath_overrides_runpath=yes
10.8619 + ;;
10.8620 + freebsd3.01* | freebsdelf3.01*)
10.8621 + shlibpath_overrides_runpath=yes
10.8622 + hardcode_into_libs=yes
10.8623 + ;;
10.8624 + *) # from 3.2 on
10.8625 + shlibpath_overrides_runpath=no
10.8626 + hardcode_into_libs=yes
10.8627 + ;;
10.8628 + esac
10.8629 + ;;
10.8630 +
10.8631 +gnu*)
10.8632 + version_type=linux
10.8633 + need_lib_prefix=no
10.8634 + need_version=no
10.8635 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10.8636 + soname_spec='${libname}${release}${shared_ext}$major'
10.8637 + shlibpath_var=LD_LIBRARY_PATH
10.8638 + hardcode_into_libs=yes
10.8639 + ;;
10.8640 +
10.8641 +hpux9* | hpux10* | hpux11*)
10.8642 + # Give a soname corresponding to the major version so that dld.sl refuses to
10.8643 + # link against other versions.
10.8644 + version_type=sunos
10.8645 + need_lib_prefix=no
10.8646 + need_version=no
10.8647 + case "$host_cpu" in
10.8648 + ia64*)
10.8649 + shrext_cmds='.so'
10.8650 + hardcode_into_libs=yes
10.8651 + dynamic_linker="$host_os dld.so"
10.8652 + shlibpath_var=LD_LIBRARY_PATH
10.8653 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.8654 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8655 + soname_spec='${libname}${release}${shared_ext}$major'
10.8656 + if test "X$HPUX_IA64_MODE" = X32; then
10.8657 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10.8658 + else
10.8659 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10.8660 + fi
10.8661 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.8662 + ;;
10.8663 + hppa*64*)
10.8664 + shrext_cmds='.sl'
10.8665 + hardcode_into_libs=yes
10.8666 + dynamic_linker="$host_os dld.sl"
10.8667 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10.8668 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.8669 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8670 + soname_spec='${libname}${release}${shared_ext}$major'
10.8671 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10.8672 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.8673 + ;;
10.8674 + *)
10.8675 + shrext_cmds='.sl'
10.8676 + dynamic_linker="$host_os dld.sl"
10.8677 + shlibpath_var=SHLIB_PATH
10.8678 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10.8679 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8680 + soname_spec='${libname}${release}${shared_ext}$major'
10.8681 + ;;
10.8682 + esac
10.8683 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
10.8684 + postinstall_cmds='chmod 555 $lib'
10.8685 + ;;
10.8686 +
10.8687 +irix5* | irix6* | nonstopux*)
10.8688 + case $host_os in
10.8689 + nonstopux*) version_type=nonstopux ;;
10.8690 + *)
10.8691 + if test "$lt_cv_prog_gnu_ld" = yes; then
10.8692 + version_type=linux
10.8693 + else
10.8694 + version_type=irix
10.8695 + fi ;;
10.8696 + esac
10.8697 + need_lib_prefix=no
10.8698 + need_version=no
10.8699 + soname_spec='${libname}${release}${shared_ext}$major'
10.8700 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10.8701 + case $host_os in
10.8702 + irix5* | nonstopux*)
10.8703 + libsuff= shlibsuff=
10.8704 + ;;
10.8705 + *)
10.8706 + case $LD in # libtool.m4 will add one of these switches to LD
10.8707 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10.8708 + libsuff= shlibsuff= libmagic=32-bit;;
10.8709 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10.8710 + libsuff=32 shlibsuff=N32 libmagic=N32;;
10.8711 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10.8712 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
10.8713 + *) libsuff= shlibsuff= libmagic=never-match;;
10.8714 + esac
10.8715 + ;;
10.8716 + esac
10.8717 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10.8718 + shlibpath_overrides_runpath=no
10.8719 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10.8720 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10.8721 + hardcode_into_libs=yes
10.8722 + ;;
10.8723 +
10.8724 +# No shared lib support for Linux oldld, aout, or coff.
10.8725 +linux*oldld* | linux*aout* | linux*coff*)
10.8726 + dynamic_linker=no
10.8727 + ;;
10.8728 +
10.8729 +# This must be Linux ELF.
10.8730 +linux*)
10.8731 + version_type=linux
10.8732 + need_lib_prefix=no
10.8733 + need_version=no
10.8734 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8735 + soname_spec='${libname}${release}${shared_ext}$major'
10.8736 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10.8737 + shlibpath_var=LD_LIBRARY_PATH
10.8738 + shlibpath_overrides_runpath=no
10.8739 + # This implies no fast_install, which is unacceptable.
10.8740 + # Some rework will be needed to allow for fast_install
10.8741 + # before this can be enabled.
10.8742 + hardcode_into_libs=yes
10.8743 +
10.8744 + # Append ld.so.conf contents to the search path
10.8745 + if test -f /etc/ld.so.conf; then
10.8746 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
10.8747 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10.8748 + fi
10.8749 +
10.8750 + # We used to test for /lib/ld.so.1 and disable shared libraries on
10.8751 + # powerpc, because MkLinux only supported shared libraries with the
10.8752 + # GNU dynamic linker. Since this was broken with cross compilers,
10.8753 + # most powerpc-linux boxes support dynamic linking these days and
10.8754 + # people can always --disable-shared, the test was removed, and we
10.8755 + # assume the GNU/Linux dynamic linker is in use.
10.8756 + dynamic_linker='GNU/Linux ld.so'
10.8757 + ;;
10.8758 +
10.8759 +netbsdelf*-gnu)
10.8760 + version_type=linux
10.8761 + need_lib_prefix=no
10.8762 + need_version=no
10.8763 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.8764 + soname_spec='${libname}${release}${shared_ext}$major'
10.8765 + shlibpath_var=LD_LIBRARY_PATH
10.8766 + shlibpath_overrides_runpath=no
10.8767 + hardcode_into_libs=yes
10.8768 + dynamic_linker='NetBSD ld.elf_so'
10.8769 + ;;
10.8770 +
10.8771 +knetbsd*-gnu)
10.8772 + version_type=linux
10.8773 + need_lib_prefix=no
10.8774 + need_version=no
10.8775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.8776 + soname_spec='${libname}${release}${shared_ext}$major'
10.8777 + shlibpath_var=LD_LIBRARY_PATH
10.8778 + shlibpath_overrides_runpath=no
10.8779 + hardcode_into_libs=yes
10.8780 + dynamic_linker='GNU ld.so'
10.8781 + ;;
10.8782 +
10.8783 +netbsd*)
10.8784 + version_type=sunos
10.8785 + need_lib_prefix=no
10.8786 + need_version=no
10.8787 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.8788 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.8789 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.8790 + dynamic_linker='NetBSD (a.out) ld.so'
10.8791 + else
10.8792 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.8793 + soname_spec='${libname}${release}${shared_ext}$major'
10.8794 + dynamic_linker='NetBSD ld.elf_so'
10.8795 + fi
10.8796 + shlibpath_var=LD_LIBRARY_PATH
10.8797 + shlibpath_overrides_runpath=yes
10.8798 + hardcode_into_libs=yes
10.8799 + ;;
10.8800 +
10.8801 +newsos6)
10.8802 + version_type=linux
10.8803 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8804 + shlibpath_var=LD_LIBRARY_PATH
10.8805 + shlibpath_overrides_runpath=yes
10.8806 + ;;
10.8807 +
10.8808 +nto-qnx*)
10.8809 + version_type=linux
10.8810 + need_lib_prefix=no
10.8811 + need_version=no
10.8812 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8813 + soname_spec='${libname}${release}${shared_ext}$major'
10.8814 + shlibpath_var=LD_LIBRARY_PATH
10.8815 + shlibpath_overrides_runpath=yes
10.8816 + ;;
10.8817 +
10.8818 +openbsd*)
10.8819 + version_type=sunos
10.8820 + need_lib_prefix=no
10.8821 + need_version=yes
10.8822 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.8823 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.8824 + shlibpath_var=LD_LIBRARY_PATH
10.8825 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.8826 + case $host_os in
10.8827 + openbsd2.[89] | openbsd2.[89].*)
10.8828 + shlibpath_overrides_runpath=no
10.8829 + ;;
10.8830 + *)
10.8831 + shlibpath_overrides_runpath=yes
10.8832 + ;;
10.8833 + esac
10.8834 + else
10.8835 + shlibpath_overrides_runpath=yes
10.8836 + fi
10.8837 + ;;
10.8838 +
10.8839 +os2*)
10.8840 + libname_spec='$name'
10.8841 + shrext_cmds=".dll"
10.8842 + need_lib_prefix=no
10.8843 + library_names_spec='$libname${shared_ext} $libname.a'
10.8844 + dynamic_linker='OS/2 ld.exe'
10.8845 + shlibpath_var=LIBPATH
10.8846 + ;;
10.8847 +
10.8848 +osf3* | osf4* | osf5*)
10.8849 + version_type=osf
10.8850 + need_lib_prefix=no
10.8851 + need_version=no
10.8852 + soname_spec='${libname}${release}${shared_ext}$major'
10.8853 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8854 + shlibpath_var=LD_LIBRARY_PATH
10.8855 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10.8856 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10.8857 + ;;
10.8858 +
10.8859 +sco3.2v5*)
10.8860 + version_type=osf
10.8861 + soname_spec='${libname}${release}${shared_ext}$major'
10.8862 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8863 + shlibpath_var=LD_LIBRARY_PATH
10.8864 + ;;
10.8865 +
10.8866 +solaris*)
10.8867 + version_type=linux
10.8868 + need_lib_prefix=no
10.8869 + need_version=no
10.8870 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8871 + soname_spec='${libname}${release}${shared_ext}$major'
10.8872 + shlibpath_var=LD_LIBRARY_PATH
10.8873 + shlibpath_overrides_runpath=yes
10.8874 + hardcode_into_libs=yes
10.8875 + # ldd complains unless libraries are executable
10.8876 + postinstall_cmds='chmod +x $lib'
10.8877 + ;;
10.8878 +
10.8879 +sunos4*)
10.8880 + version_type=sunos
10.8881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.8882 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10.8883 + shlibpath_var=LD_LIBRARY_PATH
10.8884 + shlibpath_overrides_runpath=yes
10.8885 + if test "$with_gnu_ld" = yes; then
10.8886 + need_lib_prefix=no
10.8887 + fi
10.8888 + need_version=yes
10.8889 + ;;
10.8890 +
10.8891 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.8892 + version_type=linux
10.8893 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8894 + soname_spec='${libname}${release}${shared_ext}$major'
10.8895 + shlibpath_var=LD_LIBRARY_PATH
10.8896 + case $host_vendor in
10.8897 + sni)
10.8898 + shlibpath_overrides_runpath=no
10.8899 + need_lib_prefix=no
10.8900 + export_dynamic_flag_spec='${wl}-Blargedynsym'
10.8901 + runpath_var=LD_RUN_PATH
10.8902 + ;;
10.8903 + siemens)
10.8904 + need_lib_prefix=no
10.8905 + ;;
10.8906 + motorola)
10.8907 + need_lib_prefix=no
10.8908 + need_version=no
10.8909 + shlibpath_overrides_runpath=no
10.8910 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10.8911 + ;;
10.8912 + esac
10.8913 + ;;
10.8914 +
10.8915 +sysv4*MP*)
10.8916 + if test -d /usr/nec ;then
10.8917 + version_type=linux
10.8918 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10.8919 + soname_spec='$libname${shared_ext}.$major'
10.8920 + shlibpath_var=LD_LIBRARY_PATH
10.8921 + fi
10.8922 + ;;
10.8923 +
10.8924 +uts4*)
10.8925 + version_type=linux
10.8926 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.8927 + soname_spec='${libname}${release}${shared_ext}$major'
10.8928 + shlibpath_var=LD_LIBRARY_PATH
10.8929 + ;;
10.8930 +
10.8931 +*)
10.8932 + dynamic_linker=no
10.8933 + ;;
10.8934 +esac
10.8935 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10.8936 +echo "${ECHO_T}$dynamic_linker" >&6; }
10.8937 +test "$dynamic_linker" = no && can_build_shared=no
10.8938 +
10.8939 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10.8940 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10.8941 +hardcode_action=
10.8942 +if test -n "$hardcode_libdir_flag_spec" || \
10.8943 + test -n "$runpath_var " || \
10.8944 + test "X$hardcode_automatic"="Xyes" ; then
10.8945 +
10.8946 + # We can hardcode non-existant directories.
10.8947 + if test "$hardcode_direct" != no &&
10.8948 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
10.8949 + # have to relink, otherwise we might link with an installed library
10.8950 + # when we should be linking with a yet-to-be-installed one
10.8951 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10.8952 + test "$hardcode_minus_L" != no; then
10.8953 + # Linking always hardcodes the temporary library directory.
10.8954 + hardcode_action=relink
10.8955 + else
10.8956 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
10.8957 + hardcode_action=immediate
10.8958 + fi
10.8959 +else
10.8960 + # We cannot hardcode anything, or else we can only hardcode existing
10.8961 + # directories.
10.8962 + hardcode_action=unsupported
10.8963 +fi
10.8964 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10.8965 +echo "${ECHO_T}$hardcode_action" >&6; }
10.8966 +
10.8967 +if test "$hardcode_action" = relink; then
10.8968 + # Fast installation is not supported
10.8969 + enable_fast_install=no
10.8970 +elif test "$shlibpath_overrides_runpath" = yes ||
10.8971 + test "$enable_shared" = no; then
10.8972 + # Fast installation is not necessary
10.8973 + enable_fast_install=needless
10.8974 +fi
10.8975 +
10.8976 +striplib=
10.8977 +old_striplib=
10.8978 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10.8979 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10.8980 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10.8981 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10.8982 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10.8983 + { echo "$as_me:$LINENO: result: yes" >&5
10.8984 +echo "${ECHO_T}yes" >&6; }
10.8985 +else
10.8986 +# FIXME - insert some real tests, host_os isn't really good enough
10.8987 + case $host_os in
10.8988 + darwin*)
10.8989 + if test -n "$STRIP" ; then
10.8990 + striplib="$STRIP -x"
10.8991 + { echo "$as_me:$LINENO: result: yes" >&5
10.8992 +echo "${ECHO_T}yes" >&6; }
10.8993 + else
10.8994 + { echo "$as_me:$LINENO: result: no" >&5
10.8995 +echo "${ECHO_T}no" >&6; }
10.8996 +fi
10.8997 + ;;
10.8998 + *)
10.8999 + { echo "$as_me:$LINENO: result: no" >&5
10.9000 +echo "${ECHO_T}no" >&6; }
10.9001 + ;;
10.9002 + esac
10.9003 +fi
10.9004 +
10.9005 +if test "x$enable_dlopen" != xyes; then
10.9006 + enable_dlopen=unknown
10.9007 + enable_dlopen_self=unknown
10.9008 + enable_dlopen_self_static=unknown
10.9009 +else
10.9010 + lt_cv_dlopen=no
10.9011 + lt_cv_dlopen_libs=
10.9012 +
10.9013 + case $host_os in
10.9014 + beos*)
10.9015 + lt_cv_dlopen="load_add_on"
10.9016 + lt_cv_dlopen_libs=
10.9017 + lt_cv_dlopen_self=yes
10.9018 + ;;
10.9019 +
10.9020 + mingw* | pw32*)
10.9021 + lt_cv_dlopen="LoadLibrary"
10.9022 + lt_cv_dlopen_libs=
10.9023 + ;;
10.9024 +
10.9025 + cygwin*)
10.9026 + lt_cv_dlopen="dlopen"
10.9027 + lt_cv_dlopen_libs=
10.9028 + ;;
10.9029 +
10.9030 + darwin*)
10.9031 + # if libdl is installed we need to link against it
10.9032 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10.9033 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10.9034 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10.9035 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9036 +else
10.9037 + ac_check_lib_save_LIBS=$LIBS
10.9038 +LIBS="-ldl $LIBS"
10.9039 +cat >conftest.$ac_ext <<_ACEOF
10.9040 +/* confdefs.h. */
10.9041 +_ACEOF
10.9042 +cat confdefs.h >>conftest.$ac_ext
10.9043 +cat >>conftest.$ac_ext <<_ACEOF
10.9044 +/* end confdefs.h. */
10.9045 +
10.9046 +/* Override any GCC internal prototype to avoid an error.
10.9047 + Use char because int might match the return type of a GCC
10.9048 + builtin and then its argument prototype would still apply. */
10.9049 +#ifdef __cplusplus
10.9050 +extern "C"
10.9051 +#endif
10.9052 +char dlopen ();
10.9053 +int
10.9054 +main ()
10.9055 +{
10.9056 +return dlopen ();
10.9057 + ;
10.9058 + return 0;
10.9059 +}
10.9060 +_ACEOF
10.9061 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9062 +if { (ac_try="$ac_link"
10.9063 +case "(($ac_try" in
10.9064 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9065 + *) ac_try_echo=$ac_try;;
10.9066 +esac
10.9067 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9068 + (eval "$ac_link") 2>conftest.er1
10.9069 + ac_status=$?
10.9070 + grep -v '^ *+' conftest.er1 >conftest.err
10.9071 + rm -f conftest.er1
10.9072 + cat conftest.err >&5
10.9073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9074 + (exit $ac_status); } && {
10.9075 + test -z "$ac_c_werror_flag" ||
10.9076 + test ! -s conftest.err
10.9077 + } && test -s conftest$ac_exeext &&
10.9078 + $as_test_x conftest$ac_exeext; then
10.9079 + ac_cv_lib_dl_dlopen=yes
10.9080 +else
10.9081 + echo "$as_me: failed program was:" >&5
10.9082 +sed 's/^/| /' conftest.$ac_ext >&5
10.9083 +
10.9084 + ac_cv_lib_dl_dlopen=no
10.9085 +fi
10.9086 +
10.9087 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9088 + conftest$ac_exeext conftest.$ac_ext
10.9089 +LIBS=$ac_check_lib_save_LIBS
10.9090 +fi
10.9091 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10.9092 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10.9093 +if test $ac_cv_lib_dl_dlopen = yes; then
10.9094 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10.9095 +else
10.9096 +
10.9097 + lt_cv_dlopen="dyld"
10.9098 + lt_cv_dlopen_libs=
10.9099 + lt_cv_dlopen_self=yes
10.9100 +
10.9101 +fi
10.9102 +
10.9103 + ;;
10.9104 +
10.9105 + *)
10.9106 + { echo "$as_me:$LINENO: checking for shl_load" >&5
10.9107 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10.9108 +if test "${ac_cv_func_shl_load+set}" = set; then
10.9109 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9110 +else
10.9111 + cat >conftest.$ac_ext <<_ACEOF
10.9112 +/* confdefs.h. */
10.9113 +_ACEOF
10.9114 +cat confdefs.h >>conftest.$ac_ext
10.9115 +cat >>conftest.$ac_ext <<_ACEOF
10.9116 +/* end confdefs.h. */
10.9117 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10.9118 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10.9119 +#define shl_load innocuous_shl_load
10.9120 +
10.9121 +/* System header to define __stub macros and hopefully few prototypes,
10.9122 + which can conflict with char shl_load (); below.
10.9123 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.9124 + <limits.h> exists even on freestanding compilers. */
10.9125 +
10.9126 +#ifdef __STDC__
10.9127 +# include <limits.h>
10.9128 +#else
10.9129 +# include <assert.h>
10.9130 +#endif
10.9131 +
10.9132 +#undef shl_load
10.9133 +
10.9134 +/* Override any GCC internal prototype to avoid an error.
10.9135 + Use char because int might match the return type of a GCC
10.9136 + builtin and then its argument prototype would still apply. */
10.9137 +#ifdef __cplusplus
10.9138 +extern "C"
10.9139 +#endif
10.9140 +char shl_load ();
10.9141 +/* The GNU C library defines this for functions which it implements
10.9142 + to always fail with ENOSYS. Some functions are actually named
10.9143 + something starting with __ and the normal name is an alias. */
10.9144 +#if defined __stub_shl_load || defined __stub___shl_load
10.9145 +choke me
10.9146 +#endif
10.9147 +
10.9148 +int
10.9149 +main ()
10.9150 +{
10.9151 +return shl_load ();
10.9152 + ;
10.9153 + return 0;
10.9154 +}
10.9155 +_ACEOF
10.9156 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9157 +if { (ac_try="$ac_link"
10.9158 +case "(($ac_try" in
10.9159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9160 + *) ac_try_echo=$ac_try;;
10.9161 +esac
10.9162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9163 + (eval "$ac_link") 2>conftest.er1
10.9164 + ac_status=$?
10.9165 + grep -v '^ *+' conftest.er1 >conftest.err
10.9166 + rm -f conftest.er1
10.9167 + cat conftest.err >&5
10.9168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9169 + (exit $ac_status); } && {
10.9170 + test -z "$ac_c_werror_flag" ||
10.9171 + test ! -s conftest.err
10.9172 + } && test -s conftest$ac_exeext &&
10.9173 + $as_test_x conftest$ac_exeext; then
10.9174 + ac_cv_func_shl_load=yes
10.9175 +else
10.9176 + echo "$as_me: failed program was:" >&5
10.9177 +sed 's/^/| /' conftest.$ac_ext >&5
10.9178 +
10.9179 + ac_cv_func_shl_load=no
10.9180 +fi
10.9181 +
10.9182 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9183 + conftest$ac_exeext conftest.$ac_ext
10.9184 +fi
10.9185 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10.9186 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10.9187 +if test $ac_cv_func_shl_load = yes; then
10.9188 + lt_cv_dlopen="shl_load"
10.9189 +else
10.9190 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10.9191 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10.9192 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10.9193 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9194 +else
10.9195 + ac_check_lib_save_LIBS=$LIBS
10.9196 +LIBS="-ldld $LIBS"
10.9197 +cat >conftest.$ac_ext <<_ACEOF
10.9198 +/* confdefs.h. */
10.9199 +_ACEOF
10.9200 +cat confdefs.h >>conftest.$ac_ext
10.9201 +cat >>conftest.$ac_ext <<_ACEOF
10.9202 +/* end confdefs.h. */
10.9203 +
10.9204 +/* Override any GCC internal prototype to avoid an error.
10.9205 + Use char because int might match the return type of a GCC
10.9206 + builtin and then its argument prototype would still apply. */
10.9207 +#ifdef __cplusplus
10.9208 +extern "C"
10.9209 +#endif
10.9210 +char shl_load ();
10.9211 +int
10.9212 +main ()
10.9213 +{
10.9214 +return shl_load ();
10.9215 + ;
10.9216 + return 0;
10.9217 +}
10.9218 +_ACEOF
10.9219 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9220 +if { (ac_try="$ac_link"
10.9221 +case "(($ac_try" in
10.9222 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9223 + *) ac_try_echo=$ac_try;;
10.9224 +esac
10.9225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9226 + (eval "$ac_link") 2>conftest.er1
10.9227 + ac_status=$?
10.9228 + grep -v '^ *+' conftest.er1 >conftest.err
10.9229 + rm -f conftest.er1
10.9230 + cat conftest.err >&5
10.9231 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9232 + (exit $ac_status); } && {
10.9233 + test -z "$ac_c_werror_flag" ||
10.9234 + test ! -s conftest.err
10.9235 + } && test -s conftest$ac_exeext &&
10.9236 + $as_test_x conftest$ac_exeext; then
10.9237 + ac_cv_lib_dld_shl_load=yes
10.9238 +else
10.9239 + echo "$as_me: failed program was:" >&5
10.9240 +sed 's/^/| /' conftest.$ac_ext >&5
10.9241 +
10.9242 + ac_cv_lib_dld_shl_load=no
10.9243 +fi
10.9244 +
10.9245 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9246 + conftest$ac_exeext conftest.$ac_ext
10.9247 +LIBS=$ac_check_lib_save_LIBS
10.9248 +fi
10.9249 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10.9250 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10.9251 +if test $ac_cv_lib_dld_shl_load = yes; then
10.9252 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10.9253 +else
10.9254 + { echo "$as_me:$LINENO: checking for dlopen" >&5
10.9255 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10.9256 +if test "${ac_cv_func_dlopen+set}" = set; then
10.9257 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9258 +else
10.9259 + cat >conftest.$ac_ext <<_ACEOF
10.9260 +/* confdefs.h. */
10.9261 +_ACEOF
10.9262 +cat confdefs.h >>conftest.$ac_ext
10.9263 +cat >>conftest.$ac_ext <<_ACEOF
10.9264 +/* end confdefs.h. */
10.9265 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10.9266 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10.9267 +#define dlopen innocuous_dlopen
10.9268 +
10.9269 +/* System header to define __stub macros and hopefully few prototypes,
10.9270 + which can conflict with char dlopen (); below.
10.9271 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.9272 + <limits.h> exists even on freestanding compilers. */
10.9273 +
10.9274 +#ifdef __STDC__
10.9275 +# include <limits.h>
10.9276 +#else
10.9277 +# include <assert.h>
10.9278 +#endif
10.9279 +
10.9280 +#undef dlopen
10.9281 +
10.9282 +/* Override any GCC internal prototype to avoid an error.
10.9283 + Use char because int might match the return type of a GCC
10.9284 + builtin and then its argument prototype would still apply. */
10.9285 +#ifdef __cplusplus
10.9286 +extern "C"
10.9287 +#endif
10.9288 +char dlopen ();
10.9289 +/* The GNU C library defines this for functions which it implements
10.9290 + to always fail with ENOSYS. Some functions are actually named
10.9291 + something starting with __ and the normal name is an alias. */
10.9292 +#if defined __stub_dlopen || defined __stub___dlopen
10.9293 +choke me
10.9294 +#endif
10.9295 +
10.9296 +int
10.9297 +main ()
10.9298 +{
10.9299 +return dlopen ();
10.9300 + ;
10.9301 + return 0;
10.9302 +}
10.9303 +_ACEOF
10.9304 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9305 +if { (ac_try="$ac_link"
10.9306 +case "(($ac_try" in
10.9307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9308 + *) ac_try_echo=$ac_try;;
10.9309 +esac
10.9310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9311 + (eval "$ac_link") 2>conftest.er1
10.9312 + ac_status=$?
10.9313 + grep -v '^ *+' conftest.er1 >conftest.err
10.9314 + rm -f conftest.er1
10.9315 + cat conftest.err >&5
10.9316 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9317 + (exit $ac_status); } && {
10.9318 + test -z "$ac_c_werror_flag" ||
10.9319 + test ! -s conftest.err
10.9320 + } && test -s conftest$ac_exeext &&
10.9321 + $as_test_x conftest$ac_exeext; then
10.9322 + ac_cv_func_dlopen=yes
10.9323 +else
10.9324 + echo "$as_me: failed program was:" >&5
10.9325 +sed 's/^/| /' conftest.$ac_ext >&5
10.9326 +
10.9327 + ac_cv_func_dlopen=no
10.9328 +fi
10.9329 +
10.9330 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9331 + conftest$ac_exeext conftest.$ac_ext
10.9332 +fi
10.9333 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10.9334 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10.9335 +if test $ac_cv_func_dlopen = yes; then
10.9336 + lt_cv_dlopen="dlopen"
10.9337 +else
10.9338 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10.9339 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10.9340 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10.9341 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9342 +else
10.9343 + ac_check_lib_save_LIBS=$LIBS
10.9344 +LIBS="-ldl $LIBS"
10.9345 +cat >conftest.$ac_ext <<_ACEOF
10.9346 +/* confdefs.h. */
10.9347 +_ACEOF
10.9348 +cat confdefs.h >>conftest.$ac_ext
10.9349 +cat >>conftest.$ac_ext <<_ACEOF
10.9350 +/* end confdefs.h. */
10.9351 +
10.9352 +/* Override any GCC internal prototype to avoid an error.
10.9353 + Use char because int might match the return type of a GCC
10.9354 + builtin and then its argument prototype would still apply. */
10.9355 +#ifdef __cplusplus
10.9356 +extern "C"
10.9357 +#endif
10.9358 +char dlopen ();
10.9359 +int
10.9360 +main ()
10.9361 +{
10.9362 +return dlopen ();
10.9363 + ;
10.9364 + return 0;
10.9365 +}
10.9366 +_ACEOF
10.9367 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9368 +if { (ac_try="$ac_link"
10.9369 +case "(($ac_try" in
10.9370 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9371 + *) ac_try_echo=$ac_try;;
10.9372 +esac
10.9373 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9374 + (eval "$ac_link") 2>conftest.er1
10.9375 + ac_status=$?
10.9376 + grep -v '^ *+' conftest.er1 >conftest.err
10.9377 + rm -f conftest.er1
10.9378 + cat conftest.err >&5
10.9379 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9380 + (exit $ac_status); } && {
10.9381 + test -z "$ac_c_werror_flag" ||
10.9382 + test ! -s conftest.err
10.9383 + } && test -s conftest$ac_exeext &&
10.9384 + $as_test_x conftest$ac_exeext; then
10.9385 + ac_cv_lib_dl_dlopen=yes
10.9386 +else
10.9387 + echo "$as_me: failed program was:" >&5
10.9388 +sed 's/^/| /' conftest.$ac_ext >&5
10.9389 +
10.9390 + ac_cv_lib_dl_dlopen=no
10.9391 +fi
10.9392 +
10.9393 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9394 + conftest$ac_exeext conftest.$ac_ext
10.9395 +LIBS=$ac_check_lib_save_LIBS
10.9396 +fi
10.9397 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10.9398 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10.9399 +if test $ac_cv_lib_dl_dlopen = yes; then
10.9400 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10.9401 +else
10.9402 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10.9403 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10.9404 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10.9405 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9406 +else
10.9407 + ac_check_lib_save_LIBS=$LIBS
10.9408 +LIBS="-lsvld $LIBS"
10.9409 +cat >conftest.$ac_ext <<_ACEOF
10.9410 +/* confdefs.h. */
10.9411 +_ACEOF
10.9412 +cat confdefs.h >>conftest.$ac_ext
10.9413 +cat >>conftest.$ac_ext <<_ACEOF
10.9414 +/* end confdefs.h. */
10.9415 +
10.9416 +/* Override any GCC internal prototype to avoid an error.
10.9417 + Use char because int might match the return type of a GCC
10.9418 + builtin and then its argument prototype would still apply. */
10.9419 +#ifdef __cplusplus
10.9420 +extern "C"
10.9421 +#endif
10.9422 +char dlopen ();
10.9423 +int
10.9424 +main ()
10.9425 +{
10.9426 +return dlopen ();
10.9427 + ;
10.9428 + return 0;
10.9429 +}
10.9430 +_ACEOF
10.9431 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9432 +if { (ac_try="$ac_link"
10.9433 +case "(($ac_try" in
10.9434 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9435 + *) ac_try_echo=$ac_try;;
10.9436 +esac
10.9437 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9438 + (eval "$ac_link") 2>conftest.er1
10.9439 + ac_status=$?
10.9440 + grep -v '^ *+' conftest.er1 >conftest.err
10.9441 + rm -f conftest.er1
10.9442 + cat conftest.err >&5
10.9443 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9444 + (exit $ac_status); } && {
10.9445 + test -z "$ac_c_werror_flag" ||
10.9446 + test ! -s conftest.err
10.9447 + } && test -s conftest$ac_exeext &&
10.9448 + $as_test_x conftest$ac_exeext; then
10.9449 + ac_cv_lib_svld_dlopen=yes
10.9450 +else
10.9451 + echo "$as_me: failed program was:" >&5
10.9452 +sed 's/^/| /' conftest.$ac_ext >&5
10.9453 +
10.9454 + ac_cv_lib_svld_dlopen=no
10.9455 +fi
10.9456 +
10.9457 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9458 + conftest$ac_exeext conftest.$ac_ext
10.9459 +LIBS=$ac_check_lib_save_LIBS
10.9460 +fi
10.9461 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10.9462 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10.9463 +if test $ac_cv_lib_svld_dlopen = yes; then
10.9464 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10.9465 +else
10.9466 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10.9467 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10.9468 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10.9469 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9470 +else
10.9471 + ac_check_lib_save_LIBS=$LIBS
10.9472 +LIBS="-ldld $LIBS"
10.9473 +cat >conftest.$ac_ext <<_ACEOF
10.9474 +/* confdefs.h. */
10.9475 +_ACEOF
10.9476 +cat confdefs.h >>conftest.$ac_ext
10.9477 +cat >>conftest.$ac_ext <<_ACEOF
10.9478 +/* end confdefs.h. */
10.9479 +
10.9480 +/* Override any GCC internal prototype to avoid an error.
10.9481 + Use char because int might match the return type of a GCC
10.9482 + builtin and then its argument prototype would still apply. */
10.9483 +#ifdef __cplusplus
10.9484 +extern "C"
10.9485 +#endif
10.9486 +char dld_link ();
10.9487 +int
10.9488 +main ()
10.9489 +{
10.9490 +return dld_link ();
10.9491 + ;
10.9492 + return 0;
10.9493 +}
10.9494 +_ACEOF
10.9495 +rm -f conftest.$ac_objext conftest$ac_exeext
10.9496 +if { (ac_try="$ac_link"
10.9497 +case "(($ac_try" in
10.9498 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.9499 + *) ac_try_echo=$ac_try;;
10.9500 +esac
10.9501 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.9502 + (eval "$ac_link") 2>conftest.er1
10.9503 + ac_status=$?
10.9504 + grep -v '^ *+' conftest.er1 >conftest.err
10.9505 + rm -f conftest.er1
10.9506 + cat conftest.err >&5
10.9507 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9508 + (exit $ac_status); } && {
10.9509 + test -z "$ac_c_werror_flag" ||
10.9510 + test ! -s conftest.err
10.9511 + } && test -s conftest$ac_exeext &&
10.9512 + $as_test_x conftest$ac_exeext; then
10.9513 + ac_cv_lib_dld_dld_link=yes
10.9514 +else
10.9515 + echo "$as_me: failed program was:" >&5
10.9516 +sed 's/^/| /' conftest.$ac_ext >&5
10.9517 +
10.9518 + ac_cv_lib_dld_dld_link=no
10.9519 +fi
10.9520 +
10.9521 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.9522 + conftest$ac_exeext conftest.$ac_ext
10.9523 +LIBS=$ac_check_lib_save_LIBS
10.9524 +fi
10.9525 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10.9526 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10.9527 +if test $ac_cv_lib_dld_dld_link = yes; then
10.9528 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10.9529 +fi
10.9530 +
10.9531 +
10.9532 +fi
10.9533 +
10.9534 +
10.9535 +fi
10.9536 +
10.9537 +
10.9538 +fi
10.9539 +
10.9540 +
10.9541 +fi
10.9542 +
10.9543 +
10.9544 +fi
10.9545 +
10.9546 + ;;
10.9547 + esac
10.9548 +
10.9549 + if test "x$lt_cv_dlopen" != xno; then
10.9550 + enable_dlopen=yes
10.9551 + else
10.9552 + enable_dlopen=no
10.9553 + fi
10.9554 +
10.9555 + case $lt_cv_dlopen in
10.9556 + dlopen)
10.9557 + save_CPPFLAGS="$CPPFLAGS"
10.9558 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10.9559 +
10.9560 + save_LDFLAGS="$LDFLAGS"
10.9561 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10.9562 +
10.9563 + save_LIBS="$LIBS"
10.9564 + LIBS="$lt_cv_dlopen_libs $LIBS"
10.9565 +
10.9566 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10.9567 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10.9568 +if test "${lt_cv_dlopen_self+set}" = set; then
10.9569 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9570 +else
10.9571 + if test "$cross_compiling" = yes; then :
10.9572 + lt_cv_dlopen_self=cross
10.9573 +else
10.9574 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10.9575 + lt_status=$lt_dlunknown
10.9576 + cat > conftest.$ac_ext <<EOF
10.9577 +#line __oline__ "configure"
10.9578 +#include "confdefs.h"
10.9579 +
10.9580 +#if HAVE_DLFCN_H
10.9581 +#include <dlfcn.h>
10.9582 +#endif
10.9583 +
10.9584 +#include <stdio.h>
10.9585 +
10.9586 +#ifdef RTLD_GLOBAL
10.9587 +# define LT_DLGLOBAL RTLD_GLOBAL
10.9588 +#else
10.9589 +# ifdef DL_GLOBAL
10.9590 +# define LT_DLGLOBAL DL_GLOBAL
10.9591 +# else
10.9592 +# define LT_DLGLOBAL 0
10.9593 +# endif
10.9594 +#endif
10.9595 +
10.9596 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10.9597 + find out it does not work in some platform. */
10.9598 +#ifndef LT_DLLAZY_OR_NOW
10.9599 +# ifdef RTLD_LAZY
10.9600 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
10.9601 +# else
10.9602 +# ifdef DL_LAZY
10.9603 +# define LT_DLLAZY_OR_NOW DL_LAZY
10.9604 +# else
10.9605 +# ifdef RTLD_NOW
10.9606 +# define LT_DLLAZY_OR_NOW RTLD_NOW
10.9607 +# else
10.9608 +# ifdef DL_NOW
10.9609 +# define LT_DLLAZY_OR_NOW DL_NOW
10.9610 +# else
10.9611 +# define LT_DLLAZY_OR_NOW 0
10.9612 +# endif
10.9613 +# endif
10.9614 +# endif
10.9615 +# endif
10.9616 +#endif
10.9617 +
10.9618 +#ifdef __cplusplus
10.9619 +extern "C" void exit (int);
10.9620 +#endif
10.9621 +
10.9622 +void fnord() { int i=42;}
10.9623 +int main ()
10.9624 +{
10.9625 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10.9626 + int status = $lt_dlunknown;
10.9627 +
10.9628 + if (self)
10.9629 + {
10.9630 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10.9631 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10.9632 + /* dlclose (self); */
10.9633 + }
10.9634 +
10.9635 + exit (status);
10.9636 +}
10.9637 +EOF
10.9638 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.9639 + (eval $ac_link) 2>&5
10.9640 + ac_status=$?
10.9641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9642 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10.9643 + (./conftest; exit; ) 2>/dev/null
10.9644 + lt_status=$?
10.9645 + case x$lt_status in
10.9646 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10.9647 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10.9648 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
10.9649 + esac
10.9650 + else :
10.9651 + # compilation failed
10.9652 + lt_cv_dlopen_self=no
10.9653 + fi
10.9654 +fi
10.9655 +rm -fr conftest*
10.9656 +
10.9657 +
10.9658 +fi
10.9659 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10.9660 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10.9661 +
10.9662 + if test "x$lt_cv_dlopen_self" = xyes; then
10.9663 + LDFLAGS="$LDFLAGS $link_static_flag"
10.9664 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10.9665 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10.9666 +if test "${lt_cv_dlopen_self_static+set}" = set; then
10.9667 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.9668 +else
10.9669 + if test "$cross_compiling" = yes; then :
10.9670 + lt_cv_dlopen_self_static=cross
10.9671 +else
10.9672 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10.9673 + lt_status=$lt_dlunknown
10.9674 + cat > conftest.$ac_ext <<EOF
10.9675 +#line __oline__ "configure"
10.9676 +#include "confdefs.h"
10.9677 +
10.9678 +#if HAVE_DLFCN_H
10.9679 +#include <dlfcn.h>
10.9680 +#endif
10.9681 +
10.9682 +#include <stdio.h>
10.9683 +
10.9684 +#ifdef RTLD_GLOBAL
10.9685 +# define LT_DLGLOBAL RTLD_GLOBAL
10.9686 +#else
10.9687 +# ifdef DL_GLOBAL
10.9688 +# define LT_DLGLOBAL DL_GLOBAL
10.9689 +# else
10.9690 +# define LT_DLGLOBAL 0
10.9691 +# endif
10.9692 +#endif
10.9693 +
10.9694 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10.9695 + find out it does not work in some platform. */
10.9696 +#ifndef LT_DLLAZY_OR_NOW
10.9697 +# ifdef RTLD_LAZY
10.9698 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
10.9699 +# else
10.9700 +# ifdef DL_LAZY
10.9701 +# define LT_DLLAZY_OR_NOW DL_LAZY
10.9702 +# else
10.9703 +# ifdef RTLD_NOW
10.9704 +# define LT_DLLAZY_OR_NOW RTLD_NOW
10.9705 +# else
10.9706 +# ifdef DL_NOW
10.9707 +# define LT_DLLAZY_OR_NOW DL_NOW
10.9708 +# else
10.9709 +# define LT_DLLAZY_OR_NOW 0
10.9710 +# endif
10.9711 +# endif
10.9712 +# endif
10.9713 +# endif
10.9714 +#endif
10.9715 +
10.9716 +#ifdef __cplusplus
10.9717 +extern "C" void exit (int);
10.9718 +#endif
10.9719 +
10.9720 +void fnord() { int i=42;}
10.9721 +int main ()
10.9722 +{
10.9723 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10.9724 + int status = $lt_dlunknown;
10.9725 +
10.9726 + if (self)
10.9727 + {
10.9728 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10.9729 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10.9730 + /* dlclose (self); */
10.9731 + }
10.9732 +
10.9733 + exit (status);
10.9734 +}
10.9735 +EOF
10.9736 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.9737 + (eval $ac_link) 2>&5
10.9738 + ac_status=$?
10.9739 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.9740 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10.9741 + (./conftest; exit; ) 2>/dev/null
10.9742 + lt_status=$?
10.9743 + case x$lt_status in
10.9744 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10.9745 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10.9746 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
10.9747 + esac
10.9748 + else :
10.9749 + # compilation failed
10.9750 + lt_cv_dlopen_self_static=no
10.9751 + fi
10.9752 +fi
10.9753 +rm -fr conftest*
10.9754 +
10.9755 +
10.9756 +fi
10.9757 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10.9758 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10.9759 + fi
10.9760 +
10.9761 + CPPFLAGS="$save_CPPFLAGS"
10.9762 + LDFLAGS="$save_LDFLAGS"
10.9763 + LIBS="$save_LIBS"
10.9764 + ;;
10.9765 + esac
10.9766 +
10.9767 + case $lt_cv_dlopen_self in
10.9768 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10.9769 + *) enable_dlopen_self=unknown ;;
10.9770 + esac
10.9771 +
10.9772 + case $lt_cv_dlopen_self_static in
10.9773 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10.9774 + *) enable_dlopen_self_static=unknown ;;
10.9775 + esac
10.9776 +fi
10.9777 +
10.9778 +
10.9779 +# Report which librarie types wil actually be built
10.9780 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10.9781 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10.9782 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10.9783 +echo "${ECHO_T}$can_build_shared" >&6; }
10.9784 +
10.9785 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10.9786 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10.9787 +test "$can_build_shared" = "no" && enable_shared=no
10.9788 +
10.9789 +# On AIX, shared libraries and static libraries use the same namespace, and
10.9790 +# are all built from PIC.
10.9791 +case "$host_os" in
10.9792 +aix3*)
10.9793 + test "$enable_shared" = yes && enable_static=no
10.9794 + if test -n "$RANLIB"; then
10.9795 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
10.9796 + postinstall_cmds='$RANLIB $lib'
10.9797 + fi
10.9798 + ;;
10.9799 +
10.9800 +aix4* | aix5*)
10.9801 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10.9802 + test "$enable_shared" = yes && enable_static=no
10.9803 + fi
10.9804 + ;;
10.9805 + darwin* | rhapsody*)
10.9806 + if test "$GCC" = yes; then
10.9807 + archive_cmds_need_lc=no
10.9808 + case "$host_os" in
10.9809 + rhapsody* | darwin1.[012])
10.9810 + allow_undefined_flag='-undefined suppress'
10.9811 + ;;
10.9812 + *) # Darwin 1.3 on
10.9813 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10.9814 + allow_undefined_flag='-flat_namespace -undefined suppress'
10.9815 + else
10.9816 + case ${MACOSX_DEPLOYMENT_TARGET} in
10.9817 + 10.[012])
10.9818 + allow_undefined_flag='-flat_namespace -undefined suppress'
10.9819 + ;;
10.9820 + 10.*)
10.9821 + allow_undefined_flag='-undefined dynamic_lookup'
10.9822 + ;;
10.9823 + esac
10.9824 + fi
10.9825 + ;;
10.9826 + esac
10.9827 + output_verbose_link_cmd='echo'
10.9828 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
10.9829 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10.9830 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10.9831 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.9832 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.9833 + hardcode_direct=no
10.9834 + hardcode_automatic=yes
10.9835 + hardcode_shlibpath_var=unsupported
10.9836 + whole_archive_flag_spec='-all_load $convenience'
10.9837 + link_all_deplibs=yes
10.9838 + else
10.9839 + ld_shlibs=no
10.9840 + fi
10.9841 + ;;
10.9842 +esac
10.9843 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10.9844 +echo "${ECHO_T}$enable_shared" >&6; }
10.9845 +
10.9846 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10.9847 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10.9848 +# Make sure either enable_shared or enable_static is yes.
10.9849 +test "$enable_shared" = yes || enable_static=yes
10.9850 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
10.9851 +echo "${ECHO_T}$enable_static" >&6; }
10.9852 +
10.9853 +# The else clause should only fire when bootstrapping the
10.9854 +# libtool distribution, otherwise you forgot to ship ltmain.sh
10.9855 +# with your package, and you will get complaints that there are
10.9856 +# no rules to generate ltmain.sh.
10.9857 +if test -f "$ltmain"; then
10.9858 + # See if we are running on zsh, and set the options which allow our commands through
10.9859 + # without removal of \ escapes.
10.9860 + if test -n "${ZSH_VERSION+set}" ; then
10.9861 + setopt NO_GLOB_SUBST
10.9862 + fi
10.9863 + # Now quote all the things that may contain metacharacters while being
10.9864 + # careful not to overquote the AC_SUBSTed values. We take copies of the
10.9865 + # variables and quote the copies for generation of the libtool script.
10.9866 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10.9867 + SED SHELL STRIP \
10.9868 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10.9869 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10.9870 + deplibs_check_method reload_flag reload_cmds need_locks \
10.9871 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10.9872 + lt_cv_sys_global_symbol_to_c_name_address \
10.9873 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10.9874 + old_postinstall_cmds old_postuninstall_cmds \
10.9875 + compiler \
10.9876 + CC \
10.9877 + LD \
10.9878 + lt_prog_compiler_wl \
10.9879 + lt_prog_compiler_pic \
10.9880 + lt_prog_compiler_static \
10.9881 + lt_prog_compiler_no_builtin_flag \
10.9882 + export_dynamic_flag_spec \
10.9883 + thread_safe_flag_spec \
10.9884 + whole_archive_flag_spec \
10.9885 + enable_shared_with_static_runtimes \
10.9886 + old_archive_cmds \
10.9887 + old_archive_from_new_cmds \
10.9888 + predep_objects \
10.9889 + postdep_objects \
10.9890 + predeps \
10.9891 + postdeps \
10.9892 + compiler_lib_search_path \
10.9893 + archive_cmds \
10.9894 + archive_expsym_cmds \
10.9895 + postinstall_cmds \
10.9896 + postuninstall_cmds \
10.9897 + old_archive_from_expsyms_cmds \
10.9898 + allow_undefined_flag \
10.9899 + no_undefined_flag \
10.9900 + export_symbols_cmds \
10.9901 + hardcode_libdir_flag_spec \
10.9902 + hardcode_libdir_flag_spec_ld \
10.9903 + hardcode_libdir_separator \
10.9904 + hardcode_automatic \
10.9905 + module_cmds \
10.9906 + module_expsym_cmds \
10.9907 + lt_cv_prog_compiler_c_o \
10.9908 + exclude_expsyms \
10.9909 + include_expsyms; do
10.9910 +
10.9911 + case $var in
10.9912 + old_archive_cmds | \
10.9913 + old_archive_from_new_cmds | \
10.9914 + archive_cmds | \
10.9915 + archive_expsym_cmds | \
10.9916 + module_cmds | \
10.9917 + module_expsym_cmds | \
10.9918 + old_archive_from_expsyms_cmds | \
10.9919 + export_symbols_cmds | \
10.9920 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
10.9921 + postinstall_cmds | postuninstall_cmds | \
10.9922 + old_postinstall_cmds | old_postuninstall_cmds | \
10.9923 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10.9924 + # Double-quote double-evaled strings.
10.9925 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10.9926 + ;;
10.9927 + *)
10.9928 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10.9929 + ;;
10.9930 + esac
10.9931 + done
10.9932 +
10.9933 + case $lt_echo in
10.9934 + *'\$0 --fallback-echo"')
10.9935 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10.9936 + ;;
10.9937 + esac
10.9938 +
10.9939 +cfgfile="${ofile}T"
10.9940 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10.9941 + $rm -f "$cfgfile"
10.9942 + { echo "$as_me:$LINENO: creating $ofile" >&5
10.9943 +echo "$as_me: creating $ofile" >&6;}
10.9944 +
10.9945 + cat <<__EOF__ >> "$cfgfile"
10.9946 +#! $SHELL
10.9947 +
10.9948 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10.9949 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10.9950 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10.9951 +#
10.9952 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10.9953 +# Free Software Foundation, Inc.
10.9954 +#
10.9955 +# This file is part of GNU Libtool:
10.9956 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10.9957 +#
10.9958 +# This program is free software; you can redistribute it and/or modify
10.9959 +# it under the terms of the GNU General Public License as published by
10.9960 +# the Free Software Foundation; either version 2 of the License, or
10.9961 +# (at your option) any later version.
10.9962 +#
10.9963 +# This program is distributed in the hope that it will be useful, but
10.9964 +# WITHOUT ANY WARRANTY; without even the implied warranty of
10.9965 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10.9966 +# General Public License for more details.
10.9967 +#
10.9968 +# You should have received a copy of the GNU General Public License
10.9969 +# along with this program; if not, write to the Free Software
10.9970 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
10.9971 +#
10.9972 +# As a special exception to the GNU General Public License, if you
10.9973 +# distribute this file as part of a program that contains a
10.9974 +# configuration script generated by Autoconf, you may include it under
10.9975 +# the same distribution terms that you use for the rest of that program.
10.9976 +
10.9977 +# A sed program that does not truncate output.
10.9978 +SED=$lt_SED
10.9979 +
10.9980 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10.9981 +Xsed="$SED -e s/^X//"
10.9982 +
10.9983 +# The HP-UX ksh and POSIX shell print the target directory to stdout
10.9984 +# if CDPATH is set.
10.9985 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
10.9986 +
10.9987 +# The names of the tagged configurations supported by this script.
10.9988 +available_tags=
10.9989 +
10.9990 +# ### BEGIN LIBTOOL CONFIG
10.9991 +
10.9992 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10.9993 +
10.9994 +# Shell to use when invoking shell scripts.
10.9995 +SHELL=$lt_SHELL
10.9996 +
10.9997 +# Whether or not to build shared libraries.
10.9998 +build_libtool_libs=$enable_shared
10.9999 +
10.10000 +# Whether or not to build static libraries.
10.10001 +build_old_libs=$enable_static
10.10002 +
10.10003 +# Whether or not to add -lc for building shared libraries.
10.10004 +build_libtool_need_lc=$archive_cmds_need_lc
10.10005 +
10.10006 +# Whether or not to disallow shared libs when runtime libs are static
10.10007 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10.10008 +
10.10009 +# Whether or not to optimize for fast installation.
10.10010 +fast_install=$enable_fast_install
10.10011 +
10.10012 +# The host system.
10.10013 +host_alias=$host_alias
10.10014 +host=$host
10.10015 +
10.10016 +# An echo program that does not interpret backslashes.
10.10017 +echo=$lt_echo
10.10018 +
10.10019 +# The archiver.
10.10020 +AR=$lt_AR
10.10021 +AR_FLAGS=$lt_AR_FLAGS
10.10022 +
10.10023 +# A C compiler.
10.10024 +LTCC=$lt_LTCC
10.10025 +
10.10026 +# A language-specific compiler.
10.10027 +CC=$lt_compiler
10.10028 +
10.10029 +# Is the compiler the GNU C compiler?
10.10030 +with_gcc=$GCC
10.10031 +
10.10032 +# An ERE matcher.
10.10033 +EGREP=$lt_EGREP
10.10034 +
10.10035 +# The linker used to build libraries.
10.10036 +LD=$lt_LD
10.10037 +
10.10038 +# Whether we need hard or soft links.
10.10039 +LN_S=$lt_LN_S
10.10040 +
10.10041 +# A BSD-compatible nm program.
10.10042 +NM=$lt_NM
10.10043 +
10.10044 +# A symbol stripping program
10.10045 +STRIP=$lt_STRIP
10.10046 +
10.10047 +# Used to examine libraries when file_magic_cmd begins "file"
10.10048 +MAGIC_CMD=$MAGIC_CMD
10.10049 +
10.10050 +# Used on cygwin: DLL creation program.
10.10051 +DLLTOOL="$DLLTOOL"
10.10052 +
10.10053 +# Used on cygwin: object dumper.
10.10054 +OBJDUMP="$OBJDUMP"
10.10055 +
10.10056 +# Used on cygwin: assembler.
10.10057 +AS="$AS"
10.10058 +
10.10059 +# The name of the directory that contains temporary libtool files.
10.10060 +objdir=$objdir
10.10061 +
10.10062 +# How to create reloadable object files.
10.10063 +reload_flag=$lt_reload_flag
10.10064 +reload_cmds=$lt_reload_cmds
10.10065 +
10.10066 +# How to pass a linker flag through the compiler.
10.10067 +wl=$lt_lt_prog_compiler_wl
10.10068 +
10.10069 +# Object file suffix (normally "o").
10.10070 +objext="$ac_objext"
10.10071 +
10.10072 +# Old archive suffix (normally "a").
10.10073 +libext="$libext"
10.10074 +
10.10075 +# Shared library suffix (normally ".so").
10.10076 +shrext_cmds='$shrext_cmds'
10.10077 +
10.10078 +# Executable file suffix (normally "").
10.10079 +exeext="$exeext"
10.10080 +
10.10081 +# Additional compiler flags for building library objects.
10.10082 +pic_flag=$lt_lt_prog_compiler_pic
10.10083 +pic_mode=$pic_mode
10.10084 +
10.10085 +# What is the maximum length of a command?
10.10086 +max_cmd_len=$lt_cv_sys_max_cmd_len
10.10087 +
10.10088 +# Does compiler simultaneously support -c and -o options?
10.10089 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10.10090 +
10.10091 +# Must we lock files when doing compilation ?
10.10092 +need_locks=$lt_need_locks
10.10093 +
10.10094 +# Do we need the lib prefix for modules?
10.10095 +need_lib_prefix=$need_lib_prefix
10.10096 +
10.10097 +# Do we need a version for libraries?
10.10098 +need_version=$need_version
10.10099 +
10.10100 +# Whether dlopen is supported.
10.10101 +dlopen_support=$enable_dlopen
10.10102 +
10.10103 +# Whether dlopen of programs is supported.
10.10104 +dlopen_self=$enable_dlopen_self
10.10105 +
10.10106 +# Whether dlopen of statically linked programs is supported.
10.10107 +dlopen_self_static=$enable_dlopen_self_static
10.10108 +
10.10109 +# Compiler flag to prevent dynamic linking.
10.10110 +link_static_flag=$lt_lt_prog_compiler_static
10.10111 +
10.10112 +# Compiler flag to turn off builtin functions.
10.10113 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10.10114 +
10.10115 +# Compiler flag to allow reflexive dlopens.
10.10116 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10.10117 +
10.10118 +# Compiler flag to generate shared objects directly from archives.
10.10119 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
10.10120 +
10.10121 +# Compiler flag to generate thread-safe objects.
10.10122 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
10.10123 +
10.10124 +# Library versioning type.
10.10125 +version_type=$version_type
10.10126 +
10.10127 +# Format of library name prefix.
10.10128 +libname_spec=$lt_libname_spec
10.10129 +
10.10130 +# List of archive names. First name is the real one, the rest are links.
10.10131 +# The last name is the one that the linker finds with -lNAME.
10.10132 +library_names_spec=$lt_library_names_spec
10.10133 +
10.10134 +# The coded name of the library, if different from the real name.
10.10135 +soname_spec=$lt_soname_spec
10.10136 +
10.10137 +# Commands used to build and install an old-style archive.
10.10138 +RANLIB=$lt_RANLIB
10.10139 +old_archive_cmds=$lt_old_archive_cmds
10.10140 +old_postinstall_cmds=$lt_old_postinstall_cmds
10.10141 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
10.10142 +
10.10143 +# Create an old-style archive from a shared archive.
10.10144 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10.10145 +
10.10146 +# Create a temporary old-style archive to link instead of a shared archive.
10.10147 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10.10148 +
10.10149 +# Commands used to build and install a shared archive.
10.10150 +archive_cmds=$lt_archive_cmds
10.10151 +archive_expsym_cmds=$lt_archive_expsym_cmds
10.10152 +postinstall_cmds=$lt_postinstall_cmds
10.10153 +postuninstall_cmds=$lt_postuninstall_cmds
10.10154 +
10.10155 +# Commands used to build a loadable module (assumed same as above if empty)
10.10156 +module_cmds=$lt_module_cmds
10.10157 +module_expsym_cmds=$lt_module_expsym_cmds
10.10158 +
10.10159 +# Commands to strip libraries.
10.10160 +old_striplib=$lt_old_striplib
10.10161 +striplib=$lt_striplib
10.10162 +
10.10163 +# Dependencies to place before the objects being linked to create a
10.10164 +# shared library.
10.10165 +predep_objects=$lt_predep_objects
10.10166 +
10.10167 +# Dependencies to place after the objects being linked to create a
10.10168 +# shared library.
10.10169 +postdep_objects=$lt_postdep_objects
10.10170 +
10.10171 +# Dependencies to place before the objects being linked to create a
10.10172 +# shared library.
10.10173 +predeps=$lt_predeps
10.10174 +
10.10175 +# Dependencies to place after the objects being linked to create a
10.10176 +# shared library.
10.10177 +postdeps=$lt_postdeps
10.10178 +
10.10179 +# The library search path used internally by the compiler when linking
10.10180 +# a shared library.
10.10181 +compiler_lib_search_path=$lt_compiler_lib_search_path
10.10182 +
10.10183 +# Method to check whether dependent libraries are shared objects.
10.10184 +deplibs_check_method=$lt_deplibs_check_method
10.10185 +
10.10186 +# Command to use when deplibs_check_method == file_magic.
10.10187 +file_magic_cmd=$lt_file_magic_cmd
10.10188 +
10.10189 +# Flag that allows shared libraries with undefined symbols to be built.
10.10190 +allow_undefined_flag=$lt_allow_undefined_flag
10.10191 +
10.10192 +# Flag that forces no undefined symbols.
10.10193 +no_undefined_flag=$lt_no_undefined_flag
10.10194 +
10.10195 +# Commands used to finish a libtool library installation in a directory.
10.10196 +finish_cmds=$lt_finish_cmds
10.10197 +
10.10198 +# Same as above, but a single script fragment to be evaled but not shown.
10.10199 +finish_eval=$lt_finish_eval
10.10200 +
10.10201 +# Take the output of nm and produce a listing of raw symbols and C names.
10.10202 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10.10203 +
10.10204 +# Transform the output of nm in a proper C declaration
10.10205 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10.10206 +
10.10207 +# Transform the output of nm in a C name address pair
10.10208 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10.10209 +
10.10210 +# This is the shared library runtime path variable.
10.10211 +runpath_var=$runpath_var
10.10212 +
10.10213 +# This is the shared library path variable.
10.10214 +shlibpath_var=$shlibpath_var
10.10215 +
10.10216 +# Is shlibpath searched before the hard-coded library search path?
10.10217 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10.10218 +
10.10219 +# How to hardcode a shared library path into an executable.
10.10220 +hardcode_action=$hardcode_action
10.10221 +
10.10222 +# Whether we should hardcode library paths into libraries.
10.10223 +hardcode_into_libs=$hardcode_into_libs
10.10224 +
10.10225 +# Flag to hardcode \$libdir into a binary during linking.
10.10226 +# This must work even if \$libdir does not exist.
10.10227 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10.10228 +
10.10229 +# If ld is used when linking, flag to hardcode \$libdir into
10.10230 +# a binary during linking. This must work even if \$libdir does
10.10231 +# not exist.
10.10232 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10.10233 +
10.10234 +# Whether we need a single -rpath flag with a separated argument.
10.10235 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
10.10236 +
10.10237 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10.10238 +# resulting binary.
10.10239 +hardcode_direct=$hardcode_direct
10.10240 +
10.10241 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10.10242 +# resulting binary.
10.10243 +hardcode_minus_L=$hardcode_minus_L
10.10244 +
10.10245 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10.10246 +# the resulting binary.
10.10247 +hardcode_shlibpath_var=$hardcode_shlibpath_var
10.10248 +
10.10249 +# Set to yes if building a shared library automatically hardcodes DIR into the library
10.10250 +# and all subsequent libraries and executables linked against it.
10.10251 +hardcode_automatic=$hardcode_automatic
10.10252 +
10.10253 +# Variables whose values should be saved in libtool wrapper scripts and
10.10254 +# restored at relink time.
10.10255 +variables_saved_for_relink="$variables_saved_for_relink"
10.10256 +
10.10257 +# Whether libtool must link a program against all its dependency libraries.
10.10258 +link_all_deplibs=$link_all_deplibs
10.10259 +
10.10260 +# Compile-time system search path for libraries
10.10261 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10.10262 +
10.10263 +# Run-time system search path for libraries
10.10264 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10.10265 +
10.10266 +# Fix the shell variable \$srcfile for the compiler.
10.10267 +fix_srcfile_path="$fix_srcfile_path"
10.10268 +
10.10269 +# Set to yes if exported symbols are required.
10.10270 +always_export_symbols=$always_export_symbols
10.10271 +
10.10272 +# The commands to list exported symbols.
10.10273 +export_symbols_cmds=$lt_export_symbols_cmds
10.10274 +
10.10275 +# The commands to extract the exported symbol list from a shared archive.
10.10276 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
10.10277 +
10.10278 +# Symbols that should not be listed in the preloaded symbols.
10.10279 +exclude_expsyms=$lt_exclude_expsyms
10.10280 +
10.10281 +# Symbols that must always be exported.
10.10282 +include_expsyms=$lt_include_expsyms
10.10283 +
10.10284 +# ### END LIBTOOL CONFIG
10.10285 +
10.10286 +__EOF__
10.10287 +
10.10288 +
10.10289 + case $host_os in
10.10290 + aix3*)
10.10291 + cat <<\EOF >> "$cfgfile"
10.10292 +
10.10293 +# AIX sometimes has problems with the GCC collect2 program. For some
10.10294 +# reason, if we set the COLLECT_NAMES environment variable, the problems
10.10295 +# vanish in a puff of smoke.
10.10296 +if test "X${COLLECT_NAMES+set}" != Xset; then
10.10297 + COLLECT_NAMES=
10.10298 + export COLLECT_NAMES
10.10299 +fi
10.10300 +EOF
10.10301 + ;;
10.10302 + esac
10.10303 +
10.10304 + # We use sed instead of cat because bash on DJGPP gets confused if
10.10305 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
10.10306 + # text mode, it properly converts lines to CR/LF. This bash problem
10.10307 + # is reportedly fixed, but why not run on old versions too?
10.10308 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10.10309 +
10.10310 + mv -f "$cfgfile" "$ofile" || \
10.10311 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10.10312 + chmod +x "$ofile"
10.10313 +
10.10314 +else
10.10315 + # If there is no Makefile yet, we rely on a make rule to execute
10.10316 + # `config.status --recheck' to rerun these tests and create the
10.10317 + # libtool script then.
10.10318 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10.10319 + if test -f "$ltmain_in"; then
10.10320 + test -f Makefile && make "$ltmain"
10.10321 + fi
10.10322 +fi
10.10323 +
10.10324 +
10.10325 +ac_ext=c
10.10326 +ac_cpp='$CPP $CPPFLAGS'
10.10327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.10328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.10329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.10330 +
10.10331 +CC="$lt_save_CC"
10.10332 +
10.10333 +
10.10334 +# Check whether --with-tags was given.
10.10335 +if test "${with_tags+set}" = set; then
10.10336 + withval=$with_tags; tagnames="$withval"
10.10337 +fi
10.10338 +
10.10339 +
10.10340 +if test -f "$ltmain" && test -n "$tagnames"; then
10.10341 + if test ! -f "${ofile}"; then
10.10342 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10.10343 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10.10344 + fi
10.10345 +
10.10346 + if test -z "$LTCC"; then
10.10347 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10.10348 + if test -z "$LTCC"; then
10.10349 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10.10350 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10.10351 + else
10.10352 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10.10353 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10.10354 + fi
10.10355 + fi
10.10356 +
10.10357 + # Extract list of available tagged configurations in $ofile.
10.10358 + # Note that this assumes the entire list is on one line.
10.10359 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10.10360 +
10.10361 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10.10362 + for tagname in $tagnames; do
10.10363 + IFS="$lt_save_ifs"
10.10364 + # Check whether tagname contains only valid characters
10.10365 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10.10366 + "") ;;
10.10367 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10.10368 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
10.10369 + { (exit 1); exit 1; }; }
10.10370 + ;;
10.10371 + esac
10.10372 +
10.10373 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10.10374 + then
10.10375 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10.10376 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10.10377 + { (exit 1); exit 1; }; }
10.10378 + fi
10.10379 +
10.10380 + # Update the list of available tags.
10.10381 + if test -n "$tagname"; then
10.10382 + echo appending configuration tag \"$tagname\" to $ofile
10.10383 +
10.10384 + case $tagname in
10.10385 + CXX)
10.10386 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
10.10387 + ac_ext=cpp
10.10388 +ac_cpp='$CXXCPP $CPPFLAGS'
10.10389 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.10390 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.10391 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.10392 +
10.10393 +
10.10394 +
10.10395 +
10.10396 +archive_cmds_need_lc_CXX=no
10.10397 +allow_undefined_flag_CXX=
10.10398 +always_export_symbols_CXX=no
10.10399 +archive_expsym_cmds_CXX=
10.10400 +export_dynamic_flag_spec_CXX=
10.10401 +hardcode_direct_CXX=no
10.10402 +hardcode_libdir_flag_spec_CXX=
10.10403 +hardcode_libdir_flag_spec_ld_CXX=
10.10404 +hardcode_libdir_separator_CXX=
10.10405 +hardcode_minus_L_CXX=no
10.10406 +hardcode_automatic_CXX=no
10.10407 +module_cmds_CXX=
10.10408 +module_expsym_cmds_CXX=
10.10409 +link_all_deplibs_CXX=unknown
10.10410 +old_archive_cmds_CXX=$old_archive_cmds
10.10411 +no_undefined_flag_CXX=
10.10412 +whole_archive_flag_spec_CXX=
10.10413 +enable_shared_with_static_runtimes_CXX=no
10.10414 +
10.10415 +# Dependencies to place before and after the object being linked:
10.10416 +predep_objects_CXX=
10.10417 +postdep_objects_CXX=
10.10418 +predeps_CXX=
10.10419 +postdeps_CXX=
10.10420 +compiler_lib_search_path_CXX=
10.10421 +
10.10422 +# Source file extension for C++ test sources.
10.10423 +ac_ext=cc
10.10424 +
10.10425 +# Object file extension for compiled C++ test sources.
10.10426 +objext=o
10.10427 +objext_CXX=$objext
10.10428 +
10.10429 +# Code to be used in simple compile tests
10.10430 +lt_simple_compile_test_code="int some_variable = 0;\n"
10.10431 +
10.10432 +# Code to be used in simple link tests
10.10433 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10.10434 +
10.10435 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10.10436 +
10.10437 +# If no C compiler was specified, use CC.
10.10438 +LTCC=${LTCC-"$CC"}
10.10439 +
10.10440 +# Allow CC to be a program name with arguments.
10.10441 +compiler=$CC
10.10442 +
10.10443 +
10.10444 +# Allow CC to be a program name with arguments.
10.10445 +lt_save_CC=$CC
10.10446 +lt_save_LD=$LD
10.10447 +lt_save_GCC=$GCC
10.10448 +GCC=$GXX
10.10449 +lt_save_with_gnu_ld=$with_gnu_ld
10.10450 +lt_save_path_LD=$lt_cv_path_LD
10.10451 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10.10452 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10.10453 +else
10.10454 + unset lt_cv_prog_gnu_ld
10.10455 +fi
10.10456 +if test -n "${lt_cv_path_LDCXX+set}"; then
10.10457 + lt_cv_path_LD=$lt_cv_path_LDCXX
10.10458 +else
10.10459 + unset lt_cv_path_LD
10.10460 +fi
10.10461 +test -z "${LDCXX+set}" || LD=$LDCXX
10.10462 +CC=${CXX-"c++"}
10.10463 +compiler=$CC
10.10464 +compiler_CXX=$CC
10.10465 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10.10466 +
10.10467 +# We don't want -fno-exception wen compiling C++ code, so set the
10.10468 +# no_builtin_flag separately
10.10469 +if test "$GXX" = yes; then
10.10470 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10.10471 +else
10.10472 + lt_prog_compiler_no_builtin_flag_CXX=
10.10473 +fi
10.10474 +
10.10475 +if test "$GXX" = yes; then
10.10476 + # Set up default GNU C++ configuration
10.10477 +
10.10478 +
10.10479 +# Check whether --with-gnu-ld was given.
10.10480 +if test "${with_gnu_ld+set}" = set; then
10.10481 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10.10482 +else
10.10483 + with_gnu_ld=no
10.10484 +fi
10.10485 +
10.10486 +ac_prog=ld
10.10487 +if test "$GCC" = yes; then
10.10488 + # Check if gcc -print-prog-name=ld gives a path.
10.10489 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10.10490 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10.10491 + case $host in
10.10492 + *-*-mingw*)
10.10493 + # gcc leaves a trailing carriage return which upsets mingw
10.10494 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10.10495 + *)
10.10496 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10.10497 + esac
10.10498 + case $ac_prog in
10.10499 + # Accept absolute paths.
10.10500 + [\\/]* | ?:[\\/]*)
10.10501 + re_direlt='/[^/][^/]*/\.\./'
10.10502 + # Canonicalize the pathname of ld
10.10503 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10.10504 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10.10505 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10.10506 + done
10.10507 + test -z "$LD" && LD="$ac_prog"
10.10508 + ;;
10.10509 + "")
10.10510 + # If it fails, then pretend we aren't using GCC.
10.10511 + ac_prog=ld
10.10512 + ;;
10.10513 + *)
10.10514 + # If it is relative, then search for the first ld in PATH.
10.10515 + with_gnu_ld=unknown
10.10516 + ;;
10.10517 + esac
10.10518 +elif test "$with_gnu_ld" = yes; then
10.10519 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
10.10520 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10.10521 +else
10.10522 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10.10523 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10.10524 +fi
10.10525 +if test "${lt_cv_path_LD+set}" = set; then
10.10526 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.10527 +else
10.10528 + if test -z "$LD"; then
10.10529 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10.10530 + for ac_dir in $PATH; do
10.10531 + IFS="$lt_save_ifs"
10.10532 + test -z "$ac_dir" && ac_dir=.
10.10533 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10.10534 + lt_cv_path_LD="$ac_dir/$ac_prog"
10.10535 + # Check to see if the program is GNU ld. I'd rather use --version,
10.10536 + # but apparently some GNU ld's only accept -v.
10.10537 + # Break only if it was the GNU/non-GNU ld that we prefer.
10.10538 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10.10539 + *GNU* | *'with BFD'*)
10.10540 + test "$with_gnu_ld" != no && break
10.10541 + ;;
10.10542 + *)
10.10543 + test "$with_gnu_ld" != yes && break
10.10544 + ;;
10.10545 + esac
10.10546 + fi
10.10547 + done
10.10548 + IFS="$lt_save_ifs"
10.10549 +else
10.10550 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
10.10551 +fi
10.10552 +fi
10.10553 +
10.10554 +LD="$lt_cv_path_LD"
10.10555 +if test -n "$LD"; then
10.10556 + { echo "$as_me:$LINENO: result: $LD" >&5
10.10557 +echo "${ECHO_T}$LD" >&6; }
10.10558 +else
10.10559 + { echo "$as_me:$LINENO: result: no" >&5
10.10560 +echo "${ECHO_T}no" >&6; }
10.10561 +fi
10.10562 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10.10563 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10.10564 + { (exit 1); exit 1; }; }
10.10565 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10.10566 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10.10567 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
10.10568 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.10569 +else
10.10570 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10.10571 +case `$LD -v 2>&1 </dev/null` in
10.10572 +*GNU* | *'with BFD'*)
10.10573 + lt_cv_prog_gnu_ld=yes
10.10574 + ;;
10.10575 +*)
10.10576 + lt_cv_prog_gnu_ld=no
10.10577 + ;;
10.10578 +esac
10.10579 +fi
10.10580 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10.10581 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10.10582 +with_gnu_ld=$lt_cv_prog_gnu_ld
10.10583 +
10.10584 +
10.10585 +
10.10586 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
10.10587 + # archiving commands below assume that GNU ld is being used.
10.10588 + if test "$with_gnu_ld" = yes; then
10.10589 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.10590 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.10591 +
10.10592 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10.10593 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10.10594 +
10.10595 + # If archive_cmds runs LD, not CC, wlarc should be empty
10.10596 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10.10597 + # investigate it a little bit more. (MM)
10.10598 + wlarc='${wl}'
10.10599 +
10.10600 + # ancient GNU ld didn't support --whole-archive et. al.
10.10601 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10.10602 + grep 'no-whole-archive' > /dev/null; then
10.10603 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10.10604 + else
10.10605 + whole_archive_flag_spec_CXX=
10.10606 + fi
10.10607 + else
10.10608 + with_gnu_ld=no
10.10609 + wlarc=
10.10610 +
10.10611 + # A generic and very simple default shared library creation
10.10612 + # command for GNU C++ for the case where it uses the native
10.10613 + # linker, instead of GNU ld. If possible, this setting should
10.10614 + # overridden to take advantage of the native linker features on
10.10615 + # the platform it is being used on.
10.10616 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10.10617 + fi
10.10618 +
10.10619 + # Commands to make compiler produce verbose output that lists
10.10620 + # what "hidden" libraries, object files and flags are used when
10.10621 + # linking a shared library.
10.10622 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10.10623 +
10.10624 +else
10.10625 + GXX=no
10.10626 + with_gnu_ld=no
10.10627 + wlarc=
10.10628 +fi
10.10629 +
10.10630 +# PORTME: fill in a description of your system's C++ link characteristics
10.10631 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10.10632 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10.10633 +ld_shlibs_CXX=yes
10.10634 +case $host_os in
10.10635 + aix3*)
10.10636 + # FIXME: insert proper C++ library support
10.10637 + ld_shlibs_CXX=no
10.10638 + ;;
10.10639 + aix4* | aix5*)
10.10640 + if test "$host_cpu" = ia64; then
10.10641 + # On IA64, the linker does run time linking by default, so we don't
10.10642 + # have to do anything special.
10.10643 + aix_use_runtimelinking=no
10.10644 + exp_sym_flag='-Bexport'
10.10645 + no_entry_flag=""
10.10646 + else
10.10647 + aix_use_runtimelinking=no
10.10648 +
10.10649 + # Test if we are trying to use run time linking or normal
10.10650 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10.10651 + # need to do runtime linking.
10.10652 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10.10653 + for ld_flag in $LDFLAGS; do
10.10654 + case $ld_flag in
10.10655 + *-brtl*)
10.10656 + aix_use_runtimelinking=yes
10.10657 + break
10.10658 + ;;
10.10659 + esac
10.10660 + done
10.10661 + esac
10.10662 +
10.10663 + exp_sym_flag='-bexport'
10.10664 + no_entry_flag='-bnoentry'
10.10665 + fi
10.10666 +
10.10667 + # When large executables or shared objects are built, AIX ld can
10.10668 + # have problems creating the table of contents. If linking a library
10.10669 + # or program results in "error TOC overflow" add -mminimal-toc to
10.10670 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10.10671 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10.10672 +
10.10673 + archive_cmds_CXX=''
10.10674 + hardcode_direct_CXX=yes
10.10675 + hardcode_libdir_separator_CXX=':'
10.10676 + link_all_deplibs_CXX=yes
10.10677 +
10.10678 + if test "$GXX" = yes; then
10.10679 + case $host_os in aix4.012|aix4.012.*)
10.10680 + # We only want to do this on AIX 4.2 and lower, the check
10.10681 + # below for broken collect2 doesn't work under 4.3+
10.10682 + collect2name=`${CC} -print-prog-name=collect2`
10.10683 + if test -f "$collect2name" && \
10.10684 + strings "$collect2name" | grep resolve_lib_name >/dev/null
10.10685 + then
10.10686 + # We have reworked collect2
10.10687 + hardcode_direct_CXX=yes
10.10688 + else
10.10689 + # We have old collect2
10.10690 + hardcode_direct_CXX=unsupported
10.10691 + # It fails to find uninstalled libraries when the uninstalled
10.10692 + # path is not listed in the libpath. Setting hardcode_minus_L
10.10693 + # to unsupported forces relinking
10.10694 + hardcode_minus_L_CXX=yes
10.10695 + hardcode_libdir_flag_spec_CXX='-L$libdir'
10.10696 + hardcode_libdir_separator_CXX=
10.10697 + fi
10.10698 + esac
10.10699 + shared_flag='-shared'
10.10700 + else
10.10701 + # not using gcc
10.10702 + if test "$host_cpu" = ia64; then
10.10703 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10.10704 + # chokes on -Wl,-G. The following line is correct:
10.10705 + shared_flag='-G'
10.10706 + else
10.10707 + if test "$aix_use_runtimelinking" = yes; then
10.10708 + shared_flag='${wl}-G'
10.10709 + else
10.10710 + shared_flag='${wl}-bM:SRE'
10.10711 + fi
10.10712 + fi
10.10713 + fi
10.10714 +
10.10715 + # It seems that -bexpall does not export symbols beginning with
10.10716 + # underscore (_), so it is better to generate a list of symbols to export.
10.10717 + always_export_symbols_CXX=yes
10.10718 + if test "$aix_use_runtimelinking" = yes; then
10.10719 + # Warning - without using the other runtime loading flags (-brtl),
10.10720 + # -berok will link without error, but may produce a broken library.
10.10721 + allow_undefined_flag_CXX='-berok'
10.10722 + # Determine the default libpath from the value encoded in an empty executable.
10.10723 + cat >conftest.$ac_ext <<_ACEOF
10.10724 +/* confdefs.h. */
10.10725 +_ACEOF
10.10726 +cat confdefs.h >>conftest.$ac_ext
10.10727 +cat >>conftest.$ac_ext <<_ACEOF
10.10728 +/* end confdefs.h. */
10.10729 +
10.10730 +int
10.10731 +main ()
10.10732 +{
10.10733 +
10.10734 + ;
10.10735 + return 0;
10.10736 +}
10.10737 +_ACEOF
10.10738 +rm -f conftest.$ac_objext conftest$ac_exeext
10.10739 +if { (ac_try="$ac_link"
10.10740 +case "(($ac_try" in
10.10741 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.10742 + *) ac_try_echo=$ac_try;;
10.10743 +esac
10.10744 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.10745 + (eval "$ac_link") 2>conftest.er1
10.10746 + ac_status=$?
10.10747 + grep -v '^ *+' conftest.er1 >conftest.err
10.10748 + rm -f conftest.er1
10.10749 + cat conftest.err >&5
10.10750 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.10751 + (exit $ac_status); } && {
10.10752 + test -z "$ac_cxx_werror_flag" ||
10.10753 + test ! -s conftest.err
10.10754 + } && test -s conftest$ac_exeext &&
10.10755 + $as_test_x conftest$ac_exeext; then
10.10756 +
10.10757 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.10758 +}'`
10.10759 +# Check for a 64-bit object if we didn't find anything.
10.10760 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.10761 +}'`; fi
10.10762 +else
10.10763 + echo "$as_me: failed program was:" >&5
10.10764 +sed 's/^/| /' conftest.$ac_ext >&5
10.10765 +
10.10766 +
10.10767 +fi
10.10768 +
10.10769 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.10770 + conftest$ac_exeext conftest.$ac_ext
10.10771 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.10772 +
10.10773 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10.10774 +
10.10775 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10.10776 + else
10.10777 + if test "$host_cpu" = ia64; then
10.10778 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10.10779 + allow_undefined_flag_CXX="-z nodefs"
10.10780 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10.10781 + else
10.10782 + # Determine the default libpath from the value encoded in an empty executable.
10.10783 + cat >conftest.$ac_ext <<_ACEOF
10.10784 +/* confdefs.h. */
10.10785 +_ACEOF
10.10786 +cat confdefs.h >>conftest.$ac_ext
10.10787 +cat >>conftest.$ac_ext <<_ACEOF
10.10788 +/* end confdefs.h. */
10.10789 +
10.10790 +int
10.10791 +main ()
10.10792 +{
10.10793 +
10.10794 + ;
10.10795 + return 0;
10.10796 +}
10.10797 +_ACEOF
10.10798 +rm -f conftest.$ac_objext conftest$ac_exeext
10.10799 +if { (ac_try="$ac_link"
10.10800 +case "(($ac_try" in
10.10801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.10802 + *) ac_try_echo=$ac_try;;
10.10803 +esac
10.10804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.10805 + (eval "$ac_link") 2>conftest.er1
10.10806 + ac_status=$?
10.10807 + grep -v '^ *+' conftest.er1 >conftest.err
10.10808 + rm -f conftest.er1
10.10809 + cat conftest.err >&5
10.10810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.10811 + (exit $ac_status); } && {
10.10812 + test -z "$ac_cxx_werror_flag" ||
10.10813 + test ! -s conftest.err
10.10814 + } && test -s conftest$ac_exeext &&
10.10815 + $as_test_x conftest$ac_exeext; then
10.10816 +
10.10817 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.10818 +}'`
10.10819 +# Check for a 64-bit object if we didn't find anything.
10.10820 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.10821 +}'`; fi
10.10822 +else
10.10823 + echo "$as_me: failed program was:" >&5
10.10824 +sed 's/^/| /' conftest.$ac_ext >&5
10.10825 +
10.10826 +
10.10827 +fi
10.10828 +
10.10829 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.10830 + conftest$ac_exeext conftest.$ac_ext
10.10831 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.10832 +
10.10833 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10.10834 + # Warning - without using the other run time loading flags,
10.10835 + # -berok will link without error, but may produce a broken library.
10.10836 + no_undefined_flag_CXX=' ${wl}-bernotok'
10.10837 + allow_undefined_flag_CXX=' ${wl}-berok'
10.10838 + # -bexpall does not export symbols beginning with underscore (_)
10.10839 + always_export_symbols_CXX=yes
10.10840 + # Exported symbols can be pulled into shared objects from archives
10.10841 + whole_archive_flag_spec_CXX=' '
10.10842 + archive_cmds_need_lc_CXX=yes
10.10843 + # This is similar to how AIX traditionally builds it's shared libraries.
10.10844 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10.10845 + fi
10.10846 + fi
10.10847 + ;;
10.10848 + chorus*)
10.10849 + case $cc_basename in
10.10850 + *)
10.10851 + # FIXME: insert proper C++ library support
10.10852 + ld_shlibs_CXX=no
10.10853 + ;;
10.10854 + esac
10.10855 + ;;
10.10856 +
10.10857 + cygwin* | mingw* | pw32*)
10.10858 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10.10859 + # as there is no search path for DLLs.
10.10860 + hardcode_libdir_flag_spec_CXX='-L$libdir'
10.10861 + allow_undefined_flag_CXX=unsupported
10.10862 + always_export_symbols_CXX=no
10.10863 + enable_shared_with_static_runtimes_CXX=yes
10.10864 +
10.10865 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10.10866 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.10867 + # If the export-symbols file already is a .def file (1st line
10.10868 + # is EXPORTS), use it as is; otherwise, prepend...
10.10869 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10.10870 + cp $export_symbols $output_objdir/$soname.def;
10.10871 + else
10.10872 + echo EXPORTS > $output_objdir/$soname.def;
10.10873 + cat $export_symbols >> $output_objdir/$soname.def;
10.10874 + fi~
10.10875 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.10876 + else
10.10877 + ld_shlibs_CXX=no
10.10878 + fi
10.10879 + ;;
10.10880 +
10.10881 + darwin* | rhapsody*)
10.10882 + if test "$GXX" = yes; then
10.10883 + archive_cmds_need_lc_CXX=no
10.10884 + case "$host_os" in
10.10885 + rhapsody* | darwin1.[012])
10.10886 + allow_undefined_flag_CXX='-undefined suppress'
10.10887 + ;;
10.10888 + *) # Darwin 1.3 on
10.10889 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10.10890 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10.10891 + else
10.10892 + case ${MACOSX_DEPLOYMENT_TARGET} in
10.10893 + 10.[012])
10.10894 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10.10895 + ;;
10.10896 + 10.*)
10.10897 + allow_undefined_flag_CXX='-undefined dynamic_lookup'
10.10898 + ;;
10.10899 + esac
10.10900 + fi
10.10901 + ;;
10.10902 + esac
10.10903 + lt_int_apple_cc_single_mod=no
10.10904 + output_verbose_link_cmd='echo'
10.10905 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10.10906 + lt_int_apple_cc_single_mod=yes
10.10907 + fi
10.10908 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.10909 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.10910 + else
10.10911 + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.10912 + fi
10.10913 + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10.10914 +
10.10915 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10.10916 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.10917 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.10918 + else
10.10919 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.10920 + fi
10.10921 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.10922 + hardcode_direct_CXX=no
10.10923 + hardcode_automatic_CXX=yes
10.10924 + hardcode_shlibpath_var_CXX=unsupported
10.10925 + whole_archive_flag_spec_CXX='-all_load $convenience'
10.10926 + link_all_deplibs_CXX=yes
10.10927 + else
10.10928 + ld_shlibs_CXX=no
10.10929 + fi
10.10930 + ;;
10.10931 +
10.10932 + dgux*)
10.10933 + case $cc_basename in
10.10934 + ec++)
10.10935 + # FIXME: insert proper C++ library support
10.10936 + ld_shlibs_CXX=no
10.10937 + ;;
10.10938 + ghcx)
10.10939 + # Green Hills C++ Compiler
10.10940 + # FIXME: insert proper C++ library support
10.10941 + ld_shlibs_CXX=no
10.10942 + ;;
10.10943 + *)
10.10944 + # FIXME: insert proper C++ library support
10.10945 + ld_shlibs_CXX=no
10.10946 + ;;
10.10947 + esac
10.10948 + ;;
10.10949 + freebsd12*)
10.10950 + # C++ shared libraries reported to be fairly broken before switch to ELF
10.10951 + ld_shlibs_CXX=no
10.10952 + ;;
10.10953 + freebsd-elf*)
10.10954 + archive_cmds_need_lc_CXX=no
10.10955 + ;;
10.10956 + freebsd* | kfreebsd*-gnu)
10.10957 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10.10958 + # conventions
10.10959 + ld_shlibs_CXX=yes
10.10960 + ;;
10.10961 + gnu*)
10.10962 + ;;
10.10963 + hpux9*)
10.10964 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10.10965 + hardcode_libdir_separator_CXX=:
10.10966 + export_dynamic_flag_spec_CXX='${wl}-E'
10.10967 + hardcode_direct_CXX=yes
10.10968 + hardcode_minus_L_CXX=yes # Not in the search PATH,
10.10969 + # but as the default
10.10970 + # location of the library.
10.10971 +
10.10972 + case $cc_basename in
10.10973 + CC)
10.10974 + # FIXME: insert proper C++ library support
10.10975 + ld_shlibs_CXX=no
10.10976 + ;;
10.10977 + aCC)
10.10978 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.10979 + # Commands to make compiler produce verbose output that lists
10.10980 + # what "hidden" libraries, object files and flags are used when
10.10981 + # linking a shared library.
10.10982 + #
10.10983 + # There doesn't appear to be a way to prevent this compiler from
10.10984 + # explicitly linking system object files so we need to strip them
10.10985 + # from the output so that they don't get included in the library
10.10986 + # dependencies.
10.10987 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.10988 + ;;
10.10989 + *)
10.10990 + if test "$GXX" = yes; then
10.10991 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.10992 + else
10.10993 + # FIXME: insert proper C++ library support
10.10994 + ld_shlibs_CXX=no
10.10995 + fi
10.10996 + ;;
10.10997 + esac
10.10998 + ;;
10.10999 + hpux10*|hpux11*)
10.11000 + if test $with_gnu_ld = no; then
10.11001 + case "$host_cpu" in
10.11002 + hppa*64*)
10.11003 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10.11004 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10.11005 + hardcode_libdir_separator_CXX=:
10.11006 + ;;
10.11007 + ia64*)
10.11008 + hardcode_libdir_flag_spec_CXX='-L$libdir'
10.11009 + ;;
10.11010 + *)
10.11011 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10.11012 + hardcode_libdir_separator_CXX=:
10.11013 + export_dynamic_flag_spec_CXX='${wl}-E'
10.11014 + ;;
10.11015 + esac
10.11016 + fi
10.11017 + case "$host_cpu" in
10.11018 + hppa*64*)
10.11019 + hardcode_direct_CXX=no
10.11020 + hardcode_shlibpath_var_CXX=no
10.11021 + ;;
10.11022 + ia64*)
10.11023 + hardcode_direct_CXX=no
10.11024 + hardcode_shlibpath_var_CXX=no
10.11025 + hardcode_minus_L_CXX=yes # Not in the search PATH,
10.11026 + # but as the default
10.11027 + # location of the library.
10.11028 + ;;
10.11029 + *)
10.11030 + hardcode_direct_CXX=yes
10.11031 + hardcode_minus_L_CXX=yes # Not in the search PATH,
10.11032 + # but as the default
10.11033 + # location of the library.
10.11034 + ;;
10.11035 + esac
10.11036 +
10.11037 + case $cc_basename in
10.11038 + CC)
10.11039 + # FIXME: insert proper C++ library support
10.11040 + ld_shlibs_CXX=no
10.11041 + ;;
10.11042 + aCC)
10.11043 + case "$host_cpu" in
10.11044 + hppa*64*|ia64*)
10.11045 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10.11046 + ;;
10.11047 + *)
10.11048 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10.11049 + ;;
10.11050 + esac
10.11051 + # Commands to make compiler produce verbose output that lists
10.11052 + # what "hidden" libraries, object files and flags are used when
10.11053 + # linking a shared library.
10.11054 + #
10.11055 + # There doesn't appear to be a way to prevent this compiler from
10.11056 + # explicitly linking system object files so we need to strip them
10.11057 + # from the output so that they don't get included in the library
10.11058 + # dependencies.
10.11059 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.11060 + ;;
10.11061 + *)
10.11062 + if test "$GXX" = yes; then
10.11063 + if test $with_gnu_ld = no; then
10.11064 + case "$host_cpu" in
10.11065 + ia64*|hppa*64*)
10.11066 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10.11067 + ;;
10.11068 + *)
10.11069 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10.11070 + ;;
10.11071 + esac
10.11072 + fi
10.11073 + else
10.11074 + # FIXME: insert proper C++ library support
10.11075 + ld_shlibs_CXX=no
10.11076 + fi
10.11077 + ;;
10.11078 + esac
10.11079 + ;;
10.11080 + irix5* | irix6*)
10.11081 + case $cc_basename in
10.11082 + CC)
10.11083 + # SGI C++
10.11084 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10.11085 +
10.11086 + # Archives containing C++ object files must be created using
10.11087 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10.11088 + # necessary to make sure instantiated templates are included
10.11089 + # in the archive.
10.11090 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10.11091 + ;;
10.11092 + *)
10.11093 + if test "$GXX" = yes; then
10.11094 + if test "$with_gnu_ld" = no; then
10.11095 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10.11096 + else
10.11097 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10.11098 + fi
10.11099 + fi
10.11100 + link_all_deplibs_CXX=yes
10.11101 + ;;
10.11102 + esac
10.11103 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10.11104 + hardcode_libdir_separator_CXX=:
10.11105 + ;;
10.11106 + linux*)
10.11107 + case $cc_basename in
10.11108 + KCC)
10.11109 + # Kuck and Associates, Inc. (KAI) C++ Compiler
10.11110 +
10.11111 + # KCC will only create a shared library if the output file
10.11112 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
10.11113 + # to its proper name (with version) after linking.
10.11114 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10.11115 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10.11116 + # Commands to make compiler produce verbose output that lists
10.11117 + # what "hidden" libraries, object files and flags are used when
10.11118 + # linking a shared library.
10.11119 + #
10.11120 + # There doesn't appear to be a way to prevent this compiler from
10.11121 + # explicitly linking system object files so we need to strip them
10.11122 + # from the output so that they don't get included in the library
10.11123 + # dependencies.
10.11124 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.11125 +
10.11126 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10.11127 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10.11128 +
10.11129 + # Archives containing C++ object files must be created using
10.11130 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10.11131 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10.11132 + ;;
10.11133 + icpc)
10.11134 + # Intel C++
10.11135 + with_gnu_ld=yes
10.11136 + archive_cmds_need_lc_CXX=no
10.11137 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.11138 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.11139 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10.11140 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10.11141 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10.11142 + ;;
10.11143 + cxx)
10.11144 + # Compaq C++
10.11145 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.11146 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10.11147 +
10.11148 + runpath_var=LD_RUN_PATH
10.11149 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10.11150 + hardcode_libdir_separator_CXX=:
10.11151 +
10.11152 + # Commands to make compiler produce verbose output that lists
10.11153 + # what "hidden" libraries, object files and flags are used when
10.11154 + # linking a shared library.
10.11155 + #
10.11156 + # There doesn't appear to be a way to prevent this compiler from
10.11157 + # explicitly linking system object files so we need to strip them
10.11158 + # from the output so that they don't get included in the library
10.11159 + # dependencies.
10.11160 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.11161 + ;;
10.11162 + esac
10.11163 + ;;
10.11164 + lynxos*)
10.11165 + # FIXME: insert proper C++ library support
10.11166 + ld_shlibs_CXX=no
10.11167 + ;;
10.11168 + m88k*)
10.11169 + # FIXME: insert proper C++ library support
10.11170 + ld_shlibs_CXX=no
10.11171 + ;;
10.11172 + mvs*)
10.11173 + case $cc_basename in
10.11174 + cxx)
10.11175 + # FIXME: insert proper C++ library support
10.11176 + ld_shlibs_CXX=no
10.11177 + ;;
10.11178 + *)
10.11179 + # FIXME: insert proper C++ library support
10.11180 + ld_shlibs_CXX=no
10.11181 + ;;
10.11182 + esac
10.11183 + ;;
10.11184 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.11185 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.11186 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10.11187 + wlarc=
10.11188 + hardcode_libdir_flag_spec_CXX='-R$libdir'
10.11189 + hardcode_direct_CXX=yes
10.11190 + hardcode_shlibpath_var_CXX=no
10.11191 + fi
10.11192 + # Workaround some broken pre-1.5 toolchains
10.11193 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10.11194 + ;;
10.11195 + osf3*)
10.11196 + case $cc_basename in
10.11197 + KCC)
10.11198 + # Kuck and Associates, Inc. (KAI) C++ Compiler
10.11199 +
10.11200 + # KCC will only create a shared library if the output file
10.11201 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
10.11202 + # to its proper name (with version) after linking.
10.11203 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10.11204 +
10.11205 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10.11206 + hardcode_libdir_separator_CXX=:
10.11207 +
10.11208 + # Archives containing C++ object files must be created using
10.11209 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10.11210 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10.11211 +
10.11212 + ;;
10.11213 + RCC)
10.11214 + # Rational C++ 2.4.1
10.11215 + # FIXME: insert proper C++ library support
10.11216 + ld_shlibs_CXX=no
10.11217 + ;;
10.11218 + cxx)
10.11219 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10.11220 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10.11221 +
10.11222 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10.11223 + hardcode_libdir_separator_CXX=:
10.11224 +
10.11225 + # Commands to make compiler produce verbose output that lists
10.11226 + # what "hidden" libraries, object files and flags are used when
10.11227 + # linking a shared library.
10.11228 + #
10.11229 + # There doesn't appear to be a way to prevent this compiler from
10.11230 + # explicitly linking system object files so we need to strip them
10.11231 + # from the output so that they don't get included in the library
10.11232 + # dependencies.
10.11233 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.11234 + ;;
10.11235 + *)
10.11236 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10.11237 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10.11238 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10.11239 +
10.11240 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10.11241 + hardcode_libdir_separator_CXX=:
10.11242 +
10.11243 + # Commands to make compiler produce verbose output that lists
10.11244 + # what "hidden" libraries, object files and flags are used when
10.11245 + # linking a shared library.
10.11246 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10.11247 +
10.11248 + else
10.11249 + # FIXME: insert proper C++ library support
10.11250 + ld_shlibs_CXX=no
10.11251 + fi
10.11252 + ;;
10.11253 + esac
10.11254 + ;;
10.11255 + osf4* | osf5*)
10.11256 + case $cc_basename in
10.11257 + KCC)
10.11258 + # Kuck and Associates, Inc. (KAI) C++ Compiler
10.11259 +
10.11260 + # KCC will only create a shared library if the output file
10.11261 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
10.11262 + # to its proper name (with version) after linking.
10.11263 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10.11264 +
10.11265 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10.11266 + hardcode_libdir_separator_CXX=:
10.11267 +
10.11268 + # Archives containing C++ object files must be created using
10.11269 + # the KAI C++ compiler.
10.11270 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10.11271 + ;;
10.11272 + RCC)
10.11273 + # Rational C++ 2.4.1
10.11274 + # FIXME: insert proper C++ library support
10.11275 + ld_shlibs_CXX=no
10.11276 + ;;
10.11277 + cxx)
10.11278 + allow_undefined_flag_CXX=' -expect_unresolved \*'
10.11279 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10.11280 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10.11281 + echo "-hidden">> $lib.exp~
10.11282 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10.11283 + $rm $lib.exp'
10.11284 +
10.11285 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10.11286 + hardcode_libdir_separator_CXX=:
10.11287 +
10.11288 + # Commands to make compiler produce verbose output that lists
10.11289 + # what "hidden" libraries, object files and flags are used when
10.11290 + # linking a shared library.
10.11291 + #
10.11292 + # There doesn't appear to be a way to prevent this compiler from
10.11293 + # explicitly linking system object files so we need to strip them
10.11294 + # from the output so that they don't get included in the library
10.11295 + # dependencies.
10.11296 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.11297 + ;;
10.11298 + *)
10.11299 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10.11300 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10.11301 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10.11302 +
10.11303 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10.11304 + hardcode_libdir_separator_CXX=:
10.11305 +
10.11306 + # Commands to make compiler produce verbose output that lists
10.11307 + # what "hidden" libraries, object files and flags are used when
10.11308 + # linking a shared library.
10.11309 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10.11310 +
10.11311 + else
10.11312 + # FIXME: insert proper C++ library support
10.11313 + ld_shlibs_CXX=no
10.11314 + fi
10.11315 + ;;
10.11316 + esac
10.11317 + ;;
10.11318 + psos*)
10.11319 + # FIXME: insert proper C++ library support
10.11320 + ld_shlibs_CXX=no
10.11321 + ;;
10.11322 + sco*)
10.11323 + archive_cmds_need_lc_CXX=no
10.11324 + case $cc_basename in
10.11325 + CC)
10.11326 + # FIXME: insert proper C++ library support
10.11327 + ld_shlibs_CXX=no
10.11328 + ;;
10.11329 + *)
10.11330 + # FIXME: insert proper C++ library support
10.11331 + ld_shlibs_CXX=no
10.11332 + ;;
10.11333 + esac
10.11334 + ;;
10.11335 + sunos4*)
10.11336 + case $cc_basename in
10.11337 + CC)
10.11338 + # Sun C++ 4.x
10.11339 + # FIXME: insert proper C++ library support
10.11340 + ld_shlibs_CXX=no
10.11341 + ;;
10.11342 + lcc)
10.11343 + # Lucid
10.11344 + # FIXME: insert proper C++ library support
10.11345 + ld_shlibs_CXX=no
10.11346 + ;;
10.11347 + *)
10.11348 + # FIXME: insert proper C++ library support
10.11349 + ld_shlibs_CXX=no
10.11350 + ;;
10.11351 + esac
10.11352 + ;;
10.11353 + solaris*)
10.11354 + case $cc_basename in
10.11355 + CC)
10.11356 + # Sun C++ 4.2, 5.x and Centerline C++
10.11357 + no_undefined_flag_CXX=' -zdefs'
10.11358 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10.11359 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.11360 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10.11361 +
10.11362 + hardcode_libdir_flag_spec_CXX='-R$libdir'
10.11363 + hardcode_shlibpath_var_CXX=no
10.11364 + case $host_os in
10.11365 + solaris2.0-5 | solaris2.0-5.*) ;;
10.11366 + *)
10.11367 + # The C++ compiler is used as linker so we must use $wl
10.11368 + # flag to pass the commands to the underlying system
10.11369 + # linker.
10.11370 + # Supported since Solaris 2.6 (maybe 2.5.1?)
10.11371 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10.11372 + ;;
10.11373 + esac
10.11374 + link_all_deplibs_CXX=yes
10.11375 +
10.11376 + # Commands to make compiler produce verbose output that lists
10.11377 + # what "hidden" libraries, object files and flags are used when
10.11378 + # linking a shared library.
10.11379 + #
10.11380 + # There doesn't appear to be a way to prevent this compiler from
10.11381 + # explicitly linking system object files so we need to strip them
10.11382 + # from the output so that they don't get included in the library
10.11383 + # dependencies.
10.11384 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10.11385 +
10.11386 + # Archives containing C++ object files must be created using
10.11387 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
10.11388 + # necessary to make sure instantiated templates are included
10.11389 + # in the archive.
10.11390 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10.11391 + ;;
10.11392 + gcx)
10.11393 + # Green Hills C++ Compiler
10.11394 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10.11395 +
10.11396 + # The C++ compiler must be used to create the archive.
10.11397 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10.11398 + ;;
10.11399 + *)
10.11400 + # GNU C++ compiler with Solaris linker
10.11401 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10.11402 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10.11403 + if $CC --version | grep -v '^2\.7' > /dev/null; then
10.11404 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10.11405 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.11406 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10.11407 +
10.11408 + # Commands to make compiler produce verbose output that lists
10.11409 + # what "hidden" libraries, object files and flags are used when
10.11410 + # linking a shared library.
10.11411 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10.11412 + else
10.11413 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
10.11414 + # platform.
10.11415 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10.11416 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.11417 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10.11418 +
10.11419 + # Commands to make compiler produce verbose output that lists
10.11420 + # what "hidden" libraries, object files and flags are used when
10.11421 + # linking a shared library.
10.11422 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10.11423 + fi
10.11424 +
10.11425 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10.11426 + fi
10.11427 + ;;
10.11428 + esac
10.11429 + ;;
10.11430 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10.11431 + archive_cmds_need_lc_CXX=no
10.11432 + ;;
10.11433 + tandem*)
10.11434 + case $cc_basename in
10.11435 + NCC)
10.11436 + # NonStop-UX NCC 3.20
10.11437 + # FIXME: insert proper C++ library support
10.11438 + ld_shlibs_CXX=no
10.11439 + ;;
10.11440 + *)
10.11441 + # FIXME: insert proper C++ library support
10.11442 + ld_shlibs_CXX=no
10.11443 + ;;
10.11444 + esac
10.11445 + ;;
10.11446 + vxworks*)
10.11447 + # FIXME: insert proper C++ library support
10.11448 + ld_shlibs_CXX=no
10.11449 + ;;
10.11450 + *)
10.11451 + # FIXME: insert proper C++ library support
10.11452 + ld_shlibs_CXX=no
10.11453 + ;;
10.11454 +esac
10.11455 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10.11456 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10.11457 +test "$ld_shlibs_CXX" = no && can_build_shared=no
10.11458 +
10.11459 +GCC_CXX="$GXX"
10.11460 +LD_CXX="$LD"
10.11461 +
10.11462 +## CAVEAT EMPTOR:
10.11463 +## There is no encapsulation within the following macros, do not change
10.11464 +## the running order or otherwise move them around unless you know exactly
10.11465 +## what you are doing...
10.11466 +
10.11467 +cat > conftest.$ac_ext <<EOF
10.11468 +class Foo
10.11469 +{
10.11470 +public:
10.11471 + Foo (void) { a = 0; }
10.11472 +private:
10.11473 + int a;
10.11474 +};
10.11475 +EOF
10.11476 +
10.11477 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.11478 + (eval $ac_compile) 2>&5
10.11479 + ac_status=$?
10.11480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.11481 + (exit $ac_status); }; then
10.11482 + # Parse the compiler output and extract the necessary
10.11483 + # objects, libraries and library flags.
10.11484 +
10.11485 + # Sentinel used to keep track of whether or not we are before
10.11486 + # the conftest object file.
10.11487 + pre_test_object_deps_done=no
10.11488 +
10.11489 + # The `*' in the case matches for architectures that use `case' in
10.11490 + # $output_verbose_cmd can trigger glob expansion during the loop
10.11491 + # eval without this substitution.
10.11492 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10.11493 +
10.11494 + for p in `eval $output_verbose_link_cmd`; do
10.11495 + case $p in
10.11496 +
10.11497 + -L* | -R* | -l*)
10.11498 + # Some compilers place space between "-{L,R}" and the path.
10.11499 + # Remove the space.
10.11500 + if test $p = "-L" \
10.11501 + || test $p = "-R"; then
10.11502 + prev=$p
10.11503 + continue
10.11504 + else
10.11505 + prev=
10.11506 + fi
10.11507 +
10.11508 + if test "$pre_test_object_deps_done" = no; then
10.11509 + case $p in
10.11510 + -L* | -R*)
10.11511 + # Internal compiler library paths should come after those
10.11512 + # provided the user. The postdeps already come after the
10.11513 + # user supplied libs so there is no need to process them.
10.11514 + if test -z "$compiler_lib_search_path_CXX"; then
10.11515 + compiler_lib_search_path_CXX="${prev}${p}"
10.11516 + else
10.11517 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10.11518 + fi
10.11519 + ;;
10.11520 + # The "-l" case would never come before the object being
10.11521 + # linked, so don't bother handling this case.
10.11522 + esac
10.11523 + else
10.11524 + if test -z "$postdeps_CXX"; then
10.11525 + postdeps_CXX="${prev}${p}"
10.11526 + else
10.11527 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10.11528 + fi
10.11529 + fi
10.11530 + ;;
10.11531 +
10.11532 + *.$objext)
10.11533 + # This assumes that the test object file only shows up
10.11534 + # once in the compiler output.
10.11535 + if test "$p" = "conftest.$objext"; then
10.11536 + pre_test_object_deps_done=yes
10.11537 + continue
10.11538 + fi
10.11539 +
10.11540 + if test "$pre_test_object_deps_done" = no; then
10.11541 + if test -z "$predep_objects_CXX"; then
10.11542 + predep_objects_CXX="$p"
10.11543 + else
10.11544 + predep_objects_CXX="$predep_objects_CXX $p"
10.11545 + fi
10.11546 + else
10.11547 + if test -z "$postdep_objects_CXX"; then
10.11548 + postdep_objects_CXX="$p"
10.11549 + else
10.11550 + postdep_objects_CXX="$postdep_objects_CXX $p"
10.11551 + fi
10.11552 + fi
10.11553 + ;;
10.11554 +
10.11555 + *) ;; # Ignore the rest.
10.11556 +
10.11557 + esac
10.11558 + done
10.11559 +
10.11560 + # Clean up.
10.11561 + rm -f a.out a.exe
10.11562 +else
10.11563 + echo "libtool.m4: error: problem compiling CXX test program"
10.11564 +fi
10.11565 +
10.11566 +$rm -f confest.$objext
10.11567 +
10.11568 +case " $postdeps_CXX " in
10.11569 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10.11570 +esac
10.11571 +
10.11572 +lt_prog_compiler_wl_CXX=
10.11573 +lt_prog_compiler_pic_CXX=
10.11574 +lt_prog_compiler_static_CXX=
10.11575 +
10.11576 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10.11577 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10.11578 +
10.11579 + # C++ specific cases for pic, static, wl, etc.
10.11580 + if test "$GXX" = yes; then
10.11581 + lt_prog_compiler_wl_CXX='-Wl,'
10.11582 + lt_prog_compiler_static_CXX='-static'
10.11583 +
10.11584 + case $host_os in
10.11585 + aix*)
10.11586 + # All AIX code is PIC.
10.11587 + if test "$host_cpu" = ia64; then
10.11588 + # AIX 5 now supports IA64 processor
10.11589 + lt_prog_compiler_static_CXX='-Bstatic'
10.11590 + fi
10.11591 + ;;
10.11592 + amigaos*)
10.11593 + # FIXME: we need at least 68020 code to build shared libraries, but
10.11594 + # adding the `-m68020' flag to GCC prevents building anything better,
10.11595 + # like `-m68040'.
10.11596 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10.11597 + ;;
10.11598 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10.11599 + # PIC is the default for these OSes.
10.11600 + ;;
10.11601 + mingw* | os2* | pw32*)
10.11602 + # This hack is so that the source file can tell whether it is being
10.11603 + # built for inclusion in a dll (and should export symbols for example).
10.11604 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10.11605 + ;;
10.11606 + darwin* | rhapsody*)
10.11607 + # PIC is the default on this platform
10.11608 + # Common symbols not allowed in MH_DYLIB files
10.11609 + lt_prog_compiler_pic_CXX='-fno-common'
10.11610 + ;;
10.11611 + *djgpp*)
10.11612 + # DJGPP does not support shared libraries at all
10.11613 + lt_prog_compiler_pic_CXX=
10.11614 + ;;
10.11615 + sysv4*MP*)
10.11616 + if test -d /usr/nec; then
10.11617 + lt_prog_compiler_pic_CXX=-Kconform_pic
10.11618 + fi
10.11619 + ;;
10.11620 + hpux*)
10.11621 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.11622 + # not for PA HP-UX.
10.11623 + case "$host_cpu" in
10.11624 + hppa*64*|ia64*)
10.11625 + ;;
10.11626 + *)
10.11627 + lt_prog_compiler_pic_CXX='-fPIC'
10.11628 + ;;
10.11629 + esac
10.11630 + ;;
10.11631 + *)
10.11632 + lt_prog_compiler_pic_CXX='-fPIC'
10.11633 + ;;
10.11634 + esac
10.11635 + else
10.11636 + case $host_os in
10.11637 + aix4* | aix5*)
10.11638 + # All AIX code is PIC.
10.11639 + if test "$host_cpu" = ia64; then
10.11640 + # AIX 5 now supports IA64 processor
10.11641 + lt_prog_compiler_static_CXX='-Bstatic'
10.11642 + else
10.11643 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10.11644 + fi
10.11645 + ;;
10.11646 + chorus*)
10.11647 + case $cc_basename in
10.11648 + cxch68)
10.11649 + # Green Hills C++ Compiler
10.11650 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
10.11651 + ;;
10.11652 + esac
10.11653 + ;;
10.11654 + dgux*)
10.11655 + case $cc_basename in
10.11656 + ec++)
10.11657 + lt_prog_compiler_pic_CXX='-KPIC'
10.11658 + ;;
10.11659 + ghcx)
10.11660 + # Green Hills C++ Compiler
10.11661 + lt_prog_compiler_pic_CXX='-pic'
10.11662 + ;;
10.11663 + *)
10.11664 + ;;
10.11665 + esac
10.11666 + ;;
10.11667 + freebsd* | kfreebsd*-gnu)
10.11668 + # FreeBSD uses GNU C++
10.11669 + ;;
10.11670 + hpux9* | hpux10* | hpux11*)
10.11671 + case $cc_basename in
10.11672 + CC)
10.11673 + lt_prog_compiler_wl_CXX='-Wl,'
10.11674 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10.11675 + if test "$host_cpu" != ia64; then
10.11676 + lt_prog_compiler_pic_CXX='+Z'
10.11677 + fi
10.11678 + ;;
10.11679 + aCC)
10.11680 + lt_prog_compiler_wl_CXX='-Wl,'
10.11681 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10.11682 + case "$host_cpu" in
10.11683 + hppa*64*|ia64*)
10.11684 + # +Z the default
10.11685 + ;;
10.11686 + *)
10.11687 + lt_prog_compiler_pic_CXX='+Z'
10.11688 + ;;
10.11689 + esac
10.11690 + ;;
10.11691 + *)
10.11692 + ;;
10.11693 + esac
10.11694 + ;;
10.11695 + irix5* | irix6* | nonstopux*)
10.11696 + case $cc_basename in
10.11697 + CC)
10.11698 + lt_prog_compiler_wl_CXX='-Wl,'
10.11699 + lt_prog_compiler_static_CXX='-non_shared'
10.11700 + # CC pic flag -KPIC is the default.
10.11701 + ;;
10.11702 + *)
10.11703 + ;;
10.11704 + esac
10.11705 + ;;
10.11706 + linux*)
10.11707 + case $cc_basename in
10.11708 + KCC)
10.11709 + # KAI C++ Compiler
10.11710 + lt_prog_compiler_wl_CXX='--backend -Wl,'
10.11711 + lt_prog_compiler_pic_CXX='-fPIC'
10.11712 + ;;
10.11713 + icpc)
10.11714 + # Intel C++
10.11715 + lt_prog_compiler_wl_CXX='-Wl,'
10.11716 + lt_prog_compiler_pic_CXX='-KPIC'
10.11717 + lt_prog_compiler_static_CXX='-static'
10.11718 + ;;
10.11719 + cxx)
10.11720 + # Compaq C++
10.11721 + # Make sure the PIC flag is empty. It appears that all Alpha
10.11722 + # Linux and Compaq Tru64 Unix objects are PIC.
10.11723 + lt_prog_compiler_pic_CXX=
10.11724 + lt_prog_compiler_static_CXX='-non_shared'
10.11725 + ;;
10.11726 + *)
10.11727 + ;;
10.11728 + esac
10.11729 + ;;
10.11730 + lynxos*)
10.11731 + ;;
10.11732 + m88k*)
10.11733 + ;;
10.11734 + mvs*)
10.11735 + case $cc_basename in
10.11736 + cxx)
10.11737 + lt_prog_compiler_pic_CXX='-W c,exportall'
10.11738 + ;;
10.11739 + *)
10.11740 + ;;
10.11741 + esac
10.11742 + ;;
10.11743 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.11744 + ;;
10.11745 + osf3* | osf4* | osf5*)
10.11746 + case $cc_basename in
10.11747 + KCC)
10.11748 + lt_prog_compiler_wl_CXX='--backend -Wl,'
10.11749 + ;;
10.11750 + RCC)
10.11751 + # Rational C++ 2.4.1
10.11752 + lt_prog_compiler_pic_CXX='-pic'
10.11753 + ;;
10.11754 + cxx)
10.11755 + # Digital/Compaq C++
10.11756 + lt_prog_compiler_wl_CXX='-Wl,'
10.11757 + # Make sure the PIC flag is empty. It appears that all Alpha
10.11758 + # Linux and Compaq Tru64 Unix objects are PIC.
10.11759 + lt_prog_compiler_pic_CXX=
10.11760 + lt_prog_compiler_static_CXX='-non_shared'
10.11761 + ;;
10.11762 + *)
10.11763 + ;;
10.11764 + esac
10.11765 + ;;
10.11766 + psos*)
10.11767 + ;;
10.11768 + sco*)
10.11769 + case $cc_basename in
10.11770 + CC)
10.11771 + lt_prog_compiler_pic_CXX='-fPIC'
10.11772 + ;;
10.11773 + *)
10.11774 + ;;
10.11775 + esac
10.11776 + ;;
10.11777 + solaris*)
10.11778 + case $cc_basename in
10.11779 + CC)
10.11780 + # Sun C++ 4.2, 5.x and Centerline C++
10.11781 + lt_prog_compiler_pic_CXX='-KPIC'
10.11782 + lt_prog_compiler_static_CXX='-Bstatic'
10.11783 + lt_prog_compiler_wl_CXX='-Qoption ld '
10.11784 + ;;
10.11785 + gcx)
10.11786 + # Green Hills C++ Compiler
10.11787 + lt_prog_compiler_pic_CXX='-PIC'
10.11788 + ;;
10.11789 + *)
10.11790 + ;;
10.11791 + esac
10.11792 + ;;
10.11793 + sunos4*)
10.11794 + case $cc_basename in
10.11795 + CC)
10.11796 + # Sun C++ 4.x
10.11797 + lt_prog_compiler_pic_CXX='-pic'
10.11798 + lt_prog_compiler_static_CXX='-Bstatic'
10.11799 + ;;
10.11800 + lcc)
10.11801 + # Lucid
10.11802 + lt_prog_compiler_pic_CXX='-pic'
10.11803 + ;;
10.11804 + *)
10.11805 + ;;
10.11806 + esac
10.11807 + ;;
10.11808 + tandem*)
10.11809 + case $cc_basename in
10.11810 + NCC)
10.11811 + # NonStop-UX NCC 3.20
10.11812 + lt_prog_compiler_pic_CXX='-KPIC'
10.11813 + ;;
10.11814 + *)
10.11815 + ;;
10.11816 + esac
10.11817 + ;;
10.11818 + unixware*)
10.11819 + ;;
10.11820 + vxworks*)
10.11821 + ;;
10.11822 + *)
10.11823 + lt_prog_compiler_can_build_shared_CXX=no
10.11824 + ;;
10.11825 + esac
10.11826 + fi
10.11827 +
10.11828 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10.11829 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
10.11830 +
10.11831 +#
10.11832 +# Check to make sure the PIC flag actually works.
10.11833 +#
10.11834 +if test -n "$lt_prog_compiler_pic_CXX"; then
10.11835 +
10.11836 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10.11837 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
10.11838 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10.11839 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.11840 +else
10.11841 + lt_prog_compiler_pic_works_CXX=no
10.11842 + ac_outfile=conftest.$ac_objext
10.11843 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.11844 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10.11845 + # Insert the option either (1) after the last *FLAGS variable, or
10.11846 + # (2) before a word containing "conftest.", or (3) at the end.
10.11847 + # Note that $ac_compile itself does not contain backslashes and begins
10.11848 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.11849 + # The option is referenced via a variable to avoid confusing sed.
10.11850 + lt_compile=`echo "$ac_compile" | $SED \
10.11851 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.11852 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.11853 + -e 's:$: $lt_compiler_flag:'`
10.11854 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.11855 + (eval "$lt_compile" 2>conftest.err)
10.11856 + ac_status=$?
10.11857 + cat conftest.err >&5
10.11858 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.11859 + if (exit $ac_status) && test -s "$ac_outfile"; then
10.11860 + # The compiler can only warn and ignore the option if not recognized
10.11861 + # So say no if there are warnings
10.11862 + if test ! -s conftest.err; then
10.11863 + lt_prog_compiler_pic_works_CXX=yes
10.11864 + fi
10.11865 + fi
10.11866 + $rm conftest*
10.11867 +
10.11868 +fi
10.11869 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10.11870 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
10.11871 +
10.11872 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10.11873 + case $lt_prog_compiler_pic_CXX in
10.11874 + "" | " "*) ;;
10.11875 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10.11876 + esac
10.11877 +else
10.11878 + lt_prog_compiler_pic_CXX=
10.11879 + lt_prog_compiler_can_build_shared_CXX=no
10.11880 +fi
10.11881 +
10.11882 +fi
10.11883 +case "$host_os" in
10.11884 + # For platforms which do not support PIC, -DPIC is meaningless:
10.11885 + *djgpp*)
10.11886 + lt_prog_compiler_pic_CXX=
10.11887 + ;;
10.11888 + *)
10.11889 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10.11890 + ;;
10.11891 +esac
10.11892 +
10.11893 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10.11894 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10.11895 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10.11896 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.11897 +else
10.11898 + lt_cv_prog_compiler_c_o_CXX=no
10.11899 + $rm -r conftest 2>/dev/null
10.11900 + mkdir conftest
10.11901 + cd conftest
10.11902 + mkdir out
10.11903 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.11904 +
10.11905 + lt_compiler_flag="-o out/conftest2.$ac_objext"
10.11906 + # Insert the option either (1) after the last *FLAGS variable, or
10.11907 + # (2) before a word containing "conftest.", or (3) at the end.
10.11908 + # Note that $ac_compile itself does not contain backslashes and begins
10.11909 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.11910 + lt_compile=`echo "$ac_compile" | $SED \
10.11911 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.11912 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.11913 + -e 's:$: $lt_compiler_flag:'`
10.11914 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.11915 + (eval "$lt_compile" 2>out/conftest.err)
10.11916 + ac_status=$?
10.11917 + cat out/conftest.err >&5
10.11918 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.11919 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
10.11920 + then
10.11921 + # The compiler can only warn and ignore the option if not recognized
10.11922 + # So say no if there are warnings
10.11923 + if test ! -s out/conftest.err; then
10.11924 + lt_cv_prog_compiler_c_o_CXX=yes
10.11925 + fi
10.11926 + fi
10.11927 + chmod u+w .
10.11928 + $rm conftest*
10.11929 + # SGI C++ compiler will create directory out/ii_files/ for
10.11930 + # template instantiation
10.11931 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10.11932 + $rm out/* && rmdir out
10.11933 + cd ..
10.11934 + rmdir conftest
10.11935 + $rm conftest*
10.11936 +
10.11937 +fi
10.11938 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10.11939 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
10.11940 +
10.11941 +
10.11942 +hard_links="nottested"
10.11943 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10.11944 + # do not overwrite the value of need_locks provided by the user
10.11945 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10.11946 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10.11947 + hard_links=yes
10.11948 + $rm conftest*
10.11949 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.11950 + touch conftest.a
10.11951 + ln conftest.a conftest.b 2>&5 || hard_links=no
10.11952 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.11953 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10.11954 +echo "${ECHO_T}$hard_links" >&6; }
10.11955 + if test "$hard_links" = no; then
10.11956 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10.11957 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10.11958 + need_locks=warn
10.11959 + fi
10.11960 +else
10.11961 + need_locks=no
10.11962 +fi
10.11963 +
10.11964 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10.11965 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10.11966 +
10.11967 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10.11968 + case $host_os in
10.11969 + aix4* | aix5*)
10.11970 + # If we're using GNU nm, then we don't want the "-C" option.
10.11971 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
10.11972 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10.11973 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.11974 + else
10.11975 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.11976 + fi
10.11977 + ;;
10.11978 + pw32*)
10.11979 + export_symbols_cmds_CXX="$ltdll_cmds"
10.11980 + ;;
10.11981 + cygwin* | mingw*)
10.11982 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10.11983 + ;;
10.11984 + linux*)
10.11985 + link_all_deplibs_CXX=no
10.11986 + ;;
10.11987 + *)
10.11988 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10.11989 + ;;
10.11990 + esac
10.11991 +
10.11992 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10.11993 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10.11994 +test "$ld_shlibs_CXX" = no && can_build_shared=no
10.11995 +
10.11996 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10.11997 +if test "$GCC" = yes; then
10.11998 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10.11999 +fi
10.12000 +
10.12001 +#
10.12002 +# Do we need to explicitly link libc?
10.12003 +#
10.12004 +case "x$archive_cmds_need_lc_CXX" in
10.12005 +x|xyes)
10.12006 + # Assume -lc should be added
10.12007 + archive_cmds_need_lc_CXX=yes
10.12008 +
10.12009 + if test "$enable_shared" = yes && test "$GCC" = yes; then
10.12010 + case $archive_cmds_CXX in
10.12011 + *'~'*)
10.12012 + # FIXME: we may have to deal with multi-command sequences.
10.12013 + ;;
10.12014 + '$CC '*)
10.12015 + # Test whether the compiler implicitly links with -lc since on some
10.12016 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
10.12017 + # to ld, don't add -lc before -lgcc.
10.12018 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10.12019 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10.12020 + $rm conftest*
10.12021 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.12022 +
10.12023 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.12024 + (eval $ac_compile) 2>&5
10.12025 + ac_status=$?
10.12026 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.12027 + (exit $ac_status); } 2>conftest.err; then
10.12028 + soname=conftest
10.12029 + lib=conftest
10.12030 + libobjs=conftest.$ac_objext
10.12031 + deplibs=
10.12032 + wl=$lt_prog_compiler_wl_CXX
10.12033 + compiler_flags=-v
10.12034 + linker_flags=-v
10.12035 + verstring=
10.12036 + output_objdir=.
10.12037 + libname=conftest
10.12038 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10.12039 + allow_undefined_flag_CXX=
10.12040 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10.12041 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10.12042 + ac_status=$?
10.12043 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.12044 + (exit $ac_status); }
10.12045 + then
10.12046 + archive_cmds_need_lc_CXX=no
10.12047 + else
10.12048 + archive_cmds_need_lc_CXX=yes
10.12049 + fi
10.12050 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10.12051 + else
10.12052 + cat conftest.err 1>&5
10.12053 + fi
10.12054 + $rm conftest*
10.12055 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10.12056 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
10.12057 + ;;
10.12058 + esac
10.12059 + fi
10.12060 + ;;
10.12061 +esac
10.12062 +
10.12063 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10.12064 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10.12065 +library_names_spec=
10.12066 +libname_spec='lib$name'
10.12067 +soname_spec=
10.12068 +shrext_cmds=".so"
10.12069 +postinstall_cmds=
10.12070 +postuninstall_cmds=
10.12071 +finish_cmds=
10.12072 +finish_eval=
10.12073 +shlibpath_var=
10.12074 +shlibpath_overrides_runpath=unknown
10.12075 +version_type=none
10.12076 +dynamic_linker="$host_os ld.so"
10.12077 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
10.12078 +if test "$GCC" = yes; then
10.12079 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.12080 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10.12081 + # if the path contains ";" then we assume it to be the separator
10.12082 + # otherwise default to the standard path separator (i.e. ":") - it is
10.12083 + # assumed that no part of a normal pathname contains ";" but that should
10.12084 + # okay in the real world where ";" in dirpaths is itself problematic.
10.12085 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.12086 + else
10.12087 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.12088 + fi
10.12089 +else
10.12090 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10.12091 +fi
10.12092 +need_lib_prefix=unknown
10.12093 +hardcode_into_libs=no
10.12094 +
10.12095 +# when you set need_version to no, make sure it does not cause -set_version
10.12096 +# flags to be left without arguments
10.12097 +need_version=unknown
10.12098 +
10.12099 +case $host_os in
10.12100 +aix3*)
10.12101 + version_type=linux
10.12102 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10.12103 + shlibpath_var=LIBPATH
10.12104 +
10.12105 + # AIX 3 has no versioning support, so we append a major version to the name.
10.12106 + soname_spec='${libname}${release}${shared_ext}$major'
10.12107 + ;;
10.12108 +
10.12109 +aix4* | aix5*)
10.12110 + version_type=linux
10.12111 + need_lib_prefix=no
10.12112 + need_version=no
10.12113 + hardcode_into_libs=yes
10.12114 + if test "$host_cpu" = ia64; then
10.12115 + # AIX 5 supports IA64
10.12116 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10.12117 + shlibpath_var=LD_LIBRARY_PATH
10.12118 + else
10.12119 + # With GCC up to 2.95.x, collect2 would create an import file
10.12120 + # for dependence libraries. The import file would start with
10.12121 + # the line `#! .'. This would cause the generated library to
10.12122 + # depend on `.', always an invalid library. This was fixed in
10.12123 + # development snapshots of GCC prior to 3.0.
10.12124 + case $host_os in
10.12125 + aix4 | aix4.[01] | aix4.[01].*)
10.12126 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10.12127 + echo ' yes '
10.12128 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10.12129 + :
10.12130 + else
10.12131 + can_build_shared=no
10.12132 + fi
10.12133 + ;;
10.12134 + esac
10.12135 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10.12136 + # soname into executable. Probably we can add versioning support to
10.12137 + # collect2, so additional links can be useful in future.
10.12138 + if test "$aix_use_runtimelinking" = yes; then
10.12139 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10.12140 + # instead of lib<name>.a to let people know that these are not
10.12141 + # typical AIX shared libraries.
10.12142 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12143 + else
10.12144 + # We preserve .a as extension for shared libraries through AIX4.2
10.12145 + # and later when we are not doing run time linking.
10.12146 + library_names_spec='${libname}${release}.a $libname.a'
10.12147 + soname_spec='${libname}${release}${shared_ext}$major'
10.12148 + fi
10.12149 + shlibpath_var=LIBPATH
10.12150 + fi
10.12151 + ;;
10.12152 +
10.12153 +amigaos*)
10.12154 + library_names_spec='$libname.ixlibrary $libname.a'
10.12155 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
10.12156 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10.12157 + ;;
10.12158 +
10.12159 +beos*)
10.12160 + library_names_spec='${libname}${shared_ext}'
10.12161 + dynamic_linker="$host_os ld.so"
10.12162 + shlibpath_var=LIBRARY_PATH
10.12163 + ;;
10.12164 +
10.12165 +bsdi4*)
10.12166 + version_type=linux
10.12167 + need_version=no
10.12168 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12169 + soname_spec='${libname}${release}${shared_ext}$major'
10.12170 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10.12171 + shlibpath_var=LD_LIBRARY_PATH
10.12172 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10.12173 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10.12174 + # the default ld.so.conf also contains /usr/contrib/lib and
10.12175 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10.12176 + # libtool to hard-code these into programs
10.12177 + ;;
10.12178 +
10.12179 +cygwin* | mingw* | pw32*)
10.12180 + version_type=windows
10.12181 + shrext_cmds=".dll"
10.12182 + need_version=no
10.12183 + need_lib_prefix=no
10.12184 +
10.12185 + case $GCC,$host_os in
10.12186 + yes,cygwin* | yes,mingw* | yes,pw32*)
10.12187 + library_names_spec='$libname.dll.a'
10.12188 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
10.12189 + postinstall_cmds='base_file=`basename \${file}`~
10.12190 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10.12191 + dldir=$destdir/`dirname \$dlpath`~
10.12192 + test -d \$dldir || mkdir -p \$dldir~
10.12193 + $install_prog $dir/$dlname \$dldir/$dlname'
10.12194 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10.12195 + dlpath=$dir/\$dldll~
10.12196 + $rm \$dlpath'
10.12197 + shlibpath_overrides_runpath=yes
10.12198 +
10.12199 + case $host_os in
10.12200 + cygwin*)
10.12201 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10.12202 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.12203 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10.12204 + ;;
10.12205 + mingw*)
10.12206 + # MinGW DLLs use traditional 'lib' prefix
10.12207 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.12208 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.12209 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10.12210 + # It is most probably a Windows format PATH printed by
10.12211 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
10.12212 + # path with ; separators, and with drive letters. We can handle the
10.12213 + # drive letters (cygwin fileutils understands them), so leave them,
10.12214 + # especially as we might pass files found there to a mingw objdump,
10.12215 + # which wouldn't understand a cygwinified path. Ahh.
10.12216 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.12217 + else
10.12218 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.12219 + fi
10.12220 + ;;
10.12221 + pw32*)
10.12222 + # pw32 DLLs use 'pw' prefix rather than 'lib'
10.12223 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10.12224 + ;;
10.12225 + esac
10.12226 + ;;
10.12227 +
10.12228 + *)
10.12229 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10.12230 + ;;
10.12231 + esac
10.12232 + dynamic_linker='Win32 ld.exe'
10.12233 + # FIXME: first we should search . and the directory the executable is in
10.12234 + shlibpath_var=PATH
10.12235 + ;;
10.12236 +
10.12237 +darwin* | rhapsody*)
10.12238 + dynamic_linker="$host_os dyld"
10.12239 + version_type=darwin
10.12240 + need_lib_prefix=no
10.12241 + need_version=no
10.12242 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10.12243 + soname_spec='${libname}${release}${major}$shared_ext'
10.12244 + shlibpath_overrides_runpath=yes
10.12245 + shlibpath_var=DYLD_LIBRARY_PATH
10.12246 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
10.12247 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10.12248 + if test "$GCC" = yes; then
10.12249 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10.12250 + else
10.12251 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10.12252 + fi
10.12253 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10.12254 + ;;
10.12255 +
10.12256 +dgux*)
10.12257 + version_type=linux
10.12258 + need_lib_prefix=no
10.12259 + need_version=no
10.12260 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10.12261 + soname_spec='${libname}${release}${shared_ext}$major'
10.12262 + shlibpath_var=LD_LIBRARY_PATH
10.12263 + ;;
10.12264 +
10.12265 +freebsd1*)
10.12266 + dynamic_linker=no
10.12267 + ;;
10.12268 +
10.12269 +kfreebsd*-gnu)
10.12270 + version_type=linux
10.12271 + need_lib_prefix=no
10.12272 + need_version=no
10.12273 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.12274 + soname_spec='${libname}${release}${shared_ext}$major'
10.12275 + shlibpath_var=LD_LIBRARY_PATH
10.12276 + shlibpath_overrides_runpath=no
10.12277 + hardcode_into_libs=yes
10.12278 + dynamic_linker='GNU ld.so'
10.12279 + ;;
10.12280 +
10.12281 +freebsd*)
10.12282 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10.12283 + version_type=freebsd-$objformat
10.12284 + case $version_type in
10.12285 + freebsd-elf*)
10.12286 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10.12287 + need_version=no
10.12288 + need_lib_prefix=no
10.12289 + ;;
10.12290 + freebsd-*)
10.12291 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10.12292 + need_version=yes
10.12293 + ;;
10.12294 + esac
10.12295 + shlibpath_var=LD_LIBRARY_PATH
10.12296 + case $host_os in
10.12297 + freebsd2*)
10.12298 + shlibpath_overrides_runpath=yes
10.12299 + ;;
10.12300 + freebsd3.01* | freebsdelf3.01*)
10.12301 + shlibpath_overrides_runpath=yes
10.12302 + hardcode_into_libs=yes
10.12303 + ;;
10.12304 + *) # from 3.2 on
10.12305 + shlibpath_overrides_runpath=no
10.12306 + hardcode_into_libs=yes
10.12307 + ;;
10.12308 + esac
10.12309 + ;;
10.12310 +
10.12311 +gnu*)
10.12312 + version_type=linux
10.12313 + need_lib_prefix=no
10.12314 + need_version=no
10.12315 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10.12316 + soname_spec='${libname}${release}${shared_ext}$major'
10.12317 + shlibpath_var=LD_LIBRARY_PATH
10.12318 + hardcode_into_libs=yes
10.12319 + ;;
10.12320 +
10.12321 +hpux9* | hpux10* | hpux11*)
10.12322 + # Give a soname corresponding to the major version so that dld.sl refuses to
10.12323 + # link against other versions.
10.12324 + version_type=sunos
10.12325 + need_lib_prefix=no
10.12326 + need_version=no
10.12327 + case "$host_cpu" in
10.12328 + ia64*)
10.12329 + shrext_cmds='.so'
10.12330 + hardcode_into_libs=yes
10.12331 + dynamic_linker="$host_os dld.so"
10.12332 + shlibpath_var=LD_LIBRARY_PATH
10.12333 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.12334 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12335 + soname_spec='${libname}${release}${shared_ext}$major'
10.12336 + if test "X$HPUX_IA64_MODE" = X32; then
10.12337 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10.12338 + else
10.12339 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10.12340 + fi
10.12341 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.12342 + ;;
10.12343 + hppa*64*)
10.12344 + shrext_cmds='.sl'
10.12345 + hardcode_into_libs=yes
10.12346 + dynamic_linker="$host_os dld.sl"
10.12347 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10.12348 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.12349 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12350 + soname_spec='${libname}${release}${shared_ext}$major'
10.12351 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10.12352 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.12353 + ;;
10.12354 + *)
10.12355 + shrext_cmds='.sl'
10.12356 + dynamic_linker="$host_os dld.sl"
10.12357 + shlibpath_var=SHLIB_PATH
10.12358 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10.12359 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12360 + soname_spec='${libname}${release}${shared_ext}$major'
10.12361 + ;;
10.12362 + esac
10.12363 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
10.12364 + postinstall_cmds='chmod 555 $lib'
10.12365 + ;;
10.12366 +
10.12367 +irix5* | irix6* | nonstopux*)
10.12368 + case $host_os in
10.12369 + nonstopux*) version_type=nonstopux ;;
10.12370 + *)
10.12371 + if test "$lt_cv_prog_gnu_ld" = yes; then
10.12372 + version_type=linux
10.12373 + else
10.12374 + version_type=irix
10.12375 + fi ;;
10.12376 + esac
10.12377 + need_lib_prefix=no
10.12378 + need_version=no
10.12379 + soname_spec='${libname}${release}${shared_ext}$major'
10.12380 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10.12381 + case $host_os in
10.12382 + irix5* | nonstopux*)
10.12383 + libsuff= shlibsuff=
10.12384 + ;;
10.12385 + *)
10.12386 + case $LD in # libtool.m4 will add one of these switches to LD
10.12387 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10.12388 + libsuff= shlibsuff= libmagic=32-bit;;
10.12389 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10.12390 + libsuff=32 shlibsuff=N32 libmagic=N32;;
10.12391 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10.12392 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
10.12393 + *) libsuff= shlibsuff= libmagic=never-match;;
10.12394 + esac
10.12395 + ;;
10.12396 + esac
10.12397 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10.12398 + shlibpath_overrides_runpath=no
10.12399 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10.12400 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10.12401 + hardcode_into_libs=yes
10.12402 + ;;
10.12403 +
10.12404 +# No shared lib support for Linux oldld, aout, or coff.
10.12405 +linux*oldld* | linux*aout* | linux*coff*)
10.12406 + dynamic_linker=no
10.12407 + ;;
10.12408 +
10.12409 +# This must be Linux ELF.
10.12410 +linux*)
10.12411 + version_type=linux
10.12412 + need_lib_prefix=no
10.12413 + need_version=no
10.12414 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12415 + soname_spec='${libname}${release}${shared_ext}$major'
10.12416 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10.12417 + shlibpath_var=LD_LIBRARY_PATH
10.12418 + shlibpath_overrides_runpath=no
10.12419 + # This implies no fast_install, which is unacceptable.
10.12420 + # Some rework will be needed to allow for fast_install
10.12421 + # before this can be enabled.
10.12422 + hardcode_into_libs=yes
10.12423 +
10.12424 + # Append ld.so.conf contents to the search path
10.12425 + if test -f /etc/ld.so.conf; then
10.12426 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
10.12427 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10.12428 + fi
10.12429 +
10.12430 + # We used to test for /lib/ld.so.1 and disable shared libraries on
10.12431 + # powerpc, because MkLinux only supported shared libraries with the
10.12432 + # GNU dynamic linker. Since this was broken with cross compilers,
10.12433 + # most powerpc-linux boxes support dynamic linking these days and
10.12434 + # people can always --disable-shared, the test was removed, and we
10.12435 + # assume the GNU/Linux dynamic linker is in use.
10.12436 + dynamic_linker='GNU/Linux ld.so'
10.12437 + ;;
10.12438 +
10.12439 +netbsdelf*-gnu)
10.12440 + version_type=linux
10.12441 + need_lib_prefix=no
10.12442 + need_version=no
10.12443 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.12444 + soname_spec='${libname}${release}${shared_ext}$major'
10.12445 + shlibpath_var=LD_LIBRARY_PATH
10.12446 + shlibpath_overrides_runpath=no
10.12447 + hardcode_into_libs=yes
10.12448 + dynamic_linker='NetBSD ld.elf_so'
10.12449 + ;;
10.12450 +
10.12451 +knetbsd*-gnu)
10.12452 + version_type=linux
10.12453 + need_lib_prefix=no
10.12454 + need_version=no
10.12455 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.12456 + soname_spec='${libname}${release}${shared_ext}$major'
10.12457 + shlibpath_var=LD_LIBRARY_PATH
10.12458 + shlibpath_overrides_runpath=no
10.12459 + hardcode_into_libs=yes
10.12460 + dynamic_linker='GNU ld.so'
10.12461 + ;;
10.12462 +
10.12463 +netbsd*)
10.12464 + version_type=sunos
10.12465 + need_lib_prefix=no
10.12466 + need_version=no
10.12467 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.12468 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.12469 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.12470 + dynamic_linker='NetBSD (a.out) ld.so'
10.12471 + else
10.12472 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.12473 + soname_spec='${libname}${release}${shared_ext}$major'
10.12474 + dynamic_linker='NetBSD ld.elf_so'
10.12475 + fi
10.12476 + shlibpath_var=LD_LIBRARY_PATH
10.12477 + shlibpath_overrides_runpath=yes
10.12478 + hardcode_into_libs=yes
10.12479 + ;;
10.12480 +
10.12481 +newsos6)
10.12482 + version_type=linux
10.12483 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12484 + shlibpath_var=LD_LIBRARY_PATH
10.12485 + shlibpath_overrides_runpath=yes
10.12486 + ;;
10.12487 +
10.12488 +nto-qnx*)
10.12489 + version_type=linux
10.12490 + need_lib_prefix=no
10.12491 + need_version=no
10.12492 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12493 + soname_spec='${libname}${release}${shared_ext}$major'
10.12494 + shlibpath_var=LD_LIBRARY_PATH
10.12495 + shlibpath_overrides_runpath=yes
10.12496 + ;;
10.12497 +
10.12498 +openbsd*)
10.12499 + version_type=sunos
10.12500 + need_lib_prefix=no
10.12501 + need_version=yes
10.12502 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.12503 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.12504 + shlibpath_var=LD_LIBRARY_PATH
10.12505 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.12506 + case $host_os in
10.12507 + openbsd2.[89] | openbsd2.[89].*)
10.12508 + shlibpath_overrides_runpath=no
10.12509 + ;;
10.12510 + *)
10.12511 + shlibpath_overrides_runpath=yes
10.12512 + ;;
10.12513 + esac
10.12514 + else
10.12515 + shlibpath_overrides_runpath=yes
10.12516 + fi
10.12517 + ;;
10.12518 +
10.12519 +os2*)
10.12520 + libname_spec='$name'
10.12521 + shrext_cmds=".dll"
10.12522 + need_lib_prefix=no
10.12523 + library_names_spec='$libname${shared_ext} $libname.a'
10.12524 + dynamic_linker='OS/2 ld.exe'
10.12525 + shlibpath_var=LIBPATH
10.12526 + ;;
10.12527 +
10.12528 +osf3* | osf4* | osf5*)
10.12529 + version_type=osf
10.12530 + need_lib_prefix=no
10.12531 + need_version=no
10.12532 + soname_spec='${libname}${release}${shared_ext}$major'
10.12533 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12534 + shlibpath_var=LD_LIBRARY_PATH
10.12535 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10.12536 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10.12537 + ;;
10.12538 +
10.12539 +sco3.2v5*)
10.12540 + version_type=osf
10.12541 + soname_spec='${libname}${release}${shared_ext}$major'
10.12542 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12543 + shlibpath_var=LD_LIBRARY_PATH
10.12544 + ;;
10.12545 +
10.12546 +solaris*)
10.12547 + version_type=linux
10.12548 + need_lib_prefix=no
10.12549 + need_version=no
10.12550 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12551 + soname_spec='${libname}${release}${shared_ext}$major'
10.12552 + shlibpath_var=LD_LIBRARY_PATH
10.12553 + shlibpath_overrides_runpath=yes
10.12554 + hardcode_into_libs=yes
10.12555 + # ldd complains unless libraries are executable
10.12556 + postinstall_cmds='chmod +x $lib'
10.12557 + ;;
10.12558 +
10.12559 +sunos4*)
10.12560 + version_type=sunos
10.12561 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.12562 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10.12563 + shlibpath_var=LD_LIBRARY_PATH
10.12564 + shlibpath_overrides_runpath=yes
10.12565 + if test "$with_gnu_ld" = yes; then
10.12566 + need_lib_prefix=no
10.12567 + fi
10.12568 + need_version=yes
10.12569 + ;;
10.12570 +
10.12571 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.12572 + version_type=linux
10.12573 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12574 + soname_spec='${libname}${release}${shared_ext}$major'
10.12575 + shlibpath_var=LD_LIBRARY_PATH
10.12576 + case $host_vendor in
10.12577 + sni)
10.12578 + shlibpath_overrides_runpath=no
10.12579 + need_lib_prefix=no
10.12580 + export_dynamic_flag_spec='${wl}-Blargedynsym'
10.12581 + runpath_var=LD_RUN_PATH
10.12582 + ;;
10.12583 + siemens)
10.12584 + need_lib_prefix=no
10.12585 + ;;
10.12586 + motorola)
10.12587 + need_lib_prefix=no
10.12588 + need_version=no
10.12589 + shlibpath_overrides_runpath=no
10.12590 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10.12591 + ;;
10.12592 + esac
10.12593 + ;;
10.12594 +
10.12595 +sysv4*MP*)
10.12596 + if test -d /usr/nec ;then
10.12597 + version_type=linux
10.12598 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10.12599 + soname_spec='$libname${shared_ext}.$major'
10.12600 + shlibpath_var=LD_LIBRARY_PATH
10.12601 + fi
10.12602 + ;;
10.12603 +
10.12604 +uts4*)
10.12605 + version_type=linux
10.12606 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.12607 + soname_spec='${libname}${release}${shared_ext}$major'
10.12608 + shlibpath_var=LD_LIBRARY_PATH
10.12609 + ;;
10.12610 +
10.12611 +*)
10.12612 + dynamic_linker=no
10.12613 + ;;
10.12614 +esac
10.12615 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10.12616 +echo "${ECHO_T}$dynamic_linker" >&6; }
10.12617 +test "$dynamic_linker" = no && can_build_shared=no
10.12618 +
10.12619 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10.12620 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10.12621 +hardcode_action_CXX=
10.12622 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
10.12623 + test -n "$runpath_var CXX" || \
10.12624 + test "X$hardcode_automatic_CXX"="Xyes" ; then
10.12625 +
10.12626 + # We can hardcode non-existant directories.
10.12627 + if test "$hardcode_direct_CXX" != no &&
10.12628 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
10.12629 + # have to relink, otherwise we might link with an installed library
10.12630 + # when we should be linking with a yet-to-be-installed one
10.12631 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
10.12632 + test "$hardcode_minus_L_CXX" != no; then
10.12633 + # Linking always hardcodes the temporary library directory.
10.12634 + hardcode_action_CXX=relink
10.12635 + else
10.12636 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
10.12637 + hardcode_action_CXX=immediate
10.12638 + fi
10.12639 +else
10.12640 + # We cannot hardcode anything, or else we can only hardcode existing
10.12641 + # directories.
10.12642 + hardcode_action_CXX=unsupported
10.12643 +fi
10.12644 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
10.12645 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
10.12646 +
10.12647 +if test "$hardcode_action_CXX" = relink; then
10.12648 + # Fast installation is not supported
10.12649 + enable_fast_install=no
10.12650 +elif test "$shlibpath_overrides_runpath" = yes ||
10.12651 + test "$enable_shared" = no; then
10.12652 + # Fast installation is not necessary
10.12653 + enable_fast_install=needless
10.12654 +fi
10.12655 +
10.12656 +striplib=
10.12657 +old_striplib=
10.12658 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10.12659 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10.12660 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10.12661 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10.12662 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10.12663 + { echo "$as_me:$LINENO: result: yes" >&5
10.12664 +echo "${ECHO_T}yes" >&6; }
10.12665 +else
10.12666 +# FIXME - insert some real tests, host_os isn't really good enough
10.12667 + case $host_os in
10.12668 + darwin*)
10.12669 + if test -n "$STRIP" ; then
10.12670 + striplib="$STRIP -x"
10.12671 + { echo "$as_me:$LINENO: result: yes" >&5
10.12672 +echo "${ECHO_T}yes" >&6; }
10.12673 + else
10.12674 + { echo "$as_me:$LINENO: result: no" >&5
10.12675 +echo "${ECHO_T}no" >&6; }
10.12676 +fi
10.12677 + ;;
10.12678 + *)
10.12679 + { echo "$as_me:$LINENO: result: no" >&5
10.12680 +echo "${ECHO_T}no" >&6; }
10.12681 + ;;
10.12682 + esac
10.12683 +fi
10.12684 +
10.12685 +if test "x$enable_dlopen" != xyes; then
10.12686 + enable_dlopen=unknown
10.12687 + enable_dlopen_self=unknown
10.12688 + enable_dlopen_self_static=unknown
10.12689 +else
10.12690 + lt_cv_dlopen=no
10.12691 + lt_cv_dlopen_libs=
10.12692 +
10.12693 + case $host_os in
10.12694 + beos*)
10.12695 + lt_cv_dlopen="load_add_on"
10.12696 + lt_cv_dlopen_libs=
10.12697 + lt_cv_dlopen_self=yes
10.12698 + ;;
10.12699 +
10.12700 + mingw* | pw32*)
10.12701 + lt_cv_dlopen="LoadLibrary"
10.12702 + lt_cv_dlopen_libs=
10.12703 + ;;
10.12704 +
10.12705 + cygwin*)
10.12706 + lt_cv_dlopen="dlopen"
10.12707 + lt_cv_dlopen_libs=
10.12708 + ;;
10.12709 +
10.12710 + darwin*)
10.12711 + # if libdl is installed we need to link against it
10.12712 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10.12713 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10.12714 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10.12715 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.12716 +else
10.12717 + ac_check_lib_save_LIBS=$LIBS
10.12718 +LIBS="-ldl $LIBS"
10.12719 +cat >conftest.$ac_ext <<_ACEOF
10.12720 +/* confdefs.h. */
10.12721 +_ACEOF
10.12722 +cat confdefs.h >>conftest.$ac_ext
10.12723 +cat >>conftest.$ac_ext <<_ACEOF
10.12724 +/* end confdefs.h. */
10.12725 +
10.12726 +/* Override any GCC internal prototype to avoid an error.
10.12727 + Use char because int might match the return type of a GCC
10.12728 + builtin and then its argument prototype would still apply. */
10.12729 +#ifdef __cplusplus
10.12730 +extern "C"
10.12731 +#endif
10.12732 +char dlopen ();
10.12733 +int
10.12734 +main ()
10.12735 +{
10.12736 +return dlopen ();
10.12737 + ;
10.12738 + return 0;
10.12739 +}
10.12740 +_ACEOF
10.12741 +rm -f conftest.$ac_objext conftest$ac_exeext
10.12742 +if { (ac_try="$ac_link"
10.12743 +case "(($ac_try" in
10.12744 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.12745 + *) ac_try_echo=$ac_try;;
10.12746 +esac
10.12747 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.12748 + (eval "$ac_link") 2>conftest.er1
10.12749 + ac_status=$?
10.12750 + grep -v '^ *+' conftest.er1 >conftest.err
10.12751 + rm -f conftest.er1
10.12752 + cat conftest.err >&5
10.12753 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.12754 + (exit $ac_status); } && {
10.12755 + test -z "$ac_cxx_werror_flag" ||
10.12756 + test ! -s conftest.err
10.12757 + } && test -s conftest$ac_exeext &&
10.12758 + $as_test_x conftest$ac_exeext; then
10.12759 + ac_cv_lib_dl_dlopen=yes
10.12760 +else
10.12761 + echo "$as_me: failed program was:" >&5
10.12762 +sed 's/^/| /' conftest.$ac_ext >&5
10.12763 +
10.12764 + ac_cv_lib_dl_dlopen=no
10.12765 +fi
10.12766 +
10.12767 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.12768 + conftest$ac_exeext conftest.$ac_ext
10.12769 +LIBS=$ac_check_lib_save_LIBS
10.12770 +fi
10.12771 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10.12772 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10.12773 +if test $ac_cv_lib_dl_dlopen = yes; then
10.12774 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10.12775 +else
10.12776 +
10.12777 + lt_cv_dlopen="dyld"
10.12778 + lt_cv_dlopen_libs=
10.12779 + lt_cv_dlopen_self=yes
10.12780 +
10.12781 +fi
10.12782 +
10.12783 + ;;
10.12784 +
10.12785 + *)
10.12786 + { echo "$as_me:$LINENO: checking for shl_load" >&5
10.12787 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10.12788 +if test "${ac_cv_func_shl_load+set}" = set; then
10.12789 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.12790 +else
10.12791 + cat >conftest.$ac_ext <<_ACEOF
10.12792 +/* confdefs.h. */
10.12793 +_ACEOF
10.12794 +cat confdefs.h >>conftest.$ac_ext
10.12795 +cat >>conftest.$ac_ext <<_ACEOF
10.12796 +/* end confdefs.h. */
10.12797 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10.12798 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10.12799 +#define shl_load innocuous_shl_load
10.12800 +
10.12801 +/* System header to define __stub macros and hopefully few prototypes,
10.12802 + which can conflict with char shl_load (); below.
10.12803 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.12804 + <limits.h> exists even on freestanding compilers. */
10.12805 +
10.12806 +#ifdef __STDC__
10.12807 +# include <limits.h>
10.12808 +#else
10.12809 +# include <assert.h>
10.12810 +#endif
10.12811 +
10.12812 +#undef shl_load
10.12813 +
10.12814 +/* Override any GCC internal prototype to avoid an error.
10.12815 + Use char because int might match the return type of a GCC
10.12816 + builtin and then its argument prototype would still apply. */
10.12817 +#ifdef __cplusplus
10.12818 +extern "C"
10.12819 +#endif
10.12820 +char shl_load ();
10.12821 +/* The GNU C library defines this for functions which it implements
10.12822 + to always fail with ENOSYS. Some functions are actually named
10.12823 + something starting with __ and the normal name is an alias. */
10.12824 +#if defined __stub_shl_load || defined __stub___shl_load
10.12825 +choke me
10.12826 +#endif
10.12827 +
10.12828 +int
10.12829 +main ()
10.12830 +{
10.12831 +return shl_load ();
10.12832 + ;
10.12833 + return 0;
10.12834 +}
10.12835 +_ACEOF
10.12836 +rm -f conftest.$ac_objext conftest$ac_exeext
10.12837 +if { (ac_try="$ac_link"
10.12838 +case "(($ac_try" in
10.12839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.12840 + *) ac_try_echo=$ac_try;;
10.12841 +esac
10.12842 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.12843 + (eval "$ac_link") 2>conftest.er1
10.12844 + ac_status=$?
10.12845 + grep -v '^ *+' conftest.er1 >conftest.err
10.12846 + rm -f conftest.er1
10.12847 + cat conftest.err >&5
10.12848 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.12849 + (exit $ac_status); } && {
10.12850 + test -z "$ac_cxx_werror_flag" ||
10.12851 + test ! -s conftest.err
10.12852 + } && test -s conftest$ac_exeext &&
10.12853 + $as_test_x conftest$ac_exeext; then
10.12854 + ac_cv_func_shl_load=yes
10.12855 +else
10.12856 + echo "$as_me: failed program was:" >&5
10.12857 +sed 's/^/| /' conftest.$ac_ext >&5
10.12858 +
10.12859 + ac_cv_func_shl_load=no
10.12860 +fi
10.12861 +
10.12862 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.12863 + conftest$ac_exeext conftest.$ac_ext
10.12864 +fi
10.12865 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10.12866 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10.12867 +if test $ac_cv_func_shl_load = yes; then
10.12868 + lt_cv_dlopen="shl_load"
10.12869 +else
10.12870 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10.12871 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10.12872 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10.12873 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.12874 +else
10.12875 + ac_check_lib_save_LIBS=$LIBS
10.12876 +LIBS="-ldld $LIBS"
10.12877 +cat >conftest.$ac_ext <<_ACEOF
10.12878 +/* confdefs.h. */
10.12879 +_ACEOF
10.12880 +cat confdefs.h >>conftest.$ac_ext
10.12881 +cat >>conftest.$ac_ext <<_ACEOF
10.12882 +/* end confdefs.h. */
10.12883 +
10.12884 +/* Override any GCC internal prototype to avoid an error.
10.12885 + Use char because int might match the return type of a GCC
10.12886 + builtin and then its argument prototype would still apply. */
10.12887 +#ifdef __cplusplus
10.12888 +extern "C"
10.12889 +#endif
10.12890 +char shl_load ();
10.12891 +int
10.12892 +main ()
10.12893 +{
10.12894 +return shl_load ();
10.12895 + ;
10.12896 + return 0;
10.12897 +}
10.12898 +_ACEOF
10.12899 +rm -f conftest.$ac_objext conftest$ac_exeext
10.12900 +if { (ac_try="$ac_link"
10.12901 +case "(($ac_try" in
10.12902 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.12903 + *) ac_try_echo=$ac_try;;
10.12904 +esac
10.12905 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.12906 + (eval "$ac_link") 2>conftest.er1
10.12907 + ac_status=$?
10.12908 + grep -v '^ *+' conftest.er1 >conftest.err
10.12909 + rm -f conftest.er1
10.12910 + cat conftest.err >&5
10.12911 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.12912 + (exit $ac_status); } && {
10.12913 + test -z "$ac_cxx_werror_flag" ||
10.12914 + test ! -s conftest.err
10.12915 + } && test -s conftest$ac_exeext &&
10.12916 + $as_test_x conftest$ac_exeext; then
10.12917 + ac_cv_lib_dld_shl_load=yes
10.12918 +else
10.12919 + echo "$as_me: failed program was:" >&5
10.12920 +sed 's/^/| /' conftest.$ac_ext >&5
10.12921 +
10.12922 + ac_cv_lib_dld_shl_load=no
10.12923 +fi
10.12924 +
10.12925 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.12926 + conftest$ac_exeext conftest.$ac_ext
10.12927 +LIBS=$ac_check_lib_save_LIBS
10.12928 +fi
10.12929 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10.12930 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10.12931 +if test $ac_cv_lib_dld_shl_load = yes; then
10.12932 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10.12933 +else
10.12934 + { echo "$as_me:$LINENO: checking for dlopen" >&5
10.12935 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10.12936 +if test "${ac_cv_func_dlopen+set}" = set; then
10.12937 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.12938 +else
10.12939 + cat >conftest.$ac_ext <<_ACEOF
10.12940 +/* confdefs.h. */
10.12941 +_ACEOF
10.12942 +cat confdefs.h >>conftest.$ac_ext
10.12943 +cat >>conftest.$ac_ext <<_ACEOF
10.12944 +/* end confdefs.h. */
10.12945 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10.12946 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10.12947 +#define dlopen innocuous_dlopen
10.12948 +
10.12949 +/* System header to define __stub macros and hopefully few prototypes,
10.12950 + which can conflict with char dlopen (); below.
10.12951 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.12952 + <limits.h> exists even on freestanding compilers. */
10.12953 +
10.12954 +#ifdef __STDC__
10.12955 +# include <limits.h>
10.12956 +#else
10.12957 +# include <assert.h>
10.12958 +#endif
10.12959 +
10.12960 +#undef dlopen
10.12961 +
10.12962 +/* Override any GCC internal prototype to avoid an error.
10.12963 + Use char because int might match the return type of a GCC
10.12964 + builtin and then its argument prototype would still apply. */
10.12965 +#ifdef __cplusplus
10.12966 +extern "C"
10.12967 +#endif
10.12968 +char dlopen ();
10.12969 +/* The GNU C library defines this for functions which it implements
10.12970 + to always fail with ENOSYS. Some functions are actually named
10.12971 + something starting with __ and the normal name is an alias. */
10.12972 +#if defined __stub_dlopen || defined __stub___dlopen
10.12973 +choke me
10.12974 +#endif
10.12975 +
10.12976 +int
10.12977 +main ()
10.12978 +{
10.12979 +return dlopen ();
10.12980 + ;
10.12981 + return 0;
10.12982 +}
10.12983 +_ACEOF
10.12984 +rm -f conftest.$ac_objext conftest$ac_exeext
10.12985 +if { (ac_try="$ac_link"
10.12986 +case "(($ac_try" in
10.12987 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.12988 + *) ac_try_echo=$ac_try;;
10.12989 +esac
10.12990 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.12991 + (eval "$ac_link") 2>conftest.er1
10.12992 + ac_status=$?
10.12993 + grep -v '^ *+' conftest.er1 >conftest.err
10.12994 + rm -f conftest.er1
10.12995 + cat conftest.err >&5
10.12996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.12997 + (exit $ac_status); } && {
10.12998 + test -z "$ac_cxx_werror_flag" ||
10.12999 + test ! -s conftest.err
10.13000 + } && test -s conftest$ac_exeext &&
10.13001 + $as_test_x conftest$ac_exeext; then
10.13002 + ac_cv_func_dlopen=yes
10.13003 +else
10.13004 + echo "$as_me: failed program was:" >&5
10.13005 +sed 's/^/| /' conftest.$ac_ext >&5
10.13006 +
10.13007 + ac_cv_func_dlopen=no
10.13008 +fi
10.13009 +
10.13010 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.13011 + conftest$ac_exeext conftest.$ac_ext
10.13012 +fi
10.13013 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10.13014 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10.13015 +if test $ac_cv_func_dlopen = yes; then
10.13016 + lt_cv_dlopen="dlopen"
10.13017 +else
10.13018 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10.13019 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10.13020 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10.13021 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.13022 +else
10.13023 + ac_check_lib_save_LIBS=$LIBS
10.13024 +LIBS="-ldl $LIBS"
10.13025 +cat >conftest.$ac_ext <<_ACEOF
10.13026 +/* confdefs.h. */
10.13027 +_ACEOF
10.13028 +cat confdefs.h >>conftest.$ac_ext
10.13029 +cat >>conftest.$ac_ext <<_ACEOF
10.13030 +/* end confdefs.h. */
10.13031 +
10.13032 +/* Override any GCC internal prototype to avoid an error.
10.13033 + Use char because int might match the return type of a GCC
10.13034 + builtin and then its argument prototype would still apply. */
10.13035 +#ifdef __cplusplus
10.13036 +extern "C"
10.13037 +#endif
10.13038 +char dlopen ();
10.13039 +int
10.13040 +main ()
10.13041 +{
10.13042 +return dlopen ();
10.13043 + ;
10.13044 + return 0;
10.13045 +}
10.13046 +_ACEOF
10.13047 +rm -f conftest.$ac_objext conftest$ac_exeext
10.13048 +if { (ac_try="$ac_link"
10.13049 +case "(($ac_try" in
10.13050 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.13051 + *) ac_try_echo=$ac_try;;
10.13052 +esac
10.13053 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.13054 + (eval "$ac_link") 2>conftest.er1
10.13055 + ac_status=$?
10.13056 + grep -v '^ *+' conftest.er1 >conftest.err
10.13057 + rm -f conftest.er1
10.13058 + cat conftest.err >&5
10.13059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.13060 + (exit $ac_status); } && {
10.13061 + test -z "$ac_cxx_werror_flag" ||
10.13062 + test ! -s conftest.err
10.13063 + } && test -s conftest$ac_exeext &&
10.13064 + $as_test_x conftest$ac_exeext; then
10.13065 + ac_cv_lib_dl_dlopen=yes
10.13066 +else
10.13067 + echo "$as_me: failed program was:" >&5
10.13068 +sed 's/^/| /' conftest.$ac_ext >&5
10.13069 +
10.13070 + ac_cv_lib_dl_dlopen=no
10.13071 +fi
10.13072 +
10.13073 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.13074 + conftest$ac_exeext conftest.$ac_ext
10.13075 +LIBS=$ac_check_lib_save_LIBS
10.13076 +fi
10.13077 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10.13078 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10.13079 +if test $ac_cv_lib_dl_dlopen = yes; then
10.13080 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10.13081 +else
10.13082 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10.13083 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10.13084 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10.13085 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.13086 +else
10.13087 + ac_check_lib_save_LIBS=$LIBS
10.13088 +LIBS="-lsvld $LIBS"
10.13089 +cat >conftest.$ac_ext <<_ACEOF
10.13090 +/* confdefs.h. */
10.13091 +_ACEOF
10.13092 +cat confdefs.h >>conftest.$ac_ext
10.13093 +cat >>conftest.$ac_ext <<_ACEOF
10.13094 +/* end confdefs.h. */
10.13095 +
10.13096 +/* Override any GCC internal prototype to avoid an error.
10.13097 + Use char because int might match the return type of a GCC
10.13098 + builtin and then its argument prototype would still apply. */
10.13099 +#ifdef __cplusplus
10.13100 +extern "C"
10.13101 +#endif
10.13102 +char dlopen ();
10.13103 +int
10.13104 +main ()
10.13105 +{
10.13106 +return dlopen ();
10.13107 + ;
10.13108 + return 0;
10.13109 +}
10.13110 +_ACEOF
10.13111 +rm -f conftest.$ac_objext conftest$ac_exeext
10.13112 +if { (ac_try="$ac_link"
10.13113 +case "(($ac_try" in
10.13114 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.13115 + *) ac_try_echo=$ac_try;;
10.13116 +esac
10.13117 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.13118 + (eval "$ac_link") 2>conftest.er1
10.13119 + ac_status=$?
10.13120 + grep -v '^ *+' conftest.er1 >conftest.err
10.13121 + rm -f conftest.er1
10.13122 + cat conftest.err >&5
10.13123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.13124 + (exit $ac_status); } && {
10.13125 + test -z "$ac_cxx_werror_flag" ||
10.13126 + test ! -s conftest.err
10.13127 + } && test -s conftest$ac_exeext &&
10.13128 + $as_test_x conftest$ac_exeext; then
10.13129 + ac_cv_lib_svld_dlopen=yes
10.13130 +else
10.13131 + echo "$as_me: failed program was:" >&5
10.13132 +sed 's/^/| /' conftest.$ac_ext >&5
10.13133 +
10.13134 + ac_cv_lib_svld_dlopen=no
10.13135 +fi
10.13136 +
10.13137 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.13138 + conftest$ac_exeext conftest.$ac_ext
10.13139 +LIBS=$ac_check_lib_save_LIBS
10.13140 +fi
10.13141 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10.13142 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10.13143 +if test $ac_cv_lib_svld_dlopen = yes; then
10.13144 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10.13145 +else
10.13146 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10.13147 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10.13148 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10.13149 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.13150 +else
10.13151 + ac_check_lib_save_LIBS=$LIBS
10.13152 +LIBS="-ldld $LIBS"
10.13153 +cat >conftest.$ac_ext <<_ACEOF
10.13154 +/* confdefs.h. */
10.13155 +_ACEOF
10.13156 +cat confdefs.h >>conftest.$ac_ext
10.13157 +cat >>conftest.$ac_ext <<_ACEOF
10.13158 +/* end confdefs.h. */
10.13159 +
10.13160 +/* Override any GCC internal prototype to avoid an error.
10.13161 + Use char because int might match the return type of a GCC
10.13162 + builtin and then its argument prototype would still apply. */
10.13163 +#ifdef __cplusplus
10.13164 +extern "C"
10.13165 +#endif
10.13166 +char dld_link ();
10.13167 +int
10.13168 +main ()
10.13169 +{
10.13170 +return dld_link ();
10.13171 + ;
10.13172 + return 0;
10.13173 +}
10.13174 +_ACEOF
10.13175 +rm -f conftest.$ac_objext conftest$ac_exeext
10.13176 +if { (ac_try="$ac_link"
10.13177 +case "(($ac_try" in
10.13178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.13179 + *) ac_try_echo=$ac_try;;
10.13180 +esac
10.13181 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.13182 + (eval "$ac_link") 2>conftest.er1
10.13183 + ac_status=$?
10.13184 + grep -v '^ *+' conftest.er1 >conftest.err
10.13185 + rm -f conftest.er1
10.13186 + cat conftest.err >&5
10.13187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.13188 + (exit $ac_status); } && {
10.13189 + test -z "$ac_cxx_werror_flag" ||
10.13190 + test ! -s conftest.err
10.13191 + } && test -s conftest$ac_exeext &&
10.13192 + $as_test_x conftest$ac_exeext; then
10.13193 + ac_cv_lib_dld_dld_link=yes
10.13194 +else
10.13195 + echo "$as_me: failed program was:" >&5
10.13196 +sed 's/^/| /' conftest.$ac_ext >&5
10.13197 +
10.13198 + ac_cv_lib_dld_dld_link=no
10.13199 +fi
10.13200 +
10.13201 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.13202 + conftest$ac_exeext conftest.$ac_ext
10.13203 +LIBS=$ac_check_lib_save_LIBS
10.13204 +fi
10.13205 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10.13206 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10.13207 +if test $ac_cv_lib_dld_dld_link = yes; then
10.13208 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10.13209 +fi
10.13210 +
10.13211 +
10.13212 +fi
10.13213 +
10.13214 +
10.13215 +fi
10.13216 +
10.13217 +
10.13218 +fi
10.13219 +
10.13220 +
10.13221 +fi
10.13222 +
10.13223 +
10.13224 +fi
10.13225 +
10.13226 + ;;
10.13227 + esac
10.13228 +
10.13229 + if test "x$lt_cv_dlopen" != xno; then
10.13230 + enable_dlopen=yes
10.13231 + else
10.13232 + enable_dlopen=no
10.13233 + fi
10.13234 +
10.13235 + case $lt_cv_dlopen in
10.13236 + dlopen)
10.13237 + save_CPPFLAGS="$CPPFLAGS"
10.13238 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10.13239 +
10.13240 + save_LDFLAGS="$LDFLAGS"
10.13241 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10.13242 +
10.13243 + save_LIBS="$LIBS"
10.13244 + LIBS="$lt_cv_dlopen_libs $LIBS"
10.13245 +
10.13246 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10.13247 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10.13248 +if test "${lt_cv_dlopen_self+set}" = set; then
10.13249 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.13250 +else
10.13251 + if test "$cross_compiling" = yes; then :
10.13252 + lt_cv_dlopen_self=cross
10.13253 +else
10.13254 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10.13255 + lt_status=$lt_dlunknown
10.13256 + cat > conftest.$ac_ext <<EOF
10.13257 +#line __oline__ "configure"
10.13258 +#include "confdefs.h"
10.13259 +
10.13260 +#if HAVE_DLFCN_H
10.13261 +#include <dlfcn.h>
10.13262 +#endif
10.13263 +
10.13264 +#include <stdio.h>
10.13265 +
10.13266 +#ifdef RTLD_GLOBAL
10.13267 +# define LT_DLGLOBAL RTLD_GLOBAL
10.13268 +#else
10.13269 +# ifdef DL_GLOBAL
10.13270 +# define LT_DLGLOBAL DL_GLOBAL
10.13271 +# else
10.13272 +# define LT_DLGLOBAL 0
10.13273 +# endif
10.13274 +#endif
10.13275 +
10.13276 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10.13277 + find out it does not work in some platform. */
10.13278 +#ifndef LT_DLLAZY_OR_NOW
10.13279 +# ifdef RTLD_LAZY
10.13280 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
10.13281 +# else
10.13282 +# ifdef DL_LAZY
10.13283 +# define LT_DLLAZY_OR_NOW DL_LAZY
10.13284 +# else
10.13285 +# ifdef RTLD_NOW
10.13286 +# define LT_DLLAZY_OR_NOW RTLD_NOW
10.13287 +# else
10.13288 +# ifdef DL_NOW
10.13289 +# define LT_DLLAZY_OR_NOW DL_NOW
10.13290 +# else
10.13291 +# define LT_DLLAZY_OR_NOW 0
10.13292 +# endif
10.13293 +# endif
10.13294 +# endif
10.13295 +# endif
10.13296 +#endif
10.13297 +
10.13298 +#ifdef __cplusplus
10.13299 +extern "C" void exit (int);
10.13300 +#endif
10.13301 +
10.13302 +void fnord() { int i=42;}
10.13303 +int main ()
10.13304 +{
10.13305 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10.13306 + int status = $lt_dlunknown;
10.13307 +
10.13308 + if (self)
10.13309 + {
10.13310 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10.13311 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10.13312 + /* dlclose (self); */
10.13313 + }
10.13314 +
10.13315 + exit (status);
10.13316 +}
10.13317 +EOF
10.13318 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.13319 + (eval $ac_link) 2>&5
10.13320 + ac_status=$?
10.13321 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.13322 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10.13323 + (./conftest; exit; ) 2>/dev/null
10.13324 + lt_status=$?
10.13325 + case x$lt_status in
10.13326 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10.13327 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10.13328 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
10.13329 + esac
10.13330 + else :
10.13331 + # compilation failed
10.13332 + lt_cv_dlopen_self=no
10.13333 + fi
10.13334 +fi
10.13335 +rm -fr conftest*
10.13336 +
10.13337 +
10.13338 +fi
10.13339 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10.13340 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10.13341 +
10.13342 + if test "x$lt_cv_dlopen_self" = xyes; then
10.13343 + LDFLAGS="$LDFLAGS $link_static_flag"
10.13344 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10.13345 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10.13346 +if test "${lt_cv_dlopen_self_static+set}" = set; then
10.13347 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.13348 +else
10.13349 + if test "$cross_compiling" = yes; then :
10.13350 + lt_cv_dlopen_self_static=cross
10.13351 +else
10.13352 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10.13353 + lt_status=$lt_dlunknown
10.13354 + cat > conftest.$ac_ext <<EOF
10.13355 +#line __oline__ "configure"
10.13356 +#include "confdefs.h"
10.13357 +
10.13358 +#if HAVE_DLFCN_H
10.13359 +#include <dlfcn.h>
10.13360 +#endif
10.13361 +
10.13362 +#include <stdio.h>
10.13363 +
10.13364 +#ifdef RTLD_GLOBAL
10.13365 +# define LT_DLGLOBAL RTLD_GLOBAL
10.13366 +#else
10.13367 +# ifdef DL_GLOBAL
10.13368 +# define LT_DLGLOBAL DL_GLOBAL
10.13369 +# else
10.13370 +# define LT_DLGLOBAL 0
10.13371 +# endif
10.13372 +#endif
10.13373 +
10.13374 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10.13375 + find out it does not work in some platform. */
10.13376 +#ifndef LT_DLLAZY_OR_NOW
10.13377 +# ifdef RTLD_LAZY
10.13378 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
10.13379 +# else
10.13380 +# ifdef DL_LAZY
10.13381 +# define LT_DLLAZY_OR_NOW DL_LAZY
10.13382 +# else
10.13383 +# ifdef RTLD_NOW
10.13384 +# define LT_DLLAZY_OR_NOW RTLD_NOW
10.13385 +# else
10.13386 +# ifdef DL_NOW
10.13387 +# define LT_DLLAZY_OR_NOW DL_NOW
10.13388 +# else
10.13389 +# define LT_DLLAZY_OR_NOW 0
10.13390 +# endif
10.13391 +# endif
10.13392 +# endif
10.13393 +# endif
10.13394 +#endif
10.13395 +
10.13396 +#ifdef __cplusplus
10.13397 +extern "C" void exit (int);
10.13398 +#endif
10.13399 +
10.13400 +void fnord() { int i=42;}
10.13401 +int main ()
10.13402 +{
10.13403 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10.13404 + int status = $lt_dlunknown;
10.13405 +
10.13406 + if (self)
10.13407 + {
10.13408 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10.13409 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10.13410 + /* dlclose (self); */
10.13411 + }
10.13412 +
10.13413 + exit (status);
10.13414 +}
10.13415 +EOF
10.13416 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.13417 + (eval $ac_link) 2>&5
10.13418 + ac_status=$?
10.13419 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.13420 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10.13421 + (./conftest; exit; ) 2>/dev/null
10.13422 + lt_status=$?
10.13423 + case x$lt_status in
10.13424 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10.13425 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10.13426 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
10.13427 + esac
10.13428 + else :
10.13429 + # compilation failed
10.13430 + lt_cv_dlopen_self_static=no
10.13431 + fi
10.13432 +fi
10.13433 +rm -fr conftest*
10.13434 +
10.13435 +
10.13436 +fi
10.13437 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10.13438 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10.13439 + fi
10.13440 +
10.13441 + CPPFLAGS="$save_CPPFLAGS"
10.13442 + LDFLAGS="$save_LDFLAGS"
10.13443 + LIBS="$save_LIBS"
10.13444 + ;;
10.13445 + esac
10.13446 +
10.13447 + case $lt_cv_dlopen_self in
10.13448 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10.13449 + *) enable_dlopen_self=unknown ;;
10.13450 + esac
10.13451 +
10.13452 + case $lt_cv_dlopen_self_static in
10.13453 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10.13454 + *) enable_dlopen_self_static=unknown ;;
10.13455 + esac
10.13456 +fi
10.13457 +
10.13458 +
10.13459 +# The else clause should only fire when bootstrapping the
10.13460 +# libtool distribution, otherwise you forgot to ship ltmain.sh
10.13461 +# with your package, and you will get complaints that there are
10.13462 +# no rules to generate ltmain.sh.
10.13463 +if test -f "$ltmain"; then
10.13464 + # See if we are running on zsh, and set the options which allow our commands through
10.13465 + # without removal of \ escapes.
10.13466 + if test -n "${ZSH_VERSION+set}" ; then
10.13467 + setopt NO_GLOB_SUBST
10.13468 + fi
10.13469 + # Now quote all the things that may contain metacharacters while being
10.13470 + # careful not to overquote the AC_SUBSTed values. We take copies of the
10.13471 + # variables and quote the copies for generation of the libtool script.
10.13472 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10.13473 + SED SHELL STRIP \
10.13474 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10.13475 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10.13476 + deplibs_check_method reload_flag reload_cmds need_locks \
10.13477 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10.13478 + lt_cv_sys_global_symbol_to_c_name_address \
10.13479 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10.13480 + old_postinstall_cmds old_postuninstall_cmds \
10.13481 + compiler_CXX \
10.13482 + CC_CXX \
10.13483 + LD_CXX \
10.13484 + lt_prog_compiler_wl_CXX \
10.13485 + lt_prog_compiler_pic_CXX \
10.13486 + lt_prog_compiler_static_CXX \
10.13487 + lt_prog_compiler_no_builtin_flag_CXX \
10.13488 + export_dynamic_flag_spec_CXX \
10.13489 + thread_safe_flag_spec_CXX \
10.13490 + whole_archive_flag_spec_CXX \
10.13491 + enable_shared_with_static_runtimes_CXX \
10.13492 + old_archive_cmds_CXX \
10.13493 + old_archive_from_new_cmds_CXX \
10.13494 + predep_objects_CXX \
10.13495 + postdep_objects_CXX \
10.13496 + predeps_CXX \
10.13497 + postdeps_CXX \
10.13498 + compiler_lib_search_path_CXX \
10.13499 + archive_cmds_CXX \
10.13500 + archive_expsym_cmds_CXX \
10.13501 + postinstall_cmds_CXX \
10.13502 + postuninstall_cmds_CXX \
10.13503 + old_archive_from_expsyms_cmds_CXX \
10.13504 + allow_undefined_flag_CXX \
10.13505 + no_undefined_flag_CXX \
10.13506 + export_symbols_cmds_CXX \
10.13507 + hardcode_libdir_flag_spec_CXX \
10.13508 + hardcode_libdir_flag_spec_ld_CXX \
10.13509 + hardcode_libdir_separator_CXX \
10.13510 + hardcode_automatic_CXX \
10.13511 + module_cmds_CXX \
10.13512 + module_expsym_cmds_CXX \
10.13513 + lt_cv_prog_compiler_c_o_CXX \
10.13514 + exclude_expsyms_CXX \
10.13515 + include_expsyms_CXX; do
10.13516 +
10.13517 + case $var in
10.13518 + old_archive_cmds_CXX | \
10.13519 + old_archive_from_new_cmds_CXX | \
10.13520 + archive_cmds_CXX | \
10.13521 + archive_expsym_cmds_CXX | \
10.13522 + module_cmds_CXX | \
10.13523 + module_expsym_cmds_CXX | \
10.13524 + old_archive_from_expsyms_cmds_CXX | \
10.13525 + export_symbols_cmds_CXX | \
10.13526 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
10.13527 + postinstall_cmds | postuninstall_cmds | \
10.13528 + old_postinstall_cmds | old_postuninstall_cmds | \
10.13529 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10.13530 + # Double-quote double-evaled strings.
10.13531 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10.13532 + ;;
10.13533 + *)
10.13534 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10.13535 + ;;
10.13536 + esac
10.13537 + done
10.13538 +
10.13539 + case $lt_echo in
10.13540 + *'\$0 --fallback-echo"')
10.13541 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10.13542 + ;;
10.13543 + esac
10.13544 +
10.13545 +cfgfile="$ofile"
10.13546 +
10.13547 + cat <<__EOF__ >> "$cfgfile"
10.13548 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
10.13549 +
10.13550 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10.13551 +
10.13552 +# Shell to use when invoking shell scripts.
10.13553 +SHELL=$lt_SHELL
10.13554 +
10.13555 +# Whether or not to build shared libraries.
10.13556 +build_libtool_libs=$enable_shared
10.13557 +
10.13558 +# Whether or not to build static libraries.
10.13559 +build_old_libs=$enable_static
10.13560 +
10.13561 +# Whether or not to add -lc for building shared libraries.
10.13562 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
10.13563 +
10.13564 +# Whether or not to disallow shared libs when runtime libs are static
10.13565 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
10.13566 +
10.13567 +# Whether or not to optimize for fast installation.
10.13568 +fast_install=$enable_fast_install
10.13569 +
10.13570 +# The host system.
10.13571 +host_alias=$host_alias
10.13572 +host=$host
10.13573 +
10.13574 +# An echo program that does not interpret backslashes.
10.13575 +echo=$lt_echo
10.13576 +
10.13577 +# The archiver.
10.13578 +AR=$lt_AR
10.13579 +AR_FLAGS=$lt_AR_FLAGS
10.13580 +
10.13581 +# A C compiler.
10.13582 +LTCC=$lt_LTCC
10.13583 +
10.13584 +# A language-specific compiler.
10.13585 +CC=$lt_compiler_CXX
10.13586 +
10.13587 +# Is the compiler the GNU C compiler?
10.13588 +with_gcc=$GCC_CXX
10.13589 +
10.13590 +# An ERE matcher.
10.13591 +EGREP=$lt_EGREP
10.13592 +
10.13593 +# The linker used to build libraries.
10.13594 +LD=$lt_LD_CXX
10.13595 +
10.13596 +# Whether we need hard or soft links.
10.13597 +LN_S=$lt_LN_S
10.13598 +
10.13599 +# A BSD-compatible nm program.
10.13600 +NM=$lt_NM
10.13601 +
10.13602 +# A symbol stripping program
10.13603 +STRIP=$lt_STRIP
10.13604 +
10.13605 +# Used to examine libraries when file_magic_cmd begins "file"
10.13606 +MAGIC_CMD=$MAGIC_CMD
10.13607 +
10.13608 +# Used on cygwin: DLL creation program.
10.13609 +DLLTOOL="$DLLTOOL"
10.13610 +
10.13611 +# Used on cygwin: object dumper.
10.13612 +OBJDUMP="$OBJDUMP"
10.13613 +
10.13614 +# Used on cygwin: assembler.
10.13615 +AS="$AS"
10.13616 +
10.13617 +# The name of the directory that contains temporary libtool files.
10.13618 +objdir=$objdir
10.13619 +
10.13620 +# How to create reloadable object files.
10.13621 +reload_flag=$lt_reload_flag
10.13622 +reload_cmds=$lt_reload_cmds
10.13623 +
10.13624 +# How to pass a linker flag through the compiler.
10.13625 +wl=$lt_lt_prog_compiler_wl_CXX
10.13626 +
10.13627 +# Object file suffix (normally "o").
10.13628 +objext="$ac_objext"
10.13629 +
10.13630 +# Old archive suffix (normally "a").
10.13631 +libext="$libext"
10.13632 +
10.13633 +# Shared library suffix (normally ".so").
10.13634 +shrext_cmds='$shrext_cmds'
10.13635 +
10.13636 +# Executable file suffix (normally "").
10.13637 +exeext="$exeext"
10.13638 +
10.13639 +# Additional compiler flags for building library objects.
10.13640 +pic_flag=$lt_lt_prog_compiler_pic_CXX
10.13641 +pic_mode=$pic_mode
10.13642 +
10.13643 +# What is the maximum length of a command?
10.13644 +max_cmd_len=$lt_cv_sys_max_cmd_len
10.13645 +
10.13646 +# Does compiler simultaneously support -c and -o options?
10.13647 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
10.13648 +
10.13649 +# Must we lock files when doing compilation ?
10.13650 +need_locks=$lt_need_locks
10.13651 +
10.13652 +# Do we need the lib prefix for modules?
10.13653 +need_lib_prefix=$need_lib_prefix
10.13654 +
10.13655 +# Do we need a version for libraries?
10.13656 +need_version=$need_version
10.13657 +
10.13658 +# Whether dlopen is supported.
10.13659 +dlopen_support=$enable_dlopen
10.13660 +
10.13661 +# Whether dlopen of programs is supported.
10.13662 +dlopen_self=$enable_dlopen_self
10.13663 +
10.13664 +# Whether dlopen of statically linked programs is supported.
10.13665 +dlopen_self_static=$enable_dlopen_self_static
10.13666 +
10.13667 +# Compiler flag to prevent dynamic linking.
10.13668 +link_static_flag=$lt_lt_prog_compiler_static_CXX
10.13669 +
10.13670 +# Compiler flag to turn off builtin functions.
10.13671 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
10.13672 +
10.13673 +# Compiler flag to allow reflexive dlopens.
10.13674 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
10.13675 +
10.13676 +# Compiler flag to generate shared objects directly from archives.
10.13677 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
10.13678 +
10.13679 +# Compiler flag to generate thread-safe objects.
10.13680 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
10.13681 +
10.13682 +# Library versioning type.
10.13683 +version_type=$version_type
10.13684 +
10.13685 +# Format of library name prefix.
10.13686 +libname_spec=$lt_libname_spec
10.13687 +
10.13688 +# List of archive names. First name is the real one, the rest are links.
10.13689 +# The last name is the one that the linker finds with -lNAME.
10.13690 +library_names_spec=$lt_library_names_spec
10.13691 +
10.13692 +# The coded name of the library, if different from the real name.
10.13693 +soname_spec=$lt_soname_spec
10.13694 +
10.13695 +# Commands used to build and install an old-style archive.
10.13696 +RANLIB=$lt_RANLIB
10.13697 +old_archive_cmds=$lt_old_archive_cmds_CXX
10.13698 +old_postinstall_cmds=$lt_old_postinstall_cmds
10.13699 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
10.13700 +
10.13701 +# Create an old-style archive from a shared archive.
10.13702 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
10.13703 +
10.13704 +# Create a temporary old-style archive to link instead of a shared archive.
10.13705 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
10.13706 +
10.13707 +# Commands used to build and install a shared archive.
10.13708 +archive_cmds=$lt_archive_cmds_CXX
10.13709 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
10.13710 +postinstall_cmds=$lt_postinstall_cmds
10.13711 +postuninstall_cmds=$lt_postuninstall_cmds
10.13712 +
10.13713 +# Commands used to build a loadable module (assumed same as above if empty)
10.13714 +module_cmds=$lt_module_cmds_CXX
10.13715 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
10.13716 +
10.13717 +# Commands to strip libraries.
10.13718 +old_striplib=$lt_old_striplib
10.13719 +striplib=$lt_striplib
10.13720 +
10.13721 +# Dependencies to place before the objects being linked to create a
10.13722 +# shared library.
10.13723 +predep_objects=$lt_predep_objects_CXX
10.13724 +
10.13725 +# Dependencies to place after the objects being linked to create a
10.13726 +# shared library.
10.13727 +postdep_objects=$lt_postdep_objects_CXX
10.13728 +
10.13729 +# Dependencies to place before the objects being linked to create a
10.13730 +# shared library.
10.13731 +predeps=$lt_predeps_CXX
10.13732 +
10.13733 +# Dependencies to place after the objects being linked to create a
10.13734 +# shared library.
10.13735 +postdeps=$lt_postdeps_CXX
10.13736 +
10.13737 +# The library search path used internally by the compiler when linking
10.13738 +# a shared library.
10.13739 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
10.13740 +
10.13741 +# Method to check whether dependent libraries are shared objects.
10.13742 +deplibs_check_method=$lt_deplibs_check_method
10.13743 +
10.13744 +# Command to use when deplibs_check_method == file_magic.
10.13745 +file_magic_cmd=$lt_file_magic_cmd
10.13746 +
10.13747 +# Flag that allows shared libraries with undefined symbols to be built.
10.13748 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
10.13749 +
10.13750 +# Flag that forces no undefined symbols.
10.13751 +no_undefined_flag=$lt_no_undefined_flag_CXX
10.13752 +
10.13753 +# Commands used to finish a libtool library installation in a directory.
10.13754 +finish_cmds=$lt_finish_cmds
10.13755 +
10.13756 +# Same as above, but a single script fragment to be evaled but not shown.
10.13757 +finish_eval=$lt_finish_eval
10.13758 +
10.13759 +# Take the output of nm and produce a listing of raw symbols and C names.
10.13760 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10.13761 +
10.13762 +# Transform the output of nm in a proper C declaration
10.13763 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10.13764 +
10.13765 +# Transform the output of nm in a C name address pair
10.13766 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10.13767 +
10.13768 +# This is the shared library runtime path variable.
10.13769 +runpath_var=$runpath_var
10.13770 +
10.13771 +# This is the shared library path variable.
10.13772 +shlibpath_var=$shlibpath_var
10.13773 +
10.13774 +# Is shlibpath searched before the hard-coded library search path?
10.13775 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10.13776 +
10.13777 +# How to hardcode a shared library path into an executable.
10.13778 +hardcode_action=$hardcode_action_CXX
10.13779 +
10.13780 +# Whether we should hardcode library paths into libraries.
10.13781 +hardcode_into_libs=$hardcode_into_libs
10.13782 +
10.13783 +# Flag to hardcode \$libdir into a binary during linking.
10.13784 +# This must work even if \$libdir does not exist.
10.13785 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
10.13786 +
10.13787 +# If ld is used when linking, flag to hardcode \$libdir into
10.13788 +# a binary during linking. This must work even if \$libdir does
10.13789 +# not exist.
10.13790 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
10.13791 +
10.13792 +# Whether we need a single -rpath flag with a separated argument.
10.13793 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
10.13794 +
10.13795 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10.13796 +# resulting binary.
10.13797 +hardcode_direct=$hardcode_direct_CXX
10.13798 +
10.13799 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10.13800 +# resulting binary.
10.13801 +hardcode_minus_L=$hardcode_minus_L_CXX
10.13802 +
10.13803 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10.13804 +# the resulting binary.
10.13805 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
10.13806 +
10.13807 +# Set to yes if building a shared library automatically hardcodes DIR into the library
10.13808 +# and all subsequent libraries and executables linked against it.
10.13809 +hardcode_automatic=$hardcode_automatic_CXX
10.13810 +
10.13811 +# Variables whose values should be saved in libtool wrapper scripts and
10.13812 +# restored at relink time.
10.13813 +variables_saved_for_relink="$variables_saved_for_relink"
10.13814 +
10.13815 +# Whether libtool must link a program against all its dependency libraries.
10.13816 +link_all_deplibs=$link_all_deplibs_CXX
10.13817 +
10.13818 +# Compile-time system search path for libraries
10.13819 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10.13820 +
10.13821 +# Run-time system search path for libraries
10.13822 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10.13823 +
10.13824 +# Fix the shell variable \$srcfile for the compiler.
10.13825 +fix_srcfile_path="$fix_srcfile_path_CXX"
10.13826 +
10.13827 +# Set to yes if exported symbols are required.
10.13828 +always_export_symbols=$always_export_symbols_CXX
10.13829 +
10.13830 +# The commands to list exported symbols.
10.13831 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
10.13832 +
10.13833 +# The commands to extract the exported symbol list from a shared archive.
10.13834 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
10.13835 +
10.13836 +# Symbols that should not be listed in the preloaded symbols.
10.13837 +exclude_expsyms=$lt_exclude_expsyms_CXX
10.13838 +
10.13839 +# Symbols that must always be exported.
10.13840 +include_expsyms=$lt_include_expsyms_CXX
10.13841 +
10.13842 +# ### END LIBTOOL TAG CONFIG: $tagname
10.13843 +
10.13844 +__EOF__
10.13845 +
10.13846 +
10.13847 +else
10.13848 + # If there is no Makefile yet, we rely on a make rule to execute
10.13849 + # `config.status --recheck' to rerun these tests and create the
10.13850 + # libtool script then.
10.13851 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10.13852 + if test -f "$ltmain_in"; then
10.13853 + test -f Makefile && make "$ltmain"
10.13854 + fi
10.13855 +fi
10.13856 +
10.13857 +
10.13858 +ac_ext=c
10.13859 +ac_cpp='$CPP $CPPFLAGS'
10.13860 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.13861 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.13862 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.13863 +
10.13864 +CC=$lt_save_CC
10.13865 +LDCXX=$LD
10.13866 +LD=$lt_save_LD
10.13867 +GCC=$lt_save_GCC
10.13868 +with_gnu_ldcxx=$with_gnu_ld
10.13869 +with_gnu_ld=$lt_save_with_gnu_ld
10.13870 +lt_cv_path_LDCXX=$lt_cv_path_LD
10.13871 +lt_cv_path_LD=$lt_save_path_LD
10.13872 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
10.13873 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
10.13874 +
10.13875 + else
10.13876 + tagname=""
10.13877 + fi
10.13878 + ;;
10.13879 +
10.13880 + F77)
10.13881 + if test -n "$F77" && test "X$F77" != "Xno"; then
10.13882 +
10.13883 +ac_ext=f
10.13884 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10.13885 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.13886 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
10.13887 +
10.13888 +
10.13889 +archive_cmds_need_lc_F77=no
10.13890 +allow_undefined_flag_F77=
10.13891 +always_export_symbols_F77=no
10.13892 +archive_expsym_cmds_F77=
10.13893 +export_dynamic_flag_spec_F77=
10.13894 +hardcode_direct_F77=no
10.13895 +hardcode_libdir_flag_spec_F77=
10.13896 +hardcode_libdir_flag_spec_ld_F77=
10.13897 +hardcode_libdir_separator_F77=
10.13898 +hardcode_minus_L_F77=no
10.13899 +hardcode_automatic_F77=no
10.13900 +module_cmds_F77=
10.13901 +module_expsym_cmds_F77=
10.13902 +link_all_deplibs_F77=unknown
10.13903 +old_archive_cmds_F77=$old_archive_cmds
10.13904 +no_undefined_flag_F77=
10.13905 +whole_archive_flag_spec_F77=
10.13906 +enable_shared_with_static_runtimes_F77=no
10.13907 +
10.13908 +# Source file extension for f77 test sources.
10.13909 +ac_ext=f
10.13910 +
10.13911 +# Object file extension for compiled f77 test sources.
10.13912 +objext=o
10.13913 +objext_F77=$objext
10.13914 +
10.13915 +# Code to be used in simple compile tests
10.13916 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
10.13917 +
10.13918 +# Code to be used in simple link tests
10.13919 +lt_simple_link_test_code=" program t\n end\n"
10.13920 +
10.13921 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10.13922 +
10.13923 +# If no C compiler was specified, use CC.
10.13924 +LTCC=${LTCC-"$CC"}
10.13925 +
10.13926 +# Allow CC to be a program name with arguments.
10.13927 +compiler=$CC
10.13928 +
10.13929 +
10.13930 +# Allow CC to be a program name with arguments.
10.13931 +lt_save_CC="$CC"
10.13932 +CC=${F77-"f77"}
10.13933 +compiler=$CC
10.13934 +compiler_F77=$CC
10.13935 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10.13936 +
10.13937 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10.13938 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10.13939 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10.13940 +echo "${ECHO_T}$can_build_shared" >&6; }
10.13941 +
10.13942 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10.13943 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10.13944 +test "$can_build_shared" = "no" && enable_shared=no
10.13945 +
10.13946 +# On AIX, shared libraries and static libraries use the same namespace, and
10.13947 +# are all built from PIC.
10.13948 +case "$host_os" in
10.13949 +aix3*)
10.13950 + test "$enable_shared" = yes && enable_static=no
10.13951 + if test -n "$RANLIB"; then
10.13952 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
10.13953 + postinstall_cmds='$RANLIB $lib'
10.13954 + fi
10.13955 + ;;
10.13956 +aix4* | aix5*)
10.13957 + test "$enable_shared" = yes && enable_static=no
10.13958 + ;;
10.13959 +esac
10.13960 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10.13961 +echo "${ECHO_T}$enable_shared" >&6; }
10.13962 +
10.13963 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10.13964 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10.13965 +# Make sure either enable_shared or enable_static is yes.
10.13966 +test "$enable_shared" = yes || enable_static=yes
10.13967 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
10.13968 +echo "${ECHO_T}$enable_static" >&6; }
10.13969 +
10.13970 +test "$ld_shlibs_F77" = no && can_build_shared=no
10.13971 +
10.13972 +GCC_F77="$G77"
10.13973 +LD_F77="$LD"
10.13974 +
10.13975 +lt_prog_compiler_wl_F77=
10.13976 +lt_prog_compiler_pic_F77=
10.13977 +lt_prog_compiler_static_F77=
10.13978 +
10.13979 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10.13980 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10.13981 +
10.13982 + if test "$GCC" = yes; then
10.13983 + lt_prog_compiler_wl_F77='-Wl,'
10.13984 + lt_prog_compiler_static_F77='-static'
10.13985 +
10.13986 + case $host_os in
10.13987 + aix*)
10.13988 + # All AIX code is PIC.
10.13989 + if test "$host_cpu" = ia64; then
10.13990 + # AIX 5 now supports IA64 processor
10.13991 + lt_prog_compiler_static_F77='-Bstatic'
10.13992 + fi
10.13993 + ;;
10.13994 +
10.13995 + amigaos*)
10.13996 + # FIXME: we need at least 68020 code to build shared libraries, but
10.13997 + # adding the `-m68020' flag to GCC prevents building anything better,
10.13998 + # like `-m68040'.
10.13999 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
10.14000 + ;;
10.14001 +
10.14002 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10.14003 + # PIC is the default for these OSes.
10.14004 + ;;
10.14005 +
10.14006 + mingw* | pw32* | os2*)
10.14007 + # This hack is so that the source file can tell whether it is being
10.14008 + # built for inclusion in a dll (and should export symbols for example).
10.14009 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
10.14010 + ;;
10.14011 +
10.14012 + darwin* | rhapsody*)
10.14013 + # PIC is the default on this platform
10.14014 + # Common symbols not allowed in MH_DYLIB files
10.14015 + lt_prog_compiler_pic_F77='-fno-common'
10.14016 + ;;
10.14017 +
10.14018 + msdosdjgpp*)
10.14019 + # Just because we use GCC doesn't mean we suddenly get shared libraries
10.14020 + # on systems that don't support them.
10.14021 + lt_prog_compiler_can_build_shared_F77=no
10.14022 + enable_shared=no
10.14023 + ;;
10.14024 +
10.14025 + sysv4*MP*)
10.14026 + if test -d /usr/nec; then
10.14027 + lt_prog_compiler_pic_F77=-Kconform_pic
10.14028 + fi
10.14029 + ;;
10.14030 +
10.14031 + hpux*)
10.14032 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.14033 + # not for PA HP-UX.
10.14034 + case "$host_cpu" in
10.14035 + hppa*64*|ia64*)
10.14036 + # +Z the default
10.14037 + ;;
10.14038 + *)
10.14039 + lt_prog_compiler_pic_F77='-fPIC'
10.14040 + ;;
10.14041 + esac
10.14042 + ;;
10.14043 +
10.14044 + *)
10.14045 + lt_prog_compiler_pic_F77='-fPIC'
10.14046 + ;;
10.14047 + esac
10.14048 + else
10.14049 + # PORTME Check for flag to pass linker flags through the system compiler.
10.14050 + case $host_os in
10.14051 + aix*)
10.14052 + lt_prog_compiler_wl_F77='-Wl,'
10.14053 + if test "$host_cpu" = ia64; then
10.14054 + # AIX 5 now supports IA64 processor
10.14055 + lt_prog_compiler_static_F77='-Bstatic'
10.14056 + else
10.14057 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
10.14058 + fi
10.14059 + ;;
10.14060 +
10.14061 + mingw* | pw32* | os2*)
10.14062 + # This hack is so that the source file can tell whether it is being
10.14063 + # built for inclusion in a dll (and should export symbols for example).
10.14064 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
10.14065 + ;;
10.14066 +
10.14067 + hpux9* | hpux10* | hpux11*)
10.14068 + lt_prog_compiler_wl_F77='-Wl,'
10.14069 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.14070 + # not for PA HP-UX.
10.14071 + case "$host_cpu" in
10.14072 + hppa*64*|ia64*)
10.14073 + # +Z the default
10.14074 + ;;
10.14075 + *)
10.14076 + lt_prog_compiler_pic_F77='+Z'
10.14077 + ;;
10.14078 + esac
10.14079 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
10.14080 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
10.14081 + ;;
10.14082 +
10.14083 + irix5* | irix6* | nonstopux*)
10.14084 + lt_prog_compiler_wl_F77='-Wl,'
10.14085 + # PIC (with -KPIC) is the default.
10.14086 + lt_prog_compiler_static_F77='-non_shared'
10.14087 + ;;
10.14088 +
10.14089 + newsos6)
10.14090 + lt_prog_compiler_pic_F77='-KPIC'
10.14091 + lt_prog_compiler_static_F77='-Bstatic'
10.14092 + ;;
10.14093 +
10.14094 + linux*)
10.14095 + case $CC in
10.14096 + icc* | ecc*)
10.14097 + lt_prog_compiler_wl_F77='-Wl,'
10.14098 + lt_prog_compiler_pic_F77='-KPIC'
10.14099 + lt_prog_compiler_static_F77='-static'
10.14100 + ;;
10.14101 + ccc*)
10.14102 + lt_prog_compiler_wl_F77='-Wl,'
10.14103 + # All Alpha code is PIC.
10.14104 + lt_prog_compiler_static_F77='-non_shared'
10.14105 + ;;
10.14106 + esac
10.14107 + ;;
10.14108 +
10.14109 + osf3* | osf4* | osf5*)
10.14110 + lt_prog_compiler_wl_F77='-Wl,'
10.14111 + # All OSF/1 code is PIC.
10.14112 + lt_prog_compiler_static_F77='-non_shared'
10.14113 + ;;
10.14114 +
10.14115 + sco3.2v5*)
10.14116 + lt_prog_compiler_pic_F77='-Kpic'
10.14117 + lt_prog_compiler_static_F77='-dn'
10.14118 + ;;
10.14119 +
10.14120 + solaris*)
10.14121 + lt_prog_compiler_wl_F77='-Wl,'
10.14122 + lt_prog_compiler_pic_F77='-KPIC'
10.14123 + lt_prog_compiler_static_F77='-Bstatic'
10.14124 + ;;
10.14125 +
10.14126 + sunos4*)
10.14127 + lt_prog_compiler_wl_F77='-Qoption ld '
10.14128 + lt_prog_compiler_pic_F77='-PIC'
10.14129 + lt_prog_compiler_static_F77='-Bstatic'
10.14130 + ;;
10.14131 +
10.14132 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.14133 + lt_prog_compiler_wl_F77='-Wl,'
10.14134 + lt_prog_compiler_pic_F77='-KPIC'
10.14135 + lt_prog_compiler_static_F77='-Bstatic'
10.14136 + ;;
10.14137 +
10.14138 + sysv4*MP*)
10.14139 + if test -d /usr/nec ;then
10.14140 + lt_prog_compiler_pic_F77='-Kconform_pic'
10.14141 + lt_prog_compiler_static_F77='-Bstatic'
10.14142 + fi
10.14143 + ;;
10.14144 +
10.14145 + uts4*)
10.14146 + lt_prog_compiler_pic_F77='-pic'
10.14147 + lt_prog_compiler_static_F77='-Bstatic'
10.14148 + ;;
10.14149 +
10.14150 + *)
10.14151 + lt_prog_compiler_can_build_shared_F77=no
10.14152 + ;;
10.14153 + esac
10.14154 + fi
10.14155 +
10.14156 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
10.14157 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
10.14158 +
10.14159 +#
10.14160 +# Check to make sure the PIC flag actually works.
10.14161 +#
10.14162 +if test -n "$lt_prog_compiler_pic_F77"; then
10.14163 +
10.14164 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
10.14165 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
10.14166 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
10.14167 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.14168 +else
10.14169 + lt_prog_compiler_pic_works_F77=no
10.14170 + ac_outfile=conftest.$ac_objext
10.14171 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.14172 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
10.14173 + # Insert the option either (1) after the last *FLAGS variable, or
10.14174 + # (2) before a word containing "conftest.", or (3) at the end.
10.14175 + # Note that $ac_compile itself does not contain backslashes and begins
10.14176 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.14177 + # The option is referenced via a variable to avoid confusing sed.
10.14178 + lt_compile=`echo "$ac_compile" | $SED \
10.14179 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.14180 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.14181 + -e 's:$: $lt_compiler_flag:'`
10.14182 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.14183 + (eval "$lt_compile" 2>conftest.err)
10.14184 + ac_status=$?
10.14185 + cat conftest.err >&5
10.14186 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.14187 + if (exit $ac_status) && test -s "$ac_outfile"; then
10.14188 + # The compiler can only warn and ignore the option if not recognized
10.14189 + # So say no if there are warnings
10.14190 + if test ! -s conftest.err; then
10.14191 + lt_prog_compiler_pic_works_F77=yes
10.14192 + fi
10.14193 + fi
10.14194 + $rm conftest*
10.14195 +
10.14196 +fi
10.14197 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
10.14198 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
10.14199 +
10.14200 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
10.14201 + case $lt_prog_compiler_pic_F77 in
10.14202 + "" | " "*) ;;
10.14203 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
10.14204 + esac
10.14205 +else
10.14206 + lt_prog_compiler_pic_F77=
10.14207 + lt_prog_compiler_can_build_shared_F77=no
10.14208 +fi
10.14209 +
10.14210 +fi
10.14211 +case "$host_os" in
10.14212 + # For platforms which do not support PIC, -DPIC is meaningless:
10.14213 + *djgpp*)
10.14214 + lt_prog_compiler_pic_F77=
10.14215 + ;;
10.14216 + *)
10.14217 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
10.14218 + ;;
10.14219 +esac
10.14220 +
10.14221 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10.14222 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10.14223 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
10.14224 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.14225 +else
10.14226 + lt_cv_prog_compiler_c_o_F77=no
10.14227 + $rm -r conftest 2>/dev/null
10.14228 + mkdir conftest
10.14229 + cd conftest
10.14230 + mkdir out
10.14231 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.14232 +
10.14233 + lt_compiler_flag="-o out/conftest2.$ac_objext"
10.14234 + # Insert the option either (1) after the last *FLAGS variable, or
10.14235 + # (2) before a word containing "conftest.", or (3) at the end.
10.14236 + # Note that $ac_compile itself does not contain backslashes and begins
10.14237 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.14238 + lt_compile=`echo "$ac_compile" | $SED \
10.14239 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.14240 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.14241 + -e 's:$: $lt_compiler_flag:'`
10.14242 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.14243 + (eval "$lt_compile" 2>out/conftest.err)
10.14244 + ac_status=$?
10.14245 + cat out/conftest.err >&5
10.14246 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.14247 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
10.14248 + then
10.14249 + # The compiler can only warn and ignore the option if not recognized
10.14250 + # So say no if there are warnings
10.14251 + if test ! -s out/conftest.err; then
10.14252 + lt_cv_prog_compiler_c_o_F77=yes
10.14253 + fi
10.14254 + fi
10.14255 + chmod u+w .
10.14256 + $rm conftest*
10.14257 + # SGI C++ compiler will create directory out/ii_files/ for
10.14258 + # template instantiation
10.14259 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10.14260 + $rm out/* && rmdir out
10.14261 + cd ..
10.14262 + rmdir conftest
10.14263 + $rm conftest*
10.14264 +
10.14265 +fi
10.14266 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
10.14267 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
10.14268 +
10.14269 +
10.14270 +hard_links="nottested"
10.14271 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
10.14272 + # do not overwrite the value of need_locks provided by the user
10.14273 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10.14274 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10.14275 + hard_links=yes
10.14276 + $rm conftest*
10.14277 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.14278 + touch conftest.a
10.14279 + ln conftest.a conftest.b 2>&5 || hard_links=no
10.14280 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.14281 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10.14282 +echo "${ECHO_T}$hard_links" >&6; }
10.14283 + if test "$hard_links" = no; then
10.14284 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10.14285 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10.14286 + need_locks=warn
10.14287 + fi
10.14288 +else
10.14289 + need_locks=no
10.14290 +fi
10.14291 +
10.14292 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10.14293 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10.14294 +
10.14295 + runpath_var=
10.14296 + allow_undefined_flag_F77=
10.14297 + enable_shared_with_static_runtimes_F77=no
10.14298 + archive_cmds_F77=
10.14299 + archive_expsym_cmds_F77=
10.14300 + old_archive_From_new_cmds_F77=
10.14301 + old_archive_from_expsyms_cmds_F77=
10.14302 + export_dynamic_flag_spec_F77=
10.14303 + whole_archive_flag_spec_F77=
10.14304 + thread_safe_flag_spec_F77=
10.14305 + hardcode_libdir_flag_spec_F77=
10.14306 + hardcode_libdir_flag_spec_ld_F77=
10.14307 + hardcode_libdir_separator_F77=
10.14308 + hardcode_direct_F77=no
10.14309 + hardcode_minus_L_F77=no
10.14310 + hardcode_shlibpath_var_F77=unsupported
10.14311 + link_all_deplibs_F77=unknown
10.14312 + hardcode_automatic_F77=no
10.14313 + module_cmds_F77=
10.14314 + module_expsym_cmds_F77=
10.14315 + always_export_symbols_F77=no
10.14316 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10.14317 + # include_expsyms should be a list of space-separated symbols to be *always*
10.14318 + # included in the symbol list
10.14319 + include_expsyms_F77=
10.14320 + # exclude_expsyms can be an extended regexp of symbols to exclude
10.14321 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
10.14322 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10.14323 + # as well as any symbol that contains `d'.
10.14324 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
10.14325 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10.14326 + # platforms (ab)use it in PIC code, but their linkers get confused if
10.14327 + # the symbol is explicitly referenced. Since portable code cannot
10.14328 + # rely on this symbol name, it's probably fine to never include it in
10.14329 + # preloaded symbol tables.
10.14330 + extract_expsyms_cmds=
10.14331 +
10.14332 + case $host_os in
10.14333 + cygwin* | mingw* | pw32*)
10.14334 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
10.14335 + # When not using gcc, we currently assume that we are using
10.14336 + # Microsoft Visual C++.
10.14337 + if test "$GCC" != yes; then
10.14338 + with_gnu_ld=no
10.14339 + fi
10.14340 + ;;
10.14341 + openbsd*)
10.14342 + with_gnu_ld=no
10.14343 + ;;
10.14344 + esac
10.14345 +
10.14346 + ld_shlibs_F77=yes
10.14347 + if test "$with_gnu_ld" = yes; then
10.14348 + # If archive_cmds runs LD, not CC, wlarc should be empty
10.14349 + wlarc='${wl}'
10.14350 +
10.14351 + # See if GNU ld supports shared libraries.
10.14352 + case $host_os in
10.14353 + aix3* | aix4* | aix5*)
10.14354 + # On AIX/PPC, the GNU linker is very broken
10.14355 + if test "$host_cpu" != ia64; then
10.14356 + ld_shlibs_F77=no
10.14357 + cat <<EOF 1>&2
10.14358 +
10.14359 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10.14360 +*** to be unable to reliably create shared libraries on AIX.
10.14361 +*** Therefore, libtool is disabling shared libraries support. If you
10.14362 +*** really care for shared libraries, you may want to modify your PATH
10.14363 +*** so that a non-GNU linker is found, and then restart.
10.14364 +
10.14365 +EOF
10.14366 + fi
10.14367 + ;;
10.14368 +
10.14369 + amigaos*)
10.14370 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10.14371 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14372 + hardcode_minus_L_F77=yes
10.14373 +
10.14374 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10.14375 + # that the semantics of dynamic libraries on AmigaOS, at least up
10.14376 + # to version 4, is to share data among multiple programs linked
10.14377 + # with the same dynamic library. Since this doesn't match the
10.14378 + # behavior of shared libraries on other platforms, we can't use
10.14379 + # them.
10.14380 + ld_shlibs_F77=no
10.14381 + ;;
10.14382 +
10.14383 + beos*)
10.14384 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.14385 + allow_undefined_flag_F77=unsupported
10.14386 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10.14387 + # support --undefined. This deserves some investigation. FIXME
10.14388 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.14389 + else
10.14390 + ld_shlibs_F77=no
10.14391 + fi
10.14392 + ;;
10.14393 +
10.14394 + cygwin* | mingw* | pw32*)
10.14395 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
10.14396 + # as there is no search path for DLLs.
10.14397 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14398 + allow_undefined_flag_F77=unsupported
10.14399 + always_export_symbols_F77=no
10.14400 + enable_shared_with_static_runtimes_F77=yes
10.14401 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10.14402 +
10.14403 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10.14404 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.14405 + # If the export-symbols file already is a .def file (1st line
10.14406 + # is EXPORTS), use it as is; otherwise, prepend...
10.14407 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10.14408 + cp $export_symbols $output_objdir/$soname.def;
10.14409 + else
10.14410 + echo EXPORTS > $output_objdir/$soname.def;
10.14411 + cat $export_symbols >> $output_objdir/$soname.def;
10.14412 + fi~
10.14413 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.14414 + else
10.14415 + ld_shlibs=no
10.14416 + fi
10.14417 + ;;
10.14418 +
10.14419 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.14420 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.14421 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10.14422 + wlarc=
10.14423 + else
10.14424 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.14425 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.14426 + fi
10.14427 + ;;
10.14428 +
10.14429 + solaris* | sysv5*)
10.14430 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10.14431 + ld_shlibs_F77=no
10.14432 + cat <<EOF 1>&2
10.14433 +
10.14434 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10.14435 +*** create shared libraries on Solaris systems. Therefore, libtool
10.14436 +*** is disabling shared libraries support. We urge you to upgrade GNU
10.14437 +*** binutils to release 2.9.1 or newer. Another option is to modify
10.14438 +*** your PATH or compiler configuration so that the native linker is
10.14439 +*** used, and then restart.
10.14440 +
10.14441 +EOF
10.14442 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.14443 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.14444 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.14445 + else
10.14446 + ld_shlibs_F77=no
10.14447 + fi
10.14448 + ;;
10.14449 +
10.14450 + sunos4*)
10.14451 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.14452 + wlarc=
10.14453 + hardcode_direct_F77=yes
10.14454 + hardcode_shlibpath_var_F77=no
10.14455 + ;;
10.14456 +
10.14457 + linux*)
10.14458 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.14459 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.14460 + archive_cmds_F77="$tmp_archive_cmds"
10.14461 + supports_anon_versioning=no
10.14462 + case `$LD -v 2>/dev/null` in
10.14463 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10.14464 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10.14465 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10.14466 + *\ 2.11.*) ;; # other 2.11 versions
10.14467 + *) supports_anon_versioning=yes ;;
10.14468 + esac
10.14469 + if test $supports_anon_versioning = yes; then
10.14470 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
10.14471 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10.14472 +$echo "local: *; };" >> $output_objdir/$libname.ver~
10.14473 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10.14474 + else
10.14475 + archive_expsym_cmds_F77="$tmp_archive_cmds"
10.14476 + fi
10.14477 + link_all_deplibs_F77=no
10.14478 + else
10.14479 + ld_shlibs_F77=no
10.14480 + fi
10.14481 + ;;
10.14482 +
10.14483 + *)
10.14484 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.14485 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.14486 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.14487 + else
10.14488 + ld_shlibs_F77=no
10.14489 + fi
10.14490 + ;;
10.14491 + esac
10.14492 +
10.14493 + if test "$ld_shlibs_F77" = yes; then
10.14494 + runpath_var=LD_RUN_PATH
10.14495 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
10.14496 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
10.14497 + # ancient GNU ld didn't support --whole-archive et. al.
10.14498 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10.14499 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10.14500 + else
10.14501 + whole_archive_flag_spec_F77=
10.14502 + fi
10.14503 + fi
10.14504 + else
10.14505 + # PORTME fill in a description of your system's linker (not GNU ld)
10.14506 + case $host_os in
10.14507 + aix3*)
10.14508 + allow_undefined_flag_F77=unsupported
10.14509 + always_export_symbols_F77=yes
10.14510 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10.14511 + # Note: this linker hardcodes the directories in LIBPATH if there
10.14512 + # are no directories specified by -L.
10.14513 + hardcode_minus_L_F77=yes
10.14514 + if test "$GCC" = yes && test -z "$link_static_flag"; then
10.14515 + # Neither direct hardcoding nor static linking is supported with a
10.14516 + # broken collect2.
10.14517 + hardcode_direct_F77=unsupported
10.14518 + fi
10.14519 + ;;
10.14520 +
10.14521 + aix4* | aix5*)
10.14522 + if test "$host_cpu" = ia64; then
10.14523 + # On IA64, the linker does run time linking by default, so we don't
10.14524 + # have to do anything special.
10.14525 + aix_use_runtimelinking=no
10.14526 + exp_sym_flag='-Bexport'
10.14527 + no_entry_flag=""
10.14528 + else
10.14529 + # If we're using GNU nm, then we don't want the "-C" option.
10.14530 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
10.14531 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10.14532 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.14533 + else
10.14534 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.14535 + fi
10.14536 + aix_use_runtimelinking=no
10.14537 +
10.14538 + # Test if we are trying to use run time linking or normal
10.14539 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10.14540 + # need to do runtime linking.
10.14541 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10.14542 + for ld_flag in $LDFLAGS; do
10.14543 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10.14544 + aix_use_runtimelinking=yes
10.14545 + break
10.14546 + fi
10.14547 + done
10.14548 + esac
10.14549 +
10.14550 + exp_sym_flag='-bexport'
10.14551 + no_entry_flag='-bnoentry'
10.14552 + fi
10.14553 +
10.14554 + # When large executables or shared objects are built, AIX ld can
10.14555 + # have problems creating the table of contents. If linking a library
10.14556 + # or program results in "error TOC overflow" add -mminimal-toc to
10.14557 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10.14558 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10.14559 +
10.14560 + archive_cmds_F77=''
10.14561 + hardcode_direct_F77=yes
10.14562 + hardcode_libdir_separator_F77=':'
10.14563 + link_all_deplibs_F77=yes
10.14564 +
10.14565 + if test "$GCC" = yes; then
10.14566 + case $host_os in aix4.012|aix4.012.*)
10.14567 + # We only want to do this on AIX 4.2 and lower, the check
10.14568 + # below for broken collect2 doesn't work under 4.3+
10.14569 + collect2name=`${CC} -print-prog-name=collect2`
10.14570 + if test -f "$collect2name" && \
10.14571 + strings "$collect2name" | grep resolve_lib_name >/dev/null
10.14572 + then
10.14573 + # We have reworked collect2
10.14574 + hardcode_direct_F77=yes
10.14575 + else
10.14576 + # We have old collect2
10.14577 + hardcode_direct_F77=unsupported
10.14578 + # It fails to find uninstalled libraries when the uninstalled
10.14579 + # path is not listed in the libpath. Setting hardcode_minus_L
10.14580 + # to unsupported forces relinking
10.14581 + hardcode_minus_L_F77=yes
10.14582 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14583 + hardcode_libdir_separator_F77=
10.14584 + fi
10.14585 + esac
10.14586 + shared_flag='-shared'
10.14587 + else
10.14588 + # not using gcc
10.14589 + if test "$host_cpu" = ia64; then
10.14590 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10.14591 + # chokes on -Wl,-G. The following line is correct:
10.14592 + shared_flag='-G'
10.14593 + else
10.14594 + if test "$aix_use_runtimelinking" = yes; then
10.14595 + shared_flag='${wl}-G'
10.14596 + else
10.14597 + shared_flag='${wl}-bM:SRE'
10.14598 + fi
10.14599 + fi
10.14600 + fi
10.14601 +
10.14602 + # It seems that -bexpall does not export symbols beginning with
10.14603 + # underscore (_), so it is better to generate a list of symbols to export.
10.14604 + always_export_symbols_F77=yes
10.14605 + if test "$aix_use_runtimelinking" = yes; then
10.14606 + # Warning - without using the other runtime loading flags (-brtl),
10.14607 + # -berok will link without error, but may produce a broken library.
10.14608 + allow_undefined_flag_F77='-berok'
10.14609 + # Determine the default libpath from the value encoded in an empty executable.
10.14610 + cat >conftest.$ac_ext <<_ACEOF
10.14611 + program main
10.14612 +
10.14613 + end
10.14614 +_ACEOF
10.14615 +rm -f conftest.$ac_objext conftest$ac_exeext
10.14616 +if { (ac_try="$ac_link"
10.14617 +case "(($ac_try" in
10.14618 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.14619 + *) ac_try_echo=$ac_try;;
10.14620 +esac
10.14621 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.14622 + (eval "$ac_link") 2>conftest.er1
10.14623 + ac_status=$?
10.14624 + grep -v '^ *+' conftest.er1 >conftest.err
10.14625 + rm -f conftest.er1
10.14626 + cat conftest.err >&5
10.14627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.14628 + (exit $ac_status); } && {
10.14629 + test -z "$ac_f77_werror_flag" ||
10.14630 + test ! -s conftest.err
10.14631 + } && test -s conftest$ac_exeext &&
10.14632 + $as_test_x conftest$ac_exeext; then
10.14633 +
10.14634 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.14635 +}'`
10.14636 +# Check for a 64-bit object if we didn't find anything.
10.14637 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.14638 +}'`; fi
10.14639 +else
10.14640 + echo "$as_me: failed program was:" >&5
10.14641 +sed 's/^/| /' conftest.$ac_ext >&5
10.14642 +
10.14643 +
10.14644 +fi
10.14645 +
10.14646 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.14647 + conftest$ac_exeext conftest.$ac_ext
10.14648 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.14649 +
10.14650 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
10.14651 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10.14652 + else
10.14653 + if test "$host_cpu" = ia64; then
10.14654 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
10.14655 + allow_undefined_flag_F77="-z nodefs"
10.14656 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10.14657 + else
10.14658 + # Determine the default libpath from the value encoded in an empty executable.
10.14659 + cat >conftest.$ac_ext <<_ACEOF
10.14660 + program main
10.14661 +
10.14662 + end
10.14663 +_ACEOF
10.14664 +rm -f conftest.$ac_objext conftest$ac_exeext
10.14665 +if { (ac_try="$ac_link"
10.14666 +case "(($ac_try" in
10.14667 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.14668 + *) ac_try_echo=$ac_try;;
10.14669 +esac
10.14670 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.14671 + (eval "$ac_link") 2>conftest.er1
10.14672 + ac_status=$?
10.14673 + grep -v '^ *+' conftest.er1 >conftest.err
10.14674 + rm -f conftest.er1
10.14675 + cat conftest.err >&5
10.14676 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.14677 + (exit $ac_status); } && {
10.14678 + test -z "$ac_f77_werror_flag" ||
10.14679 + test ! -s conftest.err
10.14680 + } && test -s conftest$ac_exeext &&
10.14681 + $as_test_x conftest$ac_exeext; then
10.14682 +
10.14683 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.14684 +}'`
10.14685 +# Check for a 64-bit object if we didn't find anything.
10.14686 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.14687 +}'`; fi
10.14688 +else
10.14689 + echo "$as_me: failed program was:" >&5
10.14690 +sed 's/^/| /' conftest.$ac_ext >&5
10.14691 +
10.14692 +
10.14693 +fi
10.14694 +
10.14695 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.14696 + conftest$ac_exeext conftest.$ac_ext
10.14697 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.14698 +
10.14699 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
10.14700 + # Warning - without using the other run time loading flags,
10.14701 + # -berok will link without error, but may produce a broken library.
10.14702 + no_undefined_flag_F77=' ${wl}-bernotok'
10.14703 + allow_undefined_flag_F77=' ${wl}-berok'
10.14704 + # -bexpall does not export symbols beginning with underscore (_)
10.14705 + always_export_symbols_F77=yes
10.14706 + # Exported symbols can be pulled into shared objects from archives
10.14707 + whole_archive_flag_spec_F77=' '
10.14708 + archive_cmds_need_lc_F77=yes
10.14709 + # This is similar to how AIX traditionally builds it's shared libraries.
10.14710 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10.14711 + fi
10.14712 + fi
10.14713 + ;;
10.14714 +
10.14715 + amigaos*)
10.14716 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10.14717 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14718 + hardcode_minus_L_F77=yes
10.14719 + # see comment about different semantics on the GNU ld section
10.14720 + ld_shlibs_F77=no
10.14721 + ;;
10.14722 +
10.14723 + bsdi4*)
10.14724 + export_dynamic_flag_spec_F77=-rdynamic
10.14725 + ;;
10.14726 +
10.14727 + cygwin* | mingw* | pw32*)
10.14728 + # When not using gcc, we currently assume that we are using
10.14729 + # Microsoft Visual C++.
10.14730 + # hardcode_libdir_flag_spec is actually meaningless, as there is
10.14731 + # no search path for DLLs.
10.14732 + hardcode_libdir_flag_spec_F77=' '
10.14733 + allow_undefined_flag_F77=unsupported
10.14734 + # Tell ltmain to make .lib files, not .a files.
10.14735 + libext=lib
10.14736 + # Tell ltmain to make .dll files, not .so files.
10.14737 + shrext_cmds=".dll"
10.14738 + # FIXME: Setting linknames here is a bad hack.
10.14739 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10.14740 + # The linker will automatically build a .lib file if we build a DLL.
10.14741 + old_archive_From_new_cmds_F77='true'
10.14742 + # FIXME: Should let the user specify the lib program.
10.14743 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
10.14744 + fix_srcfile_path='`cygpath -w "$srcfile"`'
10.14745 + enable_shared_with_static_runtimes_F77=yes
10.14746 + ;;
10.14747 +
10.14748 + darwin* | rhapsody*)
10.14749 + if test "$GXX" = yes ; then
10.14750 + archive_cmds_need_lc_F77=no
10.14751 + case "$host_os" in
10.14752 + rhapsody* | darwin1.[012])
10.14753 + allow_undefined_flag_F77='-undefined suppress'
10.14754 + ;;
10.14755 + *) # Darwin 1.3 on
10.14756 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10.14757 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
10.14758 + else
10.14759 + case ${MACOSX_DEPLOYMENT_TARGET} in
10.14760 + 10.[012])
10.14761 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
10.14762 + ;;
10.14763 + 10.*)
10.14764 + allow_undefined_flag_F77='-undefined dynamic_lookup'
10.14765 + ;;
10.14766 + esac
10.14767 + fi
10.14768 + ;;
10.14769 + esac
10.14770 + lt_int_apple_cc_single_mod=no
10.14771 + output_verbose_link_cmd='echo'
10.14772 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10.14773 + lt_int_apple_cc_single_mod=yes
10.14774 + fi
10.14775 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.14776 + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.14777 + else
10.14778 + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.14779 + fi
10.14780 + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10.14781 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10.14782 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.14783 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.14784 + else
10.14785 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.14786 + fi
10.14787 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.14788 + hardcode_direct_F77=no
10.14789 + hardcode_automatic_F77=yes
10.14790 + hardcode_shlibpath_var_F77=unsupported
10.14791 + whole_archive_flag_spec_F77='-all_load $convenience'
10.14792 + link_all_deplibs_F77=yes
10.14793 + else
10.14794 + ld_shlibs_F77=no
10.14795 + fi
10.14796 + ;;
10.14797 +
10.14798 + dgux*)
10.14799 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.14800 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14801 + hardcode_shlibpath_var_F77=no
10.14802 + ;;
10.14803 +
10.14804 + freebsd1*)
10.14805 + ld_shlibs_F77=no
10.14806 + ;;
10.14807 +
10.14808 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10.14809 + # support. Future versions do this automatically, but an explicit c++rt0.o
10.14810 + # does not break anything, and helps significantly (at the cost of a little
10.14811 + # extra space).
10.14812 + freebsd2.2*)
10.14813 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10.14814 + hardcode_libdir_flag_spec_F77='-R$libdir'
10.14815 + hardcode_direct_F77=yes
10.14816 + hardcode_shlibpath_var_F77=no
10.14817 + ;;
10.14818 +
10.14819 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10.14820 + freebsd2*)
10.14821 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.14822 + hardcode_direct_F77=yes
10.14823 + hardcode_minus_L_F77=yes
10.14824 + hardcode_shlibpath_var_F77=no
10.14825 + ;;
10.14826 +
10.14827 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10.14828 + freebsd* | kfreebsd*-gnu)
10.14829 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10.14830 + hardcode_libdir_flag_spec_F77='-R$libdir'
10.14831 + hardcode_direct_F77=yes
10.14832 + hardcode_shlibpath_var_F77=no
10.14833 + ;;
10.14834 +
10.14835 + hpux9*)
10.14836 + if test "$GCC" = yes; then
10.14837 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.14838 + else
10.14839 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.14840 + fi
10.14841 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
10.14842 + hardcode_libdir_separator_F77=:
10.14843 + hardcode_direct_F77=yes
10.14844 +
10.14845 + # hardcode_minus_L: Not really in the search PATH,
10.14846 + # but as the default location of the library.
10.14847 + hardcode_minus_L_F77=yes
10.14848 + export_dynamic_flag_spec_F77='${wl}-E'
10.14849 + ;;
10.14850 +
10.14851 + hpux10* | hpux11*)
10.14852 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10.14853 + case "$host_cpu" in
10.14854 + hppa*64*|ia64*)
10.14855 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.14856 + ;;
10.14857 + *)
10.14858 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10.14859 + ;;
10.14860 + esac
10.14861 + else
10.14862 + case "$host_cpu" in
10.14863 + hppa*64*|ia64*)
10.14864 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10.14865 + ;;
10.14866 + *)
10.14867 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10.14868 + ;;
10.14869 + esac
10.14870 + fi
10.14871 + if test "$with_gnu_ld" = no; then
10.14872 + case "$host_cpu" in
10.14873 + hppa*64*)
10.14874 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
10.14875 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
10.14876 + hardcode_libdir_separator_F77=:
10.14877 + hardcode_direct_F77=no
10.14878 + hardcode_shlibpath_var_F77=no
10.14879 + ;;
10.14880 + ia64*)
10.14881 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14882 + hardcode_direct_F77=no
10.14883 + hardcode_shlibpath_var_F77=no
10.14884 +
10.14885 + # hardcode_minus_L: Not really in the search PATH,
10.14886 + # but as the default location of the library.
10.14887 + hardcode_minus_L_F77=yes
10.14888 + ;;
10.14889 + *)
10.14890 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
10.14891 + hardcode_libdir_separator_F77=:
10.14892 + hardcode_direct_F77=yes
10.14893 + export_dynamic_flag_spec_F77='${wl}-E'
10.14894 +
10.14895 + # hardcode_minus_L: Not really in the search PATH,
10.14896 + # but as the default location of the library.
10.14897 + hardcode_minus_L_F77=yes
10.14898 + ;;
10.14899 + esac
10.14900 + fi
10.14901 + ;;
10.14902 +
10.14903 + irix5* | irix6* | nonstopux*)
10.14904 + if test "$GCC" = yes; then
10.14905 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.14906 + else
10.14907 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.14908 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
10.14909 + fi
10.14910 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
10.14911 + hardcode_libdir_separator_F77=:
10.14912 + link_all_deplibs_F77=yes
10.14913 + ;;
10.14914 +
10.14915 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.14916 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.14917 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10.14918 + else
10.14919 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10.14920 + fi
10.14921 + hardcode_libdir_flag_spec_F77='-R$libdir'
10.14922 + hardcode_direct_F77=yes
10.14923 + hardcode_shlibpath_var_F77=no
10.14924 + ;;
10.14925 +
10.14926 + newsos6)
10.14927 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.14928 + hardcode_direct_F77=yes
10.14929 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
10.14930 + hardcode_libdir_separator_F77=:
10.14931 + hardcode_shlibpath_var_F77=no
10.14932 + ;;
10.14933 +
10.14934 + openbsd*)
10.14935 + hardcode_direct_F77=yes
10.14936 + hardcode_shlibpath_var_F77=no
10.14937 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.14938 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10.14939 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
10.14940 + export_dynamic_flag_spec_F77='${wl}-E'
10.14941 + else
10.14942 + case $host_os in
10.14943 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10.14944 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.14945 + hardcode_libdir_flag_spec_F77='-R$libdir'
10.14946 + ;;
10.14947 + *)
10.14948 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10.14949 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
10.14950 + ;;
10.14951 + esac
10.14952 + fi
10.14953 + ;;
10.14954 +
10.14955 + os2*)
10.14956 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.14957 + hardcode_minus_L_F77=yes
10.14958 + allow_undefined_flag_F77=unsupported
10.14959 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10.14960 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10.14961 + ;;
10.14962 +
10.14963 + osf3*)
10.14964 + if test "$GCC" = yes; then
10.14965 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
10.14966 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.14967 + else
10.14968 + allow_undefined_flag_F77=' -expect_unresolved \*'
10.14969 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.14970 + fi
10.14971 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
10.14972 + hardcode_libdir_separator_F77=:
10.14973 + ;;
10.14974 +
10.14975 + osf4* | osf5*) # as osf3* with the addition of -msym flag
10.14976 + if test "$GCC" = yes; then
10.14977 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
10.14978 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.14979 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
10.14980 + else
10.14981 + allow_undefined_flag_F77=' -expect_unresolved \*'
10.14982 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.14983 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10.14984 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
10.14985 +
10.14986 + # Both c and cxx compiler support -rpath directly
10.14987 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
10.14988 + fi
10.14989 + hardcode_libdir_separator_F77=:
10.14990 + ;;
10.14991 +
10.14992 + sco3.2v5*)
10.14993 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.14994 + hardcode_shlibpath_var_F77=no
10.14995 + export_dynamic_flag_spec_F77='${wl}-Bexport'
10.14996 + runpath_var=LD_RUN_PATH
10.14997 + hardcode_runpath_var=yes
10.14998 + ;;
10.14999 +
10.15000 + solaris*)
10.15001 + no_undefined_flag_F77=' -z text'
10.15002 + if test "$GCC" = yes; then
10.15003 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.15004 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.15005 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10.15006 + else
10.15007 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15008 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.15009 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10.15010 + fi
10.15011 + hardcode_libdir_flag_spec_F77='-R$libdir'
10.15012 + hardcode_shlibpath_var_F77=no
10.15013 + case $host_os in
10.15014 + solaris2.[0-5] | solaris2.[0-5].*) ;;
10.15015 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
10.15016 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
10.15017 + esac
10.15018 + link_all_deplibs_F77=yes
10.15019 + ;;
10.15020 +
10.15021 + sunos4*)
10.15022 + if test "x$host_vendor" = xsequent; then
10.15023 + # Use $CC to link under sequent, because it throws in some extra .o
10.15024 + # files that make .init and .fini sections work.
10.15025 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10.15026 + else
10.15027 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10.15028 + fi
10.15029 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.15030 + hardcode_direct_F77=yes
10.15031 + hardcode_minus_L_F77=yes
10.15032 + hardcode_shlibpath_var_F77=no
10.15033 + ;;
10.15034 +
10.15035 + sysv4)
10.15036 + case $host_vendor in
10.15037 + sni)
10.15038 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15039 + hardcode_direct_F77=yes # is this really true???
10.15040 + ;;
10.15041 + siemens)
10.15042 + ## LD is ld it makes a PLAMLIB
10.15043 + ## CC just makes a GrossModule.
10.15044 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10.15045 + reload_cmds_F77='$CC -r -o $output$reload_objs'
10.15046 + hardcode_direct_F77=no
10.15047 + ;;
10.15048 + motorola)
10.15049 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15050 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
10.15051 + ;;
10.15052 + esac
10.15053 + runpath_var='LD_RUN_PATH'
10.15054 + hardcode_shlibpath_var_F77=no
10.15055 + ;;
10.15056 +
10.15057 + sysv4.3*)
10.15058 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15059 + hardcode_shlibpath_var_F77=no
10.15060 + export_dynamic_flag_spec_F77='-Bexport'
10.15061 + ;;
10.15062 +
10.15063 + sysv4*MP*)
10.15064 + if test -d /usr/nec; then
10.15065 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15066 + hardcode_shlibpath_var_F77=no
10.15067 + runpath_var=LD_RUN_PATH
10.15068 + hardcode_runpath_var=yes
10.15069 + ld_shlibs_F77=yes
10.15070 + fi
10.15071 + ;;
10.15072 +
10.15073 + sysv4.2uw2*)
10.15074 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10.15075 + hardcode_direct_F77=yes
10.15076 + hardcode_minus_L_F77=no
10.15077 + hardcode_shlibpath_var_F77=no
10.15078 + hardcode_runpath_var=yes
10.15079 + runpath_var=LD_RUN_PATH
10.15080 + ;;
10.15081 +
10.15082 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10.15083 + no_undefined_flag_F77='${wl}-z ${wl}text'
10.15084 + if test "$GCC" = yes; then
10.15085 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.15086 + else
10.15087 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.15088 + fi
10.15089 + runpath_var='LD_RUN_PATH'
10.15090 + hardcode_shlibpath_var_F77=no
10.15091 + ;;
10.15092 +
10.15093 + sysv5*)
10.15094 + no_undefined_flag_F77=' -z text'
10.15095 + # $CC -shared without GNU ld will not create a library from C++
10.15096 + # object files and a static libstdc++, better avoid it by now
10.15097 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15098 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.15099 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10.15100 + hardcode_libdir_flag_spec_F77=
10.15101 + hardcode_shlibpath_var_F77=no
10.15102 + runpath_var='LD_RUN_PATH'
10.15103 + ;;
10.15104 +
10.15105 + uts4*)
10.15106 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.15107 + hardcode_libdir_flag_spec_F77='-L$libdir'
10.15108 + hardcode_shlibpath_var_F77=no
10.15109 + ;;
10.15110 +
10.15111 + *)
10.15112 + ld_shlibs_F77=no
10.15113 + ;;
10.15114 + esac
10.15115 + fi
10.15116 +
10.15117 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
10.15118 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
10.15119 +test "$ld_shlibs_F77" = no && can_build_shared=no
10.15120 +
10.15121 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10.15122 +if test "$GCC" = yes; then
10.15123 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10.15124 +fi
10.15125 +
10.15126 +#
10.15127 +# Do we need to explicitly link libc?
10.15128 +#
10.15129 +case "x$archive_cmds_need_lc_F77" in
10.15130 +x|xyes)
10.15131 + # Assume -lc should be added
10.15132 + archive_cmds_need_lc_F77=yes
10.15133 +
10.15134 + if test "$enable_shared" = yes && test "$GCC" = yes; then
10.15135 + case $archive_cmds_F77 in
10.15136 + *'~'*)
10.15137 + # FIXME: we may have to deal with multi-command sequences.
10.15138 + ;;
10.15139 + '$CC '*)
10.15140 + # Test whether the compiler implicitly links with -lc since on some
10.15141 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
10.15142 + # to ld, don't add -lc before -lgcc.
10.15143 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10.15144 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10.15145 + $rm conftest*
10.15146 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.15147 +
10.15148 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.15149 + (eval $ac_compile) 2>&5
10.15150 + ac_status=$?
10.15151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.15152 + (exit $ac_status); } 2>conftest.err; then
10.15153 + soname=conftest
10.15154 + lib=conftest
10.15155 + libobjs=conftest.$ac_objext
10.15156 + deplibs=
10.15157 + wl=$lt_prog_compiler_wl_F77
10.15158 + compiler_flags=-v
10.15159 + linker_flags=-v
10.15160 + verstring=
10.15161 + output_objdir=.
10.15162 + libname=conftest
10.15163 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
10.15164 + allow_undefined_flag_F77=
10.15165 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10.15166 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10.15167 + ac_status=$?
10.15168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.15169 + (exit $ac_status); }
10.15170 + then
10.15171 + archive_cmds_need_lc_F77=no
10.15172 + else
10.15173 + archive_cmds_need_lc_F77=yes
10.15174 + fi
10.15175 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
10.15176 + else
10.15177 + cat conftest.err 1>&5
10.15178 + fi
10.15179 + $rm conftest*
10.15180 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
10.15181 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
10.15182 + ;;
10.15183 + esac
10.15184 + fi
10.15185 + ;;
10.15186 +esac
10.15187 +
10.15188 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10.15189 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10.15190 +library_names_spec=
10.15191 +libname_spec='lib$name'
10.15192 +soname_spec=
10.15193 +shrext_cmds=".so"
10.15194 +postinstall_cmds=
10.15195 +postuninstall_cmds=
10.15196 +finish_cmds=
10.15197 +finish_eval=
10.15198 +shlibpath_var=
10.15199 +shlibpath_overrides_runpath=unknown
10.15200 +version_type=none
10.15201 +dynamic_linker="$host_os ld.so"
10.15202 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
10.15203 +if test "$GCC" = yes; then
10.15204 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.15205 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10.15206 + # if the path contains ";" then we assume it to be the separator
10.15207 + # otherwise default to the standard path separator (i.e. ":") - it is
10.15208 + # assumed that no part of a normal pathname contains ";" but that should
10.15209 + # okay in the real world where ";" in dirpaths is itself problematic.
10.15210 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.15211 + else
10.15212 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.15213 + fi
10.15214 +else
10.15215 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10.15216 +fi
10.15217 +need_lib_prefix=unknown
10.15218 +hardcode_into_libs=no
10.15219 +
10.15220 +# when you set need_version to no, make sure it does not cause -set_version
10.15221 +# flags to be left without arguments
10.15222 +need_version=unknown
10.15223 +
10.15224 +case $host_os in
10.15225 +aix3*)
10.15226 + version_type=linux
10.15227 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10.15228 + shlibpath_var=LIBPATH
10.15229 +
10.15230 + # AIX 3 has no versioning support, so we append a major version to the name.
10.15231 + soname_spec='${libname}${release}${shared_ext}$major'
10.15232 + ;;
10.15233 +
10.15234 +aix4* | aix5*)
10.15235 + version_type=linux
10.15236 + need_lib_prefix=no
10.15237 + need_version=no
10.15238 + hardcode_into_libs=yes
10.15239 + if test "$host_cpu" = ia64; then
10.15240 + # AIX 5 supports IA64
10.15241 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10.15242 + shlibpath_var=LD_LIBRARY_PATH
10.15243 + else
10.15244 + # With GCC up to 2.95.x, collect2 would create an import file
10.15245 + # for dependence libraries. The import file would start with
10.15246 + # the line `#! .'. This would cause the generated library to
10.15247 + # depend on `.', always an invalid library. This was fixed in
10.15248 + # development snapshots of GCC prior to 3.0.
10.15249 + case $host_os in
10.15250 + aix4 | aix4.[01] | aix4.[01].*)
10.15251 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10.15252 + echo ' yes '
10.15253 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10.15254 + :
10.15255 + else
10.15256 + can_build_shared=no
10.15257 + fi
10.15258 + ;;
10.15259 + esac
10.15260 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10.15261 + # soname into executable. Probably we can add versioning support to
10.15262 + # collect2, so additional links can be useful in future.
10.15263 + if test "$aix_use_runtimelinking" = yes; then
10.15264 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10.15265 + # instead of lib<name>.a to let people know that these are not
10.15266 + # typical AIX shared libraries.
10.15267 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15268 + else
10.15269 + # We preserve .a as extension for shared libraries through AIX4.2
10.15270 + # and later when we are not doing run time linking.
10.15271 + library_names_spec='${libname}${release}.a $libname.a'
10.15272 + soname_spec='${libname}${release}${shared_ext}$major'
10.15273 + fi
10.15274 + shlibpath_var=LIBPATH
10.15275 + fi
10.15276 + ;;
10.15277 +
10.15278 +amigaos*)
10.15279 + library_names_spec='$libname.ixlibrary $libname.a'
10.15280 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
10.15281 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10.15282 + ;;
10.15283 +
10.15284 +beos*)
10.15285 + library_names_spec='${libname}${shared_ext}'
10.15286 + dynamic_linker="$host_os ld.so"
10.15287 + shlibpath_var=LIBRARY_PATH
10.15288 + ;;
10.15289 +
10.15290 +bsdi4*)
10.15291 + version_type=linux
10.15292 + need_version=no
10.15293 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15294 + soname_spec='${libname}${release}${shared_ext}$major'
10.15295 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10.15296 + shlibpath_var=LD_LIBRARY_PATH
10.15297 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10.15298 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10.15299 + # the default ld.so.conf also contains /usr/contrib/lib and
10.15300 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10.15301 + # libtool to hard-code these into programs
10.15302 + ;;
10.15303 +
10.15304 +cygwin* | mingw* | pw32*)
10.15305 + version_type=windows
10.15306 + shrext_cmds=".dll"
10.15307 + need_version=no
10.15308 + need_lib_prefix=no
10.15309 +
10.15310 + case $GCC,$host_os in
10.15311 + yes,cygwin* | yes,mingw* | yes,pw32*)
10.15312 + library_names_spec='$libname.dll.a'
10.15313 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
10.15314 + postinstall_cmds='base_file=`basename \${file}`~
10.15315 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10.15316 + dldir=$destdir/`dirname \$dlpath`~
10.15317 + test -d \$dldir || mkdir -p \$dldir~
10.15318 + $install_prog $dir/$dlname \$dldir/$dlname'
10.15319 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10.15320 + dlpath=$dir/\$dldll~
10.15321 + $rm \$dlpath'
10.15322 + shlibpath_overrides_runpath=yes
10.15323 +
10.15324 + case $host_os in
10.15325 + cygwin*)
10.15326 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10.15327 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.15328 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10.15329 + ;;
10.15330 + mingw*)
10.15331 + # MinGW DLLs use traditional 'lib' prefix
10.15332 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.15333 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.15334 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10.15335 + # It is most probably a Windows format PATH printed by
10.15336 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
10.15337 + # path with ; separators, and with drive letters. We can handle the
10.15338 + # drive letters (cygwin fileutils understands them), so leave them,
10.15339 + # especially as we might pass files found there to a mingw objdump,
10.15340 + # which wouldn't understand a cygwinified path. Ahh.
10.15341 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.15342 + else
10.15343 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.15344 + fi
10.15345 + ;;
10.15346 + pw32*)
10.15347 + # pw32 DLLs use 'pw' prefix rather than 'lib'
10.15348 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10.15349 + ;;
10.15350 + esac
10.15351 + ;;
10.15352 +
10.15353 + *)
10.15354 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10.15355 + ;;
10.15356 + esac
10.15357 + dynamic_linker='Win32 ld.exe'
10.15358 + # FIXME: first we should search . and the directory the executable is in
10.15359 + shlibpath_var=PATH
10.15360 + ;;
10.15361 +
10.15362 +darwin* | rhapsody*)
10.15363 + dynamic_linker="$host_os dyld"
10.15364 + version_type=darwin
10.15365 + need_lib_prefix=no
10.15366 + need_version=no
10.15367 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10.15368 + soname_spec='${libname}${release}${major}$shared_ext'
10.15369 + shlibpath_overrides_runpath=yes
10.15370 + shlibpath_var=DYLD_LIBRARY_PATH
10.15371 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
10.15372 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10.15373 + if test "$GCC" = yes; then
10.15374 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10.15375 + else
10.15376 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10.15377 + fi
10.15378 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10.15379 + ;;
10.15380 +
10.15381 +dgux*)
10.15382 + version_type=linux
10.15383 + need_lib_prefix=no
10.15384 + need_version=no
10.15385 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10.15386 + soname_spec='${libname}${release}${shared_ext}$major'
10.15387 + shlibpath_var=LD_LIBRARY_PATH
10.15388 + ;;
10.15389 +
10.15390 +freebsd1*)
10.15391 + dynamic_linker=no
10.15392 + ;;
10.15393 +
10.15394 +kfreebsd*-gnu)
10.15395 + version_type=linux
10.15396 + need_lib_prefix=no
10.15397 + need_version=no
10.15398 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.15399 + soname_spec='${libname}${release}${shared_ext}$major'
10.15400 + shlibpath_var=LD_LIBRARY_PATH
10.15401 + shlibpath_overrides_runpath=no
10.15402 + hardcode_into_libs=yes
10.15403 + dynamic_linker='GNU ld.so'
10.15404 + ;;
10.15405 +
10.15406 +freebsd*)
10.15407 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10.15408 + version_type=freebsd-$objformat
10.15409 + case $version_type in
10.15410 + freebsd-elf*)
10.15411 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10.15412 + need_version=no
10.15413 + need_lib_prefix=no
10.15414 + ;;
10.15415 + freebsd-*)
10.15416 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10.15417 + need_version=yes
10.15418 + ;;
10.15419 + esac
10.15420 + shlibpath_var=LD_LIBRARY_PATH
10.15421 + case $host_os in
10.15422 + freebsd2*)
10.15423 + shlibpath_overrides_runpath=yes
10.15424 + ;;
10.15425 + freebsd3.01* | freebsdelf3.01*)
10.15426 + shlibpath_overrides_runpath=yes
10.15427 + hardcode_into_libs=yes
10.15428 + ;;
10.15429 + *) # from 3.2 on
10.15430 + shlibpath_overrides_runpath=no
10.15431 + hardcode_into_libs=yes
10.15432 + ;;
10.15433 + esac
10.15434 + ;;
10.15435 +
10.15436 +gnu*)
10.15437 + version_type=linux
10.15438 + need_lib_prefix=no
10.15439 + need_version=no
10.15440 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10.15441 + soname_spec='${libname}${release}${shared_ext}$major'
10.15442 + shlibpath_var=LD_LIBRARY_PATH
10.15443 + hardcode_into_libs=yes
10.15444 + ;;
10.15445 +
10.15446 +hpux9* | hpux10* | hpux11*)
10.15447 + # Give a soname corresponding to the major version so that dld.sl refuses to
10.15448 + # link against other versions.
10.15449 + version_type=sunos
10.15450 + need_lib_prefix=no
10.15451 + need_version=no
10.15452 + case "$host_cpu" in
10.15453 + ia64*)
10.15454 + shrext_cmds='.so'
10.15455 + hardcode_into_libs=yes
10.15456 + dynamic_linker="$host_os dld.so"
10.15457 + shlibpath_var=LD_LIBRARY_PATH
10.15458 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.15459 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15460 + soname_spec='${libname}${release}${shared_ext}$major'
10.15461 + if test "X$HPUX_IA64_MODE" = X32; then
10.15462 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10.15463 + else
10.15464 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10.15465 + fi
10.15466 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.15467 + ;;
10.15468 + hppa*64*)
10.15469 + shrext_cmds='.sl'
10.15470 + hardcode_into_libs=yes
10.15471 + dynamic_linker="$host_os dld.sl"
10.15472 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10.15473 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.15474 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15475 + soname_spec='${libname}${release}${shared_ext}$major'
10.15476 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10.15477 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.15478 + ;;
10.15479 + *)
10.15480 + shrext_cmds='.sl'
10.15481 + dynamic_linker="$host_os dld.sl"
10.15482 + shlibpath_var=SHLIB_PATH
10.15483 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10.15484 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15485 + soname_spec='${libname}${release}${shared_ext}$major'
10.15486 + ;;
10.15487 + esac
10.15488 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
10.15489 + postinstall_cmds='chmod 555 $lib'
10.15490 + ;;
10.15491 +
10.15492 +irix5* | irix6* | nonstopux*)
10.15493 + case $host_os in
10.15494 + nonstopux*) version_type=nonstopux ;;
10.15495 + *)
10.15496 + if test "$lt_cv_prog_gnu_ld" = yes; then
10.15497 + version_type=linux
10.15498 + else
10.15499 + version_type=irix
10.15500 + fi ;;
10.15501 + esac
10.15502 + need_lib_prefix=no
10.15503 + need_version=no
10.15504 + soname_spec='${libname}${release}${shared_ext}$major'
10.15505 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10.15506 + case $host_os in
10.15507 + irix5* | nonstopux*)
10.15508 + libsuff= shlibsuff=
10.15509 + ;;
10.15510 + *)
10.15511 + case $LD in # libtool.m4 will add one of these switches to LD
10.15512 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10.15513 + libsuff= shlibsuff= libmagic=32-bit;;
10.15514 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10.15515 + libsuff=32 shlibsuff=N32 libmagic=N32;;
10.15516 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10.15517 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
10.15518 + *) libsuff= shlibsuff= libmagic=never-match;;
10.15519 + esac
10.15520 + ;;
10.15521 + esac
10.15522 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10.15523 + shlibpath_overrides_runpath=no
10.15524 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10.15525 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10.15526 + hardcode_into_libs=yes
10.15527 + ;;
10.15528 +
10.15529 +# No shared lib support for Linux oldld, aout, or coff.
10.15530 +linux*oldld* | linux*aout* | linux*coff*)
10.15531 + dynamic_linker=no
10.15532 + ;;
10.15533 +
10.15534 +# This must be Linux ELF.
10.15535 +linux*)
10.15536 + version_type=linux
10.15537 + need_lib_prefix=no
10.15538 + need_version=no
10.15539 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15540 + soname_spec='${libname}${release}${shared_ext}$major'
10.15541 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10.15542 + shlibpath_var=LD_LIBRARY_PATH
10.15543 + shlibpath_overrides_runpath=no
10.15544 + # This implies no fast_install, which is unacceptable.
10.15545 + # Some rework will be needed to allow for fast_install
10.15546 + # before this can be enabled.
10.15547 + hardcode_into_libs=yes
10.15548 +
10.15549 + # Append ld.so.conf contents to the search path
10.15550 + if test -f /etc/ld.so.conf; then
10.15551 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
10.15552 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10.15553 + fi
10.15554 +
10.15555 + # We used to test for /lib/ld.so.1 and disable shared libraries on
10.15556 + # powerpc, because MkLinux only supported shared libraries with the
10.15557 + # GNU dynamic linker. Since this was broken with cross compilers,
10.15558 + # most powerpc-linux boxes support dynamic linking these days and
10.15559 + # people can always --disable-shared, the test was removed, and we
10.15560 + # assume the GNU/Linux dynamic linker is in use.
10.15561 + dynamic_linker='GNU/Linux ld.so'
10.15562 + ;;
10.15563 +
10.15564 +netbsdelf*-gnu)
10.15565 + version_type=linux
10.15566 + need_lib_prefix=no
10.15567 + need_version=no
10.15568 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.15569 + soname_spec='${libname}${release}${shared_ext}$major'
10.15570 + shlibpath_var=LD_LIBRARY_PATH
10.15571 + shlibpath_overrides_runpath=no
10.15572 + hardcode_into_libs=yes
10.15573 + dynamic_linker='NetBSD ld.elf_so'
10.15574 + ;;
10.15575 +
10.15576 +knetbsd*-gnu)
10.15577 + version_type=linux
10.15578 + need_lib_prefix=no
10.15579 + need_version=no
10.15580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.15581 + soname_spec='${libname}${release}${shared_ext}$major'
10.15582 + shlibpath_var=LD_LIBRARY_PATH
10.15583 + shlibpath_overrides_runpath=no
10.15584 + hardcode_into_libs=yes
10.15585 + dynamic_linker='GNU ld.so'
10.15586 + ;;
10.15587 +
10.15588 +netbsd*)
10.15589 + version_type=sunos
10.15590 + need_lib_prefix=no
10.15591 + need_version=no
10.15592 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.15593 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.15594 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.15595 + dynamic_linker='NetBSD (a.out) ld.so'
10.15596 + else
10.15597 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.15598 + soname_spec='${libname}${release}${shared_ext}$major'
10.15599 + dynamic_linker='NetBSD ld.elf_so'
10.15600 + fi
10.15601 + shlibpath_var=LD_LIBRARY_PATH
10.15602 + shlibpath_overrides_runpath=yes
10.15603 + hardcode_into_libs=yes
10.15604 + ;;
10.15605 +
10.15606 +newsos6)
10.15607 + version_type=linux
10.15608 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15609 + shlibpath_var=LD_LIBRARY_PATH
10.15610 + shlibpath_overrides_runpath=yes
10.15611 + ;;
10.15612 +
10.15613 +nto-qnx*)
10.15614 + version_type=linux
10.15615 + need_lib_prefix=no
10.15616 + need_version=no
10.15617 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15618 + soname_spec='${libname}${release}${shared_ext}$major'
10.15619 + shlibpath_var=LD_LIBRARY_PATH
10.15620 + shlibpath_overrides_runpath=yes
10.15621 + ;;
10.15622 +
10.15623 +openbsd*)
10.15624 + version_type=sunos
10.15625 + need_lib_prefix=no
10.15626 + need_version=yes
10.15627 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.15628 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.15629 + shlibpath_var=LD_LIBRARY_PATH
10.15630 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.15631 + case $host_os in
10.15632 + openbsd2.[89] | openbsd2.[89].*)
10.15633 + shlibpath_overrides_runpath=no
10.15634 + ;;
10.15635 + *)
10.15636 + shlibpath_overrides_runpath=yes
10.15637 + ;;
10.15638 + esac
10.15639 + else
10.15640 + shlibpath_overrides_runpath=yes
10.15641 + fi
10.15642 + ;;
10.15643 +
10.15644 +os2*)
10.15645 + libname_spec='$name'
10.15646 + shrext_cmds=".dll"
10.15647 + need_lib_prefix=no
10.15648 + library_names_spec='$libname${shared_ext} $libname.a'
10.15649 + dynamic_linker='OS/2 ld.exe'
10.15650 + shlibpath_var=LIBPATH
10.15651 + ;;
10.15652 +
10.15653 +osf3* | osf4* | osf5*)
10.15654 + version_type=osf
10.15655 + need_lib_prefix=no
10.15656 + need_version=no
10.15657 + soname_spec='${libname}${release}${shared_ext}$major'
10.15658 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15659 + shlibpath_var=LD_LIBRARY_PATH
10.15660 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10.15661 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10.15662 + ;;
10.15663 +
10.15664 +sco3.2v5*)
10.15665 + version_type=osf
10.15666 + soname_spec='${libname}${release}${shared_ext}$major'
10.15667 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15668 + shlibpath_var=LD_LIBRARY_PATH
10.15669 + ;;
10.15670 +
10.15671 +solaris*)
10.15672 + version_type=linux
10.15673 + need_lib_prefix=no
10.15674 + need_version=no
10.15675 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15676 + soname_spec='${libname}${release}${shared_ext}$major'
10.15677 + shlibpath_var=LD_LIBRARY_PATH
10.15678 + shlibpath_overrides_runpath=yes
10.15679 + hardcode_into_libs=yes
10.15680 + # ldd complains unless libraries are executable
10.15681 + postinstall_cmds='chmod +x $lib'
10.15682 + ;;
10.15683 +
10.15684 +sunos4*)
10.15685 + version_type=sunos
10.15686 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.15687 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10.15688 + shlibpath_var=LD_LIBRARY_PATH
10.15689 + shlibpath_overrides_runpath=yes
10.15690 + if test "$with_gnu_ld" = yes; then
10.15691 + need_lib_prefix=no
10.15692 + fi
10.15693 + need_version=yes
10.15694 + ;;
10.15695 +
10.15696 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.15697 + version_type=linux
10.15698 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15699 + soname_spec='${libname}${release}${shared_ext}$major'
10.15700 + shlibpath_var=LD_LIBRARY_PATH
10.15701 + case $host_vendor in
10.15702 + sni)
10.15703 + shlibpath_overrides_runpath=no
10.15704 + need_lib_prefix=no
10.15705 + export_dynamic_flag_spec='${wl}-Blargedynsym'
10.15706 + runpath_var=LD_RUN_PATH
10.15707 + ;;
10.15708 + siemens)
10.15709 + need_lib_prefix=no
10.15710 + ;;
10.15711 + motorola)
10.15712 + need_lib_prefix=no
10.15713 + need_version=no
10.15714 + shlibpath_overrides_runpath=no
10.15715 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10.15716 + ;;
10.15717 + esac
10.15718 + ;;
10.15719 +
10.15720 +sysv4*MP*)
10.15721 + if test -d /usr/nec ;then
10.15722 + version_type=linux
10.15723 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10.15724 + soname_spec='$libname${shared_ext}.$major'
10.15725 + shlibpath_var=LD_LIBRARY_PATH
10.15726 + fi
10.15727 + ;;
10.15728 +
10.15729 +uts4*)
10.15730 + version_type=linux
10.15731 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.15732 + soname_spec='${libname}${release}${shared_ext}$major'
10.15733 + shlibpath_var=LD_LIBRARY_PATH
10.15734 + ;;
10.15735 +
10.15736 +*)
10.15737 + dynamic_linker=no
10.15738 + ;;
10.15739 +esac
10.15740 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10.15741 +echo "${ECHO_T}$dynamic_linker" >&6; }
10.15742 +test "$dynamic_linker" = no && can_build_shared=no
10.15743 +
10.15744 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10.15745 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10.15746 +hardcode_action_F77=
10.15747 +if test -n "$hardcode_libdir_flag_spec_F77" || \
10.15748 + test -n "$runpath_var F77" || \
10.15749 + test "X$hardcode_automatic_F77"="Xyes" ; then
10.15750 +
10.15751 + # We can hardcode non-existant directories.
10.15752 + if test "$hardcode_direct_F77" != no &&
10.15753 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
10.15754 + # have to relink, otherwise we might link with an installed library
10.15755 + # when we should be linking with a yet-to-be-installed one
10.15756 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
10.15757 + test "$hardcode_minus_L_F77" != no; then
10.15758 + # Linking always hardcodes the temporary library directory.
10.15759 + hardcode_action_F77=relink
10.15760 + else
10.15761 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
10.15762 + hardcode_action_F77=immediate
10.15763 + fi
10.15764 +else
10.15765 + # We cannot hardcode anything, or else we can only hardcode existing
10.15766 + # directories.
10.15767 + hardcode_action_F77=unsupported
10.15768 +fi
10.15769 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
10.15770 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
10.15771 +
10.15772 +if test "$hardcode_action_F77" = relink; then
10.15773 + # Fast installation is not supported
10.15774 + enable_fast_install=no
10.15775 +elif test "$shlibpath_overrides_runpath" = yes ||
10.15776 + test "$enable_shared" = no; then
10.15777 + # Fast installation is not necessary
10.15778 + enable_fast_install=needless
10.15779 +fi
10.15780 +
10.15781 +striplib=
10.15782 +old_striplib=
10.15783 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10.15784 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10.15785 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10.15786 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10.15787 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10.15788 + { echo "$as_me:$LINENO: result: yes" >&5
10.15789 +echo "${ECHO_T}yes" >&6; }
10.15790 +else
10.15791 +# FIXME - insert some real tests, host_os isn't really good enough
10.15792 + case $host_os in
10.15793 + darwin*)
10.15794 + if test -n "$STRIP" ; then
10.15795 + striplib="$STRIP -x"
10.15796 + { echo "$as_me:$LINENO: result: yes" >&5
10.15797 +echo "${ECHO_T}yes" >&6; }
10.15798 + else
10.15799 + { echo "$as_me:$LINENO: result: no" >&5
10.15800 +echo "${ECHO_T}no" >&6; }
10.15801 +fi
10.15802 + ;;
10.15803 + *)
10.15804 + { echo "$as_me:$LINENO: result: no" >&5
10.15805 +echo "${ECHO_T}no" >&6; }
10.15806 + ;;
10.15807 + esac
10.15808 +fi
10.15809 +
10.15810 +
10.15811 +
10.15812 +# The else clause should only fire when bootstrapping the
10.15813 +# libtool distribution, otherwise you forgot to ship ltmain.sh
10.15814 +# with your package, and you will get complaints that there are
10.15815 +# no rules to generate ltmain.sh.
10.15816 +if test -f "$ltmain"; then
10.15817 + # See if we are running on zsh, and set the options which allow our commands through
10.15818 + # without removal of \ escapes.
10.15819 + if test -n "${ZSH_VERSION+set}" ; then
10.15820 + setopt NO_GLOB_SUBST
10.15821 + fi
10.15822 + # Now quote all the things that may contain metacharacters while being
10.15823 + # careful not to overquote the AC_SUBSTed values. We take copies of the
10.15824 + # variables and quote the copies for generation of the libtool script.
10.15825 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10.15826 + SED SHELL STRIP \
10.15827 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10.15828 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10.15829 + deplibs_check_method reload_flag reload_cmds need_locks \
10.15830 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10.15831 + lt_cv_sys_global_symbol_to_c_name_address \
10.15832 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10.15833 + old_postinstall_cmds old_postuninstall_cmds \
10.15834 + compiler_F77 \
10.15835 + CC_F77 \
10.15836 + LD_F77 \
10.15837 + lt_prog_compiler_wl_F77 \
10.15838 + lt_prog_compiler_pic_F77 \
10.15839 + lt_prog_compiler_static_F77 \
10.15840 + lt_prog_compiler_no_builtin_flag_F77 \
10.15841 + export_dynamic_flag_spec_F77 \
10.15842 + thread_safe_flag_spec_F77 \
10.15843 + whole_archive_flag_spec_F77 \
10.15844 + enable_shared_with_static_runtimes_F77 \
10.15845 + old_archive_cmds_F77 \
10.15846 + old_archive_from_new_cmds_F77 \
10.15847 + predep_objects_F77 \
10.15848 + postdep_objects_F77 \
10.15849 + predeps_F77 \
10.15850 + postdeps_F77 \
10.15851 + compiler_lib_search_path_F77 \
10.15852 + archive_cmds_F77 \
10.15853 + archive_expsym_cmds_F77 \
10.15854 + postinstall_cmds_F77 \
10.15855 + postuninstall_cmds_F77 \
10.15856 + old_archive_from_expsyms_cmds_F77 \
10.15857 + allow_undefined_flag_F77 \
10.15858 + no_undefined_flag_F77 \
10.15859 + export_symbols_cmds_F77 \
10.15860 + hardcode_libdir_flag_spec_F77 \
10.15861 + hardcode_libdir_flag_spec_ld_F77 \
10.15862 + hardcode_libdir_separator_F77 \
10.15863 + hardcode_automatic_F77 \
10.15864 + module_cmds_F77 \
10.15865 + module_expsym_cmds_F77 \
10.15866 + lt_cv_prog_compiler_c_o_F77 \
10.15867 + exclude_expsyms_F77 \
10.15868 + include_expsyms_F77; do
10.15869 +
10.15870 + case $var in
10.15871 + old_archive_cmds_F77 | \
10.15872 + old_archive_from_new_cmds_F77 | \
10.15873 + archive_cmds_F77 | \
10.15874 + archive_expsym_cmds_F77 | \
10.15875 + module_cmds_F77 | \
10.15876 + module_expsym_cmds_F77 | \
10.15877 + old_archive_from_expsyms_cmds_F77 | \
10.15878 + export_symbols_cmds_F77 | \
10.15879 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
10.15880 + postinstall_cmds | postuninstall_cmds | \
10.15881 + old_postinstall_cmds | old_postuninstall_cmds | \
10.15882 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10.15883 + # Double-quote double-evaled strings.
10.15884 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10.15885 + ;;
10.15886 + *)
10.15887 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10.15888 + ;;
10.15889 + esac
10.15890 + done
10.15891 +
10.15892 + case $lt_echo in
10.15893 + *'\$0 --fallback-echo"')
10.15894 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10.15895 + ;;
10.15896 + esac
10.15897 +
10.15898 +cfgfile="$ofile"
10.15899 +
10.15900 + cat <<__EOF__ >> "$cfgfile"
10.15901 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
10.15902 +
10.15903 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10.15904 +
10.15905 +# Shell to use when invoking shell scripts.
10.15906 +SHELL=$lt_SHELL
10.15907 +
10.15908 +# Whether or not to build shared libraries.
10.15909 +build_libtool_libs=$enable_shared
10.15910 +
10.15911 +# Whether or not to build static libraries.
10.15912 +build_old_libs=$enable_static
10.15913 +
10.15914 +# Whether or not to add -lc for building shared libraries.
10.15915 +build_libtool_need_lc=$archive_cmds_need_lc_F77
10.15916 +
10.15917 +# Whether or not to disallow shared libs when runtime libs are static
10.15918 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
10.15919 +
10.15920 +# Whether or not to optimize for fast installation.
10.15921 +fast_install=$enable_fast_install
10.15922 +
10.15923 +# The host system.
10.15924 +host_alias=$host_alias
10.15925 +host=$host
10.15926 +
10.15927 +# An echo program that does not interpret backslashes.
10.15928 +echo=$lt_echo
10.15929 +
10.15930 +# The archiver.
10.15931 +AR=$lt_AR
10.15932 +AR_FLAGS=$lt_AR_FLAGS
10.15933 +
10.15934 +# A C compiler.
10.15935 +LTCC=$lt_LTCC
10.15936 +
10.15937 +# A language-specific compiler.
10.15938 +CC=$lt_compiler_F77
10.15939 +
10.15940 +# Is the compiler the GNU C compiler?
10.15941 +with_gcc=$GCC_F77
10.15942 +
10.15943 +# An ERE matcher.
10.15944 +EGREP=$lt_EGREP
10.15945 +
10.15946 +# The linker used to build libraries.
10.15947 +LD=$lt_LD_F77
10.15948 +
10.15949 +# Whether we need hard or soft links.
10.15950 +LN_S=$lt_LN_S
10.15951 +
10.15952 +# A BSD-compatible nm program.
10.15953 +NM=$lt_NM
10.15954 +
10.15955 +# A symbol stripping program
10.15956 +STRIP=$lt_STRIP
10.15957 +
10.15958 +# Used to examine libraries when file_magic_cmd begins "file"
10.15959 +MAGIC_CMD=$MAGIC_CMD
10.15960 +
10.15961 +# Used on cygwin: DLL creation program.
10.15962 +DLLTOOL="$DLLTOOL"
10.15963 +
10.15964 +# Used on cygwin: object dumper.
10.15965 +OBJDUMP="$OBJDUMP"
10.15966 +
10.15967 +# Used on cygwin: assembler.
10.15968 +AS="$AS"
10.15969 +
10.15970 +# The name of the directory that contains temporary libtool files.
10.15971 +objdir=$objdir
10.15972 +
10.15973 +# How to create reloadable object files.
10.15974 +reload_flag=$lt_reload_flag
10.15975 +reload_cmds=$lt_reload_cmds
10.15976 +
10.15977 +# How to pass a linker flag through the compiler.
10.15978 +wl=$lt_lt_prog_compiler_wl_F77
10.15979 +
10.15980 +# Object file suffix (normally "o").
10.15981 +objext="$ac_objext"
10.15982 +
10.15983 +# Old archive suffix (normally "a").
10.15984 +libext="$libext"
10.15985 +
10.15986 +# Shared library suffix (normally ".so").
10.15987 +shrext_cmds='$shrext_cmds'
10.15988 +
10.15989 +# Executable file suffix (normally "").
10.15990 +exeext="$exeext"
10.15991 +
10.15992 +# Additional compiler flags for building library objects.
10.15993 +pic_flag=$lt_lt_prog_compiler_pic_F77
10.15994 +pic_mode=$pic_mode
10.15995 +
10.15996 +# What is the maximum length of a command?
10.15997 +max_cmd_len=$lt_cv_sys_max_cmd_len
10.15998 +
10.15999 +# Does compiler simultaneously support -c and -o options?
10.16000 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
10.16001 +
10.16002 +# Must we lock files when doing compilation ?
10.16003 +need_locks=$lt_need_locks
10.16004 +
10.16005 +# Do we need the lib prefix for modules?
10.16006 +need_lib_prefix=$need_lib_prefix
10.16007 +
10.16008 +# Do we need a version for libraries?
10.16009 +need_version=$need_version
10.16010 +
10.16011 +# Whether dlopen is supported.
10.16012 +dlopen_support=$enable_dlopen
10.16013 +
10.16014 +# Whether dlopen of programs is supported.
10.16015 +dlopen_self=$enable_dlopen_self
10.16016 +
10.16017 +# Whether dlopen of statically linked programs is supported.
10.16018 +dlopen_self_static=$enable_dlopen_self_static
10.16019 +
10.16020 +# Compiler flag to prevent dynamic linking.
10.16021 +link_static_flag=$lt_lt_prog_compiler_static_F77
10.16022 +
10.16023 +# Compiler flag to turn off builtin functions.
10.16024 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
10.16025 +
10.16026 +# Compiler flag to allow reflexive dlopens.
10.16027 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
10.16028 +
10.16029 +# Compiler flag to generate shared objects directly from archives.
10.16030 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
10.16031 +
10.16032 +# Compiler flag to generate thread-safe objects.
10.16033 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
10.16034 +
10.16035 +# Library versioning type.
10.16036 +version_type=$version_type
10.16037 +
10.16038 +# Format of library name prefix.
10.16039 +libname_spec=$lt_libname_spec
10.16040 +
10.16041 +# List of archive names. First name is the real one, the rest are links.
10.16042 +# The last name is the one that the linker finds with -lNAME.
10.16043 +library_names_spec=$lt_library_names_spec
10.16044 +
10.16045 +# The coded name of the library, if different from the real name.
10.16046 +soname_spec=$lt_soname_spec
10.16047 +
10.16048 +# Commands used to build and install an old-style archive.
10.16049 +RANLIB=$lt_RANLIB
10.16050 +old_archive_cmds=$lt_old_archive_cmds_F77
10.16051 +old_postinstall_cmds=$lt_old_postinstall_cmds
10.16052 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
10.16053 +
10.16054 +# Create an old-style archive from a shared archive.
10.16055 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
10.16056 +
10.16057 +# Create a temporary old-style archive to link instead of a shared archive.
10.16058 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
10.16059 +
10.16060 +# Commands used to build and install a shared archive.
10.16061 +archive_cmds=$lt_archive_cmds_F77
10.16062 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
10.16063 +postinstall_cmds=$lt_postinstall_cmds
10.16064 +postuninstall_cmds=$lt_postuninstall_cmds
10.16065 +
10.16066 +# Commands used to build a loadable module (assumed same as above if empty)
10.16067 +module_cmds=$lt_module_cmds_F77
10.16068 +module_expsym_cmds=$lt_module_expsym_cmds_F77
10.16069 +
10.16070 +# Commands to strip libraries.
10.16071 +old_striplib=$lt_old_striplib
10.16072 +striplib=$lt_striplib
10.16073 +
10.16074 +# Dependencies to place before the objects being linked to create a
10.16075 +# shared library.
10.16076 +predep_objects=$lt_predep_objects_F77
10.16077 +
10.16078 +# Dependencies to place after the objects being linked to create a
10.16079 +# shared library.
10.16080 +postdep_objects=$lt_postdep_objects_F77
10.16081 +
10.16082 +# Dependencies to place before the objects being linked to create a
10.16083 +# shared library.
10.16084 +predeps=$lt_predeps_F77
10.16085 +
10.16086 +# Dependencies to place after the objects being linked to create a
10.16087 +# shared library.
10.16088 +postdeps=$lt_postdeps_F77
10.16089 +
10.16090 +# The library search path used internally by the compiler when linking
10.16091 +# a shared library.
10.16092 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
10.16093 +
10.16094 +# Method to check whether dependent libraries are shared objects.
10.16095 +deplibs_check_method=$lt_deplibs_check_method
10.16096 +
10.16097 +# Command to use when deplibs_check_method == file_magic.
10.16098 +file_magic_cmd=$lt_file_magic_cmd
10.16099 +
10.16100 +# Flag that allows shared libraries with undefined symbols to be built.
10.16101 +allow_undefined_flag=$lt_allow_undefined_flag_F77
10.16102 +
10.16103 +# Flag that forces no undefined symbols.
10.16104 +no_undefined_flag=$lt_no_undefined_flag_F77
10.16105 +
10.16106 +# Commands used to finish a libtool library installation in a directory.
10.16107 +finish_cmds=$lt_finish_cmds
10.16108 +
10.16109 +# Same as above, but a single script fragment to be evaled but not shown.
10.16110 +finish_eval=$lt_finish_eval
10.16111 +
10.16112 +# Take the output of nm and produce a listing of raw symbols and C names.
10.16113 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10.16114 +
10.16115 +# Transform the output of nm in a proper C declaration
10.16116 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10.16117 +
10.16118 +# Transform the output of nm in a C name address pair
10.16119 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10.16120 +
10.16121 +# This is the shared library runtime path variable.
10.16122 +runpath_var=$runpath_var
10.16123 +
10.16124 +# This is the shared library path variable.
10.16125 +shlibpath_var=$shlibpath_var
10.16126 +
10.16127 +# Is shlibpath searched before the hard-coded library search path?
10.16128 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10.16129 +
10.16130 +# How to hardcode a shared library path into an executable.
10.16131 +hardcode_action=$hardcode_action_F77
10.16132 +
10.16133 +# Whether we should hardcode library paths into libraries.
10.16134 +hardcode_into_libs=$hardcode_into_libs
10.16135 +
10.16136 +# Flag to hardcode \$libdir into a binary during linking.
10.16137 +# This must work even if \$libdir does not exist.
10.16138 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
10.16139 +
10.16140 +# If ld is used when linking, flag to hardcode \$libdir into
10.16141 +# a binary during linking. This must work even if \$libdir does
10.16142 +# not exist.
10.16143 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
10.16144 +
10.16145 +# Whether we need a single -rpath flag with a separated argument.
10.16146 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
10.16147 +
10.16148 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10.16149 +# resulting binary.
10.16150 +hardcode_direct=$hardcode_direct_F77
10.16151 +
10.16152 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10.16153 +# resulting binary.
10.16154 +hardcode_minus_L=$hardcode_minus_L_F77
10.16155 +
10.16156 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10.16157 +# the resulting binary.
10.16158 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
10.16159 +
10.16160 +# Set to yes if building a shared library automatically hardcodes DIR into the library
10.16161 +# and all subsequent libraries and executables linked against it.
10.16162 +hardcode_automatic=$hardcode_automatic_F77
10.16163 +
10.16164 +# Variables whose values should be saved in libtool wrapper scripts and
10.16165 +# restored at relink time.
10.16166 +variables_saved_for_relink="$variables_saved_for_relink"
10.16167 +
10.16168 +# Whether libtool must link a program against all its dependency libraries.
10.16169 +link_all_deplibs=$link_all_deplibs_F77
10.16170 +
10.16171 +# Compile-time system search path for libraries
10.16172 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10.16173 +
10.16174 +# Run-time system search path for libraries
10.16175 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10.16176 +
10.16177 +# Fix the shell variable \$srcfile for the compiler.
10.16178 +fix_srcfile_path="$fix_srcfile_path_F77"
10.16179 +
10.16180 +# Set to yes if exported symbols are required.
10.16181 +always_export_symbols=$always_export_symbols_F77
10.16182 +
10.16183 +# The commands to list exported symbols.
10.16184 +export_symbols_cmds=$lt_export_symbols_cmds_F77
10.16185 +
10.16186 +# The commands to extract the exported symbol list from a shared archive.
10.16187 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
10.16188 +
10.16189 +# Symbols that should not be listed in the preloaded symbols.
10.16190 +exclude_expsyms=$lt_exclude_expsyms_F77
10.16191 +
10.16192 +# Symbols that must always be exported.
10.16193 +include_expsyms=$lt_include_expsyms_F77
10.16194 +
10.16195 +# ### END LIBTOOL TAG CONFIG: $tagname
10.16196 +
10.16197 +__EOF__
10.16198 +
10.16199 +
10.16200 +else
10.16201 + # If there is no Makefile yet, we rely on a make rule to execute
10.16202 + # `config.status --recheck' to rerun these tests and create the
10.16203 + # libtool script then.
10.16204 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10.16205 + if test -f "$ltmain_in"; then
10.16206 + test -f Makefile && make "$ltmain"
10.16207 + fi
10.16208 +fi
10.16209 +
10.16210 +
10.16211 +ac_ext=c
10.16212 +ac_cpp='$CPP $CPPFLAGS'
10.16213 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.16214 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.16215 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.16216 +
10.16217 +CC="$lt_save_CC"
10.16218 +
10.16219 + else
10.16220 + tagname=""
10.16221 + fi
10.16222 + ;;
10.16223 +
10.16224 + GCJ)
10.16225 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
10.16226 +
10.16227 +
10.16228 +# Source file extension for Java test sources.
10.16229 +ac_ext=java
10.16230 +
10.16231 +# Object file extension for compiled Java test sources.
10.16232 +objext=o
10.16233 +objext_GCJ=$objext
10.16234 +
10.16235 +# Code to be used in simple compile tests
10.16236 +lt_simple_compile_test_code="class foo {}\n"
10.16237 +
10.16238 +# Code to be used in simple link tests
10.16239 +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
10.16240 +
10.16241 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10.16242 +
10.16243 +# If no C compiler was specified, use CC.
10.16244 +LTCC=${LTCC-"$CC"}
10.16245 +
10.16246 +# Allow CC to be a program name with arguments.
10.16247 +compiler=$CC
10.16248 +
10.16249 +
10.16250 +# Allow CC to be a program name with arguments.
10.16251 +lt_save_CC="$CC"
10.16252 +CC=${GCJ-"gcj"}
10.16253 +compiler=$CC
10.16254 +compiler_GCJ=$CC
10.16255 +
10.16256 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
10.16257 +archive_cmds_need_lc_GCJ=no
10.16258 +
10.16259 +## CAVEAT EMPTOR:
10.16260 +## There is no encapsulation within the following macros, do not change
10.16261 +## the running order or otherwise move them around unless you know exactly
10.16262 +## what you are doing...
10.16263 +
10.16264 +lt_prog_compiler_no_builtin_flag_GCJ=
10.16265 +
10.16266 +if test "$GCC" = yes; then
10.16267 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
10.16268 +
10.16269 +
10.16270 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10.16271 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10.16272 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10.16273 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.16274 +else
10.16275 + lt_cv_prog_compiler_rtti_exceptions=no
10.16276 + ac_outfile=conftest.$ac_objext
10.16277 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.16278 + lt_compiler_flag="-fno-rtti -fno-exceptions"
10.16279 + # Insert the option either (1) after the last *FLAGS variable, or
10.16280 + # (2) before a word containing "conftest.", or (3) at the end.
10.16281 + # Note that $ac_compile itself does not contain backslashes and begins
10.16282 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.16283 + # The option is referenced via a variable to avoid confusing sed.
10.16284 + lt_compile=`echo "$ac_compile" | $SED \
10.16285 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.16286 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.16287 + -e 's:$: $lt_compiler_flag:'`
10.16288 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.16289 + (eval "$lt_compile" 2>conftest.err)
10.16290 + ac_status=$?
10.16291 + cat conftest.err >&5
10.16292 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.16293 + if (exit $ac_status) && test -s "$ac_outfile"; then
10.16294 + # The compiler can only warn and ignore the option if not recognized
10.16295 + # So say no if there are warnings
10.16296 + if test ! -s conftest.err; then
10.16297 + lt_cv_prog_compiler_rtti_exceptions=yes
10.16298 + fi
10.16299 + fi
10.16300 + $rm conftest*
10.16301 +
10.16302 +fi
10.16303 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10.16304 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10.16305 +
10.16306 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10.16307 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
10.16308 +else
10.16309 + :
10.16310 +fi
10.16311 +
10.16312 +fi
10.16313 +
10.16314 +lt_prog_compiler_wl_GCJ=
10.16315 +lt_prog_compiler_pic_GCJ=
10.16316 +lt_prog_compiler_static_GCJ=
10.16317 +
10.16318 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10.16319 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10.16320 +
10.16321 + if test "$GCC" = yes; then
10.16322 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16323 + lt_prog_compiler_static_GCJ='-static'
10.16324 +
10.16325 + case $host_os in
10.16326 + aix*)
10.16327 + # All AIX code is PIC.
10.16328 + if test "$host_cpu" = ia64; then
10.16329 + # AIX 5 now supports IA64 processor
10.16330 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16331 + fi
10.16332 + ;;
10.16333 +
10.16334 + amigaos*)
10.16335 + # FIXME: we need at least 68020 code to build shared libraries, but
10.16336 + # adding the `-m68020' flag to GCC prevents building anything better,
10.16337 + # like `-m68040'.
10.16338 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
10.16339 + ;;
10.16340 +
10.16341 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10.16342 + # PIC is the default for these OSes.
10.16343 + ;;
10.16344 +
10.16345 + mingw* | pw32* | os2*)
10.16346 + # This hack is so that the source file can tell whether it is being
10.16347 + # built for inclusion in a dll (and should export symbols for example).
10.16348 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
10.16349 + ;;
10.16350 +
10.16351 + darwin* | rhapsody*)
10.16352 + # PIC is the default on this platform
10.16353 + # Common symbols not allowed in MH_DYLIB files
10.16354 + lt_prog_compiler_pic_GCJ='-fno-common'
10.16355 + ;;
10.16356 +
10.16357 + msdosdjgpp*)
10.16358 + # Just because we use GCC doesn't mean we suddenly get shared libraries
10.16359 + # on systems that don't support them.
10.16360 + lt_prog_compiler_can_build_shared_GCJ=no
10.16361 + enable_shared=no
10.16362 + ;;
10.16363 +
10.16364 + sysv4*MP*)
10.16365 + if test -d /usr/nec; then
10.16366 + lt_prog_compiler_pic_GCJ=-Kconform_pic
10.16367 + fi
10.16368 + ;;
10.16369 +
10.16370 + hpux*)
10.16371 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.16372 + # not for PA HP-UX.
10.16373 + case "$host_cpu" in
10.16374 + hppa*64*|ia64*)
10.16375 + # +Z the default
10.16376 + ;;
10.16377 + *)
10.16378 + lt_prog_compiler_pic_GCJ='-fPIC'
10.16379 + ;;
10.16380 + esac
10.16381 + ;;
10.16382 +
10.16383 + *)
10.16384 + lt_prog_compiler_pic_GCJ='-fPIC'
10.16385 + ;;
10.16386 + esac
10.16387 + else
10.16388 + # PORTME Check for flag to pass linker flags through the system compiler.
10.16389 + case $host_os in
10.16390 + aix*)
10.16391 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16392 + if test "$host_cpu" = ia64; then
10.16393 + # AIX 5 now supports IA64 processor
10.16394 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16395 + else
10.16396 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
10.16397 + fi
10.16398 + ;;
10.16399 +
10.16400 + mingw* | pw32* | os2*)
10.16401 + # This hack is so that the source file can tell whether it is being
10.16402 + # built for inclusion in a dll (and should export symbols for example).
10.16403 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
10.16404 + ;;
10.16405 +
10.16406 + hpux9* | hpux10* | hpux11*)
10.16407 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16408 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10.16409 + # not for PA HP-UX.
10.16410 + case "$host_cpu" in
10.16411 + hppa*64*|ia64*)
10.16412 + # +Z the default
10.16413 + ;;
10.16414 + *)
10.16415 + lt_prog_compiler_pic_GCJ='+Z'
10.16416 + ;;
10.16417 + esac
10.16418 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
10.16419 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
10.16420 + ;;
10.16421 +
10.16422 + irix5* | irix6* | nonstopux*)
10.16423 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16424 + # PIC (with -KPIC) is the default.
10.16425 + lt_prog_compiler_static_GCJ='-non_shared'
10.16426 + ;;
10.16427 +
10.16428 + newsos6)
10.16429 + lt_prog_compiler_pic_GCJ='-KPIC'
10.16430 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16431 + ;;
10.16432 +
10.16433 + linux*)
10.16434 + case $CC in
10.16435 + icc* | ecc*)
10.16436 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16437 + lt_prog_compiler_pic_GCJ='-KPIC'
10.16438 + lt_prog_compiler_static_GCJ='-static'
10.16439 + ;;
10.16440 + ccc*)
10.16441 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16442 + # All Alpha code is PIC.
10.16443 + lt_prog_compiler_static_GCJ='-non_shared'
10.16444 + ;;
10.16445 + esac
10.16446 + ;;
10.16447 +
10.16448 + osf3* | osf4* | osf5*)
10.16449 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16450 + # All OSF/1 code is PIC.
10.16451 + lt_prog_compiler_static_GCJ='-non_shared'
10.16452 + ;;
10.16453 +
10.16454 + sco3.2v5*)
10.16455 + lt_prog_compiler_pic_GCJ='-Kpic'
10.16456 + lt_prog_compiler_static_GCJ='-dn'
10.16457 + ;;
10.16458 +
10.16459 + solaris*)
10.16460 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16461 + lt_prog_compiler_pic_GCJ='-KPIC'
10.16462 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16463 + ;;
10.16464 +
10.16465 + sunos4*)
10.16466 + lt_prog_compiler_wl_GCJ='-Qoption ld '
10.16467 + lt_prog_compiler_pic_GCJ='-PIC'
10.16468 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16469 + ;;
10.16470 +
10.16471 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.16472 + lt_prog_compiler_wl_GCJ='-Wl,'
10.16473 + lt_prog_compiler_pic_GCJ='-KPIC'
10.16474 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16475 + ;;
10.16476 +
10.16477 + sysv4*MP*)
10.16478 + if test -d /usr/nec ;then
10.16479 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
10.16480 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16481 + fi
10.16482 + ;;
10.16483 +
10.16484 + uts4*)
10.16485 + lt_prog_compiler_pic_GCJ='-pic'
10.16486 + lt_prog_compiler_static_GCJ='-Bstatic'
10.16487 + ;;
10.16488 +
10.16489 + *)
10.16490 + lt_prog_compiler_can_build_shared_GCJ=no
10.16491 + ;;
10.16492 + esac
10.16493 + fi
10.16494 +
10.16495 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
10.16496 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
10.16497 +
10.16498 +#
10.16499 +# Check to make sure the PIC flag actually works.
10.16500 +#
10.16501 +if test -n "$lt_prog_compiler_pic_GCJ"; then
10.16502 +
10.16503 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
10.16504 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
10.16505 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
10.16506 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.16507 +else
10.16508 + lt_prog_compiler_pic_works_GCJ=no
10.16509 + ac_outfile=conftest.$ac_objext
10.16510 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.16511 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
10.16512 + # Insert the option either (1) after the last *FLAGS variable, or
10.16513 + # (2) before a word containing "conftest.", or (3) at the end.
10.16514 + # Note that $ac_compile itself does not contain backslashes and begins
10.16515 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.16516 + # The option is referenced via a variable to avoid confusing sed.
10.16517 + lt_compile=`echo "$ac_compile" | $SED \
10.16518 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.16519 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.16520 + -e 's:$: $lt_compiler_flag:'`
10.16521 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.16522 + (eval "$lt_compile" 2>conftest.err)
10.16523 + ac_status=$?
10.16524 + cat conftest.err >&5
10.16525 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.16526 + if (exit $ac_status) && test -s "$ac_outfile"; then
10.16527 + # The compiler can only warn and ignore the option if not recognized
10.16528 + # So say no if there are warnings
10.16529 + if test ! -s conftest.err; then
10.16530 + lt_prog_compiler_pic_works_GCJ=yes
10.16531 + fi
10.16532 + fi
10.16533 + $rm conftest*
10.16534 +
10.16535 +fi
10.16536 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
10.16537 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
10.16538 +
10.16539 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
10.16540 + case $lt_prog_compiler_pic_GCJ in
10.16541 + "" | " "*) ;;
10.16542 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
10.16543 + esac
10.16544 +else
10.16545 + lt_prog_compiler_pic_GCJ=
10.16546 + lt_prog_compiler_can_build_shared_GCJ=no
10.16547 +fi
10.16548 +
10.16549 +fi
10.16550 +case "$host_os" in
10.16551 + # For platforms which do not support PIC, -DPIC is meaningless:
10.16552 + *djgpp*)
10.16553 + lt_prog_compiler_pic_GCJ=
10.16554 + ;;
10.16555 + *)
10.16556 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
10.16557 + ;;
10.16558 +esac
10.16559 +
10.16560 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10.16561 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10.16562 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
10.16563 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.16564 +else
10.16565 + lt_cv_prog_compiler_c_o_GCJ=no
10.16566 + $rm -r conftest 2>/dev/null
10.16567 + mkdir conftest
10.16568 + cd conftest
10.16569 + mkdir out
10.16570 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.16571 +
10.16572 + lt_compiler_flag="-o out/conftest2.$ac_objext"
10.16573 + # Insert the option either (1) after the last *FLAGS variable, or
10.16574 + # (2) before a word containing "conftest.", or (3) at the end.
10.16575 + # Note that $ac_compile itself does not contain backslashes and begins
10.16576 + # with a dollar sign (not a hyphen), so the echo should work correctly.
10.16577 + lt_compile=`echo "$ac_compile" | $SED \
10.16578 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10.16579 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10.16580 + -e 's:$: $lt_compiler_flag:'`
10.16581 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10.16582 + (eval "$lt_compile" 2>out/conftest.err)
10.16583 + ac_status=$?
10.16584 + cat out/conftest.err >&5
10.16585 + echo "$as_me:__oline__: \$? = $ac_status" >&5
10.16586 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
10.16587 + then
10.16588 + # The compiler can only warn and ignore the option if not recognized
10.16589 + # So say no if there are warnings
10.16590 + if test ! -s out/conftest.err; then
10.16591 + lt_cv_prog_compiler_c_o_GCJ=yes
10.16592 + fi
10.16593 + fi
10.16594 + chmod u+w .
10.16595 + $rm conftest*
10.16596 + # SGI C++ compiler will create directory out/ii_files/ for
10.16597 + # template instantiation
10.16598 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10.16599 + $rm out/* && rmdir out
10.16600 + cd ..
10.16601 + rmdir conftest
10.16602 + $rm conftest*
10.16603 +
10.16604 +fi
10.16605 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
10.16606 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
10.16607 +
10.16608 +
10.16609 +hard_links="nottested"
10.16610 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
10.16611 + # do not overwrite the value of need_locks provided by the user
10.16612 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10.16613 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10.16614 + hard_links=yes
10.16615 + $rm conftest*
10.16616 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.16617 + touch conftest.a
10.16618 + ln conftest.a conftest.b 2>&5 || hard_links=no
10.16619 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
10.16620 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10.16621 +echo "${ECHO_T}$hard_links" >&6; }
10.16622 + if test "$hard_links" = no; then
10.16623 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10.16624 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10.16625 + need_locks=warn
10.16626 + fi
10.16627 +else
10.16628 + need_locks=no
10.16629 +fi
10.16630 +
10.16631 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10.16632 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10.16633 +
10.16634 + runpath_var=
10.16635 + allow_undefined_flag_GCJ=
10.16636 + enable_shared_with_static_runtimes_GCJ=no
10.16637 + archive_cmds_GCJ=
10.16638 + archive_expsym_cmds_GCJ=
10.16639 + old_archive_From_new_cmds_GCJ=
10.16640 + old_archive_from_expsyms_cmds_GCJ=
10.16641 + export_dynamic_flag_spec_GCJ=
10.16642 + whole_archive_flag_spec_GCJ=
10.16643 + thread_safe_flag_spec_GCJ=
10.16644 + hardcode_libdir_flag_spec_GCJ=
10.16645 + hardcode_libdir_flag_spec_ld_GCJ=
10.16646 + hardcode_libdir_separator_GCJ=
10.16647 + hardcode_direct_GCJ=no
10.16648 + hardcode_minus_L_GCJ=no
10.16649 + hardcode_shlibpath_var_GCJ=unsupported
10.16650 + link_all_deplibs_GCJ=unknown
10.16651 + hardcode_automatic_GCJ=no
10.16652 + module_cmds_GCJ=
10.16653 + module_expsym_cmds_GCJ=
10.16654 + always_export_symbols_GCJ=no
10.16655 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10.16656 + # include_expsyms should be a list of space-separated symbols to be *always*
10.16657 + # included in the symbol list
10.16658 + include_expsyms_GCJ=
10.16659 + # exclude_expsyms can be an extended regexp of symbols to exclude
10.16660 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
10.16661 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10.16662 + # as well as any symbol that contains `d'.
10.16663 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
10.16664 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10.16665 + # platforms (ab)use it in PIC code, but their linkers get confused if
10.16666 + # the symbol is explicitly referenced. Since portable code cannot
10.16667 + # rely on this symbol name, it's probably fine to never include it in
10.16668 + # preloaded symbol tables.
10.16669 + extract_expsyms_cmds=
10.16670 +
10.16671 + case $host_os in
10.16672 + cygwin* | mingw* | pw32*)
10.16673 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
10.16674 + # When not using gcc, we currently assume that we are using
10.16675 + # Microsoft Visual C++.
10.16676 + if test "$GCC" != yes; then
10.16677 + with_gnu_ld=no
10.16678 + fi
10.16679 + ;;
10.16680 + openbsd*)
10.16681 + with_gnu_ld=no
10.16682 + ;;
10.16683 + esac
10.16684 +
10.16685 + ld_shlibs_GCJ=yes
10.16686 + if test "$with_gnu_ld" = yes; then
10.16687 + # If archive_cmds runs LD, not CC, wlarc should be empty
10.16688 + wlarc='${wl}'
10.16689 +
10.16690 + # See if GNU ld supports shared libraries.
10.16691 + case $host_os in
10.16692 + aix3* | aix4* | aix5*)
10.16693 + # On AIX/PPC, the GNU linker is very broken
10.16694 + if test "$host_cpu" != ia64; then
10.16695 + ld_shlibs_GCJ=no
10.16696 + cat <<EOF 1>&2
10.16697 +
10.16698 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10.16699 +*** to be unable to reliably create shared libraries on AIX.
10.16700 +*** Therefore, libtool is disabling shared libraries support. If you
10.16701 +*** really care for shared libraries, you may want to modify your PATH
10.16702 +*** so that a non-GNU linker is found, and then restart.
10.16703 +
10.16704 +EOF
10.16705 + fi
10.16706 + ;;
10.16707 +
10.16708 + amigaos*)
10.16709 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10.16710 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.16711 + hardcode_minus_L_GCJ=yes
10.16712 +
10.16713 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10.16714 + # that the semantics of dynamic libraries on AmigaOS, at least up
10.16715 + # to version 4, is to share data among multiple programs linked
10.16716 + # with the same dynamic library. Since this doesn't match the
10.16717 + # behavior of shared libraries on other platforms, we can't use
10.16718 + # them.
10.16719 + ld_shlibs_GCJ=no
10.16720 + ;;
10.16721 +
10.16722 + beos*)
10.16723 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.16724 + allow_undefined_flag_GCJ=unsupported
10.16725 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10.16726 + # support --undefined. This deserves some investigation. FIXME
10.16727 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.16728 + else
10.16729 + ld_shlibs_GCJ=no
10.16730 + fi
10.16731 + ;;
10.16732 +
10.16733 + cygwin* | mingw* | pw32*)
10.16734 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
10.16735 + # as there is no search path for DLLs.
10.16736 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.16737 + allow_undefined_flag_GCJ=unsupported
10.16738 + always_export_symbols_GCJ=no
10.16739 + enable_shared_with_static_runtimes_GCJ=yes
10.16740 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10.16741 +
10.16742 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10.16743 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.16744 + # If the export-symbols file already is a .def file (1st line
10.16745 + # is EXPORTS), use it as is; otherwise, prepend...
10.16746 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10.16747 + cp $export_symbols $output_objdir/$soname.def;
10.16748 + else
10.16749 + echo EXPORTS > $output_objdir/$soname.def;
10.16750 + cat $export_symbols >> $output_objdir/$soname.def;
10.16751 + fi~
10.16752 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10.16753 + else
10.16754 + ld_shlibs=no
10.16755 + fi
10.16756 + ;;
10.16757 +
10.16758 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.16759 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.16760 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10.16761 + wlarc=
10.16762 + else
10.16763 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.16764 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.16765 + fi
10.16766 + ;;
10.16767 +
10.16768 + solaris* | sysv5*)
10.16769 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10.16770 + ld_shlibs_GCJ=no
10.16771 + cat <<EOF 1>&2
10.16772 +
10.16773 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10.16774 +*** create shared libraries on Solaris systems. Therefore, libtool
10.16775 +*** is disabling shared libraries support. We urge you to upgrade GNU
10.16776 +*** binutils to release 2.9.1 or newer. Another option is to modify
10.16777 +*** your PATH or compiler configuration so that the native linker is
10.16778 +*** used, and then restart.
10.16779 +
10.16780 +EOF
10.16781 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.16782 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.16783 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.16784 + else
10.16785 + ld_shlibs_GCJ=no
10.16786 + fi
10.16787 + ;;
10.16788 +
10.16789 + sunos4*)
10.16790 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.16791 + wlarc=
10.16792 + hardcode_direct_GCJ=yes
10.16793 + hardcode_shlibpath_var_GCJ=no
10.16794 + ;;
10.16795 +
10.16796 + linux*)
10.16797 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.16798 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.16799 + archive_cmds_GCJ="$tmp_archive_cmds"
10.16800 + supports_anon_versioning=no
10.16801 + case `$LD -v 2>/dev/null` in
10.16802 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10.16803 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10.16804 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10.16805 + *\ 2.11.*) ;; # other 2.11 versions
10.16806 + *) supports_anon_versioning=yes ;;
10.16807 + esac
10.16808 + if test $supports_anon_versioning = yes; then
10.16809 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
10.16810 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10.16811 +$echo "local: *; };" >> $output_objdir/$libname.ver~
10.16812 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10.16813 + else
10.16814 + archive_expsym_cmds_GCJ="$tmp_archive_cmds"
10.16815 + fi
10.16816 + link_all_deplibs_GCJ=no
10.16817 + else
10.16818 + ld_shlibs_GCJ=no
10.16819 + fi
10.16820 + ;;
10.16821 +
10.16822 + *)
10.16823 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10.16824 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10.16825 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10.16826 + else
10.16827 + ld_shlibs_GCJ=no
10.16828 + fi
10.16829 + ;;
10.16830 + esac
10.16831 +
10.16832 + if test "$ld_shlibs_GCJ" = yes; then
10.16833 + runpath_var=LD_RUN_PATH
10.16834 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
10.16835 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
10.16836 + # ancient GNU ld didn't support --whole-archive et. al.
10.16837 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10.16838 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10.16839 + else
10.16840 + whole_archive_flag_spec_GCJ=
10.16841 + fi
10.16842 + fi
10.16843 + else
10.16844 + # PORTME fill in a description of your system's linker (not GNU ld)
10.16845 + case $host_os in
10.16846 + aix3*)
10.16847 + allow_undefined_flag_GCJ=unsupported
10.16848 + always_export_symbols_GCJ=yes
10.16849 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10.16850 + # Note: this linker hardcodes the directories in LIBPATH if there
10.16851 + # are no directories specified by -L.
10.16852 + hardcode_minus_L_GCJ=yes
10.16853 + if test "$GCC" = yes && test -z "$link_static_flag"; then
10.16854 + # Neither direct hardcoding nor static linking is supported with a
10.16855 + # broken collect2.
10.16856 + hardcode_direct_GCJ=unsupported
10.16857 + fi
10.16858 + ;;
10.16859 +
10.16860 + aix4* | aix5*)
10.16861 + if test "$host_cpu" = ia64; then
10.16862 + # On IA64, the linker does run time linking by default, so we don't
10.16863 + # have to do anything special.
10.16864 + aix_use_runtimelinking=no
10.16865 + exp_sym_flag='-Bexport'
10.16866 + no_entry_flag=""
10.16867 + else
10.16868 + # If we're using GNU nm, then we don't want the "-C" option.
10.16869 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
10.16870 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10.16871 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.16872 + else
10.16873 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10.16874 + fi
10.16875 + aix_use_runtimelinking=no
10.16876 +
10.16877 + # Test if we are trying to use run time linking or normal
10.16878 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10.16879 + # need to do runtime linking.
10.16880 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10.16881 + for ld_flag in $LDFLAGS; do
10.16882 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10.16883 + aix_use_runtimelinking=yes
10.16884 + break
10.16885 + fi
10.16886 + done
10.16887 + esac
10.16888 +
10.16889 + exp_sym_flag='-bexport'
10.16890 + no_entry_flag='-bnoentry'
10.16891 + fi
10.16892 +
10.16893 + # When large executables or shared objects are built, AIX ld can
10.16894 + # have problems creating the table of contents. If linking a library
10.16895 + # or program results in "error TOC overflow" add -mminimal-toc to
10.16896 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10.16897 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10.16898 +
10.16899 + archive_cmds_GCJ=''
10.16900 + hardcode_direct_GCJ=yes
10.16901 + hardcode_libdir_separator_GCJ=':'
10.16902 + link_all_deplibs_GCJ=yes
10.16903 +
10.16904 + if test "$GCC" = yes; then
10.16905 + case $host_os in aix4.012|aix4.012.*)
10.16906 + # We only want to do this on AIX 4.2 and lower, the check
10.16907 + # below for broken collect2 doesn't work under 4.3+
10.16908 + collect2name=`${CC} -print-prog-name=collect2`
10.16909 + if test -f "$collect2name" && \
10.16910 + strings "$collect2name" | grep resolve_lib_name >/dev/null
10.16911 + then
10.16912 + # We have reworked collect2
10.16913 + hardcode_direct_GCJ=yes
10.16914 + else
10.16915 + # We have old collect2
10.16916 + hardcode_direct_GCJ=unsupported
10.16917 + # It fails to find uninstalled libraries when the uninstalled
10.16918 + # path is not listed in the libpath. Setting hardcode_minus_L
10.16919 + # to unsupported forces relinking
10.16920 + hardcode_minus_L_GCJ=yes
10.16921 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.16922 + hardcode_libdir_separator_GCJ=
10.16923 + fi
10.16924 + esac
10.16925 + shared_flag='-shared'
10.16926 + else
10.16927 + # not using gcc
10.16928 + if test "$host_cpu" = ia64; then
10.16929 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10.16930 + # chokes on -Wl,-G. The following line is correct:
10.16931 + shared_flag='-G'
10.16932 + else
10.16933 + if test "$aix_use_runtimelinking" = yes; then
10.16934 + shared_flag='${wl}-G'
10.16935 + else
10.16936 + shared_flag='${wl}-bM:SRE'
10.16937 + fi
10.16938 + fi
10.16939 + fi
10.16940 +
10.16941 + # It seems that -bexpall does not export symbols beginning with
10.16942 + # underscore (_), so it is better to generate a list of symbols to export.
10.16943 + always_export_symbols_GCJ=yes
10.16944 + if test "$aix_use_runtimelinking" = yes; then
10.16945 + # Warning - without using the other runtime loading flags (-brtl),
10.16946 + # -berok will link without error, but may produce a broken library.
10.16947 + allow_undefined_flag_GCJ='-berok'
10.16948 + # Determine the default libpath from the value encoded in an empty executable.
10.16949 + cat >conftest.$ac_ext <<_ACEOF
10.16950 +/* confdefs.h. */
10.16951 +_ACEOF
10.16952 +cat confdefs.h >>conftest.$ac_ext
10.16953 +cat >>conftest.$ac_ext <<_ACEOF
10.16954 +/* end confdefs.h. */
10.16955 +
10.16956 +int
10.16957 +main ()
10.16958 +{
10.16959 +
10.16960 + ;
10.16961 + return 0;
10.16962 +}
10.16963 +_ACEOF
10.16964 +rm -f conftest.$ac_objext conftest$ac_exeext
10.16965 +if { (ac_try="$ac_link"
10.16966 +case "(($ac_try" in
10.16967 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.16968 + *) ac_try_echo=$ac_try;;
10.16969 +esac
10.16970 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.16971 + (eval "$ac_link") 2>conftest.er1
10.16972 + ac_status=$?
10.16973 + grep -v '^ *+' conftest.er1 >conftest.err
10.16974 + rm -f conftest.er1
10.16975 + cat conftest.err >&5
10.16976 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.16977 + (exit $ac_status); } && {
10.16978 + test -z "$ac_c_werror_flag" ||
10.16979 + test ! -s conftest.err
10.16980 + } && test -s conftest$ac_exeext &&
10.16981 + $as_test_x conftest$ac_exeext; then
10.16982 +
10.16983 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.16984 +}'`
10.16985 +# Check for a 64-bit object if we didn't find anything.
10.16986 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.16987 +}'`; fi
10.16988 +else
10.16989 + echo "$as_me: failed program was:" >&5
10.16990 +sed 's/^/| /' conftest.$ac_ext >&5
10.16991 +
10.16992 +
10.16993 +fi
10.16994 +
10.16995 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.16996 + conftest$ac_exeext conftest.$ac_ext
10.16997 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.16998 +
10.16999 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
10.17000 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10.17001 + else
10.17002 + if test "$host_cpu" = ia64; then
10.17003 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
10.17004 + allow_undefined_flag_GCJ="-z nodefs"
10.17005 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10.17006 + else
10.17007 + # Determine the default libpath from the value encoded in an empty executable.
10.17008 + cat >conftest.$ac_ext <<_ACEOF
10.17009 +/* confdefs.h. */
10.17010 +_ACEOF
10.17011 +cat confdefs.h >>conftest.$ac_ext
10.17012 +cat >>conftest.$ac_ext <<_ACEOF
10.17013 +/* end confdefs.h. */
10.17014 +
10.17015 +int
10.17016 +main ()
10.17017 +{
10.17018 +
10.17019 + ;
10.17020 + return 0;
10.17021 +}
10.17022 +_ACEOF
10.17023 +rm -f conftest.$ac_objext conftest$ac_exeext
10.17024 +if { (ac_try="$ac_link"
10.17025 +case "(($ac_try" in
10.17026 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.17027 + *) ac_try_echo=$ac_try;;
10.17028 +esac
10.17029 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.17030 + (eval "$ac_link") 2>conftest.er1
10.17031 + ac_status=$?
10.17032 + grep -v '^ *+' conftest.er1 >conftest.err
10.17033 + rm -f conftest.er1
10.17034 + cat conftest.err >&5
10.17035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.17036 + (exit $ac_status); } && {
10.17037 + test -z "$ac_c_werror_flag" ||
10.17038 + test ! -s conftest.err
10.17039 + } && test -s conftest$ac_exeext &&
10.17040 + $as_test_x conftest$ac_exeext; then
10.17041 +
10.17042 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.17043 +}'`
10.17044 +# Check for a 64-bit object if we didn't find anything.
10.17045 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10.17046 +}'`; fi
10.17047 +else
10.17048 + echo "$as_me: failed program was:" >&5
10.17049 +sed 's/^/| /' conftest.$ac_ext >&5
10.17050 +
10.17051 +
10.17052 +fi
10.17053 +
10.17054 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.17055 + conftest$ac_exeext conftest.$ac_ext
10.17056 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10.17057 +
10.17058 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
10.17059 + # Warning - without using the other run time loading flags,
10.17060 + # -berok will link without error, but may produce a broken library.
10.17061 + no_undefined_flag_GCJ=' ${wl}-bernotok'
10.17062 + allow_undefined_flag_GCJ=' ${wl}-berok'
10.17063 + # -bexpall does not export symbols beginning with underscore (_)
10.17064 + always_export_symbols_GCJ=yes
10.17065 + # Exported symbols can be pulled into shared objects from archives
10.17066 + whole_archive_flag_spec_GCJ=' '
10.17067 + archive_cmds_need_lc_GCJ=yes
10.17068 + # This is similar to how AIX traditionally builds it's shared libraries.
10.17069 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10.17070 + fi
10.17071 + fi
10.17072 + ;;
10.17073 +
10.17074 + amigaos*)
10.17075 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10.17076 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.17077 + hardcode_minus_L_GCJ=yes
10.17078 + # see comment about different semantics on the GNU ld section
10.17079 + ld_shlibs_GCJ=no
10.17080 + ;;
10.17081 +
10.17082 + bsdi4*)
10.17083 + export_dynamic_flag_spec_GCJ=-rdynamic
10.17084 + ;;
10.17085 +
10.17086 + cygwin* | mingw* | pw32*)
10.17087 + # When not using gcc, we currently assume that we are using
10.17088 + # Microsoft Visual C++.
10.17089 + # hardcode_libdir_flag_spec is actually meaningless, as there is
10.17090 + # no search path for DLLs.
10.17091 + hardcode_libdir_flag_spec_GCJ=' '
10.17092 + allow_undefined_flag_GCJ=unsupported
10.17093 + # Tell ltmain to make .lib files, not .a files.
10.17094 + libext=lib
10.17095 + # Tell ltmain to make .dll files, not .so files.
10.17096 + shrext_cmds=".dll"
10.17097 + # FIXME: Setting linknames here is a bad hack.
10.17098 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10.17099 + # The linker will automatically build a .lib file if we build a DLL.
10.17100 + old_archive_From_new_cmds_GCJ='true'
10.17101 + # FIXME: Should let the user specify the lib program.
10.17102 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
10.17103 + fix_srcfile_path='`cygpath -w "$srcfile"`'
10.17104 + enable_shared_with_static_runtimes_GCJ=yes
10.17105 + ;;
10.17106 +
10.17107 + darwin* | rhapsody*)
10.17108 + if test "$GXX" = yes ; then
10.17109 + archive_cmds_need_lc_GCJ=no
10.17110 + case "$host_os" in
10.17111 + rhapsody* | darwin1.[012])
10.17112 + allow_undefined_flag_GCJ='-undefined suppress'
10.17113 + ;;
10.17114 + *) # Darwin 1.3 on
10.17115 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10.17116 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
10.17117 + else
10.17118 + case ${MACOSX_DEPLOYMENT_TARGET} in
10.17119 + 10.[012])
10.17120 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
10.17121 + ;;
10.17122 + 10.*)
10.17123 + allow_undefined_flag_GCJ='-undefined dynamic_lookup'
10.17124 + ;;
10.17125 + esac
10.17126 + fi
10.17127 + ;;
10.17128 + esac
10.17129 + lt_int_apple_cc_single_mod=no
10.17130 + output_verbose_link_cmd='echo'
10.17131 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10.17132 + lt_int_apple_cc_single_mod=yes
10.17133 + fi
10.17134 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.17135 + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.17136 + else
10.17137 + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10.17138 + fi
10.17139 + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10.17140 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10.17141 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10.17142 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.17143 + else
10.17144 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.17145 + fi
10.17146 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10.17147 + hardcode_direct_GCJ=no
10.17148 + hardcode_automatic_GCJ=yes
10.17149 + hardcode_shlibpath_var_GCJ=unsupported
10.17150 + whole_archive_flag_spec_GCJ='-all_load $convenience'
10.17151 + link_all_deplibs_GCJ=yes
10.17152 + else
10.17153 + ld_shlibs_GCJ=no
10.17154 + fi
10.17155 + ;;
10.17156 +
10.17157 + dgux*)
10.17158 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17159 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.17160 + hardcode_shlibpath_var_GCJ=no
10.17161 + ;;
10.17162 +
10.17163 + freebsd1*)
10.17164 + ld_shlibs_GCJ=no
10.17165 + ;;
10.17166 +
10.17167 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10.17168 + # support. Future versions do this automatically, but an explicit c++rt0.o
10.17169 + # does not break anything, and helps significantly (at the cost of a little
10.17170 + # extra space).
10.17171 + freebsd2.2*)
10.17172 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10.17173 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
10.17174 + hardcode_direct_GCJ=yes
10.17175 + hardcode_shlibpath_var_GCJ=no
10.17176 + ;;
10.17177 +
10.17178 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10.17179 + freebsd2*)
10.17180 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.17181 + hardcode_direct_GCJ=yes
10.17182 + hardcode_minus_L_GCJ=yes
10.17183 + hardcode_shlibpath_var_GCJ=no
10.17184 + ;;
10.17185 +
10.17186 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10.17187 + freebsd* | kfreebsd*-gnu)
10.17188 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10.17189 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
10.17190 + hardcode_direct_GCJ=yes
10.17191 + hardcode_shlibpath_var_GCJ=no
10.17192 + ;;
10.17193 +
10.17194 + hpux9*)
10.17195 + if test "$GCC" = yes; then
10.17196 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.17197 + else
10.17198 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10.17199 + fi
10.17200 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
10.17201 + hardcode_libdir_separator_GCJ=:
10.17202 + hardcode_direct_GCJ=yes
10.17203 +
10.17204 + # hardcode_minus_L: Not really in the search PATH,
10.17205 + # but as the default location of the library.
10.17206 + hardcode_minus_L_GCJ=yes
10.17207 + export_dynamic_flag_spec_GCJ='${wl}-E'
10.17208 + ;;
10.17209 +
10.17210 + hpux10* | hpux11*)
10.17211 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10.17212 + case "$host_cpu" in
10.17213 + hppa*64*|ia64*)
10.17214 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.17215 + ;;
10.17216 + *)
10.17217 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10.17218 + ;;
10.17219 + esac
10.17220 + else
10.17221 + case "$host_cpu" in
10.17222 + hppa*64*|ia64*)
10.17223 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17224 + ;;
10.17225 + *)
10.17226 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10.17227 + ;;
10.17228 + esac
10.17229 + fi
10.17230 + if test "$with_gnu_ld" = no; then
10.17231 + case "$host_cpu" in
10.17232 + hppa*64*)
10.17233 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
10.17234 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
10.17235 + hardcode_libdir_separator_GCJ=:
10.17236 + hardcode_direct_GCJ=no
10.17237 + hardcode_shlibpath_var_GCJ=no
10.17238 + ;;
10.17239 + ia64*)
10.17240 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.17241 + hardcode_direct_GCJ=no
10.17242 + hardcode_shlibpath_var_GCJ=no
10.17243 +
10.17244 + # hardcode_minus_L: Not really in the search PATH,
10.17245 + # but as the default location of the library.
10.17246 + hardcode_minus_L_GCJ=yes
10.17247 + ;;
10.17248 + *)
10.17249 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
10.17250 + hardcode_libdir_separator_GCJ=:
10.17251 + hardcode_direct_GCJ=yes
10.17252 + export_dynamic_flag_spec_GCJ='${wl}-E'
10.17253 +
10.17254 + # hardcode_minus_L: Not really in the search PATH,
10.17255 + # but as the default location of the library.
10.17256 + hardcode_minus_L_GCJ=yes
10.17257 + ;;
10.17258 + esac
10.17259 + fi
10.17260 + ;;
10.17261 +
10.17262 + irix5* | irix6* | nonstopux*)
10.17263 + if test "$GCC" = yes; then
10.17264 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.17265 + else
10.17266 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.17267 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
10.17268 + fi
10.17269 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
10.17270 + hardcode_libdir_separator_GCJ=:
10.17271 + link_all_deplibs_GCJ=yes
10.17272 + ;;
10.17273 +
10.17274 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10.17275 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.17276 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10.17277 + else
10.17278 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10.17279 + fi
10.17280 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
10.17281 + hardcode_direct_GCJ=yes
10.17282 + hardcode_shlibpath_var_GCJ=no
10.17283 + ;;
10.17284 +
10.17285 + newsos6)
10.17286 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17287 + hardcode_direct_GCJ=yes
10.17288 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
10.17289 + hardcode_libdir_separator_GCJ=:
10.17290 + hardcode_shlibpath_var_GCJ=no
10.17291 + ;;
10.17292 +
10.17293 + openbsd*)
10.17294 + hardcode_direct_GCJ=yes
10.17295 + hardcode_shlibpath_var_GCJ=no
10.17296 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.17297 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10.17298 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
10.17299 + export_dynamic_flag_spec_GCJ='${wl}-E'
10.17300 + else
10.17301 + case $host_os in
10.17302 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10.17303 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10.17304 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
10.17305 + ;;
10.17306 + *)
10.17307 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10.17308 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
10.17309 + ;;
10.17310 + esac
10.17311 + fi
10.17312 + ;;
10.17313 +
10.17314 + os2*)
10.17315 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.17316 + hardcode_minus_L_GCJ=yes
10.17317 + allow_undefined_flag_GCJ=unsupported
10.17318 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10.17319 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10.17320 + ;;
10.17321 +
10.17322 + osf3*)
10.17323 + if test "$GCC" = yes; then
10.17324 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
10.17325 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.17326 + else
10.17327 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
10.17328 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.17329 + fi
10.17330 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
10.17331 + hardcode_libdir_separator_GCJ=:
10.17332 + ;;
10.17333 +
10.17334 + osf4* | osf5*) # as osf3* with the addition of -msym flag
10.17335 + if test "$GCC" = yes; then
10.17336 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
10.17337 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10.17338 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
10.17339 + else
10.17340 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
10.17341 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10.17342 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10.17343 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
10.17344 +
10.17345 + # Both c and cxx compiler support -rpath directly
10.17346 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
10.17347 + fi
10.17348 + hardcode_libdir_separator_GCJ=:
10.17349 + ;;
10.17350 +
10.17351 + sco3.2v5*)
10.17352 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17353 + hardcode_shlibpath_var_GCJ=no
10.17354 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
10.17355 + runpath_var=LD_RUN_PATH
10.17356 + hardcode_runpath_var=yes
10.17357 + ;;
10.17358 +
10.17359 + solaris*)
10.17360 + no_undefined_flag_GCJ=' -z text'
10.17361 + if test "$GCC" = yes; then
10.17362 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.17363 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.17364 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10.17365 + else
10.17366 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17367 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.17368 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10.17369 + fi
10.17370 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
10.17371 + hardcode_shlibpath_var_GCJ=no
10.17372 + case $host_os in
10.17373 + solaris2.[0-5] | solaris2.[0-5].*) ;;
10.17374 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
10.17375 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
10.17376 + esac
10.17377 + link_all_deplibs_GCJ=yes
10.17378 + ;;
10.17379 +
10.17380 + sunos4*)
10.17381 + if test "x$host_vendor" = xsequent; then
10.17382 + # Use $CC to link under sequent, because it throws in some extra .o
10.17383 + # files that make .init and .fini sections work.
10.17384 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10.17385 + else
10.17386 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10.17387 + fi
10.17388 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.17389 + hardcode_direct_GCJ=yes
10.17390 + hardcode_minus_L_GCJ=yes
10.17391 + hardcode_shlibpath_var_GCJ=no
10.17392 + ;;
10.17393 +
10.17394 + sysv4)
10.17395 + case $host_vendor in
10.17396 + sni)
10.17397 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17398 + hardcode_direct_GCJ=yes # is this really true???
10.17399 + ;;
10.17400 + siemens)
10.17401 + ## LD is ld it makes a PLAMLIB
10.17402 + ## CC just makes a GrossModule.
10.17403 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10.17404 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
10.17405 + hardcode_direct_GCJ=no
10.17406 + ;;
10.17407 + motorola)
10.17408 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17409 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
10.17410 + ;;
10.17411 + esac
10.17412 + runpath_var='LD_RUN_PATH'
10.17413 + hardcode_shlibpath_var_GCJ=no
10.17414 + ;;
10.17415 +
10.17416 + sysv4.3*)
10.17417 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17418 + hardcode_shlibpath_var_GCJ=no
10.17419 + export_dynamic_flag_spec_GCJ='-Bexport'
10.17420 + ;;
10.17421 +
10.17422 + sysv4*MP*)
10.17423 + if test -d /usr/nec; then
10.17424 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17425 + hardcode_shlibpath_var_GCJ=no
10.17426 + runpath_var=LD_RUN_PATH
10.17427 + hardcode_runpath_var=yes
10.17428 + ld_shlibs_GCJ=yes
10.17429 + fi
10.17430 + ;;
10.17431 +
10.17432 + sysv4.2uw2*)
10.17433 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10.17434 + hardcode_direct_GCJ=yes
10.17435 + hardcode_minus_L_GCJ=no
10.17436 + hardcode_shlibpath_var_GCJ=no
10.17437 + hardcode_runpath_var=yes
10.17438 + runpath_var=LD_RUN_PATH
10.17439 + ;;
10.17440 +
10.17441 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10.17442 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
10.17443 + if test "$GCC" = yes; then
10.17444 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.17445 + else
10.17446 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10.17447 + fi
10.17448 + runpath_var='LD_RUN_PATH'
10.17449 + hardcode_shlibpath_var_GCJ=no
10.17450 + ;;
10.17451 +
10.17452 + sysv5*)
10.17453 + no_undefined_flag_GCJ=' -z text'
10.17454 + # $CC -shared without GNU ld will not create a library from C++
10.17455 + # object files and a static libstdc++, better avoid it by now
10.17456 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17457 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10.17458 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10.17459 + hardcode_libdir_flag_spec_GCJ=
10.17460 + hardcode_shlibpath_var_GCJ=no
10.17461 + runpath_var='LD_RUN_PATH'
10.17462 + ;;
10.17463 +
10.17464 + uts4*)
10.17465 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10.17466 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
10.17467 + hardcode_shlibpath_var_GCJ=no
10.17468 + ;;
10.17469 +
10.17470 + *)
10.17471 + ld_shlibs_GCJ=no
10.17472 + ;;
10.17473 + esac
10.17474 + fi
10.17475 +
10.17476 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
10.17477 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
10.17478 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
10.17479 +
10.17480 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10.17481 +if test "$GCC" = yes; then
10.17482 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10.17483 +fi
10.17484 +
10.17485 +#
10.17486 +# Do we need to explicitly link libc?
10.17487 +#
10.17488 +case "x$archive_cmds_need_lc_GCJ" in
10.17489 +x|xyes)
10.17490 + # Assume -lc should be added
10.17491 + archive_cmds_need_lc_GCJ=yes
10.17492 +
10.17493 + if test "$enable_shared" = yes && test "$GCC" = yes; then
10.17494 + case $archive_cmds_GCJ in
10.17495 + *'~'*)
10.17496 + # FIXME: we may have to deal with multi-command sequences.
10.17497 + ;;
10.17498 + '$CC '*)
10.17499 + # Test whether the compiler implicitly links with -lc since on some
10.17500 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
10.17501 + # to ld, don't add -lc before -lgcc.
10.17502 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10.17503 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10.17504 + $rm conftest*
10.17505 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10.17506 +
10.17507 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10.17508 + (eval $ac_compile) 2>&5
10.17509 + ac_status=$?
10.17510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.17511 + (exit $ac_status); } 2>conftest.err; then
10.17512 + soname=conftest
10.17513 + lib=conftest
10.17514 + libobjs=conftest.$ac_objext
10.17515 + deplibs=
10.17516 + wl=$lt_prog_compiler_wl_GCJ
10.17517 + compiler_flags=-v
10.17518 + linker_flags=-v
10.17519 + verstring=
10.17520 + output_objdir=.
10.17521 + libname=conftest
10.17522 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
10.17523 + allow_undefined_flag_GCJ=
10.17524 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10.17525 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10.17526 + ac_status=$?
10.17527 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.17528 + (exit $ac_status); }
10.17529 + then
10.17530 + archive_cmds_need_lc_GCJ=no
10.17531 + else
10.17532 + archive_cmds_need_lc_GCJ=yes
10.17533 + fi
10.17534 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
10.17535 + else
10.17536 + cat conftest.err 1>&5
10.17537 + fi
10.17538 + $rm conftest*
10.17539 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
10.17540 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
10.17541 + ;;
10.17542 + esac
10.17543 + fi
10.17544 + ;;
10.17545 +esac
10.17546 +
10.17547 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10.17548 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10.17549 +library_names_spec=
10.17550 +libname_spec='lib$name'
10.17551 +soname_spec=
10.17552 +shrext_cmds=".so"
10.17553 +postinstall_cmds=
10.17554 +postuninstall_cmds=
10.17555 +finish_cmds=
10.17556 +finish_eval=
10.17557 +shlibpath_var=
10.17558 +shlibpath_overrides_runpath=unknown
10.17559 +version_type=none
10.17560 +dynamic_linker="$host_os ld.so"
10.17561 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
10.17562 +if test "$GCC" = yes; then
10.17563 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.17564 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10.17565 + # if the path contains ";" then we assume it to be the separator
10.17566 + # otherwise default to the standard path separator (i.e. ":") - it is
10.17567 + # assumed that no part of a normal pathname contains ";" but that should
10.17568 + # okay in the real world where ";" in dirpaths is itself problematic.
10.17569 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.17570 + else
10.17571 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.17572 + fi
10.17573 +else
10.17574 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10.17575 +fi
10.17576 +need_lib_prefix=unknown
10.17577 +hardcode_into_libs=no
10.17578 +
10.17579 +# when you set need_version to no, make sure it does not cause -set_version
10.17580 +# flags to be left without arguments
10.17581 +need_version=unknown
10.17582 +
10.17583 +case $host_os in
10.17584 +aix3*)
10.17585 + version_type=linux
10.17586 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10.17587 + shlibpath_var=LIBPATH
10.17588 +
10.17589 + # AIX 3 has no versioning support, so we append a major version to the name.
10.17590 + soname_spec='${libname}${release}${shared_ext}$major'
10.17591 + ;;
10.17592 +
10.17593 +aix4* | aix5*)
10.17594 + version_type=linux
10.17595 + need_lib_prefix=no
10.17596 + need_version=no
10.17597 + hardcode_into_libs=yes
10.17598 + if test "$host_cpu" = ia64; then
10.17599 + # AIX 5 supports IA64
10.17600 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10.17601 + shlibpath_var=LD_LIBRARY_PATH
10.17602 + else
10.17603 + # With GCC up to 2.95.x, collect2 would create an import file
10.17604 + # for dependence libraries. The import file would start with
10.17605 + # the line `#! .'. This would cause the generated library to
10.17606 + # depend on `.', always an invalid library. This was fixed in
10.17607 + # development snapshots of GCC prior to 3.0.
10.17608 + case $host_os in
10.17609 + aix4 | aix4.[01] | aix4.[01].*)
10.17610 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10.17611 + echo ' yes '
10.17612 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10.17613 + :
10.17614 + else
10.17615 + can_build_shared=no
10.17616 + fi
10.17617 + ;;
10.17618 + esac
10.17619 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10.17620 + # soname into executable. Probably we can add versioning support to
10.17621 + # collect2, so additional links can be useful in future.
10.17622 + if test "$aix_use_runtimelinking" = yes; then
10.17623 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10.17624 + # instead of lib<name>.a to let people know that these are not
10.17625 + # typical AIX shared libraries.
10.17626 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17627 + else
10.17628 + # We preserve .a as extension for shared libraries through AIX4.2
10.17629 + # and later when we are not doing run time linking.
10.17630 + library_names_spec='${libname}${release}.a $libname.a'
10.17631 + soname_spec='${libname}${release}${shared_ext}$major'
10.17632 + fi
10.17633 + shlibpath_var=LIBPATH
10.17634 + fi
10.17635 + ;;
10.17636 +
10.17637 +amigaos*)
10.17638 + library_names_spec='$libname.ixlibrary $libname.a'
10.17639 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
10.17640 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10.17641 + ;;
10.17642 +
10.17643 +beos*)
10.17644 + library_names_spec='${libname}${shared_ext}'
10.17645 + dynamic_linker="$host_os ld.so"
10.17646 + shlibpath_var=LIBRARY_PATH
10.17647 + ;;
10.17648 +
10.17649 +bsdi4*)
10.17650 + version_type=linux
10.17651 + need_version=no
10.17652 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17653 + soname_spec='${libname}${release}${shared_ext}$major'
10.17654 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10.17655 + shlibpath_var=LD_LIBRARY_PATH
10.17656 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10.17657 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10.17658 + # the default ld.so.conf also contains /usr/contrib/lib and
10.17659 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10.17660 + # libtool to hard-code these into programs
10.17661 + ;;
10.17662 +
10.17663 +cygwin* | mingw* | pw32*)
10.17664 + version_type=windows
10.17665 + shrext_cmds=".dll"
10.17666 + need_version=no
10.17667 + need_lib_prefix=no
10.17668 +
10.17669 + case $GCC,$host_os in
10.17670 + yes,cygwin* | yes,mingw* | yes,pw32*)
10.17671 + library_names_spec='$libname.dll.a'
10.17672 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
10.17673 + postinstall_cmds='base_file=`basename \${file}`~
10.17674 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10.17675 + dldir=$destdir/`dirname \$dlpath`~
10.17676 + test -d \$dldir || mkdir -p \$dldir~
10.17677 + $install_prog $dir/$dlname \$dldir/$dlname'
10.17678 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10.17679 + dlpath=$dir/\$dldll~
10.17680 + $rm \$dlpath'
10.17681 + shlibpath_overrides_runpath=yes
10.17682 +
10.17683 + case $host_os in
10.17684 + cygwin*)
10.17685 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10.17686 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.17687 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10.17688 + ;;
10.17689 + mingw*)
10.17690 + # MinGW DLLs use traditional 'lib' prefix
10.17691 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10.17692 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10.17693 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10.17694 + # It is most probably a Windows format PATH printed by
10.17695 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
10.17696 + # path with ; separators, and with drive letters. We can handle the
10.17697 + # drive letters (cygwin fileutils understands them), so leave them,
10.17698 + # especially as we might pass files found there to a mingw objdump,
10.17699 + # which wouldn't understand a cygwinified path. Ahh.
10.17700 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10.17701 + else
10.17702 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10.17703 + fi
10.17704 + ;;
10.17705 + pw32*)
10.17706 + # pw32 DLLs use 'pw' prefix rather than 'lib'
10.17707 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10.17708 + ;;
10.17709 + esac
10.17710 + ;;
10.17711 +
10.17712 + *)
10.17713 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10.17714 + ;;
10.17715 + esac
10.17716 + dynamic_linker='Win32 ld.exe'
10.17717 + # FIXME: first we should search . and the directory the executable is in
10.17718 + shlibpath_var=PATH
10.17719 + ;;
10.17720 +
10.17721 +darwin* | rhapsody*)
10.17722 + dynamic_linker="$host_os dyld"
10.17723 + version_type=darwin
10.17724 + need_lib_prefix=no
10.17725 + need_version=no
10.17726 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10.17727 + soname_spec='${libname}${release}${major}$shared_ext'
10.17728 + shlibpath_overrides_runpath=yes
10.17729 + shlibpath_var=DYLD_LIBRARY_PATH
10.17730 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
10.17731 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10.17732 + if test "$GCC" = yes; then
10.17733 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10.17734 + else
10.17735 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10.17736 + fi
10.17737 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10.17738 + ;;
10.17739 +
10.17740 +dgux*)
10.17741 + version_type=linux
10.17742 + need_lib_prefix=no
10.17743 + need_version=no
10.17744 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10.17745 + soname_spec='${libname}${release}${shared_ext}$major'
10.17746 + shlibpath_var=LD_LIBRARY_PATH
10.17747 + ;;
10.17748 +
10.17749 +freebsd1*)
10.17750 + dynamic_linker=no
10.17751 + ;;
10.17752 +
10.17753 +kfreebsd*-gnu)
10.17754 + version_type=linux
10.17755 + need_lib_prefix=no
10.17756 + need_version=no
10.17757 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.17758 + soname_spec='${libname}${release}${shared_ext}$major'
10.17759 + shlibpath_var=LD_LIBRARY_PATH
10.17760 + shlibpath_overrides_runpath=no
10.17761 + hardcode_into_libs=yes
10.17762 + dynamic_linker='GNU ld.so'
10.17763 + ;;
10.17764 +
10.17765 +freebsd*)
10.17766 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10.17767 + version_type=freebsd-$objformat
10.17768 + case $version_type in
10.17769 + freebsd-elf*)
10.17770 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10.17771 + need_version=no
10.17772 + need_lib_prefix=no
10.17773 + ;;
10.17774 + freebsd-*)
10.17775 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10.17776 + need_version=yes
10.17777 + ;;
10.17778 + esac
10.17779 + shlibpath_var=LD_LIBRARY_PATH
10.17780 + case $host_os in
10.17781 + freebsd2*)
10.17782 + shlibpath_overrides_runpath=yes
10.17783 + ;;
10.17784 + freebsd3.01* | freebsdelf3.01*)
10.17785 + shlibpath_overrides_runpath=yes
10.17786 + hardcode_into_libs=yes
10.17787 + ;;
10.17788 + *) # from 3.2 on
10.17789 + shlibpath_overrides_runpath=no
10.17790 + hardcode_into_libs=yes
10.17791 + ;;
10.17792 + esac
10.17793 + ;;
10.17794 +
10.17795 +gnu*)
10.17796 + version_type=linux
10.17797 + need_lib_prefix=no
10.17798 + need_version=no
10.17799 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10.17800 + soname_spec='${libname}${release}${shared_ext}$major'
10.17801 + shlibpath_var=LD_LIBRARY_PATH
10.17802 + hardcode_into_libs=yes
10.17803 + ;;
10.17804 +
10.17805 +hpux9* | hpux10* | hpux11*)
10.17806 + # Give a soname corresponding to the major version so that dld.sl refuses to
10.17807 + # link against other versions.
10.17808 + version_type=sunos
10.17809 + need_lib_prefix=no
10.17810 + need_version=no
10.17811 + case "$host_cpu" in
10.17812 + ia64*)
10.17813 + shrext_cmds='.so'
10.17814 + hardcode_into_libs=yes
10.17815 + dynamic_linker="$host_os dld.so"
10.17816 + shlibpath_var=LD_LIBRARY_PATH
10.17817 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.17818 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17819 + soname_spec='${libname}${release}${shared_ext}$major'
10.17820 + if test "X$HPUX_IA64_MODE" = X32; then
10.17821 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10.17822 + else
10.17823 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10.17824 + fi
10.17825 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.17826 + ;;
10.17827 + hppa*64*)
10.17828 + shrext_cmds='.sl'
10.17829 + hardcode_into_libs=yes
10.17830 + dynamic_linker="$host_os dld.sl"
10.17831 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10.17832 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10.17833 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17834 + soname_spec='${libname}${release}${shared_ext}$major'
10.17835 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10.17836 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10.17837 + ;;
10.17838 + *)
10.17839 + shrext_cmds='.sl'
10.17840 + dynamic_linker="$host_os dld.sl"
10.17841 + shlibpath_var=SHLIB_PATH
10.17842 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10.17843 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17844 + soname_spec='${libname}${release}${shared_ext}$major'
10.17845 + ;;
10.17846 + esac
10.17847 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
10.17848 + postinstall_cmds='chmod 555 $lib'
10.17849 + ;;
10.17850 +
10.17851 +irix5* | irix6* | nonstopux*)
10.17852 + case $host_os in
10.17853 + nonstopux*) version_type=nonstopux ;;
10.17854 + *)
10.17855 + if test "$lt_cv_prog_gnu_ld" = yes; then
10.17856 + version_type=linux
10.17857 + else
10.17858 + version_type=irix
10.17859 + fi ;;
10.17860 + esac
10.17861 + need_lib_prefix=no
10.17862 + need_version=no
10.17863 + soname_spec='${libname}${release}${shared_ext}$major'
10.17864 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10.17865 + case $host_os in
10.17866 + irix5* | nonstopux*)
10.17867 + libsuff= shlibsuff=
10.17868 + ;;
10.17869 + *)
10.17870 + case $LD in # libtool.m4 will add one of these switches to LD
10.17871 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10.17872 + libsuff= shlibsuff= libmagic=32-bit;;
10.17873 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10.17874 + libsuff=32 shlibsuff=N32 libmagic=N32;;
10.17875 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10.17876 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
10.17877 + *) libsuff= shlibsuff= libmagic=never-match;;
10.17878 + esac
10.17879 + ;;
10.17880 + esac
10.17881 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10.17882 + shlibpath_overrides_runpath=no
10.17883 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10.17884 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10.17885 + hardcode_into_libs=yes
10.17886 + ;;
10.17887 +
10.17888 +# No shared lib support for Linux oldld, aout, or coff.
10.17889 +linux*oldld* | linux*aout* | linux*coff*)
10.17890 + dynamic_linker=no
10.17891 + ;;
10.17892 +
10.17893 +# This must be Linux ELF.
10.17894 +linux*)
10.17895 + version_type=linux
10.17896 + need_lib_prefix=no
10.17897 + need_version=no
10.17898 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17899 + soname_spec='${libname}${release}${shared_ext}$major'
10.17900 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10.17901 + shlibpath_var=LD_LIBRARY_PATH
10.17902 + shlibpath_overrides_runpath=no
10.17903 + # This implies no fast_install, which is unacceptable.
10.17904 + # Some rework will be needed to allow for fast_install
10.17905 + # before this can be enabled.
10.17906 + hardcode_into_libs=yes
10.17907 +
10.17908 + # Append ld.so.conf contents to the search path
10.17909 + if test -f /etc/ld.so.conf; then
10.17910 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
10.17911 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10.17912 + fi
10.17913 +
10.17914 + # We used to test for /lib/ld.so.1 and disable shared libraries on
10.17915 + # powerpc, because MkLinux only supported shared libraries with the
10.17916 + # GNU dynamic linker. Since this was broken with cross compilers,
10.17917 + # most powerpc-linux boxes support dynamic linking these days and
10.17918 + # people can always --disable-shared, the test was removed, and we
10.17919 + # assume the GNU/Linux dynamic linker is in use.
10.17920 + dynamic_linker='GNU/Linux ld.so'
10.17921 + ;;
10.17922 +
10.17923 +netbsdelf*-gnu)
10.17924 + version_type=linux
10.17925 + need_lib_prefix=no
10.17926 + need_version=no
10.17927 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.17928 + soname_spec='${libname}${release}${shared_ext}$major'
10.17929 + shlibpath_var=LD_LIBRARY_PATH
10.17930 + shlibpath_overrides_runpath=no
10.17931 + hardcode_into_libs=yes
10.17932 + dynamic_linker='NetBSD ld.elf_so'
10.17933 + ;;
10.17934 +
10.17935 +knetbsd*-gnu)
10.17936 + version_type=linux
10.17937 + need_lib_prefix=no
10.17938 + need_version=no
10.17939 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.17940 + soname_spec='${libname}${release}${shared_ext}$major'
10.17941 + shlibpath_var=LD_LIBRARY_PATH
10.17942 + shlibpath_overrides_runpath=no
10.17943 + hardcode_into_libs=yes
10.17944 + dynamic_linker='GNU ld.so'
10.17945 + ;;
10.17946 +
10.17947 +netbsd*)
10.17948 + version_type=sunos
10.17949 + need_lib_prefix=no
10.17950 + need_version=no
10.17951 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10.17952 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.17953 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.17954 + dynamic_linker='NetBSD (a.out) ld.so'
10.17955 + else
10.17956 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10.17957 + soname_spec='${libname}${release}${shared_ext}$major'
10.17958 + dynamic_linker='NetBSD ld.elf_so'
10.17959 + fi
10.17960 + shlibpath_var=LD_LIBRARY_PATH
10.17961 + shlibpath_overrides_runpath=yes
10.17962 + hardcode_into_libs=yes
10.17963 + ;;
10.17964 +
10.17965 +newsos6)
10.17966 + version_type=linux
10.17967 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17968 + shlibpath_var=LD_LIBRARY_PATH
10.17969 + shlibpath_overrides_runpath=yes
10.17970 + ;;
10.17971 +
10.17972 +nto-qnx*)
10.17973 + version_type=linux
10.17974 + need_lib_prefix=no
10.17975 + need_version=no
10.17976 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.17977 + soname_spec='${libname}${release}${shared_ext}$major'
10.17978 + shlibpath_var=LD_LIBRARY_PATH
10.17979 + shlibpath_overrides_runpath=yes
10.17980 + ;;
10.17981 +
10.17982 +openbsd*)
10.17983 + version_type=sunos
10.17984 + need_lib_prefix=no
10.17985 + need_version=yes
10.17986 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.17987 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10.17988 + shlibpath_var=LD_LIBRARY_PATH
10.17989 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10.17990 + case $host_os in
10.17991 + openbsd2.[89] | openbsd2.[89].*)
10.17992 + shlibpath_overrides_runpath=no
10.17993 + ;;
10.17994 + *)
10.17995 + shlibpath_overrides_runpath=yes
10.17996 + ;;
10.17997 + esac
10.17998 + else
10.17999 + shlibpath_overrides_runpath=yes
10.18000 + fi
10.18001 + ;;
10.18002 +
10.18003 +os2*)
10.18004 + libname_spec='$name'
10.18005 + shrext_cmds=".dll"
10.18006 + need_lib_prefix=no
10.18007 + library_names_spec='$libname${shared_ext} $libname.a'
10.18008 + dynamic_linker='OS/2 ld.exe'
10.18009 + shlibpath_var=LIBPATH
10.18010 + ;;
10.18011 +
10.18012 +osf3* | osf4* | osf5*)
10.18013 + version_type=osf
10.18014 + need_lib_prefix=no
10.18015 + need_version=no
10.18016 + soname_spec='${libname}${release}${shared_ext}$major'
10.18017 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.18018 + shlibpath_var=LD_LIBRARY_PATH
10.18019 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10.18020 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10.18021 + ;;
10.18022 +
10.18023 +sco3.2v5*)
10.18024 + version_type=osf
10.18025 + soname_spec='${libname}${release}${shared_ext}$major'
10.18026 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.18027 + shlibpath_var=LD_LIBRARY_PATH
10.18028 + ;;
10.18029 +
10.18030 +solaris*)
10.18031 + version_type=linux
10.18032 + need_lib_prefix=no
10.18033 + need_version=no
10.18034 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.18035 + soname_spec='${libname}${release}${shared_ext}$major'
10.18036 + shlibpath_var=LD_LIBRARY_PATH
10.18037 + shlibpath_overrides_runpath=yes
10.18038 + hardcode_into_libs=yes
10.18039 + # ldd complains unless libraries are executable
10.18040 + postinstall_cmds='chmod +x $lib'
10.18041 + ;;
10.18042 +
10.18043 +sunos4*)
10.18044 + version_type=sunos
10.18045 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10.18046 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10.18047 + shlibpath_var=LD_LIBRARY_PATH
10.18048 + shlibpath_overrides_runpath=yes
10.18049 + if test "$with_gnu_ld" = yes; then
10.18050 + need_lib_prefix=no
10.18051 + fi
10.18052 + need_version=yes
10.18053 + ;;
10.18054 +
10.18055 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10.18056 + version_type=linux
10.18057 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.18058 + soname_spec='${libname}${release}${shared_ext}$major'
10.18059 + shlibpath_var=LD_LIBRARY_PATH
10.18060 + case $host_vendor in
10.18061 + sni)
10.18062 + shlibpath_overrides_runpath=no
10.18063 + need_lib_prefix=no
10.18064 + export_dynamic_flag_spec='${wl}-Blargedynsym'
10.18065 + runpath_var=LD_RUN_PATH
10.18066 + ;;
10.18067 + siemens)
10.18068 + need_lib_prefix=no
10.18069 + ;;
10.18070 + motorola)
10.18071 + need_lib_prefix=no
10.18072 + need_version=no
10.18073 + shlibpath_overrides_runpath=no
10.18074 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10.18075 + ;;
10.18076 + esac
10.18077 + ;;
10.18078 +
10.18079 +sysv4*MP*)
10.18080 + if test -d /usr/nec ;then
10.18081 + version_type=linux
10.18082 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10.18083 + soname_spec='$libname${shared_ext}.$major'
10.18084 + shlibpath_var=LD_LIBRARY_PATH
10.18085 + fi
10.18086 + ;;
10.18087 +
10.18088 +uts4*)
10.18089 + version_type=linux
10.18090 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10.18091 + soname_spec='${libname}${release}${shared_ext}$major'
10.18092 + shlibpath_var=LD_LIBRARY_PATH
10.18093 + ;;
10.18094 +
10.18095 +*)
10.18096 + dynamic_linker=no
10.18097 + ;;
10.18098 +esac
10.18099 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10.18100 +echo "${ECHO_T}$dynamic_linker" >&6; }
10.18101 +test "$dynamic_linker" = no && can_build_shared=no
10.18102 +
10.18103 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10.18104 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10.18105 +hardcode_action_GCJ=
10.18106 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
10.18107 + test -n "$runpath_var GCJ" || \
10.18108 + test "X$hardcode_automatic_GCJ"="Xyes" ; then
10.18109 +
10.18110 + # We can hardcode non-existant directories.
10.18111 + if test "$hardcode_direct_GCJ" != no &&
10.18112 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
10.18113 + # have to relink, otherwise we might link with an installed library
10.18114 + # when we should be linking with a yet-to-be-installed one
10.18115 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
10.18116 + test "$hardcode_minus_L_GCJ" != no; then
10.18117 + # Linking always hardcodes the temporary library directory.
10.18118 + hardcode_action_GCJ=relink
10.18119 + else
10.18120 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
10.18121 + hardcode_action_GCJ=immediate
10.18122 + fi
10.18123 +else
10.18124 + # We cannot hardcode anything, or else we can only hardcode existing
10.18125 + # directories.
10.18126 + hardcode_action_GCJ=unsupported
10.18127 +fi
10.18128 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
10.18129 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
10.18130 +
10.18131 +if test "$hardcode_action_GCJ" = relink; then
10.18132 + # Fast installation is not supported
10.18133 + enable_fast_install=no
10.18134 +elif test "$shlibpath_overrides_runpath" = yes ||
10.18135 + test "$enable_shared" = no; then
10.18136 + # Fast installation is not necessary
10.18137 + enable_fast_install=needless
10.18138 +fi
10.18139 +
10.18140 +striplib=
10.18141 +old_striplib=
10.18142 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10.18143 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10.18144 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10.18145 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10.18146 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10.18147 + { echo "$as_me:$LINENO: result: yes" >&5
10.18148 +echo "${ECHO_T}yes" >&6; }
10.18149 +else
10.18150 +# FIXME - insert some real tests, host_os isn't really good enough
10.18151 + case $host_os in
10.18152 + darwin*)
10.18153 + if test -n "$STRIP" ; then
10.18154 + striplib="$STRIP -x"
10.18155 + { echo "$as_me:$LINENO: result: yes" >&5
10.18156 +echo "${ECHO_T}yes" >&6; }
10.18157 + else
10.18158 + { echo "$as_me:$LINENO: result: no" >&5
10.18159 +echo "${ECHO_T}no" >&6; }
10.18160 +fi
10.18161 + ;;
10.18162 + *)
10.18163 + { echo "$as_me:$LINENO: result: no" >&5
10.18164 +echo "${ECHO_T}no" >&6; }
10.18165 + ;;
10.18166 + esac
10.18167 +fi
10.18168 +
10.18169 +if test "x$enable_dlopen" != xyes; then
10.18170 + enable_dlopen=unknown
10.18171 + enable_dlopen_self=unknown
10.18172 + enable_dlopen_self_static=unknown
10.18173 +else
10.18174 + lt_cv_dlopen=no
10.18175 + lt_cv_dlopen_libs=
10.18176 +
10.18177 + case $host_os in
10.18178 + beos*)
10.18179 + lt_cv_dlopen="load_add_on"
10.18180 + lt_cv_dlopen_libs=
10.18181 + lt_cv_dlopen_self=yes
10.18182 + ;;
10.18183 +
10.18184 + mingw* | pw32*)
10.18185 + lt_cv_dlopen="LoadLibrary"
10.18186 + lt_cv_dlopen_libs=
10.18187 + ;;
10.18188 +
10.18189 + cygwin*)
10.18190 + lt_cv_dlopen="dlopen"
10.18191 + lt_cv_dlopen_libs=
10.18192 + ;;
10.18193 +
10.18194 + darwin*)
10.18195 + # if libdl is installed we need to link against it
10.18196 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10.18197 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10.18198 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10.18199 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18200 +else
10.18201 + ac_check_lib_save_LIBS=$LIBS
10.18202 +LIBS="-ldl $LIBS"
10.18203 +cat >conftest.$ac_ext <<_ACEOF
10.18204 +/* confdefs.h. */
10.18205 +_ACEOF
10.18206 +cat confdefs.h >>conftest.$ac_ext
10.18207 +cat >>conftest.$ac_ext <<_ACEOF
10.18208 +/* end confdefs.h. */
10.18209 +
10.18210 +/* Override any GCC internal prototype to avoid an error.
10.18211 + Use char because int might match the return type of a GCC
10.18212 + builtin and then its argument prototype would still apply. */
10.18213 +#ifdef __cplusplus
10.18214 +extern "C"
10.18215 +#endif
10.18216 +char dlopen ();
10.18217 +int
10.18218 +main ()
10.18219 +{
10.18220 +return dlopen ();
10.18221 + ;
10.18222 + return 0;
10.18223 +}
10.18224 +_ACEOF
10.18225 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18226 +if { (ac_try="$ac_link"
10.18227 +case "(($ac_try" in
10.18228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18229 + *) ac_try_echo=$ac_try;;
10.18230 +esac
10.18231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18232 + (eval "$ac_link") 2>conftest.er1
10.18233 + ac_status=$?
10.18234 + grep -v '^ *+' conftest.er1 >conftest.err
10.18235 + rm -f conftest.er1
10.18236 + cat conftest.err >&5
10.18237 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18238 + (exit $ac_status); } && {
10.18239 + test -z "$ac_c_werror_flag" ||
10.18240 + test ! -s conftest.err
10.18241 + } && test -s conftest$ac_exeext &&
10.18242 + $as_test_x conftest$ac_exeext; then
10.18243 + ac_cv_lib_dl_dlopen=yes
10.18244 +else
10.18245 + echo "$as_me: failed program was:" >&5
10.18246 +sed 's/^/| /' conftest.$ac_ext >&5
10.18247 +
10.18248 + ac_cv_lib_dl_dlopen=no
10.18249 +fi
10.18250 +
10.18251 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18252 + conftest$ac_exeext conftest.$ac_ext
10.18253 +LIBS=$ac_check_lib_save_LIBS
10.18254 +fi
10.18255 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10.18256 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10.18257 +if test $ac_cv_lib_dl_dlopen = yes; then
10.18258 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10.18259 +else
10.18260 +
10.18261 + lt_cv_dlopen="dyld"
10.18262 + lt_cv_dlopen_libs=
10.18263 + lt_cv_dlopen_self=yes
10.18264 +
10.18265 +fi
10.18266 +
10.18267 + ;;
10.18268 +
10.18269 + *)
10.18270 + { echo "$as_me:$LINENO: checking for shl_load" >&5
10.18271 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10.18272 +if test "${ac_cv_func_shl_load+set}" = set; then
10.18273 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18274 +else
10.18275 + cat >conftest.$ac_ext <<_ACEOF
10.18276 +/* confdefs.h. */
10.18277 +_ACEOF
10.18278 +cat confdefs.h >>conftest.$ac_ext
10.18279 +cat >>conftest.$ac_ext <<_ACEOF
10.18280 +/* end confdefs.h. */
10.18281 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10.18282 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10.18283 +#define shl_load innocuous_shl_load
10.18284 +
10.18285 +/* System header to define __stub macros and hopefully few prototypes,
10.18286 + which can conflict with char shl_load (); below.
10.18287 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.18288 + <limits.h> exists even on freestanding compilers. */
10.18289 +
10.18290 +#ifdef __STDC__
10.18291 +# include <limits.h>
10.18292 +#else
10.18293 +# include <assert.h>
10.18294 +#endif
10.18295 +
10.18296 +#undef shl_load
10.18297 +
10.18298 +/* Override any GCC internal prototype to avoid an error.
10.18299 + Use char because int might match the return type of a GCC
10.18300 + builtin and then its argument prototype would still apply. */
10.18301 +#ifdef __cplusplus
10.18302 +extern "C"
10.18303 +#endif
10.18304 +char shl_load ();
10.18305 +/* The GNU C library defines this for functions which it implements
10.18306 + to always fail with ENOSYS. Some functions are actually named
10.18307 + something starting with __ and the normal name is an alias. */
10.18308 +#if defined __stub_shl_load || defined __stub___shl_load
10.18309 +choke me
10.18310 +#endif
10.18311 +
10.18312 +int
10.18313 +main ()
10.18314 +{
10.18315 +return shl_load ();
10.18316 + ;
10.18317 + return 0;
10.18318 +}
10.18319 +_ACEOF
10.18320 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18321 +if { (ac_try="$ac_link"
10.18322 +case "(($ac_try" in
10.18323 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18324 + *) ac_try_echo=$ac_try;;
10.18325 +esac
10.18326 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18327 + (eval "$ac_link") 2>conftest.er1
10.18328 + ac_status=$?
10.18329 + grep -v '^ *+' conftest.er1 >conftest.err
10.18330 + rm -f conftest.er1
10.18331 + cat conftest.err >&5
10.18332 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18333 + (exit $ac_status); } && {
10.18334 + test -z "$ac_c_werror_flag" ||
10.18335 + test ! -s conftest.err
10.18336 + } && test -s conftest$ac_exeext &&
10.18337 + $as_test_x conftest$ac_exeext; then
10.18338 + ac_cv_func_shl_load=yes
10.18339 +else
10.18340 + echo "$as_me: failed program was:" >&5
10.18341 +sed 's/^/| /' conftest.$ac_ext >&5
10.18342 +
10.18343 + ac_cv_func_shl_load=no
10.18344 +fi
10.18345 +
10.18346 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18347 + conftest$ac_exeext conftest.$ac_ext
10.18348 +fi
10.18349 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10.18350 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10.18351 +if test $ac_cv_func_shl_load = yes; then
10.18352 + lt_cv_dlopen="shl_load"
10.18353 +else
10.18354 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10.18355 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10.18356 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10.18357 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18358 +else
10.18359 + ac_check_lib_save_LIBS=$LIBS
10.18360 +LIBS="-ldld $LIBS"
10.18361 +cat >conftest.$ac_ext <<_ACEOF
10.18362 +/* confdefs.h. */
10.18363 +_ACEOF
10.18364 +cat confdefs.h >>conftest.$ac_ext
10.18365 +cat >>conftest.$ac_ext <<_ACEOF
10.18366 +/* end confdefs.h. */
10.18367 +
10.18368 +/* Override any GCC internal prototype to avoid an error.
10.18369 + Use char because int might match the return type of a GCC
10.18370 + builtin and then its argument prototype would still apply. */
10.18371 +#ifdef __cplusplus
10.18372 +extern "C"
10.18373 +#endif
10.18374 +char shl_load ();
10.18375 +int
10.18376 +main ()
10.18377 +{
10.18378 +return shl_load ();
10.18379 + ;
10.18380 + return 0;
10.18381 +}
10.18382 +_ACEOF
10.18383 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18384 +if { (ac_try="$ac_link"
10.18385 +case "(($ac_try" in
10.18386 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18387 + *) ac_try_echo=$ac_try;;
10.18388 +esac
10.18389 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18390 + (eval "$ac_link") 2>conftest.er1
10.18391 + ac_status=$?
10.18392 + grep -v '^ *+' conftest.er1 >conftest.err
10.18393 + rm -f conftest.er1
10.18394 + cat conftest.err >&5
10.18395 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18396 + (exit $ac_status); } && {
10.18397 + test -z "$ac_c_werror_flag" ||
10.18398 + test ! -s conftest.err
10.18399 + } && test -s conftest$ac_exeext &&
10.18400 + $as_test_x conftest$ac_exeext; then
10.18401 + ac_cv_lib_dld_shl_load=yes
10.18402 +else
10.18403 + echo "$as_me: failed program was:" >&5
10.18404 +sed 's/^/| /' conftest.$ac_ext >&5
10.18405 +
10.18406 + ac_cv_lib_dld_shl_load=no
10.18407 +fi
10.18408 +
10.18409 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18410 + conftest$ac_exeext conftest.$ac_ext
10.18411 +LIBS=$ac_check_lib_save_LIBS
10.18412 +fi
10.18413 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10.18414 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10.18415 +if test $ac_cv_lib_dld_shl_load = yes; then
10.18416 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10.18417 +else
10.18418 + { echo "$as_me:$LINENO: checking for dlopen" >&5
10.18419 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10.18420 +if test "${ac_cv_func_dlopen+set}" = set; then
10.18421 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18422 +else
10.18423 + cat >conftest.$ac_ext <<_ACEOF
10.18424 +/* confdefs.h. */
10.18425 +_ACEOF
10.18426 +cat confdefs.h >>conftest.$ac_ext
10.18427 +cat >>conftest.$ac_ext <<_ACEOF
10.18428 +/* end confdefs.h. */
10.18429 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10.18430 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10.18431 +#define dlopen innocuous_dlopen
10.18432 +
10.18433 +/* System header to define __stub macros and hopefully few prototypes,
10.18434 + which can conflict with char dlopen (); below.
10.18435 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.18436 + <limits.h> exists even on freestanding compilers. */
10.18437 +
10.18438 +#ifdef __STDC__
10.18439 +# include <limits.h>
10.18440 +#else
10.18441 +# include <assert.h>
10.18442 +#endif
10.18443 +
10.18444 +#undef dlopen
10.18445 +
10.18446 +/* Override any GCC internal prototype to avoid an error.
10.18447 + Use char because int might match the return type of a GCC
10.18448 + builtin and then its argument prototype would still apply. */
10.18449 +#ifdef __cplusplus
10.18450 +extern "C"
10.18451 +#endif
10.18452 +char dlopen ();
10.18453 +/* The GNU C library defines this for functions which it implements
10.18454 + to always fail with ENOSYS. Some functions are actually named
10.18455 + something starting with __ and the normal name is an alias. */
10.18456 +#if defined __stub_dlopen || defined __stub___dlopen
10.18457 +choke me
10.18458 +#endif
10.18459 +
10.18460 +int
10.18461 +main ()
10.18462 +{
10.18463 +return dlopen ();
10.18464 + ;
10.18465 + return 0;
10.18466 +}
10.18467 +_ACEOF
10.18468 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18469 +if { (ac_try="$ac_link"
10.18470 +case "(($ac_try" in
10.18471 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18472 + *) ac_try_echo=$ac_try;;
10.18473 +esac
10.18474 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18475 + (eval "$ac_link") 2>conftest.er1
10.18476 + ac_status=$?
10.18477 + grep -v '^ *+' conftest.er1 >conftest.err
10.18478 + rm -f conftest.er1
10.18479 + cat conftest.err >&5
10.18480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18481 + (exit $ac_status); } && {
10.18482 + test -z "$ac_c_werror_flag" ||
10.18483 + test ! -s conftest.err
10.18484 + } && test -s conftest$ac_exeext &&
10.18485 + $as_test_x conftest$ac_exeext; then
10.18486 + ac_cv_func_dlopen=yes
10.18487 +else
10.18488 + echo "$as_me: failed program was:" >&5
10.18489 +sed 's/^/| /' conftest.$ac_ext >&5
10.18490 +
10.18491 + ac_cv_func_dlopen=no
10.18492 +fi
10.18493 +
10.18494 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18495 + conftest$ac_exeext conftest.$ac_ext
10.18496 +fi
10.18497 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10.18498 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10.18499 +if test $ac_cv_func_dlopen = yes; then
10.18500 + lt_cv_dlopen="dlopen"
10.18501 +else
10.18502 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10.18503 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10.18504 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10.18505 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18506 +else
10.18507 + ac_check_lib_save_LIBS=$LIBS
10.18508 +LIBS="-ldl $LIBS"
10.18509 +cat >conftest.$ac_ext <<_ACEOF
10.18510 +/* confdefs.h. */
10.18511 +_ACEOF
10.18512 +cat confdefs.h >>conftest.$ac_ext
10.18513 +cat >>conftest.$ac_ext <<_ACEOF
10.18514 +/* end confdefs.h. */
10.18515 +
10.18516 +/* Override any GCC internal prototype to avoid an error.
10.18517 + Use char because int might match the return type of a GCC
10.18518 + builtin and then its argument prototype would still apply. */
10.18519 +#ifdef __cplusplus
10.18520 +extern "C"
10.18521 +#endif
10.18522 +char dlopen ();
10.18523 +int
10.18524 +main ()
10.18525 +{
10.18526 +return dlopen ();
10.18527 + ;
10.18528 + return 0;
10.18529 +}
10.18530 +_ACEOF
10.18531 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18532 +if { (ac_try="$ac_link"
10.18533 +case "(($ac_try" in
10.18534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18535 + *) ac_try_echo=$ac_try;;
10.18536 +esac
10.18537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18538 + (eval "$ac_link") 2>conftest.er1
10.18539 + ac_status=$?
10.18540 + grep -v '^ *+' conftest.er1 >conftest.err
10.18541 + rm -f conftest.er1
10.18542 + cat conftest.err >&5
10.18543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18544 + (exit $ac_status); } && {
10.18545 + test -z "$ac_c_werror_flag" ||
10.18546 + test ! -s conftest.err
10.18547 + } && test -s conftest$ac_exeext &&
10.18548 + $as_test_x conftest$ac_exeext; then
10.18549 + ac_cv_lib_dl_dlopen=yes
10.18550 +else
10.18551 + echo "$as_me: failed program was:" >&5
10.18552 +sed 's/^/| /' conftest.$ac_ext >&5
10.18553 +
10.18554 + ac_cv_lib_dl_dlopen=no
10.18555 +fi
10.18556 +
10.18557 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18558 + conftest$ac_exeext conftest.$ac_ext
10.18559 +LIBS=$ac_check_lib_save_LIBS
10.18560 +fi
10.18561 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10.18562 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10.18563 +if test $ac_cv_lib_dl_dlopen = yes; then
10.18564 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10.18565 +else
10.18566 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10.18567 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10.18568 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10.18569 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18570 +else
10.18571 + ac_check_lib_save_LIBS=$LIBS
10.18572 +LIBS="-lsvld $LIBS"
10.18573 +cat >conftest.$ac_ext <<_ACEOF
10.18574 +/* confdefs.h. */
10.18575 +_ACEOF
10.18576 +cat confdefs.h >>conftest.$ac_ext
10.18577 +cat >>conftest.$ac_ext <<_ACEOF
10.18578 +/* end confdefs.h. */
10.18579 +
10.18580 +/* Override any GCC internal prototype to avoid an error.
10.18581 + Use char because int might match the return type of a GCC
10.18582 + builtin and then its argument prototype would still apply. */
10.18583 +#ifdef __cplusplus
10.18584 +extern "C"
10.18585 +#endif
10.18586 +char dlopen ();
10.18587 +int
10.18588 +main ()
10.18589 +{
10.18590 +return dlopen ();
10.18591 + ;
10.18592 + return 0;
10.18593 +}
10.18594 +_ACEOF
10.18595 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18596 +if { (ac_try="$ac_link"
10.18597 +case "(($ac_try" in
10.18598 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18599 + *) ac_try_echo=$ac_try;;
10.18600 +esac
10.18601 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18602 + (eval "$ac_link") 2>conftest.er1
10.18603 + ac_status=$?
10.18604 + grep -v '^ *+' conftest.er1 >conftest.err
10.18605 + rm -f conftest.er1
10.18606 + cat conftest.err >&5
10.18607 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18608 + (exit $ac_status); } && {
10.18609 + test -z "$ac_c_werror_flag" ||
10.18610 + test ! -s conftest.err
10.18611 + } && test -s conftest$ac_exeext &&
10.18612 + $as_test_x conftest$ac_exeext; then
10.18613 + ac_cv_lib_svld_dlopen=yes
10.18614 +else
10.18615 + echo "$as_me: failed program was:" >&5
10.18616 +sed 's/^/| /' conftest.$ac_ext >&5
10.18617 +
10.18618 + ac_cv_lib_svld_dlopen=no
10.18619 +fi
10.18620 +
10.18621 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18622 + conftest$ac_exeext conftest.$ac_ext
10.18623 +LIBS=$ac_check_lib_save_LIBS
10.18624 +fi
10.18625 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10.18626 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10.18627 +if test $ac_cv_lib_svld_dlopen = yes; then
10.18628 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10.18629 +else
10.18630 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10.18631 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10.18632 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10.18633 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18634 +else
10.18635 + ac_check_lib_save_LIBS=$LIBS
10.18636 +LIBS="-ldld $LIBS"
10.18637 +cat >conftest.$ac_ext <<_ACEOF
10.18638 +/* confdefs.h. */
10.18639 +_ACEOF
10.18640 +cat confdefs.h >>conftest.$ac_ext
10.18641 +cat >>conftest.$ac_ext <<_ACEOF
10.18642 +/* end confdefs.h. */
10.18643 +
10.18644 +/* Override any GCC internal prototype to avoid an error.
10.18645 + Use char because int might match the return type of a GCC
10.18646 + builtin and then its argument prototype would still apply. */
10.18647 +#ifdef __cplusplus
10.18648 +extern "C"
10.18649 +#endif
10.18650 +char dld_link ();
10.18651 +int
10.18652 +main ()
10.18653 +{
10.18654 +return dld_link ();
10.18655 + ;
10.18656 + return 0;
10.18657 +}
10.18658 +_ACEOF
10.18659 +rm -f conftest.$ac_objext conftest$ac_exeext
10.18660 +if { (ac_try="$ac_link"
10.18661 +case "(($ac_try" in
10.18662 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.18663 + *) ac_try_echo=$ac_try;;
10.18664 +esac
10.18665 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.18666 + (eval "$ac_link") 2>conftest.er1
10.18667 + ac_status=$?
10.18668 + grep -v '^ *+' conftest.er1 >conftest.err
10.18669 + rm -f conftest.er1
10.18670 + cat conftest.err >&5
10.18671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18672 + (exit $ac_status); } && {
10.18673 + test -z "$ac_c_werror_flag" ||
10.18674 + test ! -s conftest.err
10.18675 + } && test -s conftest$ac_exeext &&
10.18676 + $as_test_x conftest$ac_exeext; then
10.18677 + ac_cv_lib_dld_dld_link=yes
10.18678 +else
10.18679 + echo "$as_me: failed program was:" >&5
10.18680 +sed 's/^/| /' conftest.$ac_ext >&5
10.18681 +
10.18682 + ac_cv_lib_dld_dld_link=no
10.18683 +fi
10.18684 +
10.18685 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.18686 + conftest$ac_exeext conftest.$ac_ext
10.18687 +LIBS=$ac_check_lib_save_LIBS
10.18688 +fi
10.18689 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10.18690 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10.18691 +if test $ac_cv_lib_dld_dld_link = yes; then
10.18692 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10.18693 +fi
10.18694 +
10.18695 +
10.18696 +fi
10.18697 +
10.18698 +
10.18699 +fi
10.18700 +
10.18701 +
10.18702 +fi
10.18703 +
10.18704 +
10.18705 +fi
10.18706 +
10.18707 +
10.18708 +fi
10.18709 +
10.18710 + ;;
10.18711 + esac
10.18712 +
10.18713 + if test "x$lt_cv_dlopen" != xno; then
10.18714 + enable_dlopen=yes
10.18715 + else
10.18716 + enable_dlopen=no
10.18717 + fi
10.18718 +
10.18719 + case $lt_cv_dlopen in
10.18720 + dlopen)
10.18721 + save_CPPFLAGS="$CPPFLAGS"
10.18722 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10.18723 +
10.18724 + save_LDFLAGS="$LDFLAGS"
10.18725 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10.18726 +
10.18727 + save_LIBS="$LIBS"
10.18728 + LIBS="$lt_cv_dlopen_libs $LIBS"
10.18729 +
10.18730 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10.18731 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10.18732 +if test "${lt_cv_dlopen_self+set}" = set; then
10.18733 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18734 +else
10.18735 + if test "$cross_compiling" = yes; then :
10.18736 + lt_cv_dlopen_self=cross
10.18737 +else
10.18738 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10.18739 + lt_status=$lt_dlunknown
10.18740 + cat > conftest.$ac_ext <<EOF
10.18741 +#line __oline__ "configure"
10.18742 +#include "confdefs.h"
10.18743 +
10.18744 +#if HAVE_DLFCN_H
10.18745 +#include <dlfcn.h>
10.18746 +#endif
10.18747 +
10.18748 +#include <stdio.h>
10.18749 +
10.18750 +#ifdef RTLD_GLOBAL
10.18751 +# define LT_DLGLOBAL RTLD_GLOBAL
10.18752 +#else
10.18753 +# ifdef DL_GLOBAL
10.18754 +# define LT_DLGLOBAL DL_GLOBAL
10.18755 +# else
10.18756 +# define LT_DLGLOBAL 0
10.18757 +# endif
10.18758 +#endif
10.18759 +
10.18760 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10.18761 + find out it does not work in some platform. */
10.18762 +#ifndef LT_DLLAZY_OR_NOW
10.18763 +# ifdef RTLD_LAZY
10.18764 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
10.18765 +# else
10.18766 +# ifdef DL_LAZY
10.18767 +# define LT_DLLAZY_OR_NOW DL_LAZY
10.18768 +# else
10.18769 +# ifdef RTLD_NOW
10.18770 +# define LT_DLLAZY_OR_NOW RTLD_NOW
10.18771 +# else
10.18772 +# ifdef DL_NOW
10.18773 +# define LT_DLLAZY_OR_NOW DL_NOW
10.18774 +# else
10.18775 +# define LT_DLLAZY_OR_NOW 0
10.18776 +# endif
10.18777 +# endif
10.18778 +# endif
10.18779 +# endif
10.18780 +#endif
10.18781 +
10.18782 +#ifdef __cplusplus
10.18783 +extern "C" void exit (int);
10.18784 +#endif
10.18785 +
10.18786 +void fnord() { int i=42;}
10.18787 +int main ()
10.18788 +{
10.18789 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10.18790 + int status = $lt_dlunknown;
10.18791 +
10.18792 + if (self)
10.18793 + {
10.18794 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10.18795 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10.18796 + /* dlclose (self); */
10.18797 + }
10.18798 +
10.18799 + exit (status);
10.18800 +}
10.18801 +EOF
10.18802 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.18803 + (eval $ac_link) 2>&5
10.18804 + ac_status=$?
10.18805 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18806 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10.18807 + (./conftest; exit; ) 2>/dev/null
10.18808 + lt_status=$?
10.18809 + case x$lt_status in
10.18810 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10.18811 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10.18812 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
10.18813 + esac
10.18814 + else :
10.18815 + # compilation failed
10.18816 + lt_cv_dlopen_self=no
10.18817 + fi
10.18818 +fi
10.18819 +rm -fr conftest*
10.18820 +
10.18821 +
10.18822 +fi
10.18823 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10.18824 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10.18825 +
10.18826 + if test "x$lt_cv_dlopen_self" = xyes; then
10.18827 + LDFLAGS="$LDFLAGS $link_static_flag"
10.18828 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10.18829 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10.18830 +if test "${lt_cv_dlopen_self_static+set}" = set; then
10.18831 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.18832 +else
10.18833 + if test "$cross_compiling" = yes; then :
10.18834 + lt_cv_dlopen_self_static=cross
10.18835 +else
10.18836 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10.18837 + lt_status=$lt_dlunknown
10.18838 + cat > conftest.$ac_ext <<EOF
10.18839 +#line __oline__ "configure"
10.18840 +#include "confdefs.h"
10.18841 +
10.18842 +#if HAVE_DLFCN_H
10.18843 +#include <dlfcn.h>
10.18844 +#endif
10.18845 +
10.18846 +#include <stdio.h>
10.18847 +
10.18848 +#ifdef RTLD_GLOBAL
10.18849 +# define LT_DLGLOBAL RTLD_GLOBAL
10.18850 +#else
10.18851 +# ifdef DL_GLOBAL
10.18852 +# define LT_DLGLOBAL DL_GLOBAL
10.18853 +# else
10.18854 +# define LT_DLGLOBAL 0
10.18855 +# endif
10.18856 +#endif
10.18857 +
10.18858 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10.18859 + find out it does not work in some platform. */
10.18860 +#ifndef LT_DLLAZY_OR_NOW
10.18861 +# ifdef RTLD_LAZY
10.18862 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
10.18863 +# else
10.18864 +# ifdef DL_LAZY
10.18865 +# define LT_DLLAZY_OR_NOW DL_LAZY
10.18866 +# else
10.18867 +# ifdef RTLD_NOW
10.18868 +# define LT_DLLAZY_OR_NOW RTLD_NOW
10.18869 +# else
10.18870 +# ifdef DL_NOW
10.18871 +# define LT_DLLAZY_OR_NOW DL_NOW
10.18872 +# else
10.18873 +# define LT_DLLAZY_OR_NOW 0
10.18874 +# endif
10.18875 +# endif
10.18876 +# endif
10.18877 +# endif
10.18878 +#endif
10.18879 +
10.18880 +#ifdef __cplusplus
10.18881 +extern "C" void exit (int);
10.18882 +#endif
10.18883 +
10.18884 +void fnord() { int i=42;}
10.18885 +int main ()
10.18886 +{
10.18887 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10.18888 + int status = $lt_dlunknown;
10.18889 +
10.18890 + if (self)
10.18891 + {
10.18892 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10.18893 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10.18894 + /* dlclose (self); */
10.18895 + }
10.18896 +
10.18897 + exit (status);
10.18898 +}
10.18899 +EOF
10.18900 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10.18901 + (eval $ac_link) 2>&5
10.18902 + ac_status=$?
10.18903 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.18904 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10.18905 + (./conftest; exit; ) 2>/dev/null
10.18906 + lt_status=$?
10.18907 + case x$lt_status in
10.18908 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10.18909 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10.18910 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
10.18911 + esac
10.18912 + else :
10.18913 + # compilation failed
10.18914 + lt_cv_dlopen_self_static=no
10.18915 + fi
10.18916 +fi
10.18917 +rm -fr conftest*
10.18918 +
10.18919 +
10.18920 +fi
10.18921 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10.18922 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10.18923 + fi
10.18924 +
10.18925 + CPPFLAGS="$save_CPPFLAGS"
10.18926 + LDFLAGS="$save_LDFLAGS"
10.18927 + LIBS="$save_LIBS"
10.18928 + ;;
10.18929 + esac
10.18930 +
10.18931 + case $lt_cv_dlopen_self in
10.18932 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10.18933 + *) enable_dlopen_self=unknown ;;
10.18934 + esac
10.18935 +
10.18936 + case $lt_cv_dlopen_self_static in
10.18937 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10.18938 + *) enable_dlopen_self_static=unknown ;;
10.18939 + esac
10.18940 +fi
10.18941 +
10.18942 +
10.18943 +# The else clause should only fire when bootstrapping the
10.18944 +# libtool distribution, otherwise you forgot to ship ltmain.sh
10.18945 +# with your package, and you will get complaints that there are
10.18946 +# no rules to generate ltmain.sh.
10.18947 +if test -f "$ltmain"; then
10.18948 + # See if we are running on zsh, and set the options which allow our commands through
10.18949 + # without removal of \ escapes.
10.18950 + if test -n "${ZSH_VERSION+set}" ; then
10.18951 + setopt NO_GLOB_SUBST
10.18952 + fi
10.18953 + # Now quote all the things that may contain metacharacters while being
10.18954 + # careful not to overquote the AC_SUBSTed values. We take copies of the
10.18955 + # variables and quote the copies for generation of the libtool script.
10.18956 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10.18957 + SED SHELL STRIP \
10.18958 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10.18959 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10.18960 + deplibs_check_method reload_flag reload_cmds need_locks \
10.18961 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10.18962 + lt_cv_sys_global_symbol_to_c_name_address \
10.18963 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10.18964 + old_postinstall_cmds old_postuninstall_cmds \
10.18965 + compiler_GCJ \
10.18966 + CC_GCJ \
10.18967 + LD_GCJ \
10.18968 + lt_prog_compiler_wl_GCJ \
10.18969 + lt_prog_compiler_pic_GCJ \
10.18970 + lt_prog_compiler_static_GCJ \
10.18971 + lt_prog_compiler_no_builtin_flag_GCJ \
10.18972 + export_dynamic_flag_spec_GCJ \
10.18973 + thread_safe_flag_spec_GCJ \
10.18974 + whole_archive_flag_spec_GCJ \
10.18975 + enable_shared_with_static_runtimes_GCJ \
10.18976 + old_archive_cmds_GCJ \
10.18977 + old_archive_from_new_cmds_GCJ \
10.18978 + predep_objects_GCJ \
10.18979 + postdep_objects_GCJ \
10.18980 + predeps_GCJ \
10.18981 + postdeps_GCJ \
10.18982 + compiler_lib_search_path_GCJ \
10.18983 + archive_cmds_GCJ \
10.18984 + archive_expsym_cmds_GCJ \
10.18985 + postinstall_cmds_GCJ \
10.18986 + postuninstall_cmds_GCJ \
10.18987 + old_archive_from_expsyms_cmds_GCJ \
10.18988 + allow_undefined_flag_GCJ \
10.18989 + no_undefined_flag_GCJ \
10.18990 + export_symbols_cmds_GCJ \
10.18991 + hardcode_libdir_flag_spec_GCJ \
10.18992 + hardcode_libdir_flag_spec_ld_GCJ \
10.18993 + hardcode_libdir_separator_GCJ \
10.18994 + hardcode_automatic_GCJ \
10.18995 + module_cmds_GCJ \
10.18996 + module_expsym_cmds_GCJ \
10.18997 + lt_cv_prog_compiler_c_o_GCJ \
10.18998 + exclude_expsyms_GCJ \
10.18999 + include_expsyms_GCJ; do
10.19000 +
10.19001 + case $var in
10.19002 + old_archive_cmds_GCJ | \
10.19003 + old_archive_from_new_cmds_GCJ | \
10.19004 + archive_cmds_GCJ | \
10.19005 + archive_expsym_cmds_GCJ | \
10.19006 + module_cmds_GCJ | \
10.19007 + module_expsym_cmds_GCJ | \
10.19008 + old_archive_from_expsyms_cmds_GCJ | \
10.19009 + export_symbols_cmds_GCJ | \
10.19010 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
10.19011 + postinstall_cmds | postuninstall_cmds | \
10.19012 + old_postinstall_cmds | old_postuninstall_cmds | \
10.19013 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10.19014 + # Double-quote double-evaled strings.
10.19015 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10.19016 + ;;
10.19017 + *)
10.19018 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10.19019 + ;;
10.19020 + esac
10.19021 + done
10.19022 +
10.19023 + case $lt_echo in
10.19024 + *'\$0 --fallback-echo"')
10.19025 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10.19026 + ;;
10.19027 + esac
10.19028 +
10.19029 +cfgfile="$ofile"
10.19030 +
10.19031 + cat <<__EOF__ >> "$cfgfile"
10.19032 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
10.19033 +
10.19034 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10.19035 +
10.19036 +# Shell to use when invoking shell scripts.
10.19037 +SHELL=$lt_SHELL
10.19038 +
10.19039 +# Whether or not to build shared libraries.
10.19040 +build_libtool_libs=$enable_shared
10.19041 +
10.19042 +# Whether or not to build static libraries.
10.19043 +build_old_libs=$enable_static
10.19044 +
10.19045 +# Whether or not to add -lc for building shared libraries.
10.19046 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
10.19047 +
10.19048 +# Whether or not to disallow shared libs when runtime libs are static
10.19049 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
10.19050 +
10.19051 +# Whether or not to optimize for fast installation.
10.19052 +fast_install=$enable_fast_install
10.19053 +
10.19054 +# The host system.
10.19055 +host_alias=$host_alias
10.19056 +host=$host
10.19057 +
10.19058 +# An echo program that does not interpret backslashes.
10.19059 +echo=$lt_echo
10.19060 +
10.19061 +# The archiver.
10.19062 +AR=$lt_AR
10.19063 +AR_FLAGS=$lt_AR_FLAGS
10.19064 +
10.19065 +# A C compiler.
10.19066 +LTCC=$lt_LTCC
10.19067 +
10.19068 +# A language-specific compiler.
10.19069 +CC=$lt_compiler_GCJ
10.19070 +
10.19071 +# Is the compiler the GNU C compiler?
10.19072 +with_gcc=$GCC_GCJ
10.19073 +
10.19074 +# An ERE matcher.
10.19075 +EGREP=$lt_EGREP
10.19076 +
10.19077 +# The linker used to build libraries.
10.19078 +LD=$lt_LD_GCJ
10.19079 +
10.19080 +# Whether we need hard or soft links.
10.19081 +LN_S=$lt_LN_S
10.19082 +
10.19083 +# A BSD-compatible nm program.
10.19084 +NM=$lt_NM
10.19085 +
10.19086 +# A symbol stripping program
10.19087 +STRIP=$lt_STRIP
10.19088 +
10.19089 +# Used to examine libraries when file_magic_cmd begins "file"
10.19090 +MAGIC_CMD=$MAGIC_CMD
10.19091 +
10.19092 +# Used on cygwin: DLL creation program.
10.19093 +DLLTOOL="$DLLTOOL"
10.19094 +
10.19095 +# Used on cygwin: object dumper.
10.19096 +OBJDUMP="$OBJDUMP"
10.19097 +
10.19098 +# Used on cygwin: assembler.
10.19099 +AS="$AS"
10.19100 +
10.19101 +# The name of the directory that contains temporary libtool files.
10.19102 +objdir=$objdir
10.19103 +
10.19104 +# How to create reloadable object files.
10.19105 +reload_flag=$lt_reload_flag
10.19106 +reload_cmds=$lt_reload_cmds
10.19107 +
10.19108 +# How to pass a linker flag through the compiler.
10.19109 +wl=$lt_lt_prog_compiler_wl_GCJ
10.19110 +
10.19111 +# Object file suffix (normally "o").
10.19112 +objext="$ac_objext"
10.19113 +
10.19114 +# Old archive suffix (normally "a").
10.19115 +libext="$libext"
10.19116 +
10.19117 +# Shared library suffix (normally ".so").
10.19118 +shrext_cmds='$shrext_cmds'
10.19119 +
10.19120 +# Executable file suffix (normally "").
10.19121 +exeext="$exeext"
10.19122 +
10.19123 +# Additional compiler flags for building library objects.
10.19124 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
10.19125 +pic_mode=$pic_mode
10.19126 +
10.19127 +# What is the maximum length of a command?
10.19128 +max_cmd_len=$lt_cv_sys_max_cmd_len
10.19129 +
10.19130 +# Does compiler simultaneously support -c and -o options?
10.19131 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
10.19132 +
10.19133 +# Must we lock files when doing compilation ?
10.19134 +need_locks=$lt_need_locks
10.19135 +
10.19136 +# Do we need the lib prefix for modules?
10.19137 +need_lib_prefix=$need_lib_prefix
10.19138 +
10.19139 +# Do we need a version for libraries?
10.19140 +need_version=$need_version
10.19141 +
10.19142 +# Whether dlopen is supported.
10.19143 +dlopen_support=$enable_dlopen
10.19144 +
10.19145 +# Whether dlopen of programs is supported.
10.19146 +dlopen_self=$enable_dlopen_self
10.19147 +
10.19148 +# Whether dlopen of statically linked programs is supported.
10.19149 +dlopen_self_static=$enable_dlopen_self_static
10.19150 +
10.19151 +# Compiler flag to prevent dynamic linking.
10.19152 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
10.19153 +
10.19154 +# Compiler flag to turn off builtin functions.
10.19155 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
10.19156 +
10.19157 +# Compiler flag to allow reflexive dlopens.
10.19158 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
10.19159 +
10.19160 +# Compiler flag to generate shared objects directly from archives.
10.19161 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
10.19162 +
10.19163 +# Compiler flag to generate thread-safe objects.
10.19164 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
10.19165 +
10.19166 +# Library versioning type.
10.19167 +version_type=$version_type
10.19168 +
10.19169 +# Format of library name prefix.
10.19170 +libname_spec=$lt_libname_spec
10.19171 +
10.19172 +# List of archive names. First name is the real one, the rest are links.
10.19173 +# The last name is the one that the linker finds with -lNAME.
10.19174 +library_names_spec=$lt_library_names_spec
10.19175 +
10.19176 +# The coded name of the library, if different from the real name.
10.19177 +soname_spec=$lt_soname_spec
10.19178 +
10.19179 +# Commands used to build and install an old-style archive.
10.19180 +RANLIB=$lt_RANLIB
10.19181 +old_archive_cmds=$lt_old_archive_cmds_GCJ
10.19182 +old_postinstall_cmds=$lt_old_postinstall_cmds
10.19183 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
10.19184 +
10.19185 +# Create an old-style archive from a shared archive.
10.19186 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
10.19187 +
10.19188 +# Create a temporary old-style archive to link instead of a shared archive.
10.19189 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
10.19190 +
10.19191 +# Commands used to build and install a shared archive.
10.19192 +archive_cmds=$lt_archive_cmds_GCJ
10.19193 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
10.19194 +postinstall_cmds=$lt_postinstall_cmds
10.19195 +postuninstall_cmds=$lt_postuninstall_cmds
10.19196 +
10.19197 +# Commands used to build a loadable module (assumed same as above if empty)
10.19198 +module_cmds=$lt_module_cmds_GCJ
10.19199 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
10.19200 +
10.19201 +# Commands to strip libraries.
10.19202 +old_striplib=$lt_old_striplib
10.19203 +striplib=$lt_striplib
10.19204 +
10.19205 +# Dependencies to place before the objects being linked to create a
10.19206 +# shared library.
10.19207 +predep_objects=$lt_predep_objects_GCJ
10.19208 +
10.19209 +# Dependencies to place after the objects being linked to create a
10.19210 +# shared library.
10.19211 +postdep_objects=$lt_postdep_objects_GCJ
10.19212 +
10.19213 +# Dependencies to place before the objects being linked to create a
10.19214 +# shared library.
10.19215 +predeps=$lt_predeps_GCJ
10.19216 +
10.19217 +# Dependencies to place after the objects being linked to create a
10.19218 +# shared library.
10.19219 +postdeps=$lt_postdeps_GCJ
10.19220 +
10.19221 +# The library search path used internally by the compiler when linking
10.19222 +# a shared library.
10.19223 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
10.19224 +
10.19225 +# Method to check whether dependent libraries are shared objects.
10.19226 +deplibs_check_method=$lt_deplibs_check_method
10.19227 +
10.19228 +# Command to use when deplibs_check_method == file_magic.
10.19229 +file_magic_cmd=$lt_file_magic_cmd
10.19230 +
10.19231 +# Flag that allows shared libraries with undefined symbols to be built.
10.19232 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
10.19233 +
10.19234 +# Flag that forces no undefined symbols.
10.19235 +no_undefined_flag=$lt_no_undefined_flag_GCJ
10.19236 +
10.19237 +# Commands used to finish a libtool library installation in a directory.
10.19238 +finish_cmds=$lt_finish_cmds
10.19239 +
10.19240 +# Same as above, but a single script fragment to be evaled but not shown.
10.19241 +finish_eval=$lt_finish_eval
10.19242 +
10.19243 +# Take the output of nm and produce a listing of raw symbols and C names.
10.19244 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10.19245 +
10.19246 +# Transform the output of nm in a proper C declaration
10.19247 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10.19248 +
10.19249 +# Transform the output of nm in a C name address pair
10.19250 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10.19251 +
10.19252 +# This is the shared library runtime path variable.
10.19253 +runpath_var=$runpath_var
10.19254 +
10.19255 +# This is the shared library path variable.
10.19256 +shlibpath_var=$shlibpath_var
10.19257 +
10.19258 +# Is shlibpath searched before the hard-coded library search path?
10.19259 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10.19260 +
10.19261 +# How to hardcode a shared library path into an executable.
10.19262 +hardcode_action=$hardcode_action_GCJ
10.19263 +
10.19264 +# Whether we should hardcode library paths into libraries.
10.19265 +hardcode_into_libs=$hardcode_into_libs
10.19266 +
10.19267 +# Flag to hardcode \$libdir into a binary during linking.
10.19268 +# This must work even if \$libdir does not exist.
10.19269 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
10.19270 +
10.19271 +# If ld is used when linking, flag to hardcode \$libdir into
10.19272 +# a binary during linking. This must work even if \$libdir does
10.19273 +# not exist.
10.19274 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
10.19275 +
10.19276 +# Whether we need a single -rpath flag with a separated argument.
10.19277 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
10.19278 +
10.19279 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10.19280 +# resulting binary.
10.19281 +hardcode_direct=$hardcode_direct_GCJ
10.19282 +
10.19283 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10.19284 +# resulting binary.
10.19285 +hardcode_minus_L=$hardcode_minus_L_GCJ
10.19286 +
10.19287 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10.19288 +# the resulting binary.
10.19289 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
10.19290 +
10.19291 +# Set to yes if building a shared library automatically hardcodes DIR into the library
10.19292 +# and all subsequent libraries and executables linked against it.
10.19293 +hardcode_automatic=$hardcode_automatic_GCJ
10.19294 +
10.19295 +# Variables whose values should be saved in libtool wrapper scripts and
10.19296 +# restored at relink time.
10.19297 +variables_saved_for_relink="$variables_saved_for_relink"
10.19298 +
10.19299 +# Whether libtool must link a program against all its dependency libraries.
10.19300 +link_all_deplibs=$link_all_deplibs_GCJ
10.19301 +
10.19302 +# Compile-time system search path for libraries
10.19303 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10.19304 +
10.19305 +# Run-time system search path for libraries
10.19306 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10.19307 +
10.19308 +# Fix the shell variable \$srcfile for the compiler.
10.19309 +fix_srcfile_path="$fix_srcfile_path_GCJ"
10.19310 +
10.19311 +# Set to yes if exported symbols are required.
10.19312 +always_export_symbols=$always_export_symbols_GCJ
10.19313 +
10.19314 +# The commands to list exported symbols.
10.19315 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
10.19316 +
10.19317 +# The commands to extract the exported symbol list from a shared archive.
10.19318 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
10.19319 +
10.19320 +# Symbols that should not be listed in the preloaded symbols.
10.19321 +exclude_expsyms=$lt_exclude_expsyms_GCJ
10.19322 +
10.19323 +# Symbols that must always be exported.
10.19324 +include_expsyms=$lt_include_expsyms_GCJ
10.19325 +
10.19326 +# ### END LIBTOOL TAG CONFIG: $tagname
10.19327 +
10.19328 +__EOF__
10.19329 +
10.19330 +
10.19331 +else
10.19332 + # If there is no Makefile yet, we rely on a make rule to execute
10.19333 + # `config.status --recheck' to rerun these tests and create the
10.19334 + # libtool script then.
10.19335 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10.19336 + if test -f "$ltmain_in"; then
10.19337 + test -f Makefile && make "$ltmain"
10.19338 + fi
10.19339 +fi
10.19340 +
10.19341 +
10.19342 +ac_ext=c
10.19343 +ac_cpp='$CPP $CPPFLAGS'
10.19344 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.19345 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.19346 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.19347 +
10.19348 +CC="$lt_save_CC"
10.19349 +
10.19350 + else
10.19351 + tagname=""
10.19352 + fi
10.19353 + ;;
10.19354 +
10.19355 + RC)
10.19356 +
10.19357 +
10.19358 +# Source file extension for RC test sources.
10.19359 +ac_ext=rc
10.19360 +
10.19361 +# Object file extension for compiled RC test sources.
10.19362 +objext=o
10.19363 +objext_RC=$objext
10.19364 +
10.19365 +# Code to be used in simple compile tests
10.19366 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
10.19367 +
10.19368 +# Code to be used in simple link tests
10.19369 +lt_simple_link_test_code="$lt_simple_compile_test_code"
10.19370 +
10.19371 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10.19372 +
10.19373 +# If no C compiler was specified, use CC.
10.19374 +LTCC=${LTCC-"$CC"}
10.19375 +
10.19376 +# Allow CC to be a program name with arguments.
10.19377 +compiler=$CC
10.19378 +
10.19379 +
10.19380 +# Allow CC to be a program name with arguments.
10.19381 +lt_save_CC="$CC"
10.19382 +CC=${RC-"windres"}
10.19383 +compiler=$CC
10.19384 +compiler_RC=$CC
10.19385 +lt_cv_prog_compiler_c_o_RC=yes
10.19386 +
10.19387 +# The else clause should only fire when bootstrapping the
10.19388 +# libtool distribution, otherwise you forgot to ship ltmain.sh
10.19389 +# with your package, and you will get complaints that there are
10.19390 +# no rules to generate ltmain.sh.
10.19391 +if test -f "$ltmain"; then
10.19392 + # See if we are running on zsh, and set the options which allow our commands through
10.19393 + # without removal of \ escapes.
10.19394 + if test -n "${ZSH_VERSION+set}" ; then
10.19395 + setopt NO_GLOB_SUBST
10.19396 + fi
10.19397 + # Now quote all the things that may contain metacharacters while being
10.19398 + # careful not to overquote the AC_SUBSTed values. We take copies of the
10.19399 + # variables and quote the copies for generation of the libtool script.
10.19400 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10.19401 + SED SHELL STRIP \
10.19402 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10.19403 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10.19404 + deplibs_check_method reload_flag reload_cmds need_locks \
10.19405 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10.19406 + lt_cv_sys_global_symbol_to_c_name_address \
10.19407 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10.19408 + old_postinstall_cmds old_postuninstall_cmds \
10.19409 + compiler_RC \
10.19410 + CC_RC \
10.19411 + LD_RC \
10.19412 + lt_prog_compiler_wl_RC \
10.19413 + lt_prog_compiler_pic_RC \
10.19414 + lt_prog_compiler_static_RC \
10.19415 + lt_prog_compiler_no_builtin_flag_RC \
10.19416 + export_dynamic_flag_spec_RC \
10.19417 + thread_safe_flag_spec_RC \
10.19418 + whole_archive_flag_spec_RC \
10.19419 + enable_shared_with_static_runtimes_RC \
10.19420 + old_archive_cmds_RC \
10.19421 + old_archive_from_new_cmds_RC \
10.19422 + predep_objects_RC \
10.19423 + postdep_objects_RC \
10.19424 + predeps_RC \
10.19425 + postdeps_RC \
10.19426 + compiler_lib_search_path_RC \
10.19427 + archive_cmds_RC \
10.19428 + archive_expsym_cmds_RC \
10.19429 + postinstall_cmds_RC \
10.19430 + postuninstall_cmds_RC \
10.19431 + old_archive_from_expsyms_cmds_RC \
10.19432 + allow_undefined_flag_RC \
10.19433 + no_undefined_flag_RC \
10.19434 + export_symbols_cmds_RC \
10.19435 + hardcode_libdir_flag_spec_RC \
10.19436 + hardcode_libdir_flag_spec_ld_RC \
10.19437 + hardcode_libdir_separator_RC \
10.19438 + hardcode_automatic_RC \
10.19439 + module_cmds_RC \
10.19440 + module_expsym_cmds_RC \
10.19441 + lt_cv_prog_compiler_c_o_RC \
10.19442 + exclude_expsyms_RC \
10.19443 + include_expsyms_RC; do
10.19444 +
10.19445 + case $var in
10.19446 + old_archive_cmds_RC | \
10.19447 + old_archive_from_new_cmds_RC | \
10.19448 + archive_cmds_RC | \
10.19449 + archive_expsym_cmds_RC | \
10.19450 + module_cmds_RC | \
10.19451 + module_expsym_cmds_RC | \
10.19452 + old_archive_from_expsyms_cmds_RC | \
10.19453 + export_symbols_cmds_RC | \
10.19454 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
10.19455 + postinstall_cmds | postuninstall_cmds | \
10.19456 + old_postinstall_cmds | old_postuninstall_cmds | \
10.19457 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10.19458 + # Double-quote double-evaled strings.
10.19459 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10.19460 + ;;
10.19461 + *)
10.19462 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10.19463 + ;;
10.19464 + esac
10.19465 + done
10.19466 +
10.19467 + case $lt_echo in
10.19468 + *'\$0 --fallback-echo"')
10.19469 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10.19470 + ;;
10.19471 + esac
10.19472 +
10.19473 +cfgfile="$ofile"
10.19474 +
10.19475 + cat <<__EOF__ >> "$cfgfile"
10.19476 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
10.19477 +
10.19478 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10.19479 +
10.19480 +# Shell to use when invoking shell scripts.
10.19481 +SHELL=$lt_SHELL
10.19482 +
10.19483 +# Whether or not to build shared libraries.
10.19484 +build_libtool_libs=$enable_shared
10.19485 +
10.19486 +# Whether or not to build static libraries.
10.19487 +build_old_libs=$enable_static
10.19488 +
10.19489 +# Whether or not to add -lc for building shared libraries.
10.19490 +build_libtool_need_lc=$archive_cmds_need_lc_RC
10.19491 +
10.19492 +# Whether or not to disallow shared libs when runtime libs are static
10.19493 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
10.19494 +
10.19495 +# Whether or not to optimize for fast installation.
10.19496 +fast_install=$enable_fast_install
10.19497 +
10.19498 +# The host system.
10.19499 +host_alias=$host_alias
10.19500 +host=$host
10.19501 +
10.19502 +# An echo program that does not interpret backslashes.
10.19503 +echo=$lt_echo
10.19504 +
10.19505 +# The archiver.
10.19506 +AR=$lt_AR
10.19507 +AR_FLAGS=$lt_AR_FLAGS
10.19508 +
10.19509 +# A C compiler.
10.19510 +LTCC=$lt_LTCC
10.19511 +
10.19512 +# A language-specific compiler.
10.19513 +CC=$lt_compiler_RC
10.19514 +
10.19515 +# Is the compiler the GNU C compiler?
10.19516 +with_gcc=$GCC_RC
10.19517 +
10.19518 +# An ERE matcher.
10.19519 +EGREP=$lt_EGREP
10.19520 +
10.19521 +# The linker used to build libraries.
10.19522 +LD=$lt_LD_RC
10.19523 +
10.19524 +# Whether we need hard or soft links.
10.19525 +LN_S=$lt_LN_S
10.19526 +
10.19527 +# A BSD-compatible nm program.
10.19528 +NM=$lt_NM
10.19529 +
10.19530 +# A symbol stripping program
10.19531 +STRIP=$lt_STRIP
10.19532 +
10.19533 +# Used to examine libraries when file_magic_cmd begins "file"
10.19534 +MAGIC_CMD=$MAGIC_CMD
10.19535 +
10.19536 +# Used on cygwin: DLL creation program.
10.19537 +DLLTOOL="$DLLTOOL"
10.19538 +
10.19539 +# Used on cygwin: object dumper.
10.19540 +OBJDUMP="$OBJDUMP"
10.19541 +
10.19542 +# Used on cygwin: assembler.
10.19543 +AS="$AS"
10.19544 +
10.19545 +# The name of the directory that contains temporary libtool files.
10.19546 +objdir=$objdir
10.19547 +
10.19548 +# How to create reloadable object files.
10.19549 +reload_flag=$lt_reload_flag
10.19550 +reload_cmds=$lt_reload_cmds
10.19551 +
10.19552 +# How to pass a linker flag through the compiler.
10.19553 +wl=$lt_lt_prog_compiler_wl_RC
10.19554 +
10.19555 +# Object file suffix (normally "o").
10.19556 +objext="$ac_objext"
10.19557 +
10.19558 +# Old archive suffix (normally "a").
10.19559 +libext="$libext"
10.19560 +
10.19561 +# Shared library suffix (normally ".so").
10.19562 +shrext_cmds='$shrext_cmds'
10.19563 +
10.19564 +# Executable file suffix (normally "").
10.19565 +exeext="$exeext"
10.19566 +
10.19567 +# Additional compiler flags for building library objects.
10.19568 +pic_flag=$lt_lt_prog_compiler_pic_RC
10.19569 +pic_mode=$pic_mode
10.19570 +
10.19571 +# What is the maximum length of a command?
10.19572 +max_cmd_len=$lt_cv_sys_max_cmd_len
10.19573 +
10.19574 +# Does compiler simultaneously support -c and -o options?
10.19575 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
10.19576 +
10.19577 +# Must we lock files when doing compilation ?
10.19578 +need_locks=$lt_need_locks
10.19579 +
10.19580 +# Do we need the lib prefix for modules?
10.19581 +need_lib_prefix=$need_lib_prefix
10.19582 +
10.19583 +# Do we need a version for libraries?
10.19584 +need_version=$need_version
10.19585 +
10.19586 +# Whether dlopen is supported.
10.19587 +dlopen_support=$enable_dlopen
10.19588 +
10.19589 +# Whether dlopen of programs is supported.
10.19590 +dlopen_self=$enable_dlopen_self
10.19591 +
10.19592 +# Whether dlopen of statically linked programs is supported.
10.19593 +dlopen_self_static=$enable_dlopen_self_static
10.19594 +
10.19595 +# Compiler flag to prevent dynamic linking.
10.19596 +link_static_flag=$lt_lt_prog_compiler_static_RC
10.19597 +
10.19598 +# Compiler flag to turn off builtin functions.
10.19599 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
10.19600 +
10.19601 +# Compiler flag to allow reflexive dlopens.
10.19602 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
10.19603 +
10.19604 +# Compiler flag to generate shared objects directly from archives.
10.19605 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
10.19606 +
10.19607 +# Compiler flag to generate thread-safe objects.
10.19608 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
10.19609 +
10.19610 +# Library versioning type.
10.19611 +version_type=$version_type
10.19612 +
10.19613 +# Format of library name prefix.
10.19614 +libname_spec=$lt_libname_spec
10.19615 +
10.19616 +# List of archive names. First name is the real one, the rest are links.
10.19617 +# The last name is the one that the linker finds with -lNAME.
10.19618 +library_names_spec=$lt_library_names_spec
10.19619 +
10.19620 +# The coded name of the library, if different from the real name.
10.19621 +soname_spec=$lt_soname_spec
10.19622 +
10.19623 +# Commands used to build and install an old-style archive.
10.19624 +RANLIB=$lt_RANLIB
10.19625 +old_archive_cmds=$lt_old_archive_cmds_RC
10.19626 +old_postinstall_cmds=$lt_old_postinstall_cmds
10.19627 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
10.19628 +
10.19629 +# Create an old-style archive from a shared archive.
10.19630 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
10.19631 +
10.19632 +# Create a temporary old-style archive to link instead of a shared archive.
10.19633 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
10.19634 +
10.19635 +# Commands used to build and install a shared archive.
10.19636 +archive_cmds=$lt_archive_cmds_RC
10.19637 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
10.19638 +postinstall_cmds=$lt_postinstall_cmds
10.19639 +postuninstall_cmds=$lt_postuninstall_cmds
10.19640 +
10.19641 +# Commands used to build a loadable module (assumed same as above if empty)
10.19642 +module_cmds=$lt_module_cmds_RC
10.19643 +module_expsym_cmds=$lt_module_expsym_cmds_RC
10.19644 +
10.19645 +# Commands to strip libraries.
10.19646 +old_striplib=$lt_old_striplib
10.19647 +striplib=$lt_striplib
10.19648 +
10.19649 +# Dependencies to place before the objects being linked to create a
10.19650 +# shared library.
10.19651 +predep_objects=$lt_predep_objects_RC
10.19652 +
10.19653 +# Dependencies to place after the objects being linked to create a
10.19654 +# shared library.
10.19655 +postdep_objects=$lt_postdep_objects_RC
10.19656 +
10.19657 +# Dependencies to place before the objects being linked to create a
10.19658 +# shared library.
10.19659 +predeps=$lt_predeps_RC
10.19660 +
10.19661 +# Dependencies to place after the objects being linked to create a
10.19662 +# shared library.
10.19663 +postdeps=$lt_postdeps_RC
10.19664 +
10.19665 +# The library search path used internally by the compiler when linking
10.19666 +# a shared library.
10.19667 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
10.19668 +
10.19669 +# Method to check whether dependent libraries are shared objects.
10.19670 +deplibs_check_method=$lt_deplibs_check_method
10.19671 +
10.19672 +# Command to use when deplibs_check_method == file_magic.
10.19673 +file_magic_cmd=$lt_file_magic_cmd
10.19674 +
10.19675 +# Flag that allows shared libraries with undefined symbols to be built.
10.19676 +allow_undefined_flag=$lt_allow_undefined_flag_RC
10.19677 +
10.19678 +# Flag that forces no undefined symbols.
10.19679 +no_undefined_flag=$lt_no_undefined_flag_RC
10.19680 +
10.19681 +# Commands used to finish a libtool library installation in a directory.
10.19682 +finish_cmds=$lt_finish_cmds
10.19683 +
10.19684 +# Same as above, but a single script fragment to be evaled but not shown.
10.19685 +finish_eval=$lt_finish_eval
10.19686 +
10.19687 +# Take the output of nm and produce a listing of raw symbols and C names.
10.19688 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10.19689 +
10.19690 +# Transform the output of nm in a proper C declaration
10.19691 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10.19692 +
10.19693 +# Transform the output of nm in a C name address pair
10.19694 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10.19695 +
10.19696 +# This is the shared library runtime path variable.
10.19697 +runpath_var=$runpath_var
10.19698 +
10.19699 +# This is the shared library path variable.
10.19700 +shlibpath_var=$shlibpath_var
10.19701 +
10.19702 +# Is shlibpath searched before the hard-coded library search path?
10.19703 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10.19704 +
10.19705 +# How to hardcode a shared library path into an executable.
10.19706 +hardcode_action=$hardcode_action_RC
10.19707 +
10.19708 +# Whether we should hardcode library paths into libraries.
10.19709 +hardcode_into_libs=$hardcode_into_libs
10.19710 +
10.19711 +# Flag to hardcode \$libdir into a binary during linking.
10.19712 +# This must work even if \$libdir does not exist.
10.19713 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
10.19714 +
10.19715 +# If ld is used when linking, flag to hardcode \$libdir into
10.19716 +# a binary during linking. This must work even if \$libdir does
10.19717 +# not exist.
10.19718 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
10.19719 +
10.19720 +# Whether we need a single -rpath flag with a separated argument.
10.19721 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
10.19722 +
10.19723 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10.19724 +# resulting binary.
10.19725 +hardcode_direct=$hardcode_direct_RC
10.19726 +
10.19727 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10.19728 +# resulting binary.
10.19729 +hardcode_minus_L=$hardcode_minus_L_RC
10.19730 +
10.19731 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10.19732 +# the resulting binary.
10.19733 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
10.19734 +
10.19735 +# Set to yes if building a shared library automatically hardcodes DIR into the library
10.19736 +# and all subsequent libraries and executables linked against it.
10.19737 +hardcode_automatic=$hardcode_automatic_RC
10.19738 +
10.19739 +# Variables whose values should be saved in libtool wrapper scripts and
10.19740 +# restored at relink time.
10.19741 +variables_saved_for_relink="$variables_saved_for_relink"
10.19742 +
10.19743 +# Whether libtool must link a program against all its dependency libraries.
10.19744 +link_all_deplibs=$link_all_deplibs_RC
10.19745 +
10.19746 +# Compile-time system search path for libraries
10.19747 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10.19748 +
10.19749 +# Run-time system search path for libraries
10.19750 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10.19751 +
10.19752 +# Fix the shell variable \$srcfile for the compiler.
10.19753 +fix_srcfile_path="$fix_srcfile_path_RC"
10.19754 +
10.19755 +# Set to yes if exported symbols are required.
10.19756 +always_export_symbols=$always_export_symbols_RC
10.19757 +
10.19758 +# The commands to list exported symbols.
10.19759 +export_symbols_cmds=$lt_export_symbols_cmds_RC
10.19760 +
10.19761 +# The commands to extract the exported symbol list from a shared archive.
10.19762 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
10.19763 +
10.19764 +# Symbols that should not be listed in the preloaded symbols.
10.19765 +exclude_expsyms=$lt_exclude_expsyms_RC
10.19766 +
10.19767 +# Symbols that must always be exported.
10.19768 +include_expsyms=$lt_include_expsyms_RC
10.19769 +
10.19770 +# ### END LIBTOOL TAG CONFIG: $tagname
10.19771 +
10.19772 +__EOF__
10.19773 +
10.19774 +
10.19775 +else
10.19776 + # If there is no Makefile yet, we rely on a make rule to execute
10.19777 + # `config.status --recheck' to rerun these tests and create the
10.19778 + # libtool script then.
10.19779 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10.19780 + if test -f "$ltmain_in"; then
10.19781 + test -f Makefile && make "$ltmain"
10.19782 + fi
10.19783 +fi
10.19784 +
10.19785 +
10.19786 +ac_ext=c
10.19787 +ac_cpp='$CPP $CPPFLAGS'
10.19788 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.19789 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.19790 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.19791 +
10.19792 +CC="$lt_save_CC"
10.19793 +
10.19794 + ;;
10.19795 +
10.19796 + *)
10.19797 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
10.19798 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
10.19799 + { (exit 1); exit 1; }; }
10.19800 + ;;
10.19801 + esac
10.19802 +
10.19803 + # Append the new tag name to the list of available tags.
10.19804 + if test -n "$tagname" ; then
10.19805 + available_tags="$available_tags $tagname"
10.19806 + fi
10.19807 + fi
10.19808 + done
10.19809 + IFS="$lt_save_ifs"
10.19810 +
10.19811 + # Now substitute the updated list of available tags.
10.19812 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
10.19813 + mv "${ofile}T" "$ofile"
10.19814 + chmod +x "$ofile"
10.19815 + else
10.19816 + rm -f "${ofile}T"
10.19817 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
10.19818 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
10.19819 + { (exit 1); exit 1; }; }
10.19820 + fi
10.19821 +fi
10.19822 +
10.19823 +
10.19824 +
10.19825 +# This can be used to rebuild libtool when needed
10.19826 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
10.19827 +
10.19828 +# Always use our own libtool.
10.19829 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10.19830 +
10.19831 +# Prevent multiple expansion
10.19832 +
10.19833 +
10.19834 +
10.19835 +
10.19836 +
10.19837 +
10.19838 +
10.19839 +
10.19840 +
10.19841 +
10.19842 +
10.19843 +
10.19844 +
10.19845 +
10.19846 +
10.19847 +
10.19848 +
10.19849 +
10.19850 +
10.19851 +
10.19852 +
10.19853 +ac_config_headers="$ac_config_headers config.h"
10.19854 +
10.19855 +
10.19856 +ACLOCAL_AMFLAGS="-I m4"
10.19857 +
10.19858 +
10.19859 +ac_ext=c
10.19860 +ac_cpp='$CPP $CPPFLAGS'
10.19861 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.19862 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.19863 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.19864 +if test -n "$ac_tool_prefix"; then
10.19865 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10.19866 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
10.19867 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.19868 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.19869 +if test "${ac_cv_prog_CC+set}" = set; then
10.19870 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.19871 +else
10.19872 + if test -n "$CC"; then
10.19873 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.19874 +else
10.19875 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.19876 +for as_dir in $PATH
10.19877 +do
10.19878 + IFS=$as_save_IFS
10.19879 + test -z "$as_dir" && as_dir=.
10.19880 + for ac_exec_ext in '' $ac_executable_extensions; do
10.19881 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.19882 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
10.19883 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.19884 + break 2
10.19885 + fi
10.19886 +done
10.19887 +done
10.19888 +IFS=$as_save_IFS
10.19889 +
10.19890 +fi
10.19891 +fi
10.19892 +CC=$ac_cv_prog_CC
10.19893 +if test -n "$CC"; then
10.19894 + { echo "$as_me:$LINENO: result: $CC" >&5
10.19895 +echo "${ECHO_T}$CC" >&6; }
10.19896 +else
10.19897 + { echo "$as_me:$LINENO: result: no" >&5
10.19898 +echo "${ECHO_T}no" >&6; }
10.19899 +fi
10.19900 +
10.19901 +
10.19902 +fi
10.19903 +if test -z "$ac_cv_prog_CC"; then
10.19904 + ac_ct_CC=$CC
10.19905 + # Extract the first word of "gcc", so it can be a program name with args.
10.19906 +set dummy gcc; ac_word=$2
10.19907 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.19908 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.19909 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10.19910 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.19911 +else
10.19912 + if test -n "$ac_ct_CC"; then
10.19913 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10.19914 +else
10.19915 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.19916 +for as_dir in $PATH
10.19917 +do
10.19918 + IFS=$as_save_IFS
10.19919 + test -z "$as_dir" && as_dir=.
10.19920 + for ac_exec_ext in '' $ac_executable_extensions; do
10.19921 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.19922 + ac_cv_prog_ac_ct_CC="gcc"
10.19923 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.19924 + break 2
10.19925 + fi
10.19926 +done
10.19927 +done
10.19928 +IFS=$as_save_IFS
10.19929 +
10.19930 +fi
10.19931 +fi
10.19932 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
10.19933 +if test -n "$ac_ct_CC"; then
10.19934 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10.19935 +echo "${ECHO_T}$ac_ct_CC" >&6; }
10.19936 +else
10.19937 + { echo "$as_me:$LINENO: result: no" >&5
10.19938 +echo "${ECHO_T}no" >&6; }
10.19939 +fi
10.19940 +
10.19941 + if test "x$ac_ct_CC" = x; then
10.19942 + CC=""
10.19943 + else
10.19944 + case $cross_compiling:$ac_tool_warned in
10.19945 +yes:)
10.19946 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.19947 +whose name does not start with the host triplet. If you think this
10.19948 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.19949 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.19950 +whose name does not start with the host triplet. If you think this
10.19951 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.19952 +ac_tool_warned=yes ;;
10.19953 +esac
10.19954 + CC=$ac_ct_CC
10.19955 + fi
10.19956 +else
10.19957 + CC="$ac_cv_prog_CC"
10.19958 +fi
10.19959 +
10.19960 +if test -z "$CC"; then
10.19961 + if test -n "$ac_tool_prefix"; then
10.19962 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10.19963 +set dummy ${ac_tool_prefix}cc; ac_word=$2
10.19964 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.19965 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.19966 +if test "${ac_cv_prog_CC+set}" = set; then
10.19967 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.19968 +else
10.19969 + if test -n "$CC"; then
10.19970 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.19971 +else
10.19972 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.19973 +for as_dir in $PATH
10.19974 +do
10.19975 + IFS=$as_save_IFS
10.19976 + test -z "$as_dir" && as_dir=.
10.19977 + for ac_exec_ext in '' $ac_executable_extensions; do
10.19978 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.19979 + ac_cv_prog_CC="${ac_tool_prefix}cc"
10.19980 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.19981 + break 2
10.19982 + fi
10.19983 +done
10.19984 +done
10.19985 +IFS=$as_save_IFS
10.19986 +
10.19987 +fi
10.19988 +fi
10.19989 +CC=$ac_cv_prog_CC
10.19990 +if test -n "$CC"; then
10.19991 + { echo "$as_me:$LINENO: result: $CC" >&5
10.19992 +echo "${ECHO_T}$CC" >&6; }
10.19993 +else
10.19994 + { echo "$as_me:$LINENO: result: no" >&5
10.19995 +echo "${ECHO_T}no" >&6; }
10.19996 +fi
10.19997 +
10.19998 +
10.19999 + fi
10.20000 +fi
10.20001 +if test -z "$CC"; then
10.20002 + # Extract the first word of "cc", so it can be a program name with args.
10.20003 +set dummy cc; ac_word=$2
10.20004 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.20005 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.20006 +if test "${ac_cv_prog_CC+set}" = set; then
10.20007 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20008 +else
10.20009 + if test -n "$CC"; then
10.20010 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.20011 +else
10.20012 + ac_prog_rejected=no
10.20013 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.20014 +for as_dir in $PATH
10.20015 +do
10.20016 + IFS=$as_save_IFS
10.20017 + test -z "$as_dir" && as_dir=.
10.20018 + for ac_exec_ext in '' $ac_executable_extensions; do
10.20019 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.20020 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10.20021 + ac_prog_rejected=yes
10.20022 + continue
10.20023 + fi
10.20024 + ac_cv_prog_CC="cc"
10.20025 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.20026 + break 2
10.20027 + fi
10.20028 +done
10.20029 +done
10.20030 +IFS=$as_save_IFS
10.20031 +
10.20032 +if test $ac_prog_rejected = yes; then
10.20033 + # We found a bogon in the path, so make sure we never use it.
10.20034 + set dummy $ac_cv_prog_CC
10.20035 + shift
10.20036 + if test $@%:@ != 0; then
10.20037 + # We chose a different compiler from the bogus one.
10.20038 + # However, it has the same basename, so the bogon will be chosen
10.20039 + # first if we set CC to just the basename; use the full file name.
10.20040 + shift
10.20041 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10.20042 + fi
10.20043 +fi
10.20044 +fi
10.20045 +fi
10.20046 +CC=$ac_cv_prog_CC
10.20047 +if test -n "$CC"; then
10.20048 + { echo "$as_me:$LINENO: result: $CC" >&5
10.20049 +echo "${ECHO_T}$CC" >&6; }
10.20050 +else
10.20051 + { echo "$as_me:$LINENO: result: no" >&5
10.20052 +echo "${ECHO_T}no" >&6; }
10.20053 +fi
10.20054 +
10.20055 +
10.20056 +fi
10.20057 +if test -z "$CC"; then
10.20058 + if test -n "$ac_tool_prefix"; then
10.20059 + for ac_prog in cl.exe
10.20060 + do
10.20061 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10.20062 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10.20063 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.20064 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.20065 +if test "${ac_cv_prog_CC+set}" = set; then
10.20066 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20067 +else
10.20068 + if test -n "$CC"; then
10.20069 + ac_cv_prog_CC="$CC" # Let the user override the test.
10.20070 +else
10.20071 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.20072 +for as_dir in $PATH
10.20073 +do
10.20074 + IFS=$as_save_IFS
10.20075 + test -z "$as_dir" && as_dir=.
10.20076 + for ac_exec_ext in '' $ac_executable_extensions; do
10.20077 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.20078 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10.20079 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.20080 + break 2
10.20081 + fi
10.20082 +done
10.20083 +done
10.20084 +IFS=$as_save_IFS
10.20085 +
10.20086 +fi
10.20087 +fi
10.20088 +CC=$ac_cv_prog_CC
10.20089 +if test -n "$CC"; then
10.20090 + { echo "$as_me:$LINENO: result: $CC" >&5
10.20091 +echo "${ECHO_T}$CC" >&6; }
10.20092 +else
10.20093 + { echo "$as_me:$LINENO: result: no" >&5
10.20094 +echo "${ECHO_T}no" >&6; }
10.20095 +fi
10.20096 +
10.20097 +
10.20098 + test -n "$CC" && break
10.20099 + done
10.20100 +fi
10.20101 +if test -z "$CC"; then
10.20102 + ac_ct_CC=$CC
10.20103 + for ac_prog in cl.exe
10.20104 +do
10.20105 + # Extract the first word of "$ac_prog", so it can be a program name with args.
10.20106 +set dummy $ac_prog; ac_word=$2
10.20107 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.20108 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.20109 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10.20110 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20111 +else
10.20112 + if test -n "$ac_ct_CC"; then
10.20113 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10.20114 +else
10.20115 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.20116 +for as_dir in $PATH
10.20117 +do
10.20118 + IFS=$as_save_IFS
10.20119 + test -z "$as_dir" && as_dir=.
10.20120 + for ac_exec_ext in '' $ac_executable_extensions; do
10.20121 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.20122 + ac_cv_prog_ac_ct_CC="$ac_prog"
10.20123 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.20124 + break 2
10.20125 + fi
10.20126 +done
10.20127 +done
10.20128 +IFS=$as_save_IFS
10.20129 +
10.20130 +fi
10.20131 +fi
10.20132 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
10.20133 +if test -n "$ac_ct_CC"; then
10.20134 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10.20135 +echo "${ECHO_T}$ac_ct_CC" >&6; }
10.20136 +else
10.20137 + { echo "$as_me:$LINENO: result: no" >&5
10.20138 +echo "${ECHO_T}no" >&6; }
10.20139 +fi
10.20140 +
10.20141 +
10.20142 + test -n "$ac_ct_CC" && break
10.20143 +done
10.20144 +
10.20145 + if test "x$ac_ct_CC" = x; then
10.20146 + CC=""
10.20147 + else
10.20148 + case $cross_compiling:$ac_tool_warned in
10.20149 +yes:)
10.20150 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.20151 +whose name does not start with the host triplet. If you think this
10.20152 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.20153 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.20154 +whose name does not start with the host triplet. If you think this
10.20155 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.20156 +ac_tool_warned=yes ;;
10.20157 +esac
10.20158 + CC=$ac_ct_CC
10.20159 + fi
10.20160 +fi
10.20161 +
10.20162 +fi
10.20163 +
10.20164 +
10.20165 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10.20166 +See \`config.log' for more details." >&5
10.20167 +echo "$as_me: error: no acceptable C compiler found in \$PATH
10.20168 +See \`config.log' for more details." >&2;}
10.20169 + { (exit 1); exit 1; }; }
10.20170 +
10.20171 +# Provide some information about the compiler.
10.20172 +echo "$as_me:$LINENO: checking for C compiler version" >&5
10.20173 +ac_compiler=`set X $ac_compile; echo $2`
10.20174 +{ (ac_try="$ac_compiler --version >&5"
10.20175 +case "(($ac_try" in
10.20176 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20177 + *) ac_try_echo=$ac_try;;
10.20178 +esac
10.20179 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20180 + (eval "$ac_compiler --version >&5") 2>&5
10.20181 + ac_status=$?
10.20182 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20183 + (exit $ac_status); }
10.20184 +{ (ac_try="$ac_compiler -v >&5"
10.20185 +case "(($ac_try" in
10.20186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20187 + *) ac_try_echo=$ac_try;;
10.20188 +esac
10.20189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20190 + (eval "$ac_compiler -v >&5") 2>&5
10.20191 + ac_status=$?
10.20192 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20193 + (exit $ac_status); }
10.20194 +{ (ac_try="$ac_compiler -V >&5"
10.20195 +case "(($ac_try" in
10.20196 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20197 + *) ac_try_echo=$ac_try;;
10.20198 +esac
10.20199 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20200 + (eval "$ac_compiler -V >&5") 2>&5
10.20201 + ac_status=$?
10.20202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20203 + (exit $ac_status); }
10.20204 +
10.20205 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10.20206 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
10.20207 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
10.20208 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20209 +else
10.20210 + cat >conftest.$ac_ext <<_ACEOF
10.20211 +/* confdefs.h. */
10.20212 +_ACEOF
10.20213 +cat confdefs.h >>conftest.$ac_ext
10.20214 +cat >>conftest.$ac_ext <<_ACEOF
10.20215 +/* end confdefs.h. */
10.20216 +
10.20217 +int
10.20218 +main ()
10.20219 +{
10.20220 +#ifndef __GNUC__
10.20221 + choke me
10.20222 +#endif
10.20223 +
10.20224 + ;
10.20225 + return 0;
10.20226 +}
10.20227 +_ACEOF
10.20228 +rm -f conftest.$ac_objext
10.20229 +if { (ac_try="$ac_compile"
10.20230 +case "(($ac_try" in
10.20231 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20232 + *) ac_try_echo=$ac_try;;
10.20233 +esac
10.20234 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20235 + (eval "$ac_compile") 2>conftest.er1
10.20236 + ac_status=$?
10.20237 + grep -v '^ *+' conftest.er1 >conftest.err
10.20238 + rm -f conftest.er1
10.20239 + cat conftest.err >&5
10.20240 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20241 + (exit $ac_status); } && {
10.20242 + test -z "$ac_c_werror_flag" ||
10.20243 + test ! -s conftest.err
10.20244 + } && test -s conftest.$ac_objext; then
10.20245 + ac_compiler_gnu=yes
10.20246 +else
10.20247 + echo "$as_me: failed program was:" >&5
10.20248 +sed 's/^/| /' conftest.$ac_ext >&5
10.20249 +
10.20250 + ac_compiler_gnu=no
10.20251 +fi
10.20252 +
10.20253 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.20254 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
10.20255 +
10.20256 +fi
10.20257 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10.20258 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
10.20259 +GCC=`test $ac_compiler_gnu = yes && echo yes`
10.20260 +ac_test_CFLAGS=${CFLAGS+set}
10.20261 +ac_save_CFLAGS=$CFLAGS
10.20262 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10.20263 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
10.20264 +if test "${ac_cv_prog_cc_g+set}" = set; then
10.20265 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20266 +else
10.20267 + ac_save_c_werror_flag=$ac_c_werror_flag
10.20268 + ac_c_werror_flag=yes
10.20269 + ac_cv_prog_cc_g=no
10.20270 + CFLAGS="-g"
10.20271 + cat >conftest.$ac_ext <<_ACEOF
10.20272 +/* confdefs.h. */
10.20273 +_ACEOF
10.20274 +cat confdefs.h >>conftest.$ac_ext
10.20275 +cat >>conftest.$ac_ext <<_ACEOF
10.20276 +/* end confdefs.h. */
10.20277 +
10.20278 +int
10.20279 +main ()
10.20280 +{
10.20281 +
10.20282 + ;
10.20283 + return 0;
10.20284 +}
10.20285 +_ACEOF
10.20286 +rm -f conftest.$ac_objext
10.20287 +if { (ac_try="$ac_compile"
10.20288 +case "(($ac_try" in
10.20289 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20290 + *) ac_try_echo=$ac_try;;
10.20291 +esac
10.20292 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20293 + (eval "$ac_compile") 2>conftest.er1
10.20294 + ac_status=$?
10.20295 + grep -v '^ *+' conftest.er1 >conftest.err
10.20296 + rm -f conftest.er1
10.20297 + cat conftest.err >&5
10.20298 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20299 + (exit $ac_status); } && {
10.20300 + test -z "$ac_c_werror_flag" ||
10.20301 + test ! -s conftest.err
10.20302 + } && test -s conftest.$ac_objext; then
10.20303 + ac_cv_prog_cc_g=yes
10.20304 +else
10.20305 + echo "$as_me: failed program was:" >&5
10.20306 +sed 's/^/| /' conftest.$ac_ext >&5
10.20307 +
10.20308 + CFLAGS=""
10.20309 + cat >conftest.$ac_ext <<_ACEOF
10.20310 +/* confdefs.h. */
10.20311 +_ACEOF
10.20312 +cat confdefs.h >>conftest.$ac_ext
10.20313 +cat >>conftest.$ac_ext <<_ACEOF
10.20314 +/* end confdefs.h. */
10.20315 +
10.20316 +int
10.20317 +main ()
10.20318 +{
10.20319 +
10.20320 + ;
10.20321 + return 0;
10.20322 +}
10.20323 +_ACEOF
10.20324 +rm -f conftest.$ac_objext
10.20325 +if { (ac_try="$ac_compile"
10.20326 +case "(($ac_try" in
10.20327 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20328 + *) ac_try_echo=$ac_try;;
10.20329 +esac
10.20330 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20331 + (eval "$ac_compile") 2>conftest.er1
10.20332 + ac_status=$?
10.20333 + grep -v '^ *+' conftest.er1 >conftest.err
10.20334 + rm -f conftest.er1
10.20335 + cat conftest.err >&5
10.20336 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20337 + (exit $ac_status); } && {
10.20338 + test -z "$ac_c_werror_flag" ||
10.20339 + test ! -s conftest.err
10.20340 + } && test -s conftest.$ac_objext; then
10.20341 + :
10.20342 +else
10.20343 + echo "$as_me: failed program was:" >&5
10.20344 +sed 's/^/| /' conftest.$ac_ext >&5
10.20345 +
10.20346 + ac_c_werror_flag=$ac_save_c_werror_flag
10.20347 + CFLAGS="-g"
10.20348 + cat >conftest.$ac_ext <<_ACEOF
10.20349 +/* confdefs.h. */
10.20350 +_ACEOF
10.20351 +cat confdefs.h >>conftest.$ac_ext
10.20352 +cat >>conftest.$ac_ext <<_ACEOF
10.20353 +/* end confdefs.h. */
10.20354 +
10.20355 +int
10.20356 +main ()
10.20357 +{
10.20358 +
10.20359 + ;
10.20360 + return 0;
10.20361 +}
10.20362 +_ACEOF
10.20363 +rm -f conftest.$ac_objext
10.20364 +if { (ac_try="$ac_compile"
10.20365 +case "(($ac_try" in
10.20366 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20367 + *) ac_try_echo=$ac_try;;
10.20368 +esac
10.20369 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20370 + (eval "$ac_compile") 2>conftest.er1
10.20371 + ac_status=$?
10.20372 + grep -v '^ *+' conftest.er1 >conftest.err
10.20373 + rm -f conftest.er1
10.20374 + cat conftest.err >&5
10.20375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20376 + (exit $ac_status); } && {
10.20377 + test -z "$ac_c_werror_flag" ||
10.20378 + test ! -s conftest.err
10.20379 + } && test -s conftest.$ac_objext; then
10.20380 + ac_cv_prog_cc_g=yes
10.20381 +else
10.20382 + echo "$as_me: failed program was:" >&5
10.20383 +sed 's/^/| /' conftest.$ac_ext >&5
10.20384 +
10.20385 +
10.20386 +fi
10.20387 +
10.20388 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.20389 +fi
10.20390 +
10.20391 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.20392 +fi
10.20393 +
10.20394 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.20395 + ac_c_werror_flag=$ac_save_c_werror_flag
10.20396 +fi
10.20397 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10.20398 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
10.20399 +if test "$ac_test_CFLAGS" = set; then
10.20400 + CFLAGS=$ac_save_CFLAGS
10.20401 +elif test $ac_cv_prog_cc_g = yes; then
10.20402 + if test "$GCC" = yes; then
10.20403 + CFLAGS="-g -O2"
10.20404 + else
10.20405 + CFLAGS="-g"
10.20406 + fi
10.20407 +else
10.20408 + if test "$GCC" = yes; then
10.20409 + CFLAGS="-O2"
10.20410 + else
10.20411 + CFLAGS=
10.20412 + fi
10.20413 +fi
10.20414 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
10.20415 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
10.20416 +if test "${ac_cv_prog_cc_c89+set}" = set; then
10.20417 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20418 +else
10.20419 + ac_cv_prog_cc_c89=no
10.20420 +ac_save_CC=$CC
10.20421 +cat >conftest.$ac_ext <<_ACEOF
10.20422 +/* confdefs.h. */
10.20423 +_ACEOF
10.20424 +cat confdefs.h >>conftest.$ac_ext
10.20425 +cat >>conftest.$ac_ext <<_ACEOF
10.20426 +/* end confdefs.h. */
10.20427 +#include <stdarg.h>
10.20428 +#include <stdio.h>
10.20429 +#include <sys/types.h>
10.20430 +#include <sys/stat.h>
10.20431 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10.20432 +struct buf { int x; };
10.20433 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
10.20434 +static char *e (p, i)
10.20435 + char **p;
10.20436 + int i;
10.20437 +{
10.20438 + return p[i];
10.20439 +}
10.20440 +static char *f (char * (*g) (char **, int), char **p, ...)
10.20441 +{
10.20442 + char *s;
10.20443 + va_list v;
10.20444 + va_start (v,p);
10.20445 + s = g (p, va_arg (v,int));
10.20446 + va_end (v);
10.20447 + return s;
10.20448 +}
10.20449 +
10.20450 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10.20451 + function prototypes and stuff, but not '\xHH' hex character constants.
10.20452 + These don't provoke an error unfortunately, instead are silently treated
10.20453 + as 'x'. The following induces an error, until -std is added to get
10.20454 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10.20455 + array size at least. It's necessary to write '\x00'==0 to get something
10.20456 + that's true only with -std. */
10.20457 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10.20458 +
10.20459 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10.20460 + inside strings and character constants. */
10.20461 +#define FOO(x) 'x'
10.20462 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10.20463 +
10.20464 +int test (int i, double x);
10.20465 +struct s1 {int (*f) (int a);};
10.20466 +struct s2 {int (*f) (double a);};
10.20467 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10.20468 +int argc;
10.20469 +char **argv;
10.20470 +int
10.20471 +main ()
10.20472 +{
10.20473 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10.20474 + ;
10.20475 + return 0;
10.20476 +}
10.20477 +_ACEOF
10.20478 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10.20479 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10.20480 +do
10.20481 + CC="$ac_save_CC $ac_arg"
10.20482 + rm -f conftest.$ac_objext
10.20483 +if { (ac_try="$ac_compile"
10.20484 +case "(($ac_try" in
10.20485 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20486 + *) ac_try_echo=$ac_try;;
10.20487 +esac
10.20488 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20489 + (eval "$ac_compile") 2>conftest.er1
10.20490 + ac_status=$?
10.20491 + grep -v '^ *+' conftest.er1 >conftest.err
10.20492 + rm -f conftest.er1
10.20493 + cat conftest.err >&5
10.20494 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20495 + (exit $ac_status); } && {
10.20496 + test -z "$ac_c_werror_flag" ||
10.20497 + test ! -s conftest.err
10.20498 + } && test -s conftest.$ac_objext; then
10.20499 + ac_cv_prog_cc_c89=$ac_arg
10.20500 +else
10.20501 + echo "$as_me: failed program was:" >&5
10.20502 +sed 's/^/| /' conftest.$ac_ext >&5
10.20503 +
10.20504 +
10.20505 +fi
10.20506 +
10.20507 +rm -f core conftest.err conftest.$ac_objext
10.20508 + test "x$ac_cv_prog_cc_c89" != "xno" && break
10.20509 +done
10.20510 +rm -f conftest.$ac_ext
10.20511 +CC=$ac_save_CC
10.20512 +
10.20513 +fi
10.20514 +# AC_CACHE_VAL
10.20515 +case "x$ac_cv_prog_cc_c89" in
10.20516 + x)
10.20517 + { echo "$as_me:$LINENO: result: none needed" >&5
10.20518 +echo "${ECHO_T}none needed" >&6; } ;;
10.20519 + xno)
10.20520 + { echo "$as_me:$LINENO: result: unsupported" >&5
10.20521 +echo "${ECHO_T}unsupported" >&6; } ;;
10.20522 + *)
10.20523 + CC="$CC $ac_cv_prog_cc_c89"
10.20524 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
10.20525 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
10.20526 +esac
10.20527 +
10.20528 +
10.20529 +ac_ext=c
10.20530 +ac_cpp='$CPP $CPPFLAGS'
10.20531 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.20532 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.20533 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.20534 +
10.20535 +depcc="$CC" am_compiler_list=
10.20536 +
10.20537 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10.20538 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10.20539 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
10.20540 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20541 +else
10.20542 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10.20543 + # We make a subdir and do the tests there. Otherwise we can end up
10.20544 + # making bogus files that we don't know about and never remove. For
10.20545 + # instance it was reported that on HP-UX the gcc test will end up
10.20546 + # making a dummy file named `D' -- because `-MD' means `put the output
10.20547 + # in D'.
10.20548 + mkdir conftest.dir
10.20549 + # Copy depcomp to subdir because otherwise we won't find it if we're
10.20550 + # using a relative directory.
10.20551 + cp "$am_depcomp" conftest.dir
10.20552 + cd conftest.dir
10.20553 + # We will build objects and dependencies in a subdirectory because
10.20554 + # it helps to detect inapplicable dependency modes. For instance
10.20555 + # both Tru64's cc and ICC support -MD to output dependencies as a
10.20556 + # side effect of compilation, but ICC will put the dependencies in
10.20557 + # the current directory while Tru64 will put them in the object
10.20558 + # directory.
10.20559 + mkdir sub
10.20560 +
10.20561 + am_cv_CC_dependencies_compiler_type=none
10.20562 + if test "$am_compiler_list" = ""; then
10.20563 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10.20564 + fi
10.20565 + for depmode in $am_compiler_list; do
10.20566 + # Setup a source with many dependencies, because some compilers
10.20567 + # like to wrap large dependency lists on column 80 (with \), and
10.20568 + # we should not choose a depcomp mode which is confused by this.
10.20569 + #
10.20570 + # We need to recreate these files for each test, as the compiler may
10.20571 + # overwrite some of them when testing with obscure command lines.
10.20572 + # This happens at least with the AIX C compiler.
10.20573 + : > sub/conftest.c
10.20574 + for i in 1 2 3 4 5 6; do
10.20575 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
10.20576 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10.20577 + # Solaris 8's {/usr,}/bin/sh.
10.20578 + touch sub/conftst$i.h
10.20579 + done
10.20580 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10.20581 +
10.20582 + case $depmode in
10.20583 + nosideeffect)
10.20584 + # after this tag, mechanisms are not by side-effect, so they'll
10.20585 + # only be used when explicitly requested
10.20586 + if test "x$enable_dependency_tracking" = xyes; then
10.20587 + continue
10.20588 + else
10.20589 + break
10.20590 + fi
10.20591 + ;;
10.20592 + none) break ;;
10.20593 + esac
10.20594 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
10.20595 + # mode. It turns out that the SunPro C++ compiler does not properly
10.20596 + # handle `-M -o', and we need to detect this.
10.20597 + if depmode=$depmode \
10.20598 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10.20599 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10.20600 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10.20601 + >/dev/null 2>conftest.err &&
10.20602 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10.20603 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10.20604 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10.20605 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10.20606 + # icc doesn't choke on unknown options, it will just issue warnings
10.20607 + # or remarks (even with -Werror). So we grep stderr for any message
10.20608 + # that says an option was ignored or not supported.
10.20609 + # When given -MP, icc 7.0 and 7.1 complain thusly:
10.20610 + # icc: Command line warning: ignoring option '-M'; no argument required
10.20611 + # The diagnosis changed in icc 8.0:
10.20612 + # icc: Command line remark: option '-MP' not supported
10.20613 + if (grep 'ignoring option' conftest.err ||
10.20614 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10.20615 + am_cv_CC_dependencies_compiler_type=$depmode
10.20616 + break
10.20617 + fi
10.20618 + fi
10.20619 + done
10.20620 +
10.20621 + cd ..
10.20622 + rm -rf conftest.dir
10.20623 +else
10.20624 + am_cv_CC_dependencies_compiler_type=none
10.20625 +fi
10.20626 +
10.20627 +fi
10.20628 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
10.20629 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
10.20630 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10.20631 +
10.20632 + if
10.20633 + test "x$enable_dependency_tracking" != xno \
10.20634 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10.20635 + am__fastdepCC_TRUE=
10.20636 + am__fastdepCC_FALSE='#'
10.20637 +else
10.20638 + am__fastdepCC_TRUE='#'
10.20639 + am__fastdepCC_FALSE=
10.20640 +fi
10.20641 +
10.20642 +
10.20643 + case $ac_cv_prog_cc_stdc in
10.20644 + no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
10.20645 + *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
10.20646 +echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
10.20647 +if test "${ac_cv_prog_cc_c99+set}" = set; then
10.20648 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20649 +else
10.20650 + ac_cv_prog_cc_c99=no
10.20651 +ac_save_CC=$CC
10.20652 +cat >conftest.$ac_ext <<_ACEOF
10.20653 +/* confdefs.h. */
10.20654 +_ACEOF
10.20655 +cat confdefs.h >>conftest.$ac_ext
10.20656 +cat >>conftest.$ac_ext <<_ACEOF
10.20657 +/* end confdefs.h. */
10.20658 +#include <stdarg.h>
10.20659 +#include <stdbool.h>
10.20660 +#include <stdlib.h>
10.20661 +#include <wchar.h>
10.20662 +#include <stdio.h>
10.20663 +
10.20664 +// Check varargs macros. These examples are taken from C99 6.10.3.5.
10.20665 +#define debug(...) fprintf (stderr, __VA_ARGS__)
10.20666 +#define showlist(...) puts (#__VA_ARGS__)
10.20667 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
10.20668 +static void
10.20669 +test_varargs_macros (void)
10.20670 +{
10.20671 + int x = 1234;
10.20672 + int y = 5678;
10.20673 + debug ("Flag");
10.20674 + debug ("X = %d\n", x);
10.20675 + showlist (The first, second, and third items.);
10.20676 + report (x>y, "x is %d but y is %d", x, y);
10.20677 +}
10.20678 +
10.20679 +// Check long long types.
10.20680 +#define BIG64 18446744073709551615ull
10.20681 +#define BIG32 4294967295ul
10.20682 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
10.20683 +#if !BIG_OK
10.20684 + your preprocessor is broken;
10.20685 +#endif
10.20686 +#if BIG_OK
10.20687 +#else
10.20688 + your preprocessor is broken;
10.20689 +#endif
10.20690 +static long long int bignum = -9223372036854775807LL;
10.20691 +static unsigned long long int ubignum = BIG64;
10.20692 +
10.20693 +struct incomplete_array
10.20694 +{
10.20695 + int datasize;
10.20696 + double data[];
10.20697 +};
10.20698 +
10.20699 +struct named_init {
10.20700 + int number;
10.20701 + const wchar_t *name;
10.20702 + double average;
10.20703 +};
10.20704 +
10.20705 +typedef const char *ccp;
10.20706 +
10.20707 +static inline int
10.20708 +test_restrict (ccp restrict text)
10.20709 +{
10.20710 + // See if C++-style comments work.
10.20711 + // Iterate through items via the restricted pointer.
10.20712 + // Also check for declarations in for loops.
10.20713 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
10.20714 + continue;
10.20715 + return 0;
10.20716 +}
10.20717 +
10.20718 +// Check varargs and va_copy.
10.20719 +static void
10.20720 +test_varargs (const char *format, ...)
10.20721 +{
10.20722 + va_list args;
10.20723 + va_start (args, format);
10.20724 + va_list args_copy;
10.20725 + va_copy (args_copy, args);
10.20726 +
10.20727 + const char *str;
10.20728 + int number;
10.20729 + float fnumber;
10.20730 +
10.20731 + while (*format)
10.20732 + {
10.20733 + switch (*format++)
10.20734 + {
10.20735 + case 's': // string
10.20736 + str = va_arg (args_copy, const char *);
10.20737 + break;
10.20738 + case 'd': // int
10.20739 + number = va_arg (args_copy, int);
10.20740 + break;
10.20741 + case 'f': // float
10.20742 + fnumber = va_arg (args_copy, double);
10.20743 + break;
10.20744 + default:
10.20745 + break;
10.20746 + }
10.20747 + }
10.20748 + va_end (args_copy);
10.20749 + va_end (args);
10.20750 +}
10.20751 +
10.20752 +int
10.20753 +main ()
10.20754 +{
10.20755 +
10.20756 + // Check bool.
10.20757 + _Bool success = false;
10.20758 +
10.20759 + // Check restrict.
10.20760 + if (test_restrict ("String literal") == 0)
10.20761 + success = true;
10.20762 + char *restrict newvar = "Another string";
10.20763 +
10.20764 + // Check varargs.
10.20765 + test_varargs ("s, d' f .", "string", 65, 34.234);
10.20766 + test_varargs_macros ();
10.20767 +
10.20768 + // Check flexible array members.
10.20769 + struct incomplete_array *ia =
10.20770 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
10.20771 + ia->datasize = 10;
10.20772 + for (int i = 0; i < ia->datasize; ++i)
10.20773 + ia->data[i] = i * 1.234;
10.20774 +
10.20775 + // Check named initializers.
10.20776 + struct named_init ni = {
10.20777 + .number = 34,
10.20778 + .name = L"Test wide string",
10.20779 + .average = 543.34343,
10.20780 + };
10.20781 +
10.20782 + ni.number = 58;
10.20783 +
10.20784 + int dynamic_array[ni.number];
10.20785 + dynamic_array[ni.number - 1] = 543;
10.20786 +
10.20787 + // work around unused variable warnings
10.20788 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
10.20789 + || dynamic_array[ni.number - 1] != 543);
10.20790 +
10.20791 + ;
10.20792 + return 0;
10.20793 +}
10.20794 +_ACEOF
10.20795 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
10.20796 +do
10.20797 + CC="$ac_save_CC $ac_arg"
10.20798 + rm -f conftest.$ac_objext
10.20799 +if { (ac_try="$ac_compile"
10.20800 +case "(($ac_try" in
10.20801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20802 + *) ac_try_echo=$ac_try;;
10.20803 +esac
10.20804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20805 + (eval "$ac_compile") 2>conftest.er1
10.20806 + ac_status=$?
10.20807 + grep -v '^ *+' conftest.er1 >conftest.err
10.20808 + rm -f conftest.er1
10.20809 + cat conftest.err >&5
10.20810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20811 + (exit $ac_status); } && {
10.20812 + test -z "$ac_c_werror_flag" ||
10.20813 + test ! -s conftest.err
10.20814 + } && test -s conftest.$ac_objext; then
10.20815 + ac_cv_prog_cc_c99=$ac_arg
10.20816 +else
10.20817 + echo "$as_me: failed program was:" >&5
10.20818 +sed 's/^/| /' conftest.$ac_ext >&5
10.20819 +
10.20820 +
10.20821 +fi
10.20822 +
10.20823 +rm -f core conftest.err conftest.$ac_objext
10.20824 + test "x$ac_cv_prog_cc_c99" != "xno" && break
10.20825 +done
10.20826 +rm -f conftest.$ac_ext
10.20827 +CC=$ac_save_CC
10.20828 +
10.20829 +fi
10.20830 +# AC_CACHE_VAL
10.20831 +case "x$ac_cv_prog_cc_c99" in
10.20832 + x)
10.20833 + { echo "$as_me:$LINENO: result: none needed" >&5
10.20834 +echo "${ECHO_T}none needed" >&6; } ;;
10.20835 + xno)
10.20836 + { echo "$as_me:$LINENO: result: unsupported" >&5
10.20837 +echo "${ECHO_T}unsupported" >&6; } ;;
10.20838 + *)
10.20839 + CC="$CC $ac_cv_prog_cc_c99"
10.20840 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
10.20841 +echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
10.20842 +esac
10.20843 +if test "x$ac_cv_prog_cc_c99" != xno; then
10.20844 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
10.20845 +else
10.20846 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
10.20847 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
10.20848 +if test "${ac_cv_prog_cc_c89+set}" = set; then
10.20849 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20850 +else
10.20851 + ac_cv_prog_cc_c89=no
10.20852 +ac_save_CC=$CC
10.20853 +cat >conftest.$ac_ext <<_ACEOF
10.20854 +/* confdefs.h. */
10.20855 +_ACEOF
10.20856 +cat confdefs.h >>conftest.$ac_ext
10.20857 +cat >>conftest.$ac_ext <<_ACEOF
10.20858 +/* end confdefs.h. */
10.20859 +#include <stdarg.h>
10.20860 +#include <stdio.h>
10.20861 +#include <sys/types.h>
10.20862 +#include <sys/stat.h>
10.20863 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10.20864 +struct buf { int x; };
10.20865 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
10.20866 +static char *e (p, i)
10.20867 + char **p;
10.20868 + int i;
10.20869 +{
10.20870 + return p[i];
10.20871 +}
10.20872 +static char *f (char * (*g) (char **, int), char **p, ...)
10.20873 +{
10.20874 + char *s;
10.20875 + va_list v;
10.20876 + va_start (v,p);
10.20877 + s = g (p, va_arg (v,int));
10.20878 + va_end (v);
10.20879 + return s;
10.20880 +}
10.20881 +
10.20882 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10.20883 + function prototypes and stuff, but not '\xHH' hex character constants.
10.20884 + These don't provoke an error unfortunately, instead are silently treated
10.20885 + as 'x'. The following induces an error, until -std is added to get
10.20886 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10.20887 + array size at least. It's necessary to write '\x00'==0 to get something
10.20888 + that's true only with -std. */
10.20889 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10.20890 +
10.20891 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10.20892 + inside strings and character constants. */
10.20893 +#define FOO(x) 'x'
10.20894 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10.20895 +
10.20896 +int test (int i, double x);
10.20897 +struct s1 {int (*f) (int a);};
10.20898 +struct s2 {int (*f) (double a);};
10.20899 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10.20900 +int argc;
10.20901 +char **argv;
10.20902 +int
10.20903 +main ()
10.20904 +{
10.20905 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10.20906 + ;
10.20907 + return 0;
10.20908 +}
10.20909 +_ACEOF
10.20910 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10.20911 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10.20912 +do
10.20913 + CC="$ac_save_CC $ac_arg"
10.20914 + rm -f conftest.$ac_objext
10.20915 +if { (ac_try="$ac_compile"
10.20916 +case "(($ac_try" in
10.20917 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.20918 + *) ac_try_echo=$ac_try;;
10.20919 +esac
10.20920 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.20921 + (eval "$ac_compile") 2>conftest.er1
10.20922 + ac_status=$?
10.20923 + grep -v '^ *+' conftest.er1 >conftest.err
10.20924 + rm -f conftest.er1
10.20925 + cat conftest.err >&5
10.20926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.20927 + (exit $ac_status); } && {
10.20928 + test -z "$ac_c_werror_flag" ||
10.20929 + test ! -s conftest.err
10.20930 + } && test -s conftest.$ac_objext; then
10.20931 + ac_cv_prog_cc_c89=$ac_arg
10.20932 +else
10.20933 + echo "$as_me: failed program was:" >&5
10.20934 +sed 's/^/| /' conftest.$ac_ext >&5
10.20935 +
10.20936 +
10.20937 +fi
10.20938 +
10.20939 +rm -f core conftest.err conftest.$ac_objext
10.20940 + test "x$ac_cv_prog_cc_c89" != "xno" && break
10.20941 +done
10.20942 +rm -f conftest.$ac_ext
10.20943 +CC=$ac_save_CC
10.20944 +
10.20945 +fi
10.20946 +# AC_CACHE_VAL
10.20947 +case "x$ac_cv_prog_cc_c89" in
10.20948 + x)
10.20949 + { echo "$as_me:$LINENO: result: none needed" >&5
10.20950 +echo "${ECHO_T}none needed" >&6; } ;;
10.20951 + xno)
10.20952 + { echo "$as_me:$LINENO: result: unsupported" >&5
10.20953 +echo "${ECHO_T}unsupported" >&6; } ;;
10.20954 + *)
10.20955 + CC="$CC $ac_cv_prog_cc_c89"
10.20956 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
10.20957 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
10.20958 +esac
10.20959 +if test "x$ac_cv_prog_cc_c89" != xno; then
10.20960 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
10.20961 +else
10.20962 + ac_cv_prog_cc_stdc=no
10.20963 +fi
10.20964 +
10.20965 +
10.20966 +fi
10.20967 +
10.20968 + ;;
10.20969 +esac
10.20970 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
10.20971 +echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
10.20972 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
10.20973 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20974 +fi
10.20975 +
10.20976 + case $ac_cv_prog_cc_stdc in
10.20977 + no) { echo "$as_me:$LINENO: result: unsupported" >&5
10.20978 +echo "${ECHO_T}unsupported" >&6; } ;;
10.20979 + '') { echo "$as_me:$LINENO: result: none needed" >&5
10.20980 +echo "${ECHO_T}none needed" >&6; } ;;
10.20981 + *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10.20982 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
10.20983 +esac
10.20984 +
10.20985 +
10.20986 +# By default we simply use the C compiler to build assembly code.
10.20987 +
10.20988 +test "${CCAS+set}" = set || CCAS=$CC
10.20989 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
10.20990 +
10.20991 +
10.20992 +
10.20993 +depcc="$CCAS" am_compiler_list=
10.20994 +
10.20995 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10.20996 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10.20997 +if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
10.20998 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.20999 +else
10.21000 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10.21001 + # We make a subdir and do the tests there. Otherwise we can end up
10.21002 + # making bogus files that we don't know about and never remove. For
10.21003 + # instance it was reported that on HP-UX the gcc test will end up
10.21004 + # making a dummy file named `D' -- because `-MD' means `put the output
10.21005 + # in D'.
10.21006 + mkdir conftest.dir
10.21007 + # Copy depcomp to subdir because otherwise we won't find it if we're
10.21008 + # using a relative directory.
10.21009 + cp "$am_depcomp" conftest.dir
10.21010 + cd conftest.dir
10.21011 + # We will build objects and dependencies in a subdirectory because
10.21012 + # it helps to detect inapplicable dependency modes. For instance
10.21013 + # both Tru64's cc and ICC support -MD to output dependencies as a
10.21014 + # side effect of compilation, but ICC will put the dependencies in
10.21015 + # the current directory while Tru64 will put them in the object
10.21016 + # directory.
10.21017 + mkdir sub
10.21018 +
10.21019 + am_cv_CCAS_dependencies_compiler_type=none
10.21020 + if test "$am_compiler_list" = ""; then
10.21021 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10.21022 + fi
10.21023 + for depmode in $am_compiler_list; do
10.21024 + # Setup a source with many dependencies, because some compilers
10.21025 + # like to wrap large dependency lists on column 80 (with \), and
10.21026 + # we should not choose a depcomp mode which is confused by this.
10.21027 + #
10.21028 + # We need to recreate these files for each test, as the compiler may
10.21029 + # overwrite some of them when testing with obscure command lines.
10.21030 + # This happens at least with the AIX C compiler.
10.21031 + : > sub/conftest.c
10.21032 + for i in 1 2 3 4 5 6; do
10.21033 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
10.21034 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10.21035 + # Solaris 8's {/usr,}/bin/sh.
10.21036 + touch sub/conftst$i.h
10.21037 + done
10.21038 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10.21039 +
10.21040 + case $depmode in
10.21041 + nosideeffect)
10.21042 + # after this tag, mechanisms are not by side-effect, so they'll
10.21043 + # only be used when explicitly requested
10.21044 + if test "x$enable_dependency_tracking" = xyes; then
10.21045 + continue
10.21046 + else
10.21047 + break
10.21048 + fi
10.21049 + ;;
10.21050 + none) break ;;
10.21051 + esac
10.21052 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
10.21053 + # mode. It turns out that the SunPro C++ compiler does not properly
10.21054 + # handle `-M -o', and we need to detect this.
10.21055 + if depmode=$depmode \
10.21056 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10.21057 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10.21058 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10.21059 + >/dev/null 2>conftest.err &&
10.21060 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10.21061 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10.21062 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10.21063 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10.21064 + # icc doesn't choke on unknown options, it will just issue warnings
10.21065 + # or remarks (even with -Werror). So we grep stderr for any message
10.21066 + # that says an option was ignored or not supported.
10.21067 + # When given -MP, icc 7.0 and 7.1 complain thusly:
10.21068 + # icc: Command line warning: ignoring option '-M'; no argument required
10.21069 + # The diagnosis changed in icc 8.0:
10.21070 + # icc: Command line remark: option '-MP' not supported
10.21071 + if (grep 'ignoring option' conftest.err ||
10.21072 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10.21073 + am_cv_CCAS_dependencies_compiler_type=$depmode
10.21074 + break
10.21075 + fi
10.21076 + fi
10.21077 + done
10.21078 +
10.21079 + cd ..
10.21080 + rm -rf conftest.dir
10.21081 +else
10.21082 + am_cv_CCAS_dependencies_compiler_type=none
10.21083 +fi
10.21084 +
10.21085 +fi
10.21086 +{ echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
10.21087 +echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
10.21088 +CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
10.21089 +
10.21090 + if
10.21091 + test "x$enable_dependency_tracking" != xno \
10.21092 + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
10.21093 + am__fastdepCCAS_TRUE=
10.21094 + am__fastdepCCAS_FALSE='#'
10.21095 +else
10.21096 + am__fastdepCCAS_TRUE='#'
10.21097 + am__fastdepCCAS_FALSE=
10.21098 +fi
10.21099 +
10.21100 +
10.21101 +
10.21102 +
10.21103 + { echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
10.21104 +echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6; }
10.21105 +
10.21106 + save_CFLAGS="$CFLAGS"
10.21107 + CFLAGS="$CFLAGS -Wall"
10.21108 +
10.21109 + cat >conftest.$ac_ext <<_ACEOF
10.21110 +/* confdefs.h. */
10.21111 +_ACEOF
10.21112 +cat confdefs.h >>conftest.$ac_ext
10.21113 +cat >>conftest.$ac_ext <<_ACEOF
10.21114 +/* end confdefs.h. */
10.21115 +
10.21116 +int
10.21117 +main ()
10.21118 +{
10.21119 +
10.21120 + ;
10.21121 + return 0;
10.21122 +}
10.21123 +_ACEOF
10.21124 +rm -f conftest.$ac_objext
10.21125 +if { (ac_try="$ac_compile"
10.21126 +case "(($ac_try" in
10.21127 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21128 + *) ac_try_echo=$ac_try;;
10.21129 +esac
10.21130 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21131 + (eval "$ac_compile") 2>conftest.er1
10.21132 + ac_status=$?
10.21133 + grep -v '^ *+' conftest.er1 >conftest.err
10.21134 + rm -f conftest.er1
10.21135 + cat conftest.err >&5
10.21136 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21137 + (exit $ac_status); } && {
10.21138 + test -z "$ac_c_werror_flag" ||
10.21139 + test ! -s conftest.err
10.21140 + } && test -s conftest.$ac_objext; then
10.21141 + flag_ok=yes
10.21142 +else
10.21143 + echo "$as_me: failed program was:" >&5
10.21144 +sed 's/^/| /' conftest.$ac_ext >&5
10.21145 +
10.21146 + flag_ok=no
10.21147 +fi
10.21148 +
10.21149 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.21150 + CFLAGS="$save_CFLAGS"
10.21151 +
10.21152 + if test "X$flag_ok" = Xyes ; then
10.21153 + GST_WALL="yes"
10.21154 + true
10.21155 + else
10.21156 + GST_WALL="no"
10.21157 + true
10.21158 + fi
10.21159 + { echo "$as_me:$LINENO: result: $flag_ok" >&5
10.21160 +echo "${ECHO_T}$flag_ok" >&6; }
10.21161 +
10.21162 +
10.21163 +if test "x$GST_WALL" = "xyes"; then
10.21164 + ERROR_CFLAGS="$GST_ERROR -Wall"
10.21165 +
10.21166 + if test "x$GST_CVS" = "xyes"; then
10.21167 +
10.21168 + { echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
10.21169 +echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6; }
10.21170 +
10.21171 + save_CFLAGS="$CFLAGS"
10.21172 + CFLAGS="$CFLAGS -Werror"
10.21173 +
10.21174 + cat >conftest.$ac_ext <<_ACEOF
10.21175 +/* confdefs.h. */
10.21176 +_ACEOF
10.21177 +cat confdefs.h >>conftest.$ac_ext
10.21178 +cat >>conftest.$ac_ext <<_ACEOF
10.21179 +/* end confdefs.h. */
10.21180 +
10.21181 +int
10.21182 +main ()
10.21183 +{
10.21184 +
10.21185 + ;
10.21186 + return 0;
10.21187 +}
10.21188 +_ACEOF
10.21189 +rm -f conftest.$ac_objext
10.21190 +if { (ac_try="$ac_compile"
10.21191 +case "(($ac_try" in
10.21192 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21193 + *) ac_try_echo=$ac_try;;
10.21194 +esac
10.21195 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21196 + (eval "$ac_compile") 2>conftest.er1
10.21197 + ac_status=$?
10.21198 + grep -v '^ *+' conftest.er1 >conftest.err
10.21199 + rm -f conftest.er1
10.21200 + cat conftest.err >&5
10.21201 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21202 + (exit $ac_status); } && {
10.21203 + test -z "$ac_c_werror_flag" ||
10.21204 + test ! -s conftest.err
10.21205 + } && test -s conftest.$ac_objext; then
10.21206 + flag_ok=yes
10.21207 +else
10.21208 + echo "$as_me: failed program was:" >&5
10.21209 +sed 's/^/| /' conftest.$ac_ext >&5
10.21210 +
10.21211 + flag_ok=no
10.21212 +fi
10.21213 +
10.21214 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.21215 + CFLAGS="$save_CFLAGS"
10.21216 +
10.21217 + if test "X$flag_ok" = Xyes ; then
10.21218 + ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
10.21219 + true
10.21220 + else
10.21221 + ERROR_CFLAGS="$ERROR_CFLAGS"
10.21222 + true
10.21223 + fi
10.21224 + { echo "$as_me:$LINENO: result: $flag_ok" >&5
10.21225 +echo "${ECHO_T}$flag_ok" >&6; }
10.21226 +
10.21227 + fi
10.21228 +fi
10.21229 +
10.21230 +
10.21231 +
10.21232 +ac_ext=cpp
10.21233 +ac_cpp='$CXXCPP $CPPFLAGS'
10.21234 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.21235 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.21236 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.21237 +if test -z "$CXX"; then
10.21238 + if test -n "$CCC"; then
10.21239 + CXX=$CCC
10.21240 + else
10.21241 + if test -n "$ac_tool_prefix"; then
10.21242 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10.21243 + do
10.21244 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10.21245 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10.21246 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.21247 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.21248 +if test "${ac_cv_prog_CXX+set}" = set; then
10.21249 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21250 +else
10.21251 + if test -n "$CXX"; then
10.21252 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
10.21253 +else
10.21254 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.21255 +for as_dir in $PATH
10.21256 +do
10.21257 + IFS=$as_save_IFS
10.21258 + test -z "$as_dir" && as_dir=.
10.21259 + for ac_exec_ext in '' $ac_executable_extensions; do
10.21260 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.21261 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10.21262 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.21263 + break 2
10.21264 + fi
10.21265 +done
10.21266 +done
10.21267 +IFS=$as_save_IFS
10.21268 +
10.21269 +fi
10.21270 +fi
10.21271 +CXX=$ac_cv_prog_CXX
10.21272 +if test -n "$CXX"; then
10.21273 + { echo "$as_me:$LINENO: result: $CXX" >&5
10.21274 +echo "${ECHO_T}$CXX" >&6; }
10.21275 +else
10.21276 + { echo "$as_me:$LINENO: result: no" >&5
10.21277 +echo "${ECHO_T}no" >&6; }
10.21278 +fi
10.21279 +
10.21280 +
10.21281 + test -n "$CXX" && break
10.21282 + done
10.21283 +fi
10.21284 +if test -z "$CXX"; then
10.21285 + ac_ct_CXX=$CXX
10.21286 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10.21287 +do
10.21288 + # Extract the first word of "$ac_prog", so it can be a program name with args.
10.21289 +set dummy $ac_prog; ac_word=$2
10.21290 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.21291 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.21292 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10.21293 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21294 +else
10.21295 + if test -n "$ac_ct_CXX"; then
10.21296 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10.21297 +else
10.21298 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.21299 +for as_dir in $PATH
10.21300 +do
10.21301 + IFS=$as_save_IFS
10.21302 + test -z "$as_dir" && as_dir=.
10.21303 + for ac_exec_ext in '' $ac_executable_extensions; do
10.21304 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.21305 + ac_cv_prog_ac_ct_CXX="$ac_prog"
10.21306 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.21307 + break 2
10.21308 + fi
10.21309 +done
10.21310 +done
10.21311 +IFS=$as_save_IFS
10.21312 +
10.21313 +fi
10.21314 +fi
10.21315 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10.21316 +if test -n "$ac_ct_CXX"; then
10.21317 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10.21318 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
10.21319 +else
10.21320 + { echo "$as_me:$LINENO: result: no" >&5
10.21321 +echo "${ECHO_T}no" >&6; }
10.21322 +fi
10.21323 +
10.21324 +
10.21325 + test -n "$ac_ct_CXX" && break
10.21326 +done
10.21327 +
10.21328 + if test "x$ac_ct_CXX" = x; then
10.21329 + CXX="g++"
10.21330 + else
10.21331 + case $cross_compiling:$ac_tool_warned in
10.21332 +yes:)
10.21333 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.21334 +whose name does not start with the host triplet. If you think this
10.21335 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.21336 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.21337 +whose name does not start with the host triplet. If you think this
10.21338 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.21339 +ac_tool_warned=yes ;;
10.21340 +esac
10.21341 + CXX=$ac_ct_CXX
10.21342 + fi
10.21343 +fi
10.21344 +
10.21345 + fi
10.21346 +fi
10.21347 +# Provide some information about the compiler.
10.21348 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
10.21349 +ac_compiler=`set X $ac_compile; echo $2`
10.21350 +{ (ac_try="$ac_compiler --version >&5"
10.21351 +case "(($ac_try" in
10.21352 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21353 + *) ac_try_echo=$ac_try;;
10.21354 +esac
10.21355 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21356 + (eval "$ac_compiler --version >&5") 2>&5
10.21357 + ac_status=$?
10.21358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21359 + (exit $ac_status); }
10.21360 +{ (ac_try="$ac_compiler -v >&5"
10.21361 +case "(($ac_try" in
10.21362 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21363 + *) ac_try_echo=$ac_try;;
10.21364 +esac
10.21365 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21366 + (eval "$ac_compiler -v >&5") 2>&5
10.21367 + ac_status=$?
10.21368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21369 + (exit $ac_status); }
10.21370 +{ (ac_try="$ac_compiler -V >&5"
10.21371 +case "(($ac_try" in
10.21372 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21373 + *) ac_try_echo=$ac_try;;
10.21374 +esac
10.21375 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21376 + (eval "$ac_compiler -V >&5") 2>&5
10.21377 + ac_status=$?
10.21378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21379 + (exit $ac_status); }
10.21380 +
10.21381 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10.21382 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
10.21383 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10.21384 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21385 +else
10.21386 + cat >conftest.$ac_ext <<_ACEOF
10.21387 +/* confdefs.h. */
10.21388 +_ACEOF
10.21389 +cat confdefs.h >>conftest.$ac_ext
10.21390 +cat >>conftest.$ac_ext <<_ACEOF
10.21391 +/* end confdefs.h. */
10.21392 +
10.21393 +int
10.21394 +main ()
10.21395 +{
10.21396 +#ifndef __GNUC__
10.21397 + choke me
10.21398 +#endif
10.21399 +
10.21400 + ;
10.21401 + return 0;
10.21402 +}
10.21403 +_ACEOF
10.21404 +rm -f conftest.$ac_objext
10.21405 +if { (ac_try="$ac_compile"
10.21406 +case "(($ac_try" in
10.21407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21408 + *) ac_try_echo=$ac_try;;
10.21409 +esac
10.21410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21411 + (eval "$ac_compile") 2>conftest.er1
10.21412 + ac_status=$?
10.21413 + grep -v '^ *+' conftest.er1 >conftest.err
10.21414 + rm -f conftest.er1
10.21415 + cat conftest.err >&5
10.21416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21417 + (exit $ac_status); } && {
10.21418 + test -z "$ac_cxx_werror_flag" ||
10.21419 + test ! -s conftest.err
10.21420 + } && test -s conftest.$ac_objext; then
10.21421 + ac_compiler_gnu=yes
10.21422 +else
10.21423 + echo "$as_me: failed program was:" >&5
10.21424 +sed 's/^/| /' conftest.$ac_ext >&5
10.21425 +
10.21426 + ac_compiler_gnu=no
10.21427 +fi
10.21428 +
10.21429 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.21430 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10.21431 +
10.21432 +fi
10.21433 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10.21434 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
10.21435 +GXX=`test $ac_compiler_gnu = yes && echo yes`
10.21436 +ac_test_CXXFLAGS=${CXXFLAGS+set}
10.21437 +ac_save_CXXFLAGS=$CXXFLAGS
10.21438 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10.21439 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
10.21440 +if test "${ac_cv_prog_cxx_g+set}" = set; then
10.21441 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21442 +else
10.21443 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10.21444 + ac_cxx_werror_flag=yes
10.21445 + ac_cv_prog_cxx_g=no
10.21446 + CXXFLAGS="-g"
10.21447 + cat >conftest.$ac_ext <<_ACEOF
10.21448 +/* confdefs.h. */
10.21449 +_ACEOF
10.21450 +cat confdefs.h >>conftest.$ac_ext
10.21451 +cat >>conftest.$ac_ext <<_ACEOF
10.21452 +/* end confdefs.h. */
10.21453 +
10.21454 +int
10.21455 +main ()
10.21456 +{
10.21457 +
10.21458 + ;
10.21459 + return 0;
10.21460 +}
10.21461 +_ACEOF
10.21462 +rm -f conftest.$ac_objext
10.21463 +if { (ac_try="$ac_compile"
10.21464 +case "(($ac_try" in
10.21465 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21466 + *) ac_try_echo=$ac_try;;
10.21467 +esac
10.21468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21469 + (eval "$ac_compile") 2>conftest.er1
10.21470 + ac_status=$?
10.21471 + grep -v '^ *+' conftest.er1 >conftest.err
10.21472 + rm -f conftest.er1
10.21473 + cat conftest.err >&5
10.21474 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21475 + (exit $ac_status); } && {
10.21476 + test -z "$ac_cxx_werror_flag" ||
10.21477 + test ! -s conftest.err
10.21478 + } && test -s conftest.$ac_objext; then
10.21479 + ac_cv_prog_cxx_g=yes
10.21480 +else
10.21481 + echo "$as_me: failed program was:" >&5
10.21482 +sed 's/^/| /' conftest.$ac_ext >&5
10.21483 +
10.21484 + CXXFLAGS=""
10.21485 + cat >conftest.$ac_ext <<_ACEOF
10.21486 +/* confdefs.h. */
10.21487 +_ACEOF
10.21488 +cat confdefs.h >>conftest.$ac_ext
10.21489 +cat >>conftest.$ac_ext <<_ACEOF
10.21490 +/* end confdefs.h. */
10.21491 +
10.21492 +int
10.21493 +main ()
10.21494 +{
10.21495 +
10.21496 + ;
10.21497 + return 0;
10.21498 +}
10.21499 +_ACEOF
10.21500 +rm -f conftest.$ac_objext
10.21501 +if { (ac_try="$ac_compile"
10.21502 +case "(($ac_try" in
10.21503 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21504 + *) ac_try_echo=$ac_try;;
10.21505 +esac
10.21506 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21507 + (eval "$ac_compile") 2>conftest.er1
10.21508 + ac_status=$?
10.21509 + grep -v '^ *+' conftest.er1 >conftest.err
10.21510 + rm -f conftest.er1
10.21511 + cat conftest.err >&5
10.21512 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21513 + (exit $ac_status); } && {
10.21514 + test -z "$ac_cxx_werror_flag" ||
10.21515 + test ! -s conftest.err
10.21516 + } && test -s conftest.$ac_objext; then
10.21517 + :
10.21518 +else
10.21519 + echo "$as_me: failed program was:" >&5
10.21520 +sed 's/^/| /' conftest.$ac_ext >&5
10.21521 +
10.21522 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10.21523 + CXXFLAGS="-g"
10.21524 + cat >conftest.$ac_ext <<_ACEOF
10.21525 +/* confdefs.h. */
10.21526 +_ACEOF
10.21527 +cat confdefs.h >>conftest.$ac_ext
10.21528 +cat >>conftest.$ac_ext <<_ACEOF
10.21529 +/* end confdefs.h. */
10.21530 +
10.21531 +int
10.21532 +main ()
10.21533 +{
10.21534 +
10.21535 + ;
10.21536 + return 0;
10.21537 +}
10.21538 +_ACEOF
10.21539 +rm -f conftest.$ac_objext
10.21540 +if { (ac_try="$ac_compile"
10.21541 +case "(($ac_try" in
10.21542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21543 + *) ac_try_echo=$ac_try;;
10.21544 +esac
10.21545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21546 + (eval "$ac_compile") 2>conftest.er1
10.21547 + ac_status=$?
10.21548 + grep -v '^ *+' conftest.er1 >conftest.err
10.21549 + rm -f conftest.er1
10.21550 + cat conftest.err >&5
10.21551 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21552 + (exit $ac_status); } && {
10.21553 + test -z "$ac_cxx_werror_flag" ||
10.21554 + test ! -s conftest.err
10.21555 + } && test -s conftest.$ac_objext; then
10.21556 + ac_cv_prog_cxx_g=yes
10.21557 +else
10.21558 + echo "$as_me: failed program was:" >&5
10.21559 +sed 's/^/| /' conftest.$ac_ext >&5
10.21560 +
10.21561 +
10.21562 +fi
10.21563 +
10.21564 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.21565 +fi
10.21566 +
10.21567 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.21568 +fi
10.21569 +
10.21570 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.21571 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10.21572 +fi
10.21573 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
10.21574 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
10.21575 +if test "$ac_test_CXXFLAGS" = set; then
10.21576 + CXXFLAGS=$ac_save_CXXFLAGS
10.21577 +elif test $ac_cv_prog_cxx_g = yes; then
10.21578 + if test "$GXX" = yes; then
10.21579 + CXXFLAGS="-g -O2"
10.21580 + else
10.21581 + CXXFLAGS="-g"
10.21582 + fi
10.21583 +else
10.21584 + if test "$GXX" = yes; then
10.21585 + CXXFLAGS="-O2"
10.21586 + else
10.21587 + CXXFLAGS=
10.21588 + fi
10.21589 +fi
10.21590 +ac_ext=c
10.21591 +ac_cpp='$CPP $CPPFLAGS'
10.21592 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.21593 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.21594 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.21595 +
10.21596 +depcc="$CXX" am_compiler_list=
10.21597 +
10.21598 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10.21599 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10.21600 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
10.21601 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21602 +else
10.21603 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10.21604 + # We make a subdir and do the tests there. Otherwise we can end up
10.21605 + # making bogus files that we don't know about and never remove. For
10.21606 + # instance it was reported that on HP-UX the gcc test will end up
10.21607 + # making a dummy file named `D' -- because `-MD' means `put the output
10.21608 + # in D'.
10.21609 + mkdir conftest.dir
10.21610 + # Copy depcomp to subdir because otherwise we won't find it if we're
10.21611 + # using a relative directory.
10.21612 + cp "$am_depcomp" conftest.dir
10.21613 + cd conftest.dir
10.21614 + # We will build objects and dependencies in a subdirectory because
10.21615 + # it helps to detect inapplicable dependency modes. For instance
10.21616 + # both Tru64's cc and ICC support -MD to output dependencies as a
10.21617 + # side effect of compilation, but ICC will put the dependencies in
10.21618 + # the current directory while Tru64 will put them in the object
10.21619 + # directory.
10.21620 + mkdir sub
10.21621 +
10.21622 + am_cv_CXX_dependencies_compiler_type=none
10.21623 + if test "$am_compiler_list" = ""; then
10.21624 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10.21625 + fi
10.21626 + for depmode in $am_compiler_list; do
10.21627 + # Setup a source with many dependencies, because some compilers
10.21628 + # like to wrap large dependency lists on column 80 (with \), and
10.21629 + # we should not choose a depcomp mode which is confused by this.
10.21630 + #
10.21631 + # We need to recreate these files for each test, as the compiler may
10.21632 + # overwrite some of them when testing with obscure command lines.
10.21633 + # This happens at least with the AIX C compiler.
10.21634 + : > sub/conftest.c
10.21635 + for i in 1 2 3 4 5 6; do
10.21636 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
10.21637 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10.21638 + # Solaris 8's {/usr,}/bin/sh.
10.21639 + touch sub/conftst$i.h
10.21640 + done
10.21641 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10.21642 +
10.21643 + case $depmode in
10.21644 + nosideeffect)
10.21645 + # after this tag, mechanisms are not by side-effect, so they'll
10.21646 + # only be used when explicitly requested
10.21647 + if test "x$enable_dependency_tracking" = xyes; then
10.21648 + continue
10.21649 + else
10.21650 + break
10.21651 + fi
10.21652 + ;;
10.21653 + none) break ;;
10.21654 + esac
10.21655 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
10.21656 + # mode. It turns out that the SunPro C++ compiler does not properly
10.21657 + # handle `-M -o', and we need to detect this.
10.21658 + if depmode=$depmode \
10.21659 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10.21660 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10.21661 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10.21662 + >/dev/null 2>conftest.err &&
10.21663 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10.21664 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10.21665 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10.21666 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10.21667 + # icc doesn't choke on unknown options, it will just issue warnings
10.21668 + # or remarks (even with -Werror). So we grep stderr for any message
10.21669 + # that says an option was ignored or not supported.
10.21670 + # When given -MP, icc 7.0 and 7.1 complain thusly:
10.21671 + # icc: Command line warning: ignoring option '-M'; no argument required
10.21672 + # The diagnosis changed in icc 8.0:
10.21673 + # icc: Command line remark: option '-MP' not supported
10.21674 + if (grep 'ignoring option' conftest.err ||
10.21675 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10.21676 + am_cv_CXX_dependencies_compiler_type=$depmode
10.21677 + break
10.21678 + fi
10.21679 + fi
10.21680 + done
10.21681 +
10.21682 + cd ..
10.21683 + rm -rf conftest.dir
10.21684 +else
10.21685 + am_cv_CXX_dependencies_compiler_type=none
10.21686 +fi
10.21687 +
10.21688 +fi
10.21689 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
10.21690 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
10.21691 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10.21692 +
10.21693 + if
10.21694 + test "x$enable_dependency_tracking" != xno \
10.21695 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10.21696 + am__fastdepCXX_TRUE=
10.21697 + am__fastdepCXX_FALSE='#'
10.21698 +else
10.21699 + am__fastdepCXX_TRUE='#'
10.21700 + am__fastdepCXX_FALSE=
10.21701 +fi
10.21702 +
10.21703 +
10.21704 +# Extract the first word of "$CXX", so it can be a program name with args.
10.21705 +set dummy $CXX; ac_word=$2
10.21706 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.21707 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.21708 +if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
10.21709 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21710 +else
10.21711 + if test -n "$HAVE_CXX"; then
10.21712 + ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
10.21713 +else
10.21714 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.21715 +for as_dir in $PATH
10.21716 +do
10.21717 + IFS=$as_save_IFS
10.21718 + test -z "$as_dir" && as_dir=.
10.21719 + for ac_exec_ext in '' $ac_executable_extensions; do
10.21720 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.21721 + ac_cv_prog_HAVE_CXX="yes"
10.21722 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.21723 + break 2
10.21724 + fi
10.21725 +done
10.21726 +done
10.21727 +IFS=$as_save_IFS
10.21728 +
10.21729 + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
10.21730 +fi
10.21731 +fi
10.21732 +HAVE_CXX=$ac_cv_prog_HAVE_CXX
10.21733 +if test -n "$HAVE_CXX"; then
10.21734 + { echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
10.21735 +echo "${ECHO_T}$HAVE_CXX" >&6; }
10.21736 +else
10.21737 + { echo "$as_me:$LINENO: result: no" >&5
10.21738 +echo "${ECHO_T}no" >&6; }
10.21739 +fi
10.21740 +
10.21741 +
10.21742 +ac_ext=cpp
10.21743 +ac_cpp='$CXXCPP $CPPFLAGS'
10.21744 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.21745 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.21746 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10.21747 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10.21748 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
10.21749 +if test -z "$CXXCPP"; then
10.21750 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
10.21751 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21752 +else
10.21753 + # Double quotes because CXXCPP needs to be expanded
10.21754 + for CXXCPP in "$CXX -E" "/lib/cpp"
10.21755 + do
10.21756 + ac_preproc_ok=false
10.21757 +for ac_cxx_preproc_warn_flag in '' yes
10.21758 +do
10.21759 + # Use a header file that comes with gcc, so configuring glibc
10.21760 + # with a fresh cross-compiler works.
10.21761 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.21762 + # <limits.h> exists even on freestanding compilers.
10.21763 + # On the NeXT, cc -E runs the code through the compiler's parser,
10.21764 + # not just through cpp. "Syntax error" is here to catch this case.
10.21765 + cat >conftest.$ac_ext <<_ACEOF
10.21766 +/* confdefs.h. */
10.21767 +_ACEOF
10.21768 +cat confdefs.h >>conftest.$ac_ext
10.21769 +cat >>conftest.$ac_ext <<_ACEOF
10.21770 +/* end confdefs.h. */
10.21771 +@%:@ifdef __STDC__
10.21772 +@%:@ include <limits.h>
10.21773 +@%:@else
10.21774 +@%:@ include <assert.h>
10.21775 +@%:@endif
10.21776 + Syntax error
10.21777 +_ACEOF
10.21778 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.21779 +case "(($ac_try" in
10.21780 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21781 + *) ac_try_echo=$ac_try;;
10.21782 +esac
10.21783 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21784 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.21785 + ac_status=$?
10.21786 + grep -v '^ *+' conftest.er1 >conftest.err
10.21787 + rm -f conftest.er1
10.21788 + cat conftest.err >&5
10.21789 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21790 + (exit $ac_status); } >/dev/null && {
10.21791 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.21792 + test ! -s conftest.err
10.21793 + }; then
10.21794 + :
10.21795 +else
10.21796 + echo "$as_me: failed program was:" >&5
10.21797 +sed 's/^/| /' conftest.$ac_ext >&5
10.21798 +
10.21799 + # Broken: fails on valid input.
10.21800 +continue
10.21801 +fi
10.21802 +
10.21803 +rm -f conftest.err conftest.$ac_ext
10.21804 +
10.21805 + # OK, works on sane cases. Now check whether nonexistent headers
10.21806 + # can be detected and how.
10.21807 + cat >conftest.$ac_ext <<_ACEOF
10.21808 +/* confdefs.h. */
10.21809 +_ACEOF
10.21810 +cat confdefs.h >>conftest.$ac_ext
10.21811 +cat >>conftest.$ac_ext <<_ACEOF
10.21812 +/* end confdefs.h. */
10.21813 +@%:@include <ac_nonexistent.h>
10.21814 +_ACEOF
10.21815 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.21816 +case "(($ac_try" in
10.21817 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21818 + *) ac_try_echo=$ac_try;;
10.21819 +esac
10.21820 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21821 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.21822 + ac_status=$?
10.21823 + grep -v '^ *+' conftest.er1 >conftest.err
10.21824 + rm -f conftest.er1
10.21825 + cat conftest.err >&5
10.21826 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21827 + (exit $ac_status); } >/dev/null && {
10.21828 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.21829 + test ! -s conftest.err
10.21830 + }; then
10.21831 + # Broken: success on invalid input.
10.21832 +continue
10.21833 +else
10.21834 + echo "$as_me: failed program was:" >&5
10.21835 +sed 's/^/| /' conftest.$ac_ext >&5
10.21836 +
10.21837 + # Passes both tests.
10.21838 +ac_preproc_ok=:
10.21839 +break
10.21840 +fi
10.21841 +
10.21842 +rm -f conftest.err conftest.$ac_ext
10.21843 +
10.21844 +done
10.21845 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10.21846 +rm -f conftest.err conftest.$ac_ext
10.21847 +if $ac_preproc_ok; then
10.21848 + break
10.21849 +fi
10.21850 +
10.21851 + done
10.21852 + ac_cv_prog_CXXCPP=$CXXCPP
10.21853 +
10.21854 +fi
10.21855 + CXXCPP=$ac_cv_prog_CXXCPP
10.21856 +else
10.21857 + ac_cv_prog_CXXCPP=$CXXCPP
10.21858 +fi
10.21859 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
10.21860 +echo "${ECHO_T}$CXXCPP" >&6; }
10.21861 +ac_preproc_ok=false
10.21862 +for ac_cxx_preproc_warn_flag in '' yes
10.21863 +do
10.21864 + # Use a header file that comes with gcc, so configuring glibc
10.21865 + # with a fresh cross-compiler works.
10.21866 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10.21867 + # <limits.h> exists even on freestanding compilers.
10.21868 + # On the NeXT, cc -E runs the code through the compiler's parser,
10.21869 + # not just through cpp. "Syntax error" is here to catch this case.
10.21870 + cat >conftest.$ac_ext <<_ACEOF
10.21871 +/* confdefs.h. */
10.21872 +_ACEOF
10.21873 +cat confdefs.h >>conftest.$ac_ext
10.21874 +cat >>conftest.$ac_ext <<_ACEOF
10.21875 +/* end confdefs.h. */
10.21876 +@%:@ifdef __STDC__
10.21877 +@%:@ include <limits.h>
10.21878 +@%:@else
10.21879 +@%:@ include <assert.h>
10.21880 +@%:@endif
10.21881 + Syntax error
10.21882 +_ACEOF
10.21883 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.21884 +case "(($ac_try" in
10.21885 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21886 + *) ac_try_echo=$ac_try;;
10.21887 +esac
10.21888 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21889 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.21890 + ac_status=$?
10.21891 + grep -v '^ *+' conftest.er1 >conftest.err
10.21892 + rm -f conftest.er1
10.21893 + cat conftest.err >&5
10.21894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21895 + (exit $ac_status); } >/dev/null && {
10.21896 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.21897 + test ! -s conftest.err
10.21898 + }; then
10.21899 + :
10.21900 +else
10.21901 + echo "$as_me: failed program was:" >&5
10.21902 +sed 's/^/| /' conftest.$ac_ext >&5
10.21903 +
10.21904 + # Broken: fails on valid input.
10.21905 +continue
10.21906 +fi
10.21907 +
10.21908 +rm -f conftest.err conftest.$ac_ext
10.21909 +
10.21910 + # OK, works on sane cases. Now check whether nonexistent headers
10.21911 + # can be detected and how.
10.21912 + cat >conftest.$ac_ext <<_ACEOF
10.21913 +/* confdefs.h. */
10.21914 +_ACEOF
10.21915 +cat confdefs.h >>conftest.$ac_ext
10.21916 +cat >>conftest.$ac_ext <<_ACEOF
10.21917 +/* end confdefs.h. */
10.21918 +@%:@include <ac_nonexistent.h>
10.21919 +_ACEOF
10.21920 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10.21921 +case "(($ac_try" in
10.21922 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.21923 + *) ac_try_echo=$ac_try;;
10.21924 +esac
10.21925 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.21926 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10.21927 + ac_status=$?
10.21928 + grep -v '^ *+' conftest.er1 >conftest.err
10.21929 + rm -f conftest.er1
10.21930 + cat conftest.err >&5
10.21931 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.21932 + (exit $ac_status); } >/dev/null && {
10.21933 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10.21934 + test ! -s conftest.err
10.21935 + }; then
10.21936 + # Broken: success on invalid input.
10.21937 +continue
10.21938 +else
10.21939 + echo "$as_me: failed program was:" >&5
10.21940 +sed 's/^/| /' conftest.$ac_ext >&5
10.21941 +
10.21942 + # Passes both tests.
10.21943 +ac_preproc_ok=:
10.21944 +break
10.21945 +fi
10.21946 +
10.21947 +rm -f conftest.err conftest.$ac_ext
10.21948 +
10.21949 +done
10.21950 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10.21951 +rm -f conftest.err conftest.$ac_ext
10.21952 +if $ac_preproc_ok; then
10.21953 + :
10.21954 +else
10.21955 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10.21956 +See \`config.log' for more details." >&5
10.21957 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10.21958 +See \`config.log' for more details." >&2;}
10.21959 + { (exit 1); exit 1; }; }
10.21960 +fi
10.21961 +
10.21962 +ac_ext=c
10.21963 +ac_cpp='$CPP $CPPFLAGS'
10.21964 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10.21965 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10.21966 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10.21967 +
10.21968 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
10.21969 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
10.21970 +if test "${ac_cv_search_strerror+set}" = set; then
10.21971 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.21972 +else
10.21973 + ac_func_search_save_LIBS=$LIBS
10.21974 +cat >conftest.$ac_ext <<_ACEOF
10.21975 +/* confdefs.h. */
10.21976 +_ACEOF
10.21977 +cat confdefs.h >>conftest.$ac_ext
10.21978 +cat >>conftest.$ac_ext <<_ACEOF
10.21979 +/* end confdefs.h. */
10.21980 +
10.21981 +/* Override any GCC internal prototype to avoid an error.
10.21982 + Use char because int might match the return type of a GCC
10.21983 + builtin and then its argument prototype would still apply. */
10.21984 +#ifdef __cplusplus
10.21985 +extern "C"
10.21986 +#endif
10.21987 +char strerror ();
10.21988 +int
10.21989 +main ()
10.21990 +{
10.21991 +return strerror ();
10.21992 + ;
10.21993 + return 0;
10.21994 +}
10.21995 +_ACEOF
10.21996 +for ac_lib in '' cposix; do
10.21997 + if test -z "$ac_lib"; then
10.21998 + ac_res="none required"
10.21999 + else
10.22000 + ac_res=-l$ac_lib
10.22001 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10.22002 + fi
10.22003 + rm -f conftest.$ac_objext conftest$ac_exeext
10.22004 +if { (ac_try="$ac_link"
10.22005 +case "(($ac_try" in
10.22006 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.22007 + *) ac_try_echo=$ac_try;;
10.22008 +esac
10.22009 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.22010 + (eval "$ac_link") 2>conftest.er1
10.22011 + ac_status=$?
10.22012 + grep -v '^ *+' conftest.er1 >conftest.err
10.22013 + rm -f conftest.er1
10.22014 + cat conftest.err >&5
10.22015 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22016 + (exit $ac_status); } && {
10.22017 + test -z "$ac_c_werror_flag" ||
10.22018 + test ! -s conftest.err
10.22019 + } && test -s conftest$ac_exeext &&
10.22020 + $as_test_x conftest$ac_exeext; then
10.22021 + ac_cv_search_strerror=$ac_res
10.22022 +else
10.22023 + echo "$as_me: failed program was:" >&5
10.22024 +sed 's/^/| /' conftest.$ac_ext >&5
10.22025 +
10.22026 +
10.22027 +fi
10.22028 +
10.22029 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10.22030 + conftest$ac_exeext
10.22031 + if test "${ac_cv_search_strerror+set}" = set; then
10.22032 + break
10.22033 +fi
10.22034 +done
10.22035 +if test "${ac_cv_search_strerror+set}" = set; then
10.22036 + :
10.22037 +else
10.22038 + ac_cv_search_strerror=no
10.22039 +fi
10.22040 +rm conftest.$ac_ext
10.22041 +LIBS=$ac_func_search_save_LIBS
10.22042 +fi
10.22043 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
10.22044 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
10.22045 +ac_res=$ac_cv_search_strerror
10.22046 +if test "$ac_res" != no; then
10.22047 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10.22048 +
10.22049 +fi
10.22050 +
10.22051 +
10.22052 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10.22053 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10.22054 +if test "${ac_cv_header_stdc+set}" = set; then
10.22055 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22056 +else
10.22057 + cat >conftest.$ac_ext <<_ACEOF
10.22058 +/* confdefs.h. */
10.22059 +_ACEOF
10.22060 +cat confdefs.h >>conftest.$ac_ext
10.22061 +cat >>conftest.$ac_ext <<_ACEOF
10.22062 +/* end confdefs.h. */
10.22063 +#include <stdlib.h>
10.22064 +#include <stdarg.h>
10.22065 +#include <string.h>
10.22066 +#include <float.h>
10.22067 +
10.22068 +int
10.22069 +main ()
10.22070 +{
10.22071 +
10.22072 + ;
10.22073 + return 0;
10.22074 +}
10.22075 +_ACEOF
10.22076 +rm -f conftest.$ac_objext
10.22077 +if { (ac_try="$ac_compile"
10.22078 +case "(($ac_try" in
10.22079 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.22080 + *) ac_try_echo=$ac_try;;
10.22081 +esac
10.22082 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.22083 + (eval "$ac_compile") 2>conftest.er1
10.22084 + ac_status=$?
10.22085 + grep -v '^ *+' conftest.er1 >conftest.err
10.22086 + rm -f conftest.er1
10.22087 + cat conftest.err >&5
10.22088 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22089 + (exit $ac_status); } && {
10.22090 + test -z "$ac_c_werror_flag" ||
10.22091 + test ! -s conftest.err
10.22092 + } && test -s conftest.$ac_objext; then
10.22093 + ac_cv_header_stdc=yes
10.22094 +else
10.22095 + echo "$as_me: failed program was:" >&5
10.22096 +sed 's/^/| /' conftest.$ac_ext >&5
10.22097 +
10.22098 + ac_cv_header_stdc=no
10.22099 +fi
10.22100 +
10.22101 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.22102 +
10.22103 +if test $ac_cv_header_stdc = yes; then
10.22104 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10.22105 + cat >conftest.$ac_ext <<_ACEOF
10.22106 +/* confdefs.h. */
10.22107 +_ACEOF
10.22108 +cat confdefs.h >>conftest.$ac_ext
10.22109 +cat >>conftest.$ac_ext <<_ACEOF
10.22110 +/* end confdefs.h. */
10.22111 +#include <string.h>
10.22112 +
10.22113 +_ACEOF
10.22114 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10.22115 + $EGREP "memchr" >/dev/null 2>&1; then
10.22116 + :
10.22117 +else
10.22118 + ac_cv_header_stdc=no
10.22119 +fi
10.22120 +rm -f conftest*
10.22121 +
10.22122 +fi
10.22123 +
10.22124 +if test $ac_cv_header_stdc = yes; then
10.22125 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10.22126 + cat >conftest.$ac_ext <<_ACEOF
10.22127 +/* confdefs.h. */
10.22128 +_ACEOF
10.22129 +cat confdefs.h >>conftest.$ac_ext
10.22130 +cat >>conftest.$ac_ext <<_ACEOF
10.22131 +/* end confdefs.h. */
10.22132 +#include <stdlib.h>
10.22133 +
10.22134 +_ACEOF
10.22135 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10.22136 + $EGREP "free" >/dev/null 2>&1; then
10.22137 + :
10.22138 +else
10.22139 + ac_cv_header_stdc=no
10.22140 +fi
10.22141 +rm -f conftest*
10.22142 +
10.22143 +fi
10.22144 +
10.22145 +if test $ac_cv_header_stdc = yes; then
10.22146 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10.22147 + if test "$cross_compiling" = yes; then
10.22148 + :
10.22149 +else
10.22150 + cat >conftest.$ac_ext <<_ACEOF
10.22151 +/* confdefs.h. */
10.22152 +_ACEOF
10.22153 +cat confdefs.h >>conftest.$ac_ext
10.22154 +cat >>conftest.$ac_ext <<_ACEOF
10.22155 +/* end confdefs.h. */
10.22156 +#include <ctype.h>
10.22157 +#include <stdlib.h>
10.22158 +#if ((' ' & 0x0FF) == 0x020)
10.22159 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10.22160 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10.22161 +#else
10.22162 +# define ISLOWER(c) \
10.22163 + (('a' <= (c) && (c) <= 'i') \
10.22164 + || ('j' <= (c) && (c) <= 'r') \
10.22165 + || ('s' <= (c) && (c) <= 'z'))
10.22166 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10.22167 +#endif
10.22168 +
10.22169 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10.22170 +int
10.22171 +main ()
10.22172 +{
10.22173 + int i;
10.22174 + for (i = 0; i < 256; i++)
10.22175 + if (XOR (islower (i), ISLOWER (i))
10.22176 + || toupper (i) != TOUPPER (i))
10.22177 + return 2;
10.22178 + return 0;
10.22179 +}
10.22180 +_ACEOF
10.22181 +rm -f conftest$ac_exeext
10.22182 +if { (ac_try="$ac_link"
10.22183 +case "(($ac_try" in
10.22184 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.22185 + *) ac_try_echo=$ac_try;;
10.22186 +esac
10.22187 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.22188 + (eval "$ac_link") 2>&5
10.22189 + ac_status=$?
10.22190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22191 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10.22192 + { (case "(($ac_try" in
10.22193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.22194 + *) ac_try_echo=$ac_try;;
10.22195 +esac
10.22196 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.22197 + (eval "$ac_try") 2>&5
10.22198 + ac_status=$?
10.22199 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22200 + (exit $ac_status); }; }; then
10.22201 + :
10.22202 +else
10.22203 + echo "$as_me: program exited with status $ac_status" >&5
10.22204 +echo "$as_me: failed program was:" >&5
10.22205 +sed 's/^/| /' conftest.$ac_ext >&5
10.22206 +
10.22207 +( exit $ac_status )
10.22208 +ac_cv_header_stdc=no
10.22209 +fi
10.22210 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10.22211 +fi
10.22212 +
10.22213 +
10.22214 +fi
10.22215 +fi
10.22216 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10.22217 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10.22218 +if test $ac_cv_header_stdc = yes; then
10.22219 +
10.22220 +cat >>confdefs.h <<\_ACEOF
10.22221 +@%:@define STDC_HEADERS 1
10.22222 +_ACEOF
10.22223 +
10.22224 +fi
10.22225 +
10.22226 +{ echo "$as_me:$LINENO: checking for inline" >&5
10.22227 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
10.22228 +if test "${ac_cv_c_inline+set}" = set; then
10.22229 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22230 +else
10.22231 + ac_cv_c_inline=no
10.22232 +for ac_kw in inline __inline__ __inline; do
10.22233 + cat >conftest.$ac_ext <<_ACEOF
10.22234 +/* confdefs.h. */
10.22235 +_ACEOF
10.22236 +cat confdefs.h >>conftest.$ac_ext
10.22237 +cat >>conftest.$ac_ext <<_ACEOF
10.22238 +/* end confdefs.h. */
10.22239 +#ifndef __cplusplus
10.22240 +typedef int foo_t;
10.22241 +static $ac_kw foo_t static_foo () {return 0; }
10.22242 +$ac_kw foo_t foo () {return 0; }
10.22243 +#endif
10.22244 +
10.22245 +_ACEOF
10.22246 +rm -f conftest.$ac_objext
10.22247 +if { (ac_try="$ac_compile"
10.22248 +case "(($ac_try" in
10.22249 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10.22250 + *) ac_try_echo=$ac_try;;
10.22251 +esac
10.22252 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10.22253 + (eval "$ac_compile") 2>conftest.er1
10.22254 + ac_status=$?
10.22255 + grep -v '^ *+' conftest.er1 >conftest.err
10.22256 + rm -f conftest.er1
10.22257 + cat conftest.err >&5
10.22258 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22259 + (exit $ac_status); } && {
10.22260 + test -z "$ac_c_werror_flag" ||
10.22261 + test ! -s conftest.err
10.22262 + } && test -s conftest.$ac_objext; then
10.22263 + ac_cv_c_inline=$ac_kw
10.22264 +else
10.22265 + echo "$as_me: failed program was:" >&5
10.22266 +sed 's/^/| /' conftest.$ac_ext >&5
10.22267 +
10.22268 +
10.22269 +fi
10.22270 +
10.22271 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10.22272 + test "$ac_cv_c_inline" != no && break
10.22273 +done
10.22274 +
10.22275 +fi
10.22276 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10.22277 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10.22278 +
10.22279 +
10.22280 +case $ac_cv_c_inline in
10.22281 + inline | yes) ;;
10.22282 + *)
10.22283 + case $ac_cv_c_inline in
10.22284 + no) ac_val=;;
10.22285 + *) ac_val=$ac_cv_c_inline;;
10.22286 + esac
10.22287 + cat >>confdefs.h <<_ACEOF
10.22288 +#ifndef __cplusplus
10.22289 +#define inline $ac_val
10.22290 +#endif
10.22291 +_ACEOF
10.22292 + ;;
10.22293 +esac
10.22294 +
10.22295 +
10.22296 +# Extract the first word of "pkg-config", so it can be a program name with args.
10.22297 +set dummy pkg-config; ac_word=$2
10.22298 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.22299 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.22300 +if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
10.22301 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22302 +else
10.22303 + if test -n "$HAVE_PKGCONFIG"; then
10.22304 + ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
10.22305 +else
10.22306 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.22307 +for as_dir in $PATH
10.22308 +do
10.22309 + IFS=$as_save_IFS
10.22310 + test -z "$as_dir" && as_dir=.
10.22311 + for ac_exec_ext in '' $ac_executable_extensions; do
10.22312 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.22313 + ac_cv_prog_HAVE_PKGCONFIG="yes"
10.22314 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.22315 + break 2
10.22316 + fi
10.22317 +done
10.22318 +done
10.22319 +IFS=$as_save_IFS
10.22320 +
10.22321 + test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
10.22322 +fi
10.22323 +fi
10.22324 +HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
10.22325 +if test -n "$HAVE_PKGCONFIG"; then
10.22326 + { echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
10.22327 +echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
10.22328 +else
10.22329 + { echo "$as_me:$LINENO: result: no" >&5
10.22330 +echo "${ECHO_T}no" >&6; }
10.22331 +fi
10.22332 +
10.22333 +
10.22334 +
10.22335 +if test "x$HAVE_PKGCONFIG" = "xno"; then
10.22336 + { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
10.22337 +echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
10.22338 + { (exit 1); exit 1; }; }
10.22339 +fi
10.22340 +
10.22341 +
10.22342 +GST_REQUIRED=0.10.14
10.22343 +GST_MAJORMINOR=0.10
10.22344 +
10.22345 +
10.22346 +
10.22347 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10.22348 + if test -n "$ac_tool_prefix"; then
10.22349 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10.22350 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10.22351 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.22352 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.22353 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10.22354 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22355 +else
10.22356 + case $PKG_CONFIG in
10.22357 + [\\/]* | ?:[\\/]*)
10.22358 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10.22359 + ;;
10.22360 + *)
10.22361 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.22362 +for as_dir in $PATH
10.22363 +do
10.22364 + IFS=$as_save_IFS
10.22365 + test -z "$as_dir" && as_dir=.
10.22366 + for ac_exec_ext in '' $ac_executable_extensions; do
10.22367 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.22368 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10.22369 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.22370 + break 2
10.22371 + fi
10.22372 +done
10.22373 +done
10.22374 +IFS=$as_save_IFS
10.22375 +
10.22376 + ;;
10.22377 +esac
10.22378 +fi
10.22379 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10.22380 +if test -n "$PKG_CONFIG"; then
10.22381 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10.22382 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
10.22383 +else
10.22384 + { echo "$as_me:$LINENO: result: no" >&5
10.22385 +echo "${ECHO_T}no" >&6; }
10.22386 +fi
10.22387 +
10.22388 +
10.22389 +fi
10.22390 +if test -z "$ac_cv_path_PKG_CONFIG"; then
10.22391 + ac_pt_PKG_CONFIG=$PKG_CONFIG
10.22392 + # Extract the first word of "pkg-config", so it can be a program name with args.
10.22393 +set dummy pkg-config; ac_word=$2
10.22394 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10.22395 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10.22396 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
10.22397 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22398 +else
10.22399 + case $ac_pt_PKG_CONFIG in
10.22400 + [\\/]* | ?:[\\/]*)
10.22401 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10.22402 + ;;
10.22403 + *)
10.22404 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.22405 +for as_dir in $PATH
10.22406 +do
10.22407 + IFS=$as_save_IFS
10.22408 + test -z "$as_dir" && as_dir=.
10.22409 + for ac_exec_ext in '' $ac_executable_extensions; do
10.22410 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10.22411 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10.22412 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10.22413 + break 2
10.22414 + fi
10.22415 +done
10.22416 +done
10.22417 +IFS=$as_save_IFS
10.22418 +
10.22419 + ;;
10.22420 +esac
10.22421 +fi
10.22422 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10.22423 +if test -n "$ac_pt_PKG_CONFIG"; then
10.22424 + { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
10.22425 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
10.22426 +else
10.22427 + { echo "$as_me:$LINENO: result: no" >&5
10.22428 +echo "${ECHO_T}no" >&6; }
10.22429 +fi
10.22430 +
10.22431 + if test "x$ac_pt_PKG_CONFIG" = x; then
10.22432 + PKG_CONFIG=""
10.22433 + else
10.22434 + case $cross_compiling:$ac_tool_warned in
10.22435 +yes:)
10.22436 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10.22437 +whose name does not start with the host triplet. If you think this
10.22438 +configuration is useful to you, please write to autoconf@gnu.org." >&5
10.22439 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10.22440 +whose name does not start with the host triplet. If you think this
10.22441 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10.22442 +ac_tool_warned=yes ;;
10.22443 +esac
10.22444 + PKG_CONFIG=$ac_pt_PKG_CONFIG
10.22445 + fi
10.22446 +else
10.22447 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10.22448 +fi
10.22449 +
10.22450 +fi
10.22451 +if test -n "$PKG_CONFIG"; then
10.22452 + _pkg_min_version=0.9.0
10.22453 + { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
10.22454 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
10.22455 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10.22456 + { echo "$as_me:$LINENO: result: yes" >&5
10.22457 +echo "${ECHO_T}yes" >&6; }
10.22458 + else
10.22459 + { echo "$as_me:$LINENO: result: no" >&5
10.22460 +echo "${ECHO_T}no" >&6; }
10.22461 + PKG_CONFIG=""
10.22462 + fi
10.22463 +
10.22464 +fi
10.22465 +
10.22466 +pkg_failed=no
10.22467 +{ echo "$as_me:$LINENO: checking for GST_CFLAGS" >&5
10.22468 +echo $ECHO_N "checking for GST_CFLAGS... $ECHO_C" >&6; }
10.22469 +if test "${pkg_cv_GST_CFLAGS+set}" = set; then
10.22470 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22471 +else
10.22472 + if test "x$ac_cv_env_GST_CFLAGS_set" = "xset"; then
10.22473 + pkg_cv_GST_CFLAGS=$ac_cv_env_GST_CFLAGS_value
10.22474 +elif test -n "$PKG_CONFIG"; then
10.22475 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
10.22476 + gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
10.22477 + ($PKG_CONFIG --exists "\
10.22478 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
10.22479 + ac_status=$?
10.22480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22481 + (exit $ac_status); }; then
10.22482 + pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
10.22483 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
10.22484 + else
10.22485 + pkg_failed=yes
10.22486 + fi
10.22487 +else
10.22488 + pkg_failed=untried
10.22489 +fi
10.22490 +fi
10.22491 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_CFLAGS" >&5
10.22492 +echo "${ECHO_T}$pkg_cv_GST_CFLAGS" >&6; }
10.22493 +{ echo "$as_me:$LINENO: checking for GST_LIBS" >&5
10.22494 +echo $ECHO_N "checking for GST_LIBS... $ECHO_C" >&6; }
10.22495 +if test "${pkg_cv_GST_LIBS+set}" = set; then
10.22496 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22497 +else
10.22498 + if test "x$ac_cv_env_GST_LIBS_set" = "xset"; then
10.22499 + pkg_cv_GST_LIBS=$ac_cv_env_GST_LIBS_value
10.22500 +elif test -n "$PKG_CONFIG"; then
10.22501 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
10.22502 + gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
10.22503 + ($PKG_CONFIG --exists "\
10.22504 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
10.22505 + ac_status=$?
10.22506 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22507 + (exit $ac_status); }; then
10.22508 + pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
10.22509 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
10.22510 + else
10.22511 + pkg_failed=yes
10.22512 + fi
10.22513 +else
10.22514 + pkg_failed=untried
10.22515 +fi
10.22516 +fi
10.22517 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_LIBS" >&5
10.22518 +echo "${ECHO_T}$pkg_cv_GST_LIBS" >&6; }
10.22519 +
10.22520 +if test $pkg_failed = yes; then
10.22521 + GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
10.22522 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
10.22523 + # Put the nasty error message in config.log where it belongs
10.22524 + echo "$GST_PKG_ERRORS" 1>&5
10.22525 +
10.22526 + HAVE_GST=no
10.22527 +elif test $pkg_failed = untried; then
10.22528 + HAVE_GST=no
10.22529 +else
10.22530 + GST_CFLAGS=$pkg_cv_GST_CFLAGS
10.22531 + GST_LIBS=$pkg_cv_GST_LIBS
10.22532 + HAVE_GST=yes
10.22533 +fi
10.22534 +
10.22535 +if test "x$HAVE_GST" = "xno"; then
10.22536 + { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
10.22537 +echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
10.22538 + { (exit 1); exit 1; }; }
10.22539 +fi
10.22540 +
10.22541 +if test "x$USE_DEBUG" = xyes; then
10.22542 + GST_CFLAGS="$GST_CFLAGS -g"
10.22543 +fi
10.22544 +
10.22545 +GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
10.22546 +
10.22547 +
10.22548 +
10.22549 +
10.22550 +
10.22551 +
10.22552 +
10.22553 +pkg_failed=no
10.22554 +{ echo "$as_me:$LINENO: checking for GST_BASE_CFLAGS" >&5
10.22555 +echo $ECHO_N "checking for GST_BASE_CFLAGS... $ECHO_C" >&6; }
10.22556 +if test "${pkg_cv_GST_BASE_CFLAGS+set}" = set; then
10.22557 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22558 +else
10.22559 + if test "x$ac_cv_env_GST_BASE_CFLAGS_set" = "xset"; then
10.22560 + pkg_cv_GST_BASE_CFLAGS=$ac_cv_env_GST_BASE_CFLAGS_value
10.22561 +elif test -n "$PKG_CONFIG"; then
10.22562 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
10.22563 + ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
10.22564 + ac_status=$?
10.22565 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22566 + (exit $ac_status); }; then
10.22567 + pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
10.22568 + else
10.22569 + pkg_failed=yes
10.22570 + fi
10.22571 +else
10.22572 + pkg_failed=untried
10.22573 +fi
10.22574 +fi
10.22575 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_CFLAGS" >&5
10.22576 +echo "${ECHO_T}$pkg_cv_GST_BASE_CFLAGS" >&6; }
10.22577 +{ echo "$as_me:$LINENO: checking for GST_BASE_LIBS" >&5
10.22578 +echo $ECHO_N "checking for GST_BASE_LIBS... $ECHO_C" >&6; }
10.22579 +if test "${pkg_cv_GST_BASE_LIBS+set}" = set; then
10.22580 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22581 +else
10.22582 + if test "x$ac_cv_env_GST_BASE_LIBS_set" = "xset"; then
10.22583 + pkg_cv_GST_BASE_LIBS=$ac_cv_env_GST_BASE_LIBS_value
10.22584 +elif test -n "$PKG_CONFIG"; then
10.22585 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
10.22586 + ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
10.22587 + ac_status=$?
10.22588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22589 + (exit $ac_status); }; then
10.22590 + pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
10.22591 + else
10.22592 + pkg_failed=yes
10.22593 + fi
10.22594 +else
10.22595 + pkg_failed=untried
10.22596 +fi
10.22597 +fi
10.22598 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_LIBS" >&5
10.22599 +echo "${ECHO_T}$pkg_cv_GST_BASE_LIBS" >&6; }
10.22600 +
10.22601 +if test $pkg_failed = yes; then
10.22602 + GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
10.22603 + # Put the nasty error message in config.log where it belongs
10.22604 + echo "$GST_BASE_PKG_ERRORS" 1>&5
10.22605 +
10.22606 + HAVE_GST_BASE="no"
10.22607 +elif test $pkg_failed = untried; then
10.22608 + HAVE_GST_BASE="no"
10.22609 +else
10.22610 + GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
10.22611 + GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
10.22612 + HAVE_GST_BASE="yes"
10.22613 +fi
10.22614 +
10.22615 +if test "x$HAVE_GST_BASE" = "xno"; then
10.22616 + { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
10.22617 +echo "$as_me: error: no GStreamer Base Libs found" >&2;}
10.22618 + { (exit 1); exit 1; }; }
10.22619 +fi
10.22620 +
10.22621 +
10.22622 +
10.22623 +
10.22624 +
10.22625 +pkg_failed=no
10.22626 +{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_CFLAGS" >&5
10.22627 +echo $ECHO_N "checking for GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6; }
10.22628 +if test "${pkg_cv_GST_PLUGINS_BASE_CFLAGS+set}" = set; then
10.22629 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22630 +else
10.22631 + if test "x$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_set" = "xset"; then
10.22632 + pkg_cv_GST_PLUGINS_BASE_CFLAGS=$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_value
10.22633 +elif test -n "$PKG_CONFIG"; then
10.22634 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
10.22635 + ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
10.22636 + ac_status=$?
10.22637 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22638 + (exit $ac_status); }; then
10.22639 + pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
10.22640 + else
10.22641 + pkg_failed=yes
10.22642 + fi
10.22643 +else
10.22644 + pkg_failed=untried
10.22645 +fi
10.22646 +fi
10.22647 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&5
10.22648 +echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&6; }
10.22649 +{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_LIBS" >&5
10.22650 +echo $ECHO_N "checking for GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6; }
10.22651 +if test "${pkg_cv_GST_PLUGINS_BASE_LIBS+set}" = set; then
10.22652 + echo $ECHO_N "(cached) $ECHO_C" >&6
10.22653 +else
10.22654 + if test "x$ac_cv_env_GST_PLUGINS_BASE_LIBS_set" = "xset"; then
10.22655 + pkg_cv_GST_PLUGINS_BASE_LIBS=$ac_cv_env_GST_PLUGINS_BASE_LIBS_value
10.22656 +elif test -n "$PKG_CONFIG"; then
10.22657 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
10.22658 + ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
10.22659 + ac_status=$?
10.22660 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10.22661 + (exit $ac_status); }; then
10.22662 + pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
10.22663 + else
10.22664 + pkg_failed=yes
10.22665 + fi
10.22666 +else
10.22667 + pkg_failed=untried
10.22668 +fi
10.22669 +fi
10.22670 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_LIBS" >&5
10.22671 +echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_LIBS" >&6; }
10.22672 +
10.22673 +if test $pkg_failed = yes; then
10.22674 + GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
10.22675 + # Put the nasty error message in config.log where it belongs
10.22676 + echo "$GST_PLUGINS_BASE_PKG_ERRORS" 1>&5
10.22677 +
10.22678 + HAVE_GST_PLUGINS="no"
10.22679 +elif test $pkg_failed = untried; then
10.22680 + HAVE_GST_PLUGINS="no"
10.22681 +else
10.22682 + GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
10.22683 + GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
10.22684 + HAVE_GST_PLUGINS="yes"
10.22685 +fi
10.22686 +
10.22687 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
10.22688 + { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
10.22689 +echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
10.22690 + { (exit 1); exit 1; }; }
10.22691 +fi
10.22692 +
10.22693 +
10.22694 +
10.22695 +
10.22696 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
10.22697 +
10.22698 +
10.22699 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
10.22700 +
10.22701 +
10.22702 +
10.22703 +cat >>confdefs.h <<\_ACEOF
10.22704 +@%:@define GST_LICENSE "LGPL"
10.22705 +_ACEOF
10.22706 +
10.22707 +
10.22708 +cat >>confdefs.h <<\_ACEOF
10.22709 +@%:@define GST_PACKAGE_NAME "INdT plugins to Gstreamer "
10.22710 +_ACEOF
10.22711 +
10.22712 +
10.22713 +cat >>confdefs.h <<\_ACEOF
10.22714 +@%:@define GST_PACKAGE_ORIGIN "https://svn.sourceforge.net/svnroot/gmyth/gst-gpac"
10.22715 +_ACEOF
10.22716 +
10.22717 +
10.22718 +ac_config_files="$ac_config_files Makefile src/Makefile"
10.22719 +
10.22720 +cat >confcache <<\_ACEOF
10.22721 +# This file is a shell script that caches the results of configure
10.22722 +# tests run on this system so they can be shared between configure
10.22723 +# scripts and configure runs, see configure's option --config-cache.
10.22724 +# It is not useful on other systems. If it contains results you don't
10.22725 +# want to keep, you may remove or edit it.
10.22726 +#
10.22727 +# config.status only pays attention to the cache file if you give it
10.22728 +# the --recheck option to rerun configure.
10.22729 +#
10.22730 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
10.22731 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
10.22732 +# following values.
10.22733 +
10.22734 +_ACEOF
10.22735 +
10.22736 +# The following way of writing the cache mishandles newlines in values,
10.22737 +# but we know of no workaround that is simple, portable, and efficient.
10.22738 +# So, we kill variables containing newlines.
10.22739 +# Ultrix sh set writes to stderr and can't be redirected directly,
10.22740 +# and sets the high bit in the cache file unless we assign to the vars.
10.22741 +(
10.22742 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10.22743 + eval ac_val=\$$ac_var
10.22744 + case $ac_val in #(
10.22745 + *${as_nl}*)
10.22746 + case $ac_var in #(
10.22747 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10.22748 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10.22749 + esac
10.22750 + case $ac_var in #(
10.22751 + _ | IFS | as_nl) ;; #(
10.22752 + *) $as_unset $ac_var ;;
10.22753 + esac ;;
10.22754 + esac
10.22755 + done
10.22756 +
10.22757 + (set) 2>&1 |
10.22758 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
10.22759 + *${as_nl}ac_space=\ *)
10.22760 + # `set' does not quote correctly, so add quotes (double-quote
10.22761 + # substitution turns \\\\ into \\, and sed turns \\ into \).
10.22762 + sed -n \
10.22763 + "s/'/'\\\\''/g;
10.22764 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10.22765 + ;; #(
10.22766 + *)
10.22767 + # `set' quotes correctly as required by POSIX, so do not add quotes.
10.22768 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10.22769 + ;;
10.22770 + esac |
10.22771 + sort
10.22772 +) |
10.22773 + sed '
10.22774 + /^ac_cv_env_/b end
10.22775 + t clear
10.22776 + :clear
10.22777 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10.22778 + t end
10.22779 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10.22780 + :end' >>confcache
10.22781 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10.22782 + if test -w "$cache_file"; then
10.22783 + test "x$cache_file" != "x/dev/null" &&
10.22784 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10.22785 +echo "$as_me: updating cache $cache_file" >&6;}
10.22786 + cat confcache >$cache_file
10.22787 + else
10.22788 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10.22789 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10.22790 + fi
10.22791 +fi
10.22792 +rm -f confcache
10.22793 +
10.22794 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
10.22795 +# Let make expand exec_prefix.
10.22796 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10.22797 +
10.22798 +DEFS=-DHAVE_CONFIG_H
10.22799 +
10.22800 +ac_libobjs=
10.22801 +ac_ltlibobjs=
10.22802 +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
10.22803 + # 1. Remove the extension, and $U if already installed.
10.22804 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10.22805 + ac_i=`echo "$ac_i" | sed "$ac_script"`
10.22806 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10.22807 + # will be set to the directory where LIBOBJS objects are built.
10.22808 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10.22809 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10.22810 +done
10.22811 +LIB@&t@OBJS=$ac_libobjs
10.22812 +
10.22813 +LTLIBOBJS=$ac_ltlibobjs
10.22814 +
10.22815 +
10.22816 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10.22817 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10.22818 +Usually this means the macro was only invoked conditionally." >&5
10.22819 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10.22820 +Usually this means the macro was only invoked conditionally." >&2;}
10.22821 + { (exit 1); exit 1; }; }
10.22822 +fi
10.22823 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10.22824 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10.22825 +Usually this means the macro was only invoked conditionally." >&5
10.22826 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
10.22827 +Usually this means the macro was only invoked conditionally." >&2;}
10.22828 + { (exit 1); exit 1; }; }
10.22829 +fi
10.22830 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10.22831 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10.22832 +Usually this means the macro was only invoked conditionally." >&5
10.22833 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10.22834 +Usually this means the macro was only invoked conditionally." >&2;}
10.22835 + { (exit 1); exit 1; }; }
10.22836 +fi
10.22837 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10.22838 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
10.22839 +Usually this means the macro was only invoked conditionally." >&5
10.22840 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10.22841 +Usually this means the macro was only invoked conditionally." >&2;}
10.22842 + { (exit 1); exit 1; }; }
10.22843 +fi
10.22844 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10.22845 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10.22846 +Usually this means the macro was only invoked conditionally." >&5
10.22847 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10.22848 +Usually this means the macro was only invoked conditionally." >&2;}
10.22849 + { (exit 1); exit 1; }; }
10.22850 +fi
10.22851 +if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
10.22852 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
10.22853 +Usually this means the macro was only invoked conditionally." >&5
10.22854 +echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
10.22855 +Usually this means the macro was only invoked conditionally." >&2;}
10.22856 + { (exit 1); exit 1; }; }
10.22857 +fi
10.22858 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
10.22859 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
10.22860 +Usually this means the macro was only invoked conditionally." >&5
10.22861 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10.22862 +Usually this means the macro was only invoked conditionally." >&2;}
10.22863 + { (exit 1); exit 1; }; }
10.22864 +fi
10.22865 +
10.22866 +: ${CONFIG_STATUS=./config.status}
10.22867 +ac_clean_files_save=$ac_clean_files
10.22868 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10.22869 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10.22870 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
10.22871 +cat >$CONFIG_STATUS <<_ACEOF
10.22872 +#! $SHELL
10.22873 +# Generated by $as_me.
10.22874 +# Run this file to recreate the current configuration.
10.22875 +# Compiler output produced by configure, useful for debugging
10.22876 +# configure, is in config.log if it exists.
10.22877 +
10.22878 +debug=false
10.22879 +ac_cs_recheck=false
10.22880 +ac_cs_silent=false
10.22881 +SHELL=\${CONFIG_SHELL-$SHELL}
10.22882 +_ACEOF
10.22883 +
10.22884 +cat >>$CONFIG_STATUS <<\_ACEOF
10.22885 +## --------------------- ##
10.22886 +## M4sh Initialization. ##
10.22887 +## --------------------- ##
10.22888 +
10.22889 +# Be more Bourne compatible
10.22890 +DUALCASE=1; export DUALCASE # for MKS sh
10.22891 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10.22892 + emulate sh
10.22893 + NULLCMD=:
10.22894 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10.22895 + # is contrary to our usage. Disable this feature.
10.22896 + alias -g '${1+"$@"}'='"$@"'
10.22897 + setopt NO_GLOB_SUBST
10.22898 +else
10.22899 + case `(set -o) 2>/dev/null` in
10.22900 + *posix*) set -o posix ;;
10.22901 +esac
10.22902 +
10.22903 +fi
10.22904 +
10.22905 +
10.22906 +
10.22907 +
10.22908 +# PATH needs CR
10.22909 +# Avoid depending upon Character Ranges.
10.22910 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10.22911 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10.22912 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10.22913 +as_cr_digits='0123456789'
10.22914 +as_cr_alnum=$as_cr_Letters$as_cr_digits
10.22915 +
10.22916 +# The user is always right.
10.22917 +if test "${PATH_SEPARATOR+set}" != set; then
10.22918 + echo "#! /bin/sh" >conf$$.sh
10.22919 + echo "exit 0" >>conf$$.sh
10.22920 + chmod +x conf$$.sh
10.22921 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10.22922 + PATH_SEPARATOR=';'
10.22923 + else
10.22924 + PATH_SEPARATOR=:
10.22925 + fi
10.22926 + rm -f conf$$.sh
10.22927 +fi
10.22928 +
10.22929 +# Support unset when possible.
10.22930 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10.22931 + as_unset=unset
10.22932 +else
10.22933 + as_unset=false
10.22934 +fi
10.22935 +
10.22936 +
10.22937 +# IFS
10.22938 +# We need space, tab and new line, in precisely that order. Quoting is
10.22939 +# there to prevent editors from complaining about space-tab.
10.22940 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10.22941 +# splitting by setting IFS to empty value.)
10.22942 +as_nl='
10.22943 +'
10.22944 +IFS=" "" $as_nl"
10.22945 +
10.22946 +# Find who we are. Look in the path if we contain no directory separator.
10.22947 +case $0 in
10.22948 + *[\\/]* ) as_myself=$0 ;;
10.22949 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10.22950 +for as_dir in $PATH
10.22951 +do
10.22952 + IFS=$as_save_IFS
10.22953 + test -z "$as_dir" && as_dir=.
10.22954 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10.22955 +done
10.22956 +IFS=$as_save_IFS
10.22957 +
10.22958 + ;;
10.22959 +esac
10.22960 +# We did not find ourselves, most probably we were run as `sh COMMAND'
10.22961 +# in which case we are not to be found in the path.
10.22962 +if test "x$as_myself" = x; then
10.22963 + as_myself=$0
10.22964 +fi
10.22965 +if test ! -f "$as_myself"; then
10.22966 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10.22967 + { (exit 1); exit 1; }
10.22968 +fi
10.22969 +
10.22970 +# Work around bugs in pre-3.0 UWIN ksh.
10.22971 +for as_var in ENV MAIL MAILPATH
10.22972 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10.22973 +done
10.22974 +PS1='$ '
10.22975 +PS2='> '
10.22976 +PS4='+ '
10.22977 +
10.22978 +# NLS nuisances.
10.22979 +for as_var in \
10.22980 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10.22981 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10.22982 + LC_TELEPHONE LC_TIME
10.22983 +do
10.22984 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10.22985 + eval $as_var=C; export $as_var
10.22986 + else
10.22987 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10.22988 + fi
10.22989 +done
10.22990 +
10.22991 +# Required to use basename.
10.22992 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10.22993 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10.22994 + as_expr=expr
10.22995 +else
10.22996 + as_expr=false
10.22997 +fi
10.22998 +
10.22999 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10.23000 + as_basename=basename
10.23001 +else
10.23002 + as_basename=false
10.23003 +fi
10.23004 +
10.23005 +
10.23006 +# Name of the executable.
10.23007 +as_me=`$as_basename -- "$0" ||
10.23008 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10.23009 + X"$0" : 'X\(//\)$' \| \
10.23010 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10.23011 +echo X/"$0" |
10.23012 + sed '/^.*\/\([^/][^/]*\)\/*$/{
10.23013 + s//\1/
10.23014 + q
10.23015 + }
10.23016 + /^X\/\(\/\/\)$/{
10.23017 + s//\1/
10.23018 + q
10.23019 + }
10.23020 + /^X\/\(\/\).*/{
10.23021 + s//\1/
10.23022 + q
10.23023 + }
10.23024 + s/.*/./; q'`
10.23025 +
10.23026 +# CDPATH.
10.23027 +$as_unset CDPATH
10.23028 +
10.23029 +
10.23030 +
10.23031 + as_lineno_1=$LINENO
10.23032 + as_lineno_2=$LINENO
10.23033 + test "x$as_lineno_1" != "x$as_lineno_2" &&
10.23034 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10.23035 +
10.23036 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10.23037 + # uniformly replaced by the line number. The first 'sed' inserts a
10.23038 + # line-number line after each line using $LINENO; the second 'sed'
10.23039 + # does the real work. The second script uses 'N' to pair each
10.23040 + # line-number line with the line containing $LINENO, and appends
10.23041 + # trailing '-' during substitution so that $LINENO is not a special
10.23042 + # case at line end.
10.23043 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10.23044 + # scripts with optimization help from Paolo Bonzini. Blame Lee
10.23045 + # E. McMahon (1931-1989) for sed's syntax. :-)
10.23046 + sed -n '
10.23047 + p
10.23048 + /[$]LINENO/=
10.23049 + ' <$as_myself |
10.23050 + sed '
10.23051 + s/[$]LINENO.*/&-/
10.23052 + t lineno
10.23053 + b
10.23054 + :lineno
10.23055 + N
10.23056 + :loop
10.23057 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10.23058 + t loop
10.23059 + s/-\n.*//
10.23060 + ' >$as_me.lineno &&
10.23061 + chmod +x "$as_me.lineno" ||
10.23062 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10.23063 + { (exit 1); exit 1; }; }
10.23064 +
10.23065 + # Don't try to exec as it changes $[0], causing all sort of problems
10.23066 + # (the dirname of $[0] is not the place where we might find the
10.23067 + # original and so on. Autoconf is especially sensitive to this).
10.23068 + . "./$as_me.lineno"
10.23069 + # Exit status is that of the last command.
10.23070 + exit
10.23071 +}
10.23072 +
10.23073 +
10.23074 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10.23075 + as_dirname=dirname
10.23076 +else
10.23077 + as_dirname=false
10.23078 +fi
10.23079 +
10.23080 +ECHO_C= ECHO_N= ECHO_T=
10.23081 +case `echo -n x` in
10.23082 +-n*)
10.23083 + case `echo 'x\c'` in
10.23084 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10.23085 + *) ECHO_C='\c';;
10.23086 + esac;;
10.23087 +*)
10.23088 + ECHO_N='-n';;
10.23089 +esac
10.23090 +
10.23091 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10.23092 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10.23093 + as_expr=expr
10.23094 +else
10.23095 + as_expr=false
10.23096 +fi
10.23097 +
10.23098 +rm -f conf$$ conf$$.exe conf$$.file
10.23099 +if test -d conf$$.dir; then
10.23100 + rm -f conf$$.dir/conf$$.file
10.23101 +else
10.23102 + rm -f conf$$.dir
10.23103 + mkdir conf$$.dir
10.23104 +fi
10.23105 +echo >conf$$.file
10.23106 +if ln -s conf$$.file conf$$ 2>/dev/null; then
10.23107 + as_ln_s='ln -s'
10.23108 + # ... but there are two gotchas:
10.23109 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10.23110 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10.23111 + # In both cases, we have to default to `cp -p'.
10.23112 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10.23113 + as_ln_s='cp -p'
10.23114 +elif ln conf$$.file conf$$ 2>/dev/null; then
10.23115 + as_ln_s=ln
10.23116 +else
10.23117 + as_ln_s='cp -p'
10.23118 +fi
10.23119 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10.23120 +rmdir conf$$.dir 2>/dev/null
10.23121 +
10.23122 +if mkdir -p . 2>/dev/null; then
10.23123 + as_mkdir_p=:
10.23124 +else
10.23125 + test -d ./-p && rmdir ./-p
10.23126 + as_mkdir_p=false
10.23127 +fi
10.23128 +
10.23129 +if test -x / >/dev/null 2>&1; then
10.23130 + as_test_x='test -x'
10.23131 +else
10.23132 + if ls -dL / >/dev/null 2>&1; then
10.23133 + as_ls_L_option=L
10.23134 + else
10.23135 + as_ls_L_option=
10.23136 + fi
10.23137 + as_test_x='
10.23138 + eval sh -c '\''
10.23139 + if test -d "$1"; then
10.23140 + test -d "$1/.";
10.23141 + else
10.23142 + case $1 in
10.23143 + -*)set "./$1";;
10.23144 + esac;
10.23145 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10.23146 + ???[sx]*):;;*)false;;esac;fi
10.23147 + '\'' sh
10.23148 + '
10.23149 +fi
10.23150 +as_executable_p=$as_test_x
10.23151 +
10.23152 +# Sed expression to map a string onto a valid CPP name.
10.23153 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10.23154 +
10.23155 +# Sed expression to map a string onto a valid variable name.
10.23156 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10.23157 +
10.23158 +
10.23159 +exec 6>&1
10.23160 +
10.23161 +# Save the log message, to keep $[0] and so on meaningful, and to
10.23162 +# report actual input values of CONFIG_FILES etc. instead of their
10.23163 +# values after options handling.
10.23164 +ac_log="
10.23165 +This file was extended by $as_me, which was
10.23166 +generated by GNU Autoconf 2.61. Invocation command line was
10.23167 +
10.23168 + CONFIG_FILES = $CONFIG_FILES
10.23169 + CONFIG_HEADERS = $CONFIG_HEADERS
10.23170 + CONFIG_LINKS = $CONFIG_LINKS
10.23171 + CONFIG_COMMANDS = $CONFIG_COMMANDS
10.23172 + $ $0 $@
10.23173 +
10.23174 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
10.23175 +"
10.23176 +
10.23177 +_ACEOF
10.23178 +
10.23179 +cat >>$CONFIG_STATUS <<_ACEOF
10.23180 +# Files that config.status was made for.
10.23181 +config_files="$ac_config_files"
10.23182 +config_headers="$ac_config_headers"
10.23183 +config_commands="$ac_config_commands"
10.23184 +
10.23185 +_ACEOF
10.23186 +
10.23187 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23188 +ac_cs_usage="\
10.23189 +\`$as_me' instantiates files from templates according to the
10.23190 +current configuration.
10.23191 +
10.23192 +Usage: $0 [OPTIONS] [FILE]...
10.23193 +
10.23194 + -h, --help print this help, then exit
10.23195 + -V, --version print version number and configuration settings, then exit
10.23196 + -q, --quiet do not print progress messages
10.23197 + -d, --debug don't remove temporary files
10.23198 + --recheck update $as_me by reconfiguring in the same conditions
10.23199 + --file=FILE[:TEMPLATE]
10.23200 + instantiate the configuration file FILE
10.23201 + --header=FILE[:TEMPLATE]
10.23202 + instantiate the configuration header FILE
10.23203 +
10.23204 +Configuration files:
10.23205 +$config_files
10.23206 +
10.23207 +Configuration headers:
10.23208 +$config_headers
10.23209 +
10.23210 +Configuration commands:
10.23211 +$config_commands
10.23212 +
10.23213 +Report bugs to <bug-autoconf@gnu.org>."
10.23214 +
10.23215 +_ACEOF
10.23216 +cat >>$CONFIG_STATUS <<_ACEOF
10.23217 +ac_cs_version="\\
10.23218 +config.status
10.23219 +configured by $0, generated by GNU Autoconf 2.61,
10.23220 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10.23221 +
10.23222 +Copyright (C) 2006 Free Software Foundation, Inc.
10.23223 +This config.status script is free software; the Free Software Foundation
10.23224 +gives unlimited permission to copy, distribute and modify it."
10.23225 +
10.23226 +ac_pwd='$ac_pwd'
10.23227 +srcdir='$srcdir'
10.23228 +INSTALL='$INSTALL'
10.23229 +MKDIR_P='$MKDIR_P'
10.23230 +_ACEOF
10.23231 +
10.23232 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23233 +# If no file are specified by the user, then we need to provide default
10.23234 +# value. By we need to know if files were specified by the user.
10.23235 +ac_need_defaults=:
10.23236 +while test $# != 0
10.23237 +do
10.23238 + case $1 in
10.23239 + --*=*)
10.23240 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
10.23241 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10.23242 + ac_shift=:
10.23243 + ;;
10.23244 + *)
10.23245 + ac_option=$1
10.23246 + ac_optarg=$2
10.23247 + ac_shift=shift
10.23248 + ;;
10.23249 + esac
10.23250 +
10.23251 + case $ac_option in
10.23252 + # Handling of the options.
10.23253 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10.23254 + ac_cs_recheck=: ;;
10.23255 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10.23256 + echo "$ac_cs_version"; exit ;;
10.23257 + --debug | --debu | --deb | --de | --d | -d )
10.23258 + debug=: ;;
10.23259 + --file | --fil | --fi | --f )
10.23260 + $ac_shift
10.23261 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10.23262 + ac_need_defaults=false;;
10.23263 + --header | --heade | --head | --hea )
10.23264 + $ac_shift
10.23265 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10.23266 + ac_need_defaults=false;;
10.23267 + --he | --h)
10.23268 + # Conflict between --help and --header
10.23269 + { echo "$as_me: error: ambiguous option: $1
10.23270 +Try \`$0 --help' for more information." >&2
10.23271 + { (exit 1); exit 1; }; };;
10.23272 + --help | --hel | -h )
10.23273 + echo "$ac_cs_usage"; exit ;;
10.23274 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10.23275 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
10.23276 + ac_cs_silent=: ;;
10.23277 +
10.23278 + # This is an error.
10.23279 + -*) { echo "$as_me: error: unrecognized option: $1
10.23280 +Try \`$0 --help' for more information." >&2
10.23281 + { (exit 1); exit 1; }; } ;;
10.23282 +
10.23283 + *) ac_config_targets="$ac_config_targets $1"
10.23284 + ac_need_defaults=false ;;
10.23285 +
10.23286 + esac
10.23287 + shift
10.23288 +done
10.23289 +
10.23290 +ac_configure_extra_args=
10.23291 +
10.23292 +if $ac_cs_silent; then
10.23293 + exec 6>/dev/null
10.23294 + ac_configure_extra_args="$ac_configure_extra_args --silent"
10.23295 +fi
10.23296 +
10.23297 +_ACEOF
10.23298 +cat >>$CONFIG_STATUS <<_ACEOF
10.23299 +if \$ac_cs_recheck; then
10.23300 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10.23301 + CONFIG_SHELL=$SHELL
10.23302 + export CONFIG_SHELL
10.23303 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10.23304 +fi
10.23305 +
10.23306 +_ACEOF
10.23307 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23308 +exec 5>>config.log
10.23309 +{
10.23310 + echo
10.23311 + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
10.23312 +@%:@@%:@ Running $as_me. @%:@@%:@
10.23313 +_ASBOX
10.23314 + echo "$ac_log"
10.23315 +} >&5
10.23316 +
10.23317 +_ACEOF
10.23318 +cat >>$CONFIG_STATUS <<_ACEOF
10.23319 +#
10.23320 +# INIT-COMMANDS
10.23321 +#
10.23322 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10.23323 +
10.23324 +_ACEOF
10.23325 +
10.23326 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23327 +
10.23328 +# Handling of arguments.
10.23329 +for ac_config_target in $ac_config_targets
10.23330 +do
10.23331 + case $ac_config_target in
10.23332 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10.23333 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10.23334 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10.23335 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10.23336 +
10.23337 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10.23338 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10.23339 + { (exit 1); exit 1; }; };;
10.23340 + esac
10.23341 +done
10.23342 +
10.23343 +
10.23344 +# If the user did not use the arguments to specify the items to instantiate,
10.23345 +# then the envvar interface is used. Set only those that are not.
10.23346 +# We use the long form for the default assignment because of an extremely
10.23347 +# bizarre bug on SunOS 4.1.3.
10.23348 +if $ac_need_defaults; then
10.23349 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10.23350 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10.23351 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10.23352 +fi
10.23353 +
10.23354 +# Have a temporary directory for convenience. Make it in the build tree
10.23355 +# simply because there is no reason against having it here, and in addition,
10.23356 +# creating and moving files from /tmp can sometimes cause problems.
10.23357 +# Hook for its removal unless debugging.
10.23358 +# Note that there is a small window in which the directory will not be cleaned:
10.23359 +# after its creation but before its name has been assigned to `$tmp'.
10.23360 +$debug ||
10.23361 +{
10.23362 + tmp=
10.23363 + trap 'exit_status=$?
10.23364 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10.23365 +' 0
10.23366 + trap '{ (exit 1); exit 1; }' 1 2 13 15
10.23367 +}
10.23368 +# Create a (secure) tmp directory for tmp files.
10.23369 +
10.23370 +{
10.23371 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10.23372 + test -n "$tmp" && test -d "$tmp"
10.23373 +} ||
10.23374 +{
10.23375 + tmp=./conf$$-$RANDOM
10.23376 + (umask 077 && mkdir "$tmp")
10.23377 +} ||
10.23378 +{
10.23379 + echo "$me: cannot create a temporary directory in ." >&2
10.23380 + { (exit 1); exit 1; }
10.23381 +}
10.23382 +
10.23383 +#
10.23384 +# Set up the sed scripts for CONFIG_FILES section.
10.23385 +#
10.23386 +
10.23387 +# No need to generate the scripts if there are no CONFIG_FILES.
10.23388 +# This happens for instance when ./config.status config.h
10.23389 +if test -n "$CONFIG_FILES"; then
10.23390 +
10.23391 +_ACEOF
10.23392 +
10.23393 +
10.23394 +
10.23395 +ac_delim='%!_!# '
10.23396 +for ac_last_try in false false false false false :; do
10.23397 + cat >conf$$subs.sed <<_ACEOF
10.23398 +SHELL!$SHELL$ac_delim
10.23399 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10.23400 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10.23401 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10.23402 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10.23403 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10.23404 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10.23405 +exec_prefix!$exec_prefix$ac_delim
10.23406 +prefix!$prefix$ac_delim
10.23407 +program_transform_name!$program_transform_name$ac_delim
10.23408 +bindir!$bindir$ac_delim
10.23409 +sbindir!$sbindir$ac_delim
10.23410 +libexecdir!$libexecdir$ac_delim
10.23411 +datarootdir!$datarootdir$ac_delim
10.23412 +datadir!$datadir$ac_delim
10.23413 +sysconfdir!$sysconfdir$ac_delim
10.23414 +sharedstatedir!$sharedstatedir$ac_delim
10.23415 +localstatedir!$localstatedir$ac_delim
10.23416 +includedir!$includedir$ac_delim
10.23417 +oldincludedir!$oldincludedir$ac_delim
10.23418 +docdir!$docdir$ac_delim
10.23419 +infodir!$infodir$ac_delim
10.23420 +htmldir!$htmldir$ac_delim
10.23421 +dvidir!$dvidir$ac_delim
10.23422 +pdfdir!$pdfdir$ac_delim
10.23423 +psdir!$psdir$ac_delim
10.23424 +libdir!$libdir$ac_delim
10.23425 +localedir!$localedir$ac_delim
10.23426 +mandir!$mandir$ac_delim
10.23427 +DEFS!$DEFS$ac_delim
10.23428 +ECHO_C!$ECHO_C$ac_delim
10.23429 +ECHO_N!$ECHO_N$ac_delim
10.23430 +ECHO_T!$ECHO_T$ac_delim
10.23431 +LIBS!$LIBS$ac_delim
10.23432 +build_alias!$build_alias$ac_delim
10.23433 +host_alias!$host_alias$ac_delim
10.23434 +target_alias!$target_alias$ac_delim
10.23435 +build!$build$ac_delim
10.23436 +build_cpu!$build_cpu$ac_delim
10.23437 +build_vendor!$build_vendor$ac_delim
10.23438 +build_os!$build_os$ac_delim
10.23439 +host!$host$ac_delim
10.23440 +host_cpu!$host_cpu$ac_delim
10.23441 +host_vendor!$host_vendor$ac_delim
10.23442 +host_os!$host_os$ac_delim
10.23443 +target!$target$ac_delim
10.23444 +target_cpu!$target_cpu$ac_delim
10.23445 +target_vendor!$target_vendor$ac_delim
10.23446 +target_os!$target_os$ac_delim
10.23447 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10.23448 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10.23449 +MAINT!$MAINT$ac_delim
10.23450 +GST_PLUGINS_VERSION!$GST_PLUGINS_VERSION$ac_delim
10.23451 +GST_PLUGINS_VERSION_RELEASE!$GST_PLUGINS_VERSION_RELEASE$ac_delim
10.23452 +GST_PLUGINS_VERSION_MAJOR!$GST_PLUGINS_VERSION_MAJOR$ac_delim
10.23453 +GST_PLUGINS_VERSION_MINOR!$GST_PLUGINS_VERSION_MINOR$ac_delim
10.23454 +GST_PLUGINS_VERSION_MICRO!$GST_PLUGINS_VERSION_MICRO$ac_delim
10.23455 +GST_PLUGINS_VERSION_NANO!$GST_PLUGINS_VERSION_NANO$ac_delim
10.23456 +PACKAGE!$PACKAGE$ac_delim
10.23457 +VERSION!$VERSION$ac_delim
10.23458 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10.23459 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10.23460 +INSTALL_DATA!$INSTALL_DATA$ac_delim
10.23461 +am__isrc!$am__isrc$ac_delim
10.23462 +CYGPATH_W!$CYGPATH_W$ac_delim
10.23463 +ACLOCAL!$ACLOCAL$ac_delim
10.23464 +AUTOCONF!$AUTOCONF$ac_delim
10.23465 +AUTOMAKE!$AUTOMAKE$ac_delim
10.23466 +AUTOHEADER!$AUTOHEADER$ac_delim
10.23467 +MAKEINFO!$MAKEINFO$ac_delim
10.23468 +install_sh!$install_sh$ac_delim
10.23469 +STRIP!$STRIP$ac_delim
10.23470 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10.23471 +mkdir_p!$mkdir_p$ac_delim
10.23472 +AWK!$AWK$ac_delim
10.23473 +SET_MAKE!$SET_MAKE$ac_delim
10.23474 +am__leading_dot!$am__leading_dot$ac_delim
10.23475 +AMTAR!$AMTAR$ac_delim
10.23476 +am__tar!$am__tar$ac_delim
10.23477 +am__untar!$am__untar$ac_delim
10.23478 +CC!$CC$ac_delim
10.23479 +CFLAGS!$CFLAGS$ac_delim
10.23480 +LDFLAGS!$LDFLAGS$ac_delim
10.23481 +CPPFLAGS!$CPPFLAGS$ac_delim
10.23482 +ac_ct_CC!$ac_ct_CC$ac_delim
10.23483 +EXEEXT!$EXEEXT$ac_delim
10.23484 +OBJEXT!$OBJEXT$ac_delim
10.23485 +DEPDIR!$DEPDIR$ac_delim
10.23486 +am__include!$am__include$ac_delim
10.23487 +am__quote!$am__quote$ac_delim
10.23488 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10.23489 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10.23490 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10.23491 +CCDEPMODE!$CCDEPMODE$ac_delim
10.23492 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10.23493 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10.23494 +GREP!$GREP$ac_delim
10.23495 +_ACEOF
10.23496 +
10.23497 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10.23498 + break
10.23499 + elif $ac_last_try; then
10.23500 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10.23501 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10.23502 + { (exit 1); exit 1; }; }
10.23503 + else
10.23504 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10.23505 + fi
10.23506 +done
10.23507 +
10.23508 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10.23509 +if test -n "$ac_eof"; then
10.23510 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10.23511 + ac_eof=`expr $ac_eof + 1`
10.23512 +fi
10.23513 +
10.23514 +cat >>$CONFIG_STATUS <<_ACEOF
10.23515 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10.23516 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10.23517 +_ACEOF
10.23518 +sed '
10.23519 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10.23520 +s/^/s,@/; s/!/@,|#_!!_#|/
10.23521 +:n
10.23522 +t n
10.23523 +s/'"$ac_delim"'$/,g/; t
10.23524 +s/$/\\/; p
10.23525 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10.23526 +' >>$CONFIG_STATUS <conf$$subs.sed
10.23527 +rm -f conf$$subs.sed
10.23528 +cat >>$CONFIG_STATUS <<_ACEOF
10.23529 +CEOF$ac_eof
10.23530 +_ACEOF
10.23531 +
10.23532 +
10.23533 +ac_delim='%!_!# '
10.23534 +for ac_last_try in false false false false false :; do
10.23535 + cat >conf$$subs.sed <<_ACEOF
10.23536 +EGREP!$EGREP$ac_delim
10.23537 +LN_S!$LN_S$ac_delim
10.23538 +ECHO!$ECHO$ac_delim
10.23539 +AR!$AR$ac_delim
10.23540 +RANLIB!$RANLIB$ac_delim
10.23541 +CPP!$CPP$ac_delim
10.23542 +CXX!$CXX$ac_delim
10.23543 +CXXFLAGS!$CXXFLAGS$ac_delim
10.23544 +ac_ct_CXX!$ac_ct_CXX$ac_delim
10.23545 +CXXDEPMODE!$CXXDEPMODE$ac_delim
10.23546 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
10.23547 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
10.23548 +CXXCPP!$CXXCPP$ac_delim
10.23549 +F77!$F77$ac_delim
10.23550 +FFLAGS!$FFLAGS$ac_delim
10.23551 +ac_ct_F77!$ac_ct_F77$ac_delim
10.23552 +LIBTOOL!$LIBTOOL$ac_delim
10.23553 +ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
10.23554 +CCAS!$CCAS$ac_delim
10.23555 +CCASFLAGS!$CCASFLAGS$ac_delim
10.23556 +CCASDEPMODE!$CCASDEPMODE$ac_delim
10.23557 +am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
10.23558 +am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
10.23559 +ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
10.23560 +HAVE_CXX!$HAVE_CXX$ac_delim
10.23561 +HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
10.23562 +PKG_CONFIG!$PKG_CONFIG$ac_delim
10.23563 +GST_CFLAGS!$GST_CFLAGS$ac_delim
10.23564 +GST_LIBS!$GST_LIBS$ac_delim
10.23565 +GST_MAJORMINOR!$GST_MAJORMINOR$ac_delim
10.23566 +GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
10.23567 +GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
10.23568 +GST_PLUGINS_BASE_CFLAGS!$GST_PLUGINS_BASE_CFLAGS$ac_delim
10.23569 +GST_PLUGINS_BASE_LIBS!$GST_PLUGINS_BASE_LIBS$ac_delim
10.23570 +plugindir!$plugindir$ac_delim
10.23571 +GST_PLUGIN_LDFLAGS!$GST_PLUGIN_LDFLAGS$ac_delim
10.23572 +LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
10.23573 +LTLIBOBJS!$LTLIBOBJS$ac_delim
10.23574 +_ACEOF
10.23575 +
10.23576 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
10.23577 + break
10.23578 + elif $ac_last_try; then
10.23579 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10.23580 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10.23581 + { (exit 1); exit 1; }; }
10.23582 + else
10.23583 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10.23584 + fi
10.23585 +done
10.23586 +
10.23587 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10.23588 +if test -n "$ac_eof"; then
10.23589 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10.23590 + ac_eof=`expr $ac_eof + 1`
10.23591 +fi
10.23592 +
10.23593 +cat >>$CONFIG_STATUS <<_ACEOF
10.23594 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10.23595 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10.23596 +_ACEOF
10.23597 +sed '
10.23598 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10.23599 +s/^/s,@/; s/!/@,|#_!!_#|/
10.23600 +:n
10.23601 +t n
10.23602 +s/'"$ac_delim"'$/,g/; t
10.23603 +s/$/\\/; p
10.23604 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10.23605 +' >>$CONFIG_STATUS <conf$$subs.sed
10.23606 +rm -f conf$$subs.sed
10.23607 +cat >>$CONFIG_STATUS <<_ACEOF
10.23608 +:end
10.23609 +s/|#_!!_#|//g
10.23610 +CEOF$ac_eof
10.23611 +_ACEOF
10.23612 +
10.23613 +
10.23614 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
10.23615 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10.23616 +# trailing colons and then remove the whole line if VPATH becomes empty
10.23617 +# (actually we leave an empty line to preserve line numbers).
10.23618 +if test "x$srcdir" = x.; then
10.23619 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
10.23620 +s/:*\$(srcdir):*/:/
10.23621 +s/:*\${srcdir}:*/:/
10.23622 +s/:*@srcdir@:*/:/
10.23623 +s/^\([^=]*=[ ]*\):*/\1/
10.23624 +s/:*$//
10.23625 +s/^[^=]*=[ ]*$//
10.23626 +}'
10.23627 +fi
10.23628 +
10.23629 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23630 +fi # test -n "$CONFIG_FILES"
10.23631 +
10.23632 +
10.23633 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10.23634 +do
10.23635 + case $ac_tag in
10.23636 + :[FHLC]) ac_mode=$ac_tag; continue;;
10.23637 + esac
10.23638 + case $ac_mode$ac_tag in
10.23639 + :[FHL]*:*);;
10.23640 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10.23641 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10.23642 + { (exit 1); exit 1; }; };;
10.23643 + :[FH]-) ac_tag=-:-;;
10.23644 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10.23645 + esac
10.23646 + ac_save_IFS=$IFS
10.23647 + IFS=:
10.23648 + set x $ac_tag
10.23649 + IFS=$ac_save_IFS
10.23650 + shift
10.23651 + ac_file=$1
10.23652 + shift
10.23653 +
10.23654 + case $ac_mode in
10.23655 + :L) ac_source=$1;;
10.23656 + :[FH])
10.23657 + ac_file_inputs=
10.23658 + for ac_f
10.23659 + do
10.23660 + case $ac_f in
10.23661 + -) ac_f="$tmp/stdin";;
10.23662 + *) # Look for the file first in the build tree, then in the source tree
10.23663 + # (if the path is not absolute). The absolute path cannot be DOS-style,
10.23664 + # because $ac_f cannot contain `:'.
10.23665 + test -f "$ac_f" ||
10.23666 + case $ac_f in
10.23667 + [\\/$]*) false;;
10.23668 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10.23669 + esac ||
10.23670 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10.23671 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10.23672 + { (exit 1); exit 1; }; };;
10.23673 + esac
10.23674 + ac_file_inputs="$ac_file_inputs $ac_f"
10.23675 + done
10.23676 +
10.23677 + # Let's still pretend it is `configure' which instantiates (i.e., don't
10.23678 + # use $as_me), people would be surprised to read:
10.23679 + # /* config.h. Generated by config.status. */
10.23680 + configure_input="Generated from "`IFS=:
10.23681 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10.23682 + if test x"$ac_file" != x-; then
10.23683 + configure_input="$ac_file. $configure_input"
10.23684 + { echo "$as_me:$LINENO: creating $ac_file" >&5
10.23685 +echo "$as_me: creating $ac_file" >&6;}
10.23686 + fi
10.23687 +
10.23688 + case $ac_tag in
10.23689 + *:-:* | *:-) cat >"$tmp/stdin";;
10.23690 + esac
10.23691 + ;;
10.23692 + esac
10.23693 +
10.23694 + ac_dir=`$as_dirname -- "$ac_file" ||
10.23695 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.23696 + X"$ac_file" : 'X\(//\)[^/]' \| \
10.23697 + X"$ac_file" : 'X\(//\)$' \| \
10.23698 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10.23699 +echo X"$ac_file" |
10.23700 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.23701 + s//\1/
10.23702 + q
10.23703 + }
10.23704 + /^X\(\/\/\)[^/].*/{
10.23705 + s//\1/
10.23706 + q
10.23707 + }
10.23708 + /^X\(\/\/\)$/{
10.23709 + s//\1/
10.23710 + q
10.23711 + }
10.23712 + /^X\(\/\).*/{
10.23713 + s//\1/
10.23714 + q
10.23715 + }
10.23716 + s/.*/./; q'`
10.23717 + { as_dir="$ac_dir"
10.23718 + case $as_dir in #(
10.23719 + -*) as_dir=./$as_dir;;
10.23720 + esac
10.23721 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10.23722 + as_dirs=
10.23723 + while :; do
10.23724 + case $as_dir in #(
10.23725 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10.23726 + *) as_qdir=$as_dir;;
10.23727 + esac
10.23728 + as_dirs="'$as_qdir' $as_dirs"
10.23729 + as_dir=`$as_dirname -- "$as_dir" ||
10.23730 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.23731 + X"$as_dir" : 'X\(//\)[^/]' \| \
10.23732 + X"$as_dir" : 'X\(//\)$' \| \
10.23733 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10.23734 +echo X"$as_dir" |
10.23735 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.23736 + s//\1/
10.23737 + q
10.23738 + }
10.23739 + /^X\(\/\/\)[^/].*/{
10.23740 + s//\1/
10.23741 + q
10.23742 + }
10.23743 + /^X\(\/\/\)$/{
10.23744 + s//\1/
10.23745 + q
10.23746 + }
10.23747 + /^X\(\/\).*/{
10.23748 + s//\1/
10.23749 + q
10.23750 + }
10.23751 + s/.*/./; q'`
10.23752 + test -d "$as_dir" && break
10.23753 + done
10.23754 + test -z "$as_dirs" || eval "mkdir $as_dirs"
10.23755 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10.23756 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
10.23757 + { (exit 1); exit 1; }; }; }
10.23758 + ac_builddir=.
10.23759 +
10.23760 +case "$ac_dir" in
10.23761 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10.23762 +*)
10.23763 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10.23764 + # A ".." for each directory in $ac_dir_suffix.
10.23765 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10.23766 + case $ac_top_builddir_sub in
10.23767 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10.23768 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10.23769 + esac ;;
10.23770 +esac
10.23771 +ac_abs_top_builddir=$ac_pwd
10.23772 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
10.23773 +# for backward compatibility:
10.23774 +ac_top_builddir=$ac_top_build_prefix
10.23775 +
10.23776 +case $srcdir in
10.23777 + .) # We are building in place.
10.23778 + ac_srcdir=.
10.23779 + ac_top_srcdir=$ac_top_builddir_sub
10.23780 + ac_abs_top_srcdir=$ac_pwd ;;
10.23781 + [\\/]* | ?:[\\/]* ) # Absolute name.
10.23782 + ac_srcdir=$srcdir$ac_dir_suffix;
10.23783 + ac_top_srcdir=$srcdir
10.23784 + ac_abs_top_srcdir=$srcdir ;;
10.23785 + *) # Relative name.
10.23786 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10.23787 + ac_top_srcdir=$ac_top_build_prefix$srcdir
10.23788 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10.23789 +esac
10.23790 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10.23791 +
10.23792 +
10.23793 + case $ac_mode in
10.23794 + :F)
10.23795 + #
10.23796 + # CONFIG_FILE
10.23797 + #
10.23798 +
10.23799 + case $INSTALL in
10.23800 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10.23801 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10.23802 + esac
10.23803 + ac_MKDIR_P=$MKDIR_P
10.23804 + case $MKDIR_P in
10.23805 + [\\/$]* | ?:[\\/]* ) ;;
10.23806 + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10.23807 + esac
10.23808 +_ACEOF
10.23809 +
10.23810 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23811 +# If the template does not know about datarootdir, expand it.
10.23812 +# FIXME: This hack should be removed a few years after 2.60.
10.23813 +ac_datarootdir_hack=; ac_datarootdir_seen=
10.23814 +
10.23815 +case `sed -n '/datarootdir/ {
10.23816 + p
10.23817 + q
10.23818 +}
10.23819 +/@datadir@/p
10.23820 +/@docdir@/p
10.23821 +/@infodir@/p
10.23822 +/@localedir@/p
10.23823 +/@mandir@/p
10.23824 +' $ac_file_inputs` in
10.23825 +*datarootdir*) ac_datarootdir_seen=yes;;
10.23826 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10.23827 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10.23828 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10.23829 +_ACEOF
10.23830 +cat >>$CONFIG_STATUS <<_ACEOF
10.23831 + ac_datarootdir_hack='
10.23832 + s&@datadir@&$datadir&g
10.23833 + s&@docdir@&$docdir&g
10.23834 + s&@infodir@&$infodir&g
10.23835 + s&@localedir@&$localedir&g
10.23836 + s&@mandir@&$mandir&g
10.23837 + s&\\\${datarootdir}&$datarootdir&g' ;;
10.23838 +esac
10.23839 +_ACEOF
10.23840 +
10.23841 +# Neutralize VPATH when `$srcdir' = `.'.
10.23842 +# Shell code in configure.ac might set extrasub.
10.23843 +# FIXME: do we really want to maintain this feature?
10.23844 +cat >>$CONFIG_STATUS <<_ACEOF
10.23845 + sed "$ac_vpsub
10.23846 +$extrasub
10.23847 +_ACEOF
10.23848 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23849 +:t
10.23850 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10.23851 +s&@configure_input@&$configure_input&;t t
10.23852 +s&@top_builddir@&$ac_top_builddir_sub&;t t
10.23853 +s&@srcdir@&$ac_srcdir&;t t
10.23854 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
10.23855 +s&@top_srcdir@&$ac_top_srcdir&;t t
10.23856 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10.23857 +s&@builddir@&$ac_builddir&;t t
10.23858 +s&@abs_builddir@&$ac_abs_builddir&;t t
10.23859 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10.23860 +s&@INSTALL@&$ac_INSTALL&;t t
10.23861 +s&@MKDIR_P@&$ac_MKDIR_P&;t t
10.23862 +$ac_datarootdir_hack
10.23863 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10.23864 +
10.23865 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10.23866 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10.23867 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10.23868 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10.23869 +which seems to be undefined. Please make sure it is defined." >&5
10.23870 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10.23871 +which seems to be undefined. Please make sure it is defined." >&2;}
10.23872 +
10.23873 + rm -f "$tmp/stdin"
10.23874 + case $ac_file in
10.23875 + -) cat "$tmp/out"; rm -f "$tmp/out";;
10.23876 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10.23877 + esac
10.23878 + ;;
10.23879 + :H)
10.23880 + #
10.23881 + # CONFIG_HEADER
10.23882 + #
10.23883 +_ACEOF
10.23884 +
10.23885 +# Transform confdefs.h into a sed script `conftest.defines', that
10.23886 +# substitutes the proper values into config.h.in to produce config.h.
10.23887 +rm -f conftest.defines conftest.tail
10.23888 +# First, append a space to every undef/define line, to ease matching.
10.23889 +echo 's/$/ /' >conftest.defines
10.23890 +# Then, protect against being on the right side of a sed subst, or in
10.23891 +# an unquoted here document, in config.status. If some macros were
10.23892 +# called several times there might be several #defines for the same
10.23893 +# symbol, which is useless. But do not sort them, since the last
10.23894 +# AC_DEFINE must be honored.
10.23895 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10.23896 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10.23897 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
10.23898 +# PARAMS is the parameter list in the macro definition--in most cases, it's
10.23899 +# just an empty string.
10.23900 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10.23901 +ac_dB='\\)[ (].*,\\1define\\2'
10.23902 +ac_dC=' '
10.23903 +ac_dD=' ,'
10.23904 +
10.23905 +uniq confdefs.h |
10.23906 + sed -n '
10.23907 + t rset
10.23908 + :rset
10.23909 + s/^[ ]*#[ ]*define[ ][ ]*//
10.23910 + t ok
10.23911 + d
10.23912 + :ok
10.23913 + s/[\\&,]/\\&/g
10.23914 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10.23915 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10.23916 + ' >>conftest.defines
10.23917 +
10.23918 +# Remove the space that was appended to ease matching.
10.23919 +# Then replace #undef with comments. This is necessary, for
10.23920 +# example, in the case of _POSIX_SOURCE, which is predefined and required
10.23921 +# on some systems where configure will not decide to define it.
10.23922 +# (The regexp can be short, since the line contains either #define or #undef.)
10.23923 +echo 's/ $//
10.23924 +s,^[ #]*u.*,/* & */,' >>conftest.defines
10.23925 +
10.23926 +# Break up conftest.defines:
10.23927 +ac_max_sed_lines=50
10.23928 +
10.23929 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10.23930 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10.23931 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10.23932 +# et cetera.
10.23933 +ac_in='$ac_file_inputs'
10.23934 +ac_out='"$tmp/out1"'
10.23935 +ac_nxt='"$tmp/out2"'
10.23936 +
10.23937 +while :
10.23938 +do
10.23939 + # Write a here document:
10.23940 + cat >>$CONFIG_STATUS <<_ACEOF
10.23941 + # First, check the format of the line:
10.23942 + cat >"\$tmp/defines.sed" <<\\CEOF
10.23943 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10.23944 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10.23945 +b
10.23946 +:def
10.23947 +_ACEOF
10.23948 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10.23949 + echo 'CEOF
10.23950 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10.23951 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10.23952 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10.23953 + grep . conftest.tail >/dev/null || break
10.23954 + rm -f conftest.defines
10.23955 + mv conftest.tail conftest.defines
10.23956 +done
10.23957 +rm -f conftest.defines conftest.tail
10.23958 +
10.23959 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
10.23960 +cat >>$CONFIG_STATUS <<\_ACEOF
10.23961 + if test x"$ac_file" != x-; then
10.23962 + echo "/* $configure_input */" >"$tmp/config.h"
10.23963 + cat "$ac_result" >>"$tmp/config.h"
10.23964 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10.23965 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10.23966 +echo "$as_me: $ac_file is unchanged" >&6;}
10.23967 + else
10.23968 + rm -f $ac_file
10.23969 + mv "$tmp/config.h" $ac_file
10.23970 + fi
10.23971 + else
10.23972 + echo "/* $configure_input */"
10.23973 + cat "$ac_result"
10.23974 + fi
10.23975 + rm -f "$tmp/out12"
10.23976 +# Compute $ac_file's index in $config_headers.
10.23977 +_am_stamp_count=1
10.23978 +for _am_header in $config_headers :; do
10.23979 + case $_am_header in
10.23980 + $ac_file | $ac_file:* )
10.23981 + break ;;
10.23982 + * )
10.23983 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10.23984 + esac
10.23985 +done
10.23986 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10.23987 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.23988 + X$ac_file : 'X\(//\)[^/]' \| \
10.23989 + X$ac_file : 'X\(//\)$' \| \
10.23990 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10.23991 +echo X$ac_file |
10.23992 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.23993 + s//\1/
10.23994 + q
10.23995 + }
10.23996 + /^X\(\/\/\)[^/].*/{
10.23997 + s//\1/
10.23998 + q
10.23999 + }
10.24000 + /^X\(\/\/\)$/{
10.24001 + s//\1/
10.24002 + q
10.24003 + }
10.24004 + /^X\(\/\).*/{
10.24005 + s//\1/
10.24006 + q
10.24007 + }
10.24008 + s/.*/./; q'`/stamp-h$_am_stamp_count
10.24009 + ;;
10.24010 +
10.24011 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10.24012 +echo "$as_me: executing $ac_file commands" >&6;}
10.24013 + ;;
10.24014 + esac
10.24015 +
10.24016 +
10.24017 + case $ac_file$ac_mode in
10.24018 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10.24019 + # Strip MF so we end up with the name of the file.
10.24020 + mf=`echo "$mf" | sed -e 's/:.*$//'`
10.24021 + # Check whether this is an Automake generated Makefile or not.
10.24022 + # We used to match only the files named `Makefile.in', but
10.24023 + # some people rename them; so instead we look at the file content.
10.24024 + # Grep'ing the first line is not enough: some people post-process
10.24025 + # each Makefile.in and add a new line on top of each file to say so.
10.24026 + # Grep'ing the whole file is not good either: AIX grep has a line
10.24027 + # limit of 2048, but all sed's we know have understand at least 4000.
10.24028 + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
10.24029 + dirpart=`$as_dirname -- "$mf" ||
10.24030 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.24031 + X"$mf" : 'X\(//\)[^/]' \| \
10.24032 + X"$mf" : 'X\(//\)$' \| \
10.24033 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10.24034 +echo X"$mf" |
10.24035 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.24036 + s//\1/
10.24037 + q
10.24038 + }
10.24039 + /^X\(\/\/\)[^/].*/{
10.24040 + s//\1/
10.24041 + q
10.24042 + }
10.24043 + /^X\(\/\/\)$/{
10.24044 + s//\1/
10.24045 + q
10.24046 + }
10.24047 + /^X\(\/\).*/{
10.24048 + s//\1/
10.24049 + q
10.24050 + }
10.24051 + s/.*/./; q'`
10.24052 + else
10.24053 + continue
10.24054 + fi
10.24055 + # Extract the definition of DEPDIR, am__include, and am__quote
10.24056 + # from the Makefile without running `make'.
10.24057 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10.24058 + test -z "$DEPDIR" && continue
10.24059 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
10.24060 + test -z "am__include" && continue
10.24061 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10.24062 + # When using ansi2knr, U may be empty or an underscore; expand it
10.24063 + U=`sed -n 's/^U = //p' < "$mf"`
10.24064 + # Find all dependency output files, they are included files with
10.24065 + # $(DEPDIR) in their names. We invoke sed twice because it is the
10.24066 + # simplest approach to changing $(DEPDIR) to its actual value in the
10.24067 + # expansion.
10.24068 + for file in `sed -n "
10.24069 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10.24070 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10.24071 + # Make sure the directory exists.
10.24072 + test -f "$dirpart/$file" && continue
10.24073 + fdir=`$as_dirname -- "$file" ||
10.24074 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.24075 + X"$file" : 'X\(//\)[^/]' \| \
10.24076 + X"$file" : 'X\(//\)$' \| \
10.24077 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10.24078 +echo X"$file" |
10.24079 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.24080 + s//\1/
10.24081 + q
10.24082 + }
10.24083 + /^X\(\/\/\)[^/].*/{
10.24084 + s//\1/
10.24085 + q
10.24086 + }
10.24087 + /^X\(\/\/\)$/{
10.24088 + s//\1/
10.24089 + q
10.24090 + }
10.24091 + /^X\(\/\).*/{
10.24092 + s//\1/
10.24093 + q
10.24094 + }
10.24095 + s/.*/./; q'`
10.24096 + { as_dir=$dirpart/$fdir
10.24097 + case $as_dir in #(
10.24098 + -*) as_dir=./$as_dir;;
10.24099 + esac
10.24100 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10.24101 + as_dirs=
10.24102 + while :; do
10.24103 + case $as_dir in #(
10.24104 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10.24105 + *) as_qdir=$as_dir;;
10.24106 + esac
10.24107 + as_dirs="'$as_qdir' $as_dirs"
10.24108 + as_dir=`$as_dirname -- "$as_dir" ||
10.24109 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10.24110 + X"$as_dir" : 'X\(//\)[^/]' \| \
10.24111 + X"$as_dir" : 'X\(//\)$' \| \
10.24112 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10.24113 +echo X"$as_dir" |
10.24114 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10.24115 + s//\1/
10.24116 + q
10.24117 + }
10.24118 + /^X\(\/\/\)[^/].*/{
10.24119 + s//\1/
10.24120 + q
10.24121 + }
10.24122 + /^X\(\/\/\)$/{
10.24123 + s//\1/
10.24124 + q
10.24125 + }
10.24126 + /^X\(\/\).*/{
10.24127 + s//\1/
10.24128 + q
10.24129 + }
10.24130 + s/.*/./; q'`
10.24131 + test -d "$as_dir" && break
10.24132 + done
10.24133 + test -z "$as_dirs" || eval "mkdir $as_dirs"
10.24134 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10.24135 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
10.24136 + { (exit 1); exit 1; }; }; }
10.24137 + # echo "creating $dirpart/$file"
10.24138 + echo '# dummy' > "$dirpart/$file"
10.24139 + done
10.24140 +done
10.24141 + ;;
10.24142 +
10.24143 + esac
10.24144 +done # for ac_tag
10.24145 +
10.24146 +
10.24147 +{ (exit 0); exit 0; }
10.24148 +_ACEOF
10.24149 +chmod +x $CONFIG_STATUS
10.24150 +ac_clean_files=$ac_clean_files_save
10.24151 +
10.24152 +
10.24153 +# configure is writing to config.log, and then calls config.status.
10.24154 +# config.status does its own redirection, appending to config.log.
10.24155 +# Unfortunately, on DOS this fails, as config.log is still kept open
10.24156 +# by configure, so config.status won't be able to write to it; its
10.24157 +# output is simply discarded. So we exec the FD to /dev/null,
10.24158 +# effectively closing config.log, so it can be properly (re)opened and
10.24159 +# appended to by config.status. When coming back to configure, we
10.24160 +# need to make the FD available again.
10.24161 +if test "$no_create" != yes; then
10.24162 + ac_cs_success=:
10.24163 + ac_config_status_args=
10.24164 + test "$silent" = yes &&
10.24165 + ac_config_status_args="$ac_config_status_args --quiet"
10.24166 + exec 5>/dev/null
10.24167 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10.24168 + exec 5>>config.log
10.24169 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10.24170 + # would make configure fail if this is the last instruction.
10.24171 + $ac_cs_success || { (exit 1); exit 1; }
10.24172 +fi
10.24173 +
10.24174 +
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/gst-gpac/autom4te.cache/output.1 Thu Feb 21 17:44:16 2008 +0000
11.3 @@ -0,0 +1,24029 @@
11.4 +@%:@! /bin/sh
11.5 +@%:@ Guess values for system-dependent variables and create Makefiles.
11.6 +@%:@ Generated by GNU Autoconf 2.61.
11.7 +@%:@
11.8 +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11.9 +@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11.10 +@%:@ This configure script is free software; the Free Software Foundation
11.11 +@%:@ gives unlimited permission to copy, distribute and modify it.
11.12 +## --------------------- ##
11.13 +## M4sh Initialization. ##
11.14 +## --------------------- ##
11.15 +
11.16 +# Be more Bourne compatible
11.17 +DUALCASE=1; export DUALCASE # for MKS sh
11.18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11.19 + emulate sh
11.20 + NULLCMD=:
11.21 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11.22 + # is contrary to our usage. Disable this feature.
11.23 + alias -g '${1+"$@"}'='"$@"'
11.24 + setopt NO_GLOB_SUBST
11.25 +else
11.26 + case `(set -o) 2>/dev/null` in
11.27 + *posix*) set -o posix ;;
11.28 +esac
11.29 +
11.30 +fi
11.31 +
11.32 +
11.33 +
11.34 +
11.35 +# PATH needs CR
11.36 +# Avoid depending upon Character Ranges.
11.37 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11.38 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11.39 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11.40 +as_cr_digits='0123456789'
11.41 +as_cr_alnum=$as_cr_Letters$as_cr_digits
11.42 +
11.43 +# The user is always right.
11.44 +if test "${PATH_SEPARATOR+set}" != set; then
11.45 + echo "#! /bin/sh" >conf$$.sh
11.46 + echo "exit 0" >>conf$$.sh
11.47 + chmod +x conf$$.sh
11.48 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.49 + PATH_SEPARATOR=';'
11.50 + else
11.51 + PATH_SEPARATOR=:
11.52 + fi
11.53 + rm -f conf$$.sh
11.54 +fi
11.55 +
11.56 +# Support unset when possible.
11.57 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11.58 + as_unset=unset
11.59 +else
11.60 + as_unset=false
11.61 +fi
11.62 +
11.63 +
11.64 +# IFS
11.65 +# We need space, tab and new line, in precisely that order. Quoting is
11.66 +# there to prevent editors from complaining about space-tab.
11.67 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11.68 +# splitting by setting IFS to empty value.)
11.69 +as_nl='
11.70 +'
11.71 +IFS=" "" $as_nl"
11.72 +
11.73 +# Find who we are. Look in the path if we contain no directory separator.
11.74 +case $0 in
11.75 + *[\\/]* ) as_myself=$0 ;;
11.76 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.77 +for as_dir in $PATH
11.78 +do
11.79 + IFS=$as_save_IFS
11.80 + test -z "$as_dir" && as_dir=.
11.81 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11.82 +done
11.83 +IFS=$as_save_IFS
11.84 +
11.85 + ;;
11.86 +esac
11.87 +# We did not find ourselves, most probably we were run as `sh COMMAND'
11.88 +# in which case we are not to be found in the path.
11.89 +if test "x$as_myself" = x; then
11.90 + as_myself=$0
11.91 +fi
11.92 +if test ! -f "$as_myself"; then
11.93 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11.94 + { (exit 1); exit 1; }
11.95 +fi
11.96 +
11.97 +# Work around bugs in pre-3.0 UWIN ksh.
11.98 +for as_var in ENV MAIL MAILPATH
11.99 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11.100 +done
11.101 +PS1='$ '
11.102 +PS2='> '
11.103 +PS4='+ '
11.104 +
11.105 +# NLS nuisances.
11.106 +for as_var in \
11.107 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11.108 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11.109 + LC_TELEPHONE LC_TIME
11.110 +do
11.111 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11.112 + eval $as_var=C; export $as_var
11.113 + else
11.114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11.115 + fi
11.116 +done
11.117 +
11.118 +# Required to use basename.
11.119 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11.120 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11.121 + as_expr=expr
11.122 +else
11.123 + as_expr=false
11.124 +fi
11.125 +
11.126 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11.127 + as_basename=basename
11.128 +else
11.129 + as_basename=false
11.130 +fi
11.131 +
11.132 +
11.133 +# Name of the executable.
11.134 +as_me=`$as_basename -- "$0" ||
11.135 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11.136 + X"$0" : 'X\(//\)$' \| \
11.137 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11.138 +echo X/"$0" |
11.139 + sed '/^.*\/\([^/][^/]*\)\/*$/{
11.140 + s//\1/
11.141 + q
11.142 + }
11.143 + /^X\/\(\/\/\)$/{
11.144 + s//\1/
11.145 + q
11.146 + }
11.147 + /^X\/\(\/\).*/{
11.148 + s//\1/
11.149 + q
11.150 + }
11.151 + s/.*/./; q'`
11.152 +
11.153 +# CDPATH.
11.154 +$as_unset CDPATH
11.155 +
11.156 +
11.157 +if test "x$CONFIG_SHELL" = x; then
11.158 + if (eval ":") 2>/dev/null; then
11.159 + as_have_required=yes
11.160 +else
11.161 + as_have_required=no
11.162 +fi
11.163 +
11.164 + if test $as_have_required = yes && (eval ":
11.165 +(as_func_return () {
11.166 + (exit \$1)
11.167 +}
11.168 +as_func_success () {
11.169 + as_func_return 0
11.170 +}
11.171 +as_func_failure () {
11.172 + as_func_return 1
11.173 +}
11.174 +as_func_ret_success () {
11.175 + return 0
11.176 +}
11.177 +as_func_ret_failure () {
11.178 + return 1
11.179 +}
11.180 +
11.181 +exitcode=0
11.182 +if as_func_success; then
11.183 + :
11.184 +else
11.185 + exitcode=1
11.186 + echo as_func_success failed.
11.187 +fi
11.188 +
11.189 +if as_func_failure; then
11.190 + exitcode=1
11.191 + echo as_func_failure succeeded.
11.192 +fi
11.193 +
11.194 +if as_func_ret_success; then
11.195 + :
11.196 +else
11.197 + exitcode=1
11.198 + echo as_func_ret_success failed.
11.199 +fi
11.200 +
11.201 +if as_func_ret_failure; then
11.202 + exitcode=1
11.203 + echo as_func_ret_failure succeeded.
11.204 +fi
11.205 +
11.206 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
11.207 + :
11.208 +else
11.209 + exitcode=1
11.210 + echo positional parameters were not saved.
11.211 +fi
11.212 +
11.213 +test \$exitcode = 0) || { (exit 1); exit 1; }
11.214 +
11.215 +(
11.216 + as_lineno_1=\$LINENO
11.217 + as_lineno_2=\$LINENO
11.218 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
11.219 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
11.220 +") 2> /dev/null; then
11.221 + :
11.222 +else
11.223 + as_candidate_shells=
11.224 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.225 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11.226 +do
11.227 + IFS=$as_save_IFS
11.228 + test -z "$as_dir" && as_dir=.
11.229 + case $as_dir in
11.230 + /*)
11.231 + for as_base in sh bash ksh sh5; do
11.232 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
11.233 + done;;
11.234 + esac
11.235 +done
11.236 +IFS=$as_save_IFS
11.237 +
11.238 +
11.239 + for as_shell in $as_candidate_shells $SHELL; do
11.240 + # Try only shells that exist, to save several forks.
11.241 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
11.242 + { ("$as_shell") 2> /dev/null <<\_ASEOF
11.243 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11.244 + emulate sh
11.245 + NULLCMD=:
11.246 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11.247 + # is contrary to our usage. Disable this feature.
11.248 + alias -g '${1+"$@"}'='"$@"'
11.249 + setopt NO_GLOB_SUBST
11.250 +else
11.251 + case `(set -o) 2>/dev/null` in
11.252 + *posix*) set -o posix ;;
11.253 +esac
11.254 +
11.255 +fi
11.256 +
11.257 +
11.258 +:
11.259 +_ASEOF
11.260 +}; then
11.261 + CONFIG_SHELL=$as_shell
11.262 + as_have_required=yes
11.263 + if { "$as_shell" 2> /dev/null <<\_ASEOF
11.264 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11.265 + emulate sh
11.266 + NULLCMD=:
11.267 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11.268 + # is contrary to our usage. Disable this feature.
11.269 + alias -g '${1+"$@"}'='"$@"'
11.270 + setopt NO_GLOB_SUBST
11.271 +else
11.272 + case `(set -o) 2>/dev/null` in
11.273 + *posix*) set -o posix ;;
11.274 +esac
11.275 +
11.276 +fi
11.277 +
11.278 +
11.279 +:
11.280 +(as_func_return () {
11.281 + (exit $1)
11.282 +}
11.283 +as_func_success () {
11.284 + as_func_return 0
11.285 +}
11.286 +as_func_failure () {
11.287 + as_func_return 1
11.288 +}
11.289 +as_func_ret_success () {
11.290 + return 0
11.291 +}
11.292 +as_func_ret_failure () {
11.293 + return 1
11.294 +}
11.295 +
11.296 +exitcode=0
11.297 +if as_func_success; then
11.298 + :
11.299 +else
11.300 + exitcode=1
11.301 + echo as_func_success failed.
11.302 +fi
11.303 +
11.304 +if as_func_failure; then
11.305 + exitcode=1
11.306 + echo as_func_failure succeeded.
11.307 +fi
11.308 +
11.309 +if as_func_ret_success; then
11.310 + :
11.311 +else
11.312 + exitcode=1
11.313 + echo as_func_ret_success failed.
11.314 +fi
11.315 +
11.316 +if as_func_ret_failure; then
11.317 + exitcode=1
11.318 + echo as_func_ret_failure succeeded.
11.319 +fi
11.320 +
11.321 +if ( set x; as_func_ret_success y && test x = "$1" ); then
11.322 + :
11.323 +else
11.324 + exitcode=1
11.325 + echo positional parameters were not saved.
11.326 +fi
11.327 +
11.328 +test $exitcode = 0) || { (exit 1); exit 1; }
11.329 +
11.330 +(
11.331 + as_lineno_1=$LINENO
11.332 + as_lineno_2=$LINENO
11.333 + test "x$as_lineno_1" != "x$as_lineno_2" &&
11.334 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
11.335 +
11.336 +_ASEOF
11.337 +}; then
11.338 + break
11.339 +fi
11.340 +
11.341 +fi
11.342 +
11.343 + done
11.344 +
11.345 + if test "x$CONFIG_SHELL" != x; then
11.346 + for as_var in BASH_ENV ENV
11.347 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11.348 + done
11.349 + export CONFIG_SHELL
11.350 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
11.351 +fi
11.352 +
11.353 +
11.354 + if test $as_have_required = no; then
11.355 + echo This script requires a shell more modern than all the
11.356 + echo shells that I found on your system. Please install a
11.357 + echo modern shell, or manually run the script under such a
11.358 + echo shell if you do have one.
11.359 + { (exit 1); exit 1; }
11.360 +fi
11.361 +
11.362 +
11.363 +fi
11.364 +
11.365 +fi
11.366 +
11.367 +
11.368 +
11.369 +(eval "as_func_return () {
11.370 + (exit \$1)
11.371 +}
11.372 +as_func_success () {
11.373 + as_func_return 0
11.374 +}
11.375 +as_func_failure () {
11.376 + as_func_return 1
11.377 +}
11.378 +as_func_ret_success () {
11.379 + return 0
11.380 +}
11.381 +as_func_ret_failure () {
11.382 + return 1
11.383 +}
11.384 +
11.385 +exitcode=0
11.386 +if as_func_success; then
11.387 + :
11.388 +else
11.389 + exitcode=1
11.390 + echo as_func_success failed.
11.391 +fi
11.392 +
11.393 +if as_func_failure; then
11.394 + exitcode=1
11.395 + echo as_func_failure succeeded.
11.396 +fi
11.397 +
11.398 +if as_func_ret_success; then
11.399 + :
11.400 +else
11.401 + exitcode=1
11.402 + echo as_func_ret_success failed.
11.403 +fi
11.404 +
11.405 +if as_func_ret_failure; then
11.406 + exitcode=1
11.407 + echo as_func_ret_failure succeeded.
11.408 +fi
11.409 +
11.410 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
11.411 + :
11.412 +else
11.413 + exitcode=1
11.414 + echo positional parameters were not saved.
11.415 +fi
11.416 +
11.417 +test \$exitcode = 0") || {
11.418 + echo No shell found that supports shell functions.
11.419 + echo Please tell autoconf@gnu.org about your system,
11.420 + echo including any error possibly output before this
11.421 + echo message
11.422 +}
11.423 +
11.424 +
11.425 +
11.426 + as_lineno_1=$LINENO
11.427 + as_lineno_2=$LINENO
11.428 + test "x$as_lineno_1" != "x$as_lineno_2" &&
11.429 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11.430 +
11.431 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11.432 + # uniformly replaced by the line number. The first 'sed' inserts a
11.433 + # line-number line after each line using $LINENO; the second 'sed'
11.434 + # does the real work. The second script uses 'N' to pair each
11.435 + # line-number line with the line containing $LINENO, and appends
11.436 + # trailing '-' during substitution so that $LINENO is not a special
11.437 + # case at line end.
11.438 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11.439 + # scripts with optimization help from Paolo Bonzini. Blame Lee
11.440 + # E. McMahon (1931-1989) for sed's syntax. :-)
11.441 + sed -n '
11.442 + p
11.443 + /[$]LINENO/=
11.444 + ' <$as_myself |
11.445 + sed '
11.446 + s/[$]LINENO.*/&-/
11.447 + t lineno
11.448 + b
11.449 + :lineno
11.450 + N
11.451 + :loop
11.452 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11.453 + t loop
11.454 + s/-\n.*//
11.455 + ' >$as_me.lineno &&
11.456 + chmod +x "$as_me.lineno" ||
11.457 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11.458 + { (exit 1); exit 1; }; }
11.459 +
11.460 + # Don't try to exec as it changes $[0], causing all sort of problems
11.461 + # (the dirname of $[0] is not the place where we might find the
11.462 + # original and so on. Autoconf is especially sensitive to this).
11.463 + . "./$as_me.lineno"
11.464 + # Exit status is that of the last command.
11.465 + exit
11.466 +}
11.467 +
11.468 +
11.469 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11.470 + as_dirname=dirname
11.471 +else
11.472 + as_dirname=false
11.473 +fi
11.474 +
11.475 +ECHO_C= ECHO_N= ECHO_T=
11.476 +case `echo -n x` in
11.477 +-n*)
11.478 + case `echo 'x\c'` in
11.479 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11.480 + *) ECHO_C='\c';;
11.481 + esac;;
11.482 +*)
11.483 + ECHO_N='-n';;
11.484 +esac
11.485 +
11.486 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11.487 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11.488 + as_expr=expr
11.489 +else
11.490 + as_expr=false
11.491 +fi
11.492 +
11.493 +rm -f conf$$ conf$$.exe conf$$.file
11.494 +if test -d conf$$.dir; then
11.495 + rm -f conf$$.dir/conf$$.file
11.496 +else
11.497 + rm -f conf$$.dir
11.498 + mkdir conf$$.dir
11.499 +fi
11.500 +echo >conf$$.file
11.501 +if ln -s conf$$.file conf$$ 2>/dev/null; then
11.502 + as_ln_s='ln -s'
11.503 + # ... but there are two gotchas:
11.504 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11.505 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11.506 + # In both cases, we have to default to `cp -p'.
11.507 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11.508 + as_ln_s='cp -p'
11.509 +elif ln conf$$.file conf$$ 2>/dev/null; then
11.510 + as_ln_s=ln
11.511 +else
11.512 + as_ln_s='cp -p'
11.513 +fi
11.514 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11.515 +rmdir conf$$.dir 2>/dev/null
11.516 +
11.517 +if mkdir -p . 2>/dev/null; then
11.518 + as_mkdir_p=:
11.519 +else
11.520 + test -d ./-p && rmdir ./-p
11.521 + as_mkdir_p=false
11.522 +fi
11.523 +
11.524 +if test -x / >/dev/null 2>&1; then
11.525 + as_test_x='test -x'
11.526 +else
11.527 + if ls -dL / >/dev/null 2>&1; then
11.528 + as_ls_L_option=L
11.529 + else
11.530 + as_ls_L_option=
11.531 + fi
11.532 + as_test_x='
11.533 + eval sh -c '\''
11.534 + if test -d "$1"; then
11.535 + test -d "$1/.";
11.536 + else
11.537 + case $1 in
11.538 + -*)set "./$1";;
11.539 + esac;
11.540 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11.541 + ???[sx]*):;;*)false;;esac;fi
11.542 + '\'' sh
11.543 + '
11.544 +fi
11.545 +as_executable_p=$as_test_x
11.546 +
11.547 +# Sed expression to map a string onto a valid CPP name.
11.548 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11.549 +
11.550 +# Sed expression to map a string onto a valid variable name.
11.551 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11.552 +
11.553 +
11.554 +
11.555 +
11.556 +# Check that we are running under the correct shell.
11.557 +SHELL=${CONFIG_SHELL-/bin/sh}
11.558 +
11.559 +case X$ECHO in
11.560 +X*--fallback-echo)
11.561 + # Remove one level of quotation (which was required for Make).
11.562 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
11.563 + ;;
11.564 +esac
11.565 +
11.566 +echo=${ECHO-echo}
11.567 +if test "X$1" = X--no-reexec; then
11.568 + # Discard the --no-reexec flag, and continue.
11.569 + shift
11.570 +elif test "X$1" = X--fallback-echo; then
11.571 + # Avoid inline document here, it may be left over
11.572 + :
11.573 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
11.574 + # Yippee, $echo works!
11.575 + :
11.576 +else
11.577 + # Restart under the correct shell.
11.578 + exec $SHELL "$0" --no-reexec ${1+"$@"}
11.579 +fi
11.580 +
11.581 +if test "X$1" = X--fallback-echo; then
11.582 + # used as fallback echo
11.583 + shift
11.584 + cat <<EOF
11.585 +$*
11.586 +EOF
11.587 + exit 0
11.588 +fi
11.589 +
11.590 +# The HP-UX ksh and POSIX shell print the target directory to stdout
11.591 +# if CDPATH is set.
11.592 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
11.593 +
11.594 +if test -z "$ECHO"; then
11.595 +if test "X${echo_test_string+set}" != Xset; then
11.596 +# find a string as large as possible, as long as the shell can cope with it
11.597 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
11.598 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
11.599 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
11.600 + echo_test_string="`eval $cmd`" &&
11.601 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
11.602 + then
11.603 + break
11.604 + fi
11.605 + done
11.606 +fi
11.607 +
11.608 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
11.609 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
11.610 + test "X$echo_testing_string" = "X$echo_test_string"; then
11.611 + :
11.612 +else
11.613 + # The Solaris, AIX, and Digital Unix default echo programs unquote
11.614 + # backslashes. This makes it impossible to quote backslashes using
11.615 + # echo "$something" | sed 's/\\/\\\\/g'
11.616 + #
11.617 + # So, first we look for a working echo in the user's PATH.
11.618 +
11.619 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11.620 + for dir in $PATH /usr/ucb; do
11.621 + IFS="$lt_save_ifs"
11.622 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
11.623 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
11.624 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
11.625 + test "X$echo_testing_string" = "X$echo_test_string"; then
11.626 + echo="$dir/echo"
11.627 + break
11.628 + fi
11.629 + done
11.630 + IFS="$lt_save_ifs"
11.631 +
11.632 + if test "X$echo" = Xecho; then
11.633 + # We didn't find a better echo, so look for alternatives.
11.634 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
11.635 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
11.636 + test "X$echo_testing_string" = "X$echo_test_string"; then
11.637 + # This shell has a builtin print -r that does the trick.
11.638 + echo='print -r'
11.639 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
11.640 + test "X$CONFIG_SHELL" != X/bin/ksh; then
11.641 + # If we have ksh, try running configure again with it.
11.642 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11.643 + export ORIGINAL_CONFIG_SHELL
11.644 + CONFIG_SHELL=/bin/ksh
11.645 + export CONFIG_SHELL
11.646 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
11.647 + else
11.648 + # Try using printf.
11.649 + echo='printf %s\n'
11.650 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
11.651 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
11.652 + test "X$echo_testing_string" = "X$echo_test_string"; then
11.653 + # Cool, printf works
11.654 + :
11.655 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
11.656 + test "X$echo_testing_string" = 'X\t' &&
11.657 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
11.658 + test "X$echo_testing_string" = "X$echo_test_string"; then
11.659 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
11.660 + export CONFIG_SHELL
11.661 + SHELL="$CONFIG_SHELL"
11.662 + export SHELL
11.663 + echo="$CONFIG_SHELL $0 --fallback-echo"
11.664 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
11.665 + test "X$echo_testing_string" = 'X\t' &&
11.666 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
11.667 + test "X$echo_testing_string" = "X$echo_test_string"; then
11.668 + echo="$CONFIG_SHELL $0 --fallback-echo"
11.669 + else
11.670 + # maybe with a smaller string...
11.671 + prev=:
11.672 +
11.673 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
11.674 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
11.675 + then
11.676 + break
11.677 + fi
11.678 + prev="$cmd"
11.679 + done
11.680 +
11.681 + if test "$prev" != 'sed 50q "$0"'; then
11.682 + echo_test_string=`eval $prev`
11.683 + export echo_test_string
11.684 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
11.685 + else
11.686 + # Oops. We lost completely, so just stick with echo.
11.687 + echo=echo
11.688 + fi
11.689 + fi
11.690 + fi
11.691 + fi
11.692 +fi
11.693 +fi
11.694 +
11.695 +# Copy echo and quote the copy suitably for passing to libtool from
11.696 +# the Makefile, instead of quoting the original, which is used later.
11.697 +ECHO=$echo
11.698 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
11.699 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
11.700 +fi
11.701 +
11.702 +
11.703 +
11.704 +
11.705 +tagnames=${tagnames+${tagnames},}CXX
11.706 +
11.707 +tagnames=${tagnames+${tagnames},}F77
11.708 +
11.709 +exec 7<&0 </dev/null 6>&1
11.710 +
11.711 +# Name of the host.
11.712 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
11.713 +# so uname gets run too.
11.714 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
11.715 +
11.716 +#
11.717 +# Initializations.
11.718 +#
11.719 +ac_default_prefix=/usr/local
11.720 +ac_clean_files=
11.721 +ac_config_libobj_dir=.
11.722 +LIB@&t@OBJS=
11.723 +cross_compiling=no
11.724 +subdirs=
11.725 +MFLAGS=
11.726 +MAKEFLAGS=
11.727 +SHELL=${CONFIG_SHELL-/bin/sh}
11.728 +
11.729 +# Identity of this package.
11.730 +PACKAGE_NAME=
11.731 +PACKAGE_TARNAME=
11.732 +PACKAGE_VERSION=
11.733 +PACKAGE_STRING=
11.734 +PACKAGE_BUGREPORT=
11.735 +
11.736 +# Factoring default headers for most tests.
11.737 +ac_includes_default="\
11.738 +#include <stdio.h>
11.739 +#ifdef HAVE_SYS_TYPES_H
11.740 +# include <sys/types.h>
11.741 +#endif
11.742 +#ifdef HAVE_SYS_STAT_H
11.743 +# include <sys/stat.h>
11.744 +#endif
11.745 +#ifdef STDC_HEADERS
11.746 +# include <stdlib.h>
11.747 +# include <stddef.h>
11.748 +#else
11.749 +# ifdef HAVE_STDLIB_H
11.750 +# include <stdlib.h>
11.751 +# endif
11.752 +#endif
11.753 +#ifdef HAVE_STRING_H
11.754 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
11.755 +# include <memory.h>
11.756 +# endif
11.757 +# include <string.h>
11.758 +#endif
11.759 +#ifdef HAVE_STRINGS_H
11.760 +# include <strings.h>
11.761 +#endif
11.762 +#ifdef HAVE_INTTYPES_H
11.763 +# include <inttypes.h>
11.764 +#endif
11.765 +#ifdef HAVE_STDINT_H
11.766 +# include <stdint.h>
11.767 +#endif
11.768 +#ifdef HAVE_UNISTD_H
11.769 +# include <unistd.h>
11.770 +#endif"
11.771 +
11.772 +ac_subst_vars='SHELL
11.773 +PATH_SEPARATOR
11.774 +PACKAGE_NAME
11.775 +PACKAGE_TARNAME
11.776 +PACKAGE_VERSION
11.777 +PACKAGE_STRING
11.778 +PACKAGE_BUGREPORT
11.779 +exec_prefix
11.780 +prefix
11.781 +program_transform_name
11.782 +bindir
11.783 +sbindir
11.784 +libexecdir
11.785 +datarootdir
11.786 +datadir
11.787 +sysconfdir
11.788 +sharedstatedir
11.789 +localstatedir
11.790 +includedir
11.791 +oldincludedir
11.792 +docdir
11.793 +infodir
11.794 +htmldir
11.795 +dvidir
11.796 +pdfdir
11.797 +psdir
11.798 +libdir
11.799 +localedir
11.800 +mandir
11.801 +DEFS
11.802 +ECHO_C
11.803 +ECHO_N
11.804 +ECHO_T
11.805 +LIBS
11.806 +build_alias
11.807 +host_alias
11.808 +target_alias
11.809 +build
11.810 +build_cpu
11.811 +build_vendor
11.812 +build_os
11.813 +host
11.814 +host_cpu
11.815 +host_vendor
11.816 +host_os
11.817 +target
11.818 +target_cpu
11.819 +target_vendor
11.820 +target_os
11.821 +MAINTAINER_MODE_TRUE
11.822 +MAINTAINER_MODE_FALSE
11.823 +MAINT
11.824 +GST_PLUGINS_VERSION
11.825 +GST_PLUGINS_VERSION_RELEASE
11.826 +GST_PLUGINS_VERSION_MAJOR
11.827 +GST_PLUGINS_VERSION_MINOR
11.828 +GST_PLUGINS_VERSION_MICRO
11.829 +GST_PLUGINS_VERSION_NANO
11.830 +PACKAGE
11.831 +VERSION
11.832 +INSTALL_PROGRAM
11.833 +INSTALL_SCRIPT
11.834 +INSTALL_DATA
11.835 +CYGPATH_W
11.836 +ACLOCAL
11.837 +AUTOCONF
11.838 +AUTOMAKE
11.839 +AUTOHEADER
11.840 +MAKEINFO
11.841 +install_sh
11.842 +STRIP
11.843 +INSTALL_STRIP_PROGRAM
11.844 +mkdir_p
11.845 +AWK
11.846 +SET_MAKE
11.847 +am__leading_dot
11.848 +AMTAR
11.849 +am__tar
11.850 +am__untar
11.851 +CC
11.852 +CFLAGS
11.853 +LDFLAGS
11.854 +CPPFLAGS
11.855 +ac_ct_CC
11.856 +EXEEXT
11.857 +OBJEXT
11.858 +DEPDIR
11.859 +am__include
11.860 +am__quote
11.861 +AMDEP_TRUE
11.862 +AMDEP_FALSE
11.863 +AMDEPBACKSLASH
11.864 +CCDEPMODE
11.865 +am__fastdepCC_TRUE
11.866 +am__fastdepCC_FALSE
11.867 +GREP
11.868 +EGREP
11.869 +LN_S
11.870 +ECHO
11.871 +AR
11.872 +RANLIB
11.873 +CPP
11.874 +CXX
11.875 +CXXFLAGS
11.876 +ac_ct_CXX
11.877 +CXXDEPMODE
11.878 +am__fastdepCXX_TRUE
11.879 +am__fastdepCXX_FALSE
11.880 +CXXCPP
11.881 +F77
11.882 +FFLAGS
11.883 +ac_ct_F77
11.884 +LIBTOOL
11.885 +ACLOCAL_AMFLAGS
11.886 +CCAS
11.887 +CCASFLAGS
11.888 +ERROR_CFLAGS
11.889 +HAVE_CXX
11.890 +HAVE_PKGCONFIG
11.891 +PKG_CONFIG
11.892 +GST_CFLAGS
11.893 +GST_LIBS
11.894 +GST_MAJORMINOR
11.895 +GST_BASE_CFLAGS
11.896 +GST_BASE_LIBS
11.897 +GST_PLUGINS_BASE_CFLAGS
11.898 +GST_PLUGINS_BASE_LIBS
11.899 +plugindir
11.900 +GST_PLUGIN_LDFLAGS
11.901 +LIB@&t@OBJS
11.902 +LTLIBOBJS'
11.903 +ac_subst_files=''
11.904 + ac_precious_vars='build_alias
11.905 +host_alias
11.906 +target_alias
11.907 +CC
11.908 +CFLAGS
11.909 +LDFLAGS
11.910 +LIBS
11.911 +CPPFLAGS
11.912 +CPP
11.913 +CXX
11.914 +CXXFLAGS
11.915 +CCC
11.916 +CXXCPP
11.917 +F77
11.918 +FFLAGS
11.919 +CCAS
11.920 +CCASFLAGS
11.921 +PKG_CONFIG
11.922 +GST_CFLAGS
11.923 +GST_LIBS
11.924 +GST_BASE_CFLAGS
11.925 +GST_BASE_LIBS
11.926 +GST_PLUGINS_BASE_CFLAGS
11.927 +GST_PLUGINS_BASE_LIBS'
11.928 +
11.929 +
11.930 +# Initialize some variables set by options.
11.931 +ac_init_help=
11.932 +ac_init_version=false
11.933 +# The variables have the same names as the options, with
11.934 +# dashes changed to underlines.
11.935 +cache_file=/dev/null
11.936 +exec_prefix=NONE
11.937 +no_create=
11.938 +no_recursion=
11.939 +prefix=NONE
11.940 +program_prefix=NONE
11.941 +program_suffix=NONE
11.942 +program_transform_name=s,x,x,
11.943 +silent=
11.944 +site=
11.945 +srcdir=
11.946 +verbose=
11.947 +x_includes=NONE
11.948 +x_libraries=NONE
11.949 +
11.950 +# Installation directory options.
11.951 +# These are left unexpanded so users can "make install exec_prefix=/foo"
11.952 +# and all the variables that are supposed to be based on exec_prefix
11.953 +# by default will actually change.
11.954 +# Use braces instead of parens because sh, perl, etc. also accept them.
11.955 +# (The list follows the same order as the GNU Coding Standards.)
11.956 +bindir='${exec_prefix}/bin'
11.957 +sbindir='${exec_prefix}/sbin'
11.958 +libexecdir='${exec_prefix}/libexec'
11.959 +datarootdir='${prefix}/share'
11.960 +datadir='${datarootdir}'
11.961 +sysconfdir='${prefix}/etc'
11.962 +sharedstatedir='${prefix}/com'
11.963 +localstatedir='${prefix}/var'
11.964 +includedir='${prefix}/include'
11.965 +oldincludedir='/usr/include'
11.966 +docdir='${datarootdir}/doc/${PACKAGE}'
11.967 +infodir='${datarootdir}/info'
11.968 +htmldir='${docdir}'
11.969 +dvidir='${docdir}'
11.970 +pdfdir='${docdir}'
11.971 +psdir='${docdir}'
11.972 +libdir='${exec_prefix}/lib'
11.973 +localedir='${datarootdir}/locale'
11.974 +mandir='${datarootdir}/man'
11.975 +
11.976 +ac_prev=
11.977 +ac_dashdash=
11.978 +for ac_option
11.979 +do
11.980 + # If the previous option needs an argument, assign it.
11.981 + if test -n "$ac_prev"; then
11.982 + eval $ac_prev=\$ac_option
11.983 + ac_prev=
11.984 + continue
11.985 + fi
11.986 +
11.987 + case $ac_option in
11.988 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
11.989 + *) ac_optarg=yes ;;
11.990 + esac
11.991 +
11.992 + # Accept the important Cygnus configure options, so we can diagnose typos.
11.993 +
11.994 + case $ac_dashdash$ac_option in
11.995 + --)
11.996 + ac_dashdash=yes ;;
11.997 +
11.998 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
11.999 + ac_prev=bindir ;;
11.1000 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
11.1001 + bindir=$ac_optarg ;;
11.1002 +
11.1003 + -build | --build | --buil | --bui | --bu)
11.1004 + ac_prev=build_alias ;;
11.1005 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
11.1006 + build_alias=$ac_optarg ;;
11.1007 +
11.1008 + -cache-file | --cache-file | --cache-fil | --cache-fi \
11.1009 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11.1010 + ac_prev=cache_file ;;
11.1011 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11.1012 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
11.1013 + cache_file=$ac_optarg ;;
11.1014 +
11.1015 + --config-cache | -C)
11.1016 + cache_file=config.cache ;;
11.1017 +
11.1018 + -datadir | --datadir | --datadi | --datad)
11.1019 + ac_prev=datadir ;;
11.1020 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
11.1021 + datadir=$ac_optarg ;;
11.1022 +
11.1023 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
11.1024 + | --dataroo | --dataro | --datar)
11.1025 + ac_prev=datarootdir ;;
11.1026 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
11.1027 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
11.1028 + datarootdir=$ac_optarg ;;
11.1029 +
11.1030 + -disable-* | --disable-*)
11.1031 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
11.1032 + # Reject names that are not valid shell variable names.
11.1033 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11.1034 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
11.1035 + { (exit 1); exit 1; }; }
11.1036 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
11.1037 + eval enable_$ac_feature=no ;;
11.1038 +
11.1039 + -docdir | --docdir | --docdi | --doc | --do)
11.1040 + ac_prev=docdir ;;
11.1041 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
11.1042 + docdir=$ac_optarg ;;
11.1043 +
11.1044 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
11.1045 + ac_prev=dvidir ;;
11.1046 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
11.1047 + dvidir=$ac_optarg ;;
11.1048 +
11.1049 + -enable-* | --enable-*)
11.1050 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
11.1051 + # Reject names that are not valid shell variable names.
11.1052 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11.1053 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
11.1054 + { (exit 1); exit 1; }; }
11.1055 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
11.1056 + eval enable_$ac_feature=\$ac_optarg ;;
11.1057 +
11.1058 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
11.1059 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
11.1060 + | --exec | --exe | --ex)
11.1061 + ac_prev=exec_prefix ;;
11.1062 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
11.1063 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
11.1064 + | --exec=* | --exe=* | --ex=*)
11.1065 + exec_prefix=$ac_optarg ;;
11.1066 +
11.1067 + -gas | --gas | --ga | --g)
11.1068 + # Obsolete; use --with-gas.
11.1069 + with_gas=yes ;;
11.1070 +
11.1071 + -help | --help | --hel | --he | -h)
11.1072 + ac_init_help=long ;;
11.1073 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
11.1074 + ac_init_help=recursive ;;
11.1075 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
11.1076 + ac_init_help=short ;;
11.1077 +
11.1078 + -host | --host | --hos | --ho)
11.1079 + ac_prev=host_alias ;;
11.1080 + -host=* | --host=* | --hos=* | --ho=*)
11.1081 + host_alias=$ac_optarg ;;
11.1082 +
11.1083 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
11.1084 + ac_prev=htmldir ;;
11.1085 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
11.1086 + | --ht=*)
11.1087 + htmldir=$ac_optarg ;;
11.1088 +
11.1089 + -includedir | --includedir | --includedi | --included | --include \
11.1090 + | --includ | --inclu | --incl | --inc)
11.1091 + ac_prev=includedir ;;
11.1092 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
11.1093 + | --includ=* | --inclu=* | --incl=* | --inc=*)
11.1094 + includedir=$ac_optarg ;;
11.1095 +
11.1096 + -infodir | --infodir | --infodi | --infod | --info | --inf)
11.1097 + ac_prev=infodir ;;
11.1098 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
11.1099 + infodir=$ac_optarg ;;
11.1100 +
11.1101 + -libdir | --libdir | --libdi | --libd)
11.1102 + ac_prev=libdir ;;
11.1103 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
11.1104 + libdir=$ac_optarg ;;
11.1105 +
11.1106 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
11.1107 + | --libexe | --libex | --libe)
11.1108 + ac_prev=libexecdir ;;
11.1109 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
11.1110 + | --libexe=* | --libex=* | --libe=*)
11.1111 + libexecdir=$ac_optarg ;;
11.1112 +
11.1113 + -localedir | --localedir | --localedi | --localed | --locale)
11.1114 + ac_prev=localedir ;;
11.1115 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
11.1116 + localedir=$ac_optarg ;;
11.1117 +
11.1118 + -localstatedir | --localstatedir | --localstatedi | --localstated \
11.1119 + | --localstate | --localstat | --localsta | --localst | --locals)
11.1120 + ac_prev=localstatedir ;;
11.1121 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
11.1122 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
11.1123 + localstatedir=$ac_optarg ;;
11.1124 +
11.1125 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
11.1126 + ac_prev=mandir ;;
11.1127 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
11.1128 + mandir=$ac_optarg ;;
11.1129 +
11.1130 + -nfp | --nfp | --nf)
11.1131 + # Obsolete; use --without-fp.
11.1132 + with_fp=no ;;
11.1133 +
11.1134 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
11.1135 + | --no-cr | --no-c | -n)
11.1136 + no_create=yes ;;
11.1137 +
11.1138 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
11.1139 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
11.1140 + no_recursion=yes ;;
11.1141 +
11.1142 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
11.1143 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
11.1144 + | --oldin | --oldi | --old | --ol | --o)
11.1145 + ac_prev=oldincludedir ;;
11.1146 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
11.1147 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
11.1148 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
11.1149 + oldincludedir=$ac_optarg ;;
11.1150 +
11.1151 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11.1152 + ac_prev=prefix ;;
11.1153 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11.1154 + prefix=$ac_optarg ;;
11.1155 +
11.1156 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
11.1157 + | --program-pre | --program-pr | --program-p)
11.1158 + ac_prev=program_prefix ;;
11.1159 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
11.1160 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
11.1161 + program_prefix=$ac_optarg ;;
11.1162 +
11.1163 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
11.1164 + | --program-suf | --program-su | --program-s)
11.1165 + ac_prev=program_suffix ;;
11.1166 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
11.1167 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
11.1168 + program_suffix=$ac_optarg ;;
11.1169 +
11.1170 + -program-transform-name | --program-transform-name \
11.1171 + | --program-transform-nam | --program-transform-na \
11.1172 + | --program-transform-n | --program-transform- \
11.1173 + | --program-transform | --program-transfor \
11.1174 + | --program-transfo | --program-transf \
11.1175 + | --program-trans | --program-tran \
11.1176 + | --progr-tra | --program-tr | --program-t)
11.1177 + ac_prev=program_transform_name ;;
11.1178 + -program-transform-name=* | --program-transform-name=* \
11.1179 + | --program-transform-nam=* | --program-transform-na=* \
11.1180 + | --program-transform-n=* | --program-transform-=* \
11.1181 + | --program-transform=* | --program-transfor=* \
11.1182 + | --program-transfo=* | --program-transf=* \
11.1183 + | --program-trans=* | --program-tran=* \
11.1184 + | --progr-tra=* | --program-tr=* | --program-t=*)
11.1185 + program_transform_name=$ac_optarg ;;
11.1186 +
11.1187 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
11.1188 + ac_prev=pdfdir ;;
11.1189 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
11.1190 + pdfdir=$ac_optarg ;;
11.1191 +
11.1192 + -psdir | --psdir | --psdi | --psd | --ps)
11.1193 + ac_prev=psdir ;;
11.1194 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
11.1195 + psdir=$ac_optarg ;;
11.1196 +
11.1197 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11.1198 + | -silent | --silent | --silen | --sile | --sil)
11.1199 + silent=yes ;;
11.1200 +
11.1201 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
11.1202 + ac_prev=sbindir ;;
11.1203 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11.1204 + | --sbi=* | --sb=*)
11.1205 + sbindir=$ac_optarg ;;
11.1206 +
11.1207 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
11.1208 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
11.1209 + | --sharedst | --shareds | --shared | --share | --shar \
11.1210 + | --sha | --sh)
11.1211 + ac_prev=sharedstatedir ;;
11.1212 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
11.1213 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
11.1214 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
11.1215 + | --sha=* | --sh=*)
11.1216 + sharedstatedir=$ac_optarg ;;
11.1217 +
11.1218 + -site | --site | --sit)
11.1219 + ac_prev=site ;;
11.1220 + -site=* | --site=* | --sit=*)
11.1221 + site=$ac_optarg ;;
11.1222 +
11.1223 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11.1224 + ac_prev=srcdir ;;
11.1225 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11.1226 + srcdir=$ac_optarg ;;
11.1227 +
11.1228 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
11.1229 + | --syscon | --sysco | --sysc | --sys | --sy)
11.1230 + ac_prev=sysconfdir ;;
11.1231 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
11.1232 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
11.1233 + sysconfdir=$ac_optarg ;;
11.1234 +
11.1235 + -target | --target | --targe | --targ | --tar | --ta | --t)
11.1236 + ac_prev=target_alias ;;
11.1237 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
11.1238 + target_alias=$ac_optarg ;;
11.1239 +
11.1240 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
11.1241 + verbose=yes ;;
11.1242 +
11.1243 + -version | --version | --versio | --versi | --vers | -V)
11.1244 + ac_init_version=: ;;
11.1245 +
11.1246 + -with-* | --with-*)
11.1247 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11.1248 + # Reject names that are not valid shell variable names.
11.1249 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11.1250 + { echo "$as_me: error: invalid package name: $ac_package" >&2
11.1251 + { (exit 1); exit 1; }; }
11.1252 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
11.1253 + eval with_$ac_package=\$ac_optarg ;;
11.1254 +
11.1255 + -without-* | --without-*)
11.1256 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11.1257 + # Reject names that are not valid shell variable names.
11.1258 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11.1259 + { echo "$as_me: error: invalid package name: $ac_package" >&2
11.1260 + { (exit 1); exit 1; }; }
11.1261 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
11.1262 + eval with_$ac_package=no ;;
11.1263 +
11.1264 + --x)
11.1265 + # Obsolete; use --with-x.
11.1266 + with_x=yes ;;
11.1267 +
11.1268 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11.1269 + | --x-incl | --x-inc | --x-in | --x-i)
11.1270 + ac_prev=x_includes ;;
11.1271 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11.1272 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11.1273 + x_includes=$ac_optarg ;;
11.1274 +
11.1275 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
11.1276 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11.1277 + ac_prev=x_libraries ;;
11.1278 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11.1279 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11.1280 + x_libraries=$ac_optarg ;;
11.1281 +
11.1282 + -*) { echo "$as_me: error: unrecognized option: $ac_option
11.1283 +Try \`$0 --help' for more information." >&2
11.1284 + { (exit 1); exit 1; }; }
11.1285 + ;;
11.1286 +
11.1287 + *=*)
11.1288 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11.1289 + # Reject names that are not valid shell variable names.
11.1290 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11.1291 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11.1292 + { (exit 1); exit 1; }; }
11.1293 + eval $ac_envvar=\$ac_optarg
11.1294 + export $ac_envvar ;;
11.1295 +
11.1296 + *)
11.1297 + # FIXME: should be removed in autoconf 3.0.
11.1298 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11.1299 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11.1300 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11.1301 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11.1302 + ;;
11.1303 +
11.1304 + esac
11.1305 +done
11.1306 +
11.1307 +if test -n "$ac_prev"; then
11.1308 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11.1309 + { echo "$as_me: error: missing argument to $ac_option" >&2
11.1310 + { (exit 1); exit 1; }; }
11.1311 +fi
11.1312 +
11.1313 +# Be sure to have absolute directory names.
11.1314 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11.1315 + datadir sysconfdir sharedstatedir localstatedir includedir \
11.1316 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11.1317 + libdir localedir mandir
11.1318 +do
11.1319 + eval ac_val=\$$ac_var
11.1320 + case $ac_val in
11.1321 + [\\/$]* | ?:[\\/]* ) continue;;
11.1322 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11.1323 + esac
11.1324 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
11.1325 + { (exit 1); exit 1; }; }
11.1326 +done
11.1327 +
11.1328 +# There might be people who depend on the old broken behavior: `$host'
11.1329 +# used to hold the argument of --host etc.
11.1330 +# FIXME: To remove some day.
11.1331 +build=$build_alias
11.1332 +host=$host_alias
11.1333 +target=$target_alias
11.1334 +
11.1335 +# FIXME: To remove some day.
11.1336 +if test "x$host_alias" != x; then
11.1337 + if test "x$build_alias" = x; then
11.1338 + cross_compiling=maybe
11.1339 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11.1340 + If a cross compiler is detected then cross compile mode will be used." >&2
11.1341 + elif test "x$build_alias" != "x$host_alias"; then
11.1342 + cross_compiling=yes
11.1343 + fi
11.1344 +fi
11.1345 +
11.1346 +ac_tool_prefix=
11.1347 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
11.1348 +
11.1349 +test "$silent" = yes && exec 6>/dev/null
11.1350 +
11.1351 +
11.1352 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
11.1353 +ac_ls_di=`ls -di .` &&
11.1354 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11.1355 + { echo "$as_me: error: Working directory cannot be determined" >&2
11.1356 + { (exit 1); exit 1; }; }
11.1357 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11.1358 + { echo "$as_me: error: pwd does not report name of working directory" >&2
11.1359 + { (exit 1); exit 1; }; }
11.1360 +
11.1361 +
11.1362 +# Find the source files, if location was not specified.
11.1363 +if test -z "$srcdir"; then
11.1364 + ac_srcdir_defaulted=yes
11.1365 + # Try the directory containing this script, then the parent directory.
11.1366 + ac_confdir=`$as_dirname -- "$0" ||
11.1367 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.1368 + X"$0" : 'X\(//\)[^/]' \| \
11.1369 + X"$0" : 'X\(//\)$' \| \
11.1370 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11.1371 +echo X"$0" |
11.1372 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.1373 + s//\1/
11.1374 + q
11.1375 + }
11.1376 + /^X\(\/\/\)[^/].*/{
11.1377 + s//\1/
11.1378 + q
11.1379 + }
11.1380 + /^X\(\/\/\)$/{
11.1381 + s//\1/
11.1382 + q
11.1383 + }
11.1384 + /^X\(\/\).*/{
11.1385 + s//\1/
11.1386 + q
11.1387 + }
11.1388 + s/.*/./; q'`
11.1389 + srcdir=$ac_confdir
11.1390 + if test ! -r "$srcdir/$ac_unique_file"; then
11.1391 + srcdir=..
11.1392 + fi
11.1393 +else
11.1394 + ac_srcdir_defaulted=no
11.1395 +fi
11.1396 +if test ! -r "$srcdir/$ac_unique_file"; then
11.1397 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
11.1398 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
11.1399 + { (exit 1); exit 1; }; }
11.1400 +fi
11.1401 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11.1402 +ac_abs_confdir=`(
11.1403 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
11.1404 + { (exit 1); exit 1; }; }
11.1405 + pwd)`
11.1406 +# When building in place, set srcdir=.
11.1407 +if test "$ac_abs_confdir" = "$ac_pwd"; then
11.1408 + srcdir=.
11.1409 +fi
11.1410 +# Remove unnecessary trailing slashes from srcdir.
11.1411 +# Double slashes in file names in object file debugging info
11.1412 +# mess up M-x gdb in Emacs.
11.1413 +case $srcdir in
11.1414 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
11.1415 +esac
11.1416 +for ac_var in $ac_precious_vars; do
11.1417 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
11.1418 + eval ac_env_${ac_var}_value=\$${ac_var}
11.1419 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
11.1420 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
11.1421 +done
11.1422 +
11.1423 +#
11.1424 +# Report the --help message.
11.1425 +#
11.1426 +if test "$ac_init_help" = "long"; then
11.1427 + # Omit some internal or obsolete options to make the list less imposing.
11.1428 + # This message is too long to be a string in the A/UX 3.1 sh.
11.1429 + cat <<_ACEOF
11.1430 +\`configure' configures this package to adapt to many kinds of systems.
11.1431 +
11.1432 +Usage: $0 [OPTION]... [VAR=VALUE]...
11.1433 +
11.1434 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
11.1435 +VAR=VALUE. See below for descriptions of some of the useful variables.
11.1436 +
11.1437 +Defaults for the options are specified in brackets.
11.1438 +
11.1439 +Configuration:
11.1440 + -h, --help display this help and exit
11.1441 + --help=short display options specific to this package
11.1442 + --help=recursive display the short help of all the included packages
11.1443 + -V, --version display version information and exit
11.1444 + -q, --quiet, --silent do not print \`checking...' messages
11.1445 + --cache-file=FILE cache test results in FILE [disabled]
11.1446 + -C, --config-cache alias for \`--cache-file=config.cache'
11.1447 + -n, --no-create do not create output files
11.1448 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
11.1449 +
11.1450 +Installation directories:
11.1451 + --prefix=PREFIX install architecture-independent files in PREFIX
11.1452 + [$ac_default_prefix]
11.1453 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
11.1454 + [PREFIX]
11.1455 +
11.1456 +By default, \`make install' will install all the files in
11.1457 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
11.1458 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
11.1459 +for instance \`--prefix=\$HOME'.
11.1460 +
11.1461 +For better control, use the options below.
11.1462 +
11.1463 +Fine tuning of the installation directories:
11.1464 + --bindir=DIR user executables [EPREFIX/bin]
11.1465 + --sbindir=DIR system admin executables [EPREFIX/sbin]
11.1466 + --libexecdir=DIR program executables [EPREFIX/libexec]
11.1467 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
11.1468 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
11.1469 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
11.1470 + --libdir=DIR object code libraries [EPREFIX/lib]
11.1471 + --includedir=DIR C header files [PREFIX/include]
11.1472 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
11.1473 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
11.1474 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
11.1475 + --infodir=DIR info documentation [DATAROOTDIR/info]
11.1476 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
11.1477 + --mandir=DIR man documentation [DATAROOTDIR/man]
11.1478 + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
11.1479 + --htmldir=DIR html documentation [DOCDIR]
11.1480 + --dvidir=DIR dvi documentation [DOCDIR]
11.1481 + --pdfdir=DIR pdf documentation [DOCDIR]
11.1482 + --psdir=DIR ps documentation [DOCDIR]
11.1483 +_ACEOF
11.1484 +
11.1485 + cat <<\_ACEOF
11.1486 +
11.1487 +Program names:
11.1488 + --program-prefix=PREFIX prepend PREFIX to installed program names
11.1489 + --program-suffix=SUFFIX append SUFFIX to installed program names
11.1490 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
11.1491 +
11.1492 +System types:
11.1493 + --build=BUILD configure for building on BUILD [guessed]
11.1494 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
11.1495 + --target=TARGET configure for building compilers for TARGET [HOST]
11.1496 +_ACEOF
11.1497 +fi
11.1498 +
11.1499 +if test -n "$ac_init_help"; then
11.1500 +
11.1501 + cat <<\_ACEOF
11.1502 +
11.1503 +Optional Features:
11.1504 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
11.1505 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
11.1506 + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
11.1507 + --enable-maintainer-mode enable make rules and dependencies not useful
11.1508 + (and sometimes confusing) to the casual installer
11.1509 + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
11.1510 + --enable-fast-install@<:@=PKGS@:>@
11.1511 + optimize for fast installation @<:@default=yes@:>@
11.1512 + --disable-dependency-tracking speeds up one-time build
11.1513 + --enable-dependency-tracking do not reject slow dependency extractors
11.1514 + --disable-libtool-lock avoid locking (might break parallel builds)
11.1515 +
11.1516 +Optional Packages:
11.1517 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
11.1518 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
11.1519 + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
11.1520 + --with-pic try to use only PIC/non-PIC objects @<:@default=use
11.1521 + both@:>@
11.1522 + --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
11.1523 +
11.1524 +Some influential environment variables:
11.1525 + CC C compiler command
11.1526 + CFLAGS C compiler flags
11.1527 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
11.1528 + nonstandard directory <lib dir>
11.1529 + LIBS libraries to pass to the linker, e.g. -l<library>
11.1530 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
11.1531 + you have headers in a nonstandard directory <include dir>
11.1532 + CPP C preprocessor
11.1533 + CXX C++ compiler command
11.1534 + CXXFLAGS C++ compiler flags
11.1535 + CXXCPP C++ preprocessor
11.1536 + F77 Fortran 77 compiler command
11.1537 + FFLAGS Fortran 77 compiler flags
11.1538 + CCAS assembler compiler command (defaults to CC)
11.1539 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
11.1540 + PKG_CONFIG path to pkg-config utility
11.1541 + GST_CFLAGS C compiler flags for GST, overriding pkg-config
11.1542 + GST_LIBS linker flags for GST, overriding pkg-config
11.1543 + GST_BASE_CFLAGS
11.1544 + C compiler flags for GST_BASE, overriding pkg-config
11.1545 + GST_BASE_LIBS
11.1546 + linker flags for GST_BASE, overriding pkg-config
11.1547 + GST_PLUGINS_BASE_CFLAGS
11.1548 + C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
11.1549 + GST_PLUGINS_BASE_LIBS
11.1550 + linker flags for GST_PLUGINS_BASE, overriding pkg-config
11.1551 +
11.1552 +Use these variables to override the choices made by `configure' or to help
11.1553 +it to find libraries and programs with nonstandard names/locations.
11.1554 +
11.1555 +_ACEOF
11.1556 +ac_status=$?
11.1557 +fi
11.1558 +
11.1559 +if test "$ac_init_help" = "recursive"; then
11.1560 + # If there are subdirs, report their specific --help.
11.1561 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
11.1562 + test -d "$ac_dir" || continue
11.1563 + ac_builddir=.
11.1564 +
11.1565 +case "$ac_dir" in
11.1566 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11.1567 +*)
11.1568 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11.1569 + # A ".." for each directory in $ac_dir_suffix.
11.1570 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11.1571 + case $ac_top_builddir_sub in
11.1572 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11.1573 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11.1574 + esac ;;
11.1575 +esac
11.1576 +ac_abs_top_builddir=$ac_pwd
11.1577 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11.1578 +# for backward compatibility:
11.1579 +ac_top_builddir=$ac_top_build_prefix
11.1580 +
11.1581 +case $srcdir in
11.1582 + .) # We are building in place.
11.1583 + ac_srcdir=.
11.1584 + ac_top_srcdir=$ac_top_builddir_sub
11.1585 + ac_abs_top_srcdir=$ac_pwd ;;
11.1586 + [\\/]* | ?:[\\/]* ) # Absolute name.
11.1587 + ac_srcdir=$srcdir$ac_dir_suffix;
11.1588 + ac_top_srcdir=$srcdir
11.1589 + ac_abs_top_srcdir=$srcdir ;;
11.1590 + *) # Relative name.
11.1591 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11.1592 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11.1593 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11.1594 +esac
11.1595 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11.1596 +
11.1597 + cd "$ac_dir" || { ac_status=$?; continue; }
11.1598 + # Check for guested configure.
11.1599 + if test -f "$ac_srcdir/configure.gnu"; then
11.1600 + echo &&
11.1601 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
11.1602 + elif test -f "$ac_srcdir/configure"; then
11.1603 + echo &&
11.1604 + $SHELL "$ac_srcdir/configure" --help=recursive
11.1605 + else
11.1606 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11.1607 + fi || ac_status=$?
11.1608 + cd "$ac_pwd" || { ac_status=$?; break; }
11.1609 + done
11.1610 +fi
11.1611 +
11.1612 +test -n "$ac_init_help" && exit $ac_status
11.1613 +if $ac_init_version; then
11.1614 + cat <<\_ACEOF
11.1615 +configure
11.1616 +generated by GNU Autoconf 2.61
11.1617 +
11.1618 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11.1619 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11.1620 +This configure script is free software; the Free Software Foundation
11.1621 +gives unlimited permission to copy, distribute and modify it.
11.1622 +_ACEOF
11.1623 + exit
11.1624 +fi
11.1625 +cat >config.log <<_ACEOF
11.1626 +This file contains any messages produced by compilers while
11.1627 +running configure, to aid debugging if configure makes a mistake.
11.1628 +
11.1629 +It was created by $as_me, which was
11.1630 +generated by GNU Autoconf 2.61. Invocation command line was
11.1631 +
11.1632 + $ $0 $@
11.1633 +
11.1634 +_ACEOF
11.1635 +exec 5>>config.log
11.1636 +{
11.1637 +cat <<_ASUNAME
11.1638 +@%:@@%:@ --------- @%:@@%:@
11.1639 +@%:@@%:@ Platform. @%:@@%:@
11.1640 +@%:@@%:@ --------- @%:@@%:@
11.1641 +
11.1642 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
11.1643 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
11.1644 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
11.1645 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
11.1646 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
11.1647 +
11.1648 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
11.1649 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
11.1650 +
11.1651 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
11.1652 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
11.1653 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11.1654 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
11.1655 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
11.1656 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
11.1657 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
11.1658 +
11.1659 +_ASUNAME
11.1660 +
11.1661 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.1662 +for as_dir in $PATH
11.1663 +do
11.1664 + IFS=$as_save_IFS
11.1665 + test -z "$as_dir" && as_dir=.
11.1666 + echo "PATH: $as_dir"
11.1667 +done
11.1668 +IFS=$as_save_IFS
11.1669 +
11.1670 +} >&5
11.1671 +
11.1672 +cat >&5 <<_ACEOF
11.1673 +
11.1674 +
11.1675 +@%:@@%:@ ----------- @%:@@%:@
11.1676 +@%:@@%:@ Core tests. @%:@@%:@
11.1677 +@%:@@%:@ ----------- @%:@@%:@
11.1678 +
11.1679 +_ACEOF
11.1680 +
11.1681 +
11.1682 +# Keep a trace of the command line.
11.1683 +# Strip out --no-create and --no-recursion so they do not pile up.
11.1684 +# Strip out --silent because we don't want to record it for future runs.
11.1685 +# Also quote any args containing shell meta-characters.
11.1686 +# Make two passes to allow for proper duplicate-argument suppression.
11.1687 +ac_configure_args=
11.1688 +ac_configure_args0=
11.1689 +ac_configure_args1=
11.1690 +ac_must_keep_next=false
11.1691 +for ac_pass in 1 2
11.1692 +do
11.1693 + for ac_arg
11.1694 + do
11.1695 + case $ac_arg in
11.1696 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
11.1697 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11.1698 + | -silent | --silent | --silen | --sile | --sil)
11.1699 + continue ;;
11.1700 + *\'*)
11.1701 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11.1702 + esac
11.1703 + case $ac_pass in
11.1704 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
11.1705 + 2)
11.1706 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
11.1707 + if test $ac_must_keep_next = true; then
11.1708 + ac_must_keep_next=false # Got value, back to normal.
11.1709 + else
11.1710 + case $ac_arg in
11.1711 + *=* | --config-cache | -C | -disable-* | --disable-* \
11.1712 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
11.1713 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
11.1714 + | -with-* | --with-* | -without-* | --without-* | --x)
11.1715 + case "$ac_configure_args0 " in
11.1716 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
11.1717 + esac
11.1718 + ;;
11.1719 + -* ) ac_must_keep_next=true ;;
11.1720 + esac
11.1721 + fi
11.1722 + ac_configure_args="$ac_configure_args '$ac_arg'"
11.1723 + ;;
11.1724 + esac
11.1725 + done
11.1726 +done
11.1727 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
11.1728 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
11.1729 +
11.1730 +# When interrupted or exit'd, cleanup temporary files, and complete
11.1731 +# config.log. We remove comments because anyway the quotes in there
11.1732 +# would cause problems or look ugly.
11.1733 +# WARNING: Use '\'' to represent an apostrophe within the trap.
11.1734 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
11.1735 +trap 'exit_status=$?
11.1736 + # Save into config.log some information that might help in debugging.
11.1737 + {
11.1738 + echo
11.1739 +
11.1740 + cat <<\_ASBOX
11.1741 +@%:@@%:@ ---------------- @%:@@%:@
11.1742 +@%:@@%:@ Cache variables. @%:@@%:@
11.1743 +@%:@@%:@ ---------------- @%:@@%:@
11.1744 +_ASBOX
11.1745 + echo
11.1746 + # The following way of writing the cache mishandles newlines in values,
11.1747 +(
11.1748 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
11.1749 + eval ac_val=\$$ac_var
11.1750 + case $ac_val in #(
11.1751 + *${as_nl}*)
11.1752 + case $ac_var in #(
11.1753 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11.1754 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11.1755 + esac
11.1756 + case $ac_var in #(
11.1757 + _ | IFS | as_nl) ;; #(
11.1758 + *) $as_unset $ac_var ;;
11.1759 + esac ;;
11.1760 + esac
11.1761 + done
11.1762 + (set) 2>&1 |
11.1763 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
11.1764 + *${as_nl}ac_space=\ *)
11.1765 + sed -n \
11.1766 + "s/'\''/'\''\\\\'\'''\''/g;
11.1767 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
11.1768 + ;; #(
11.1769 + *)
11.1770 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11.1771 + ;;
11.1772 + esac |
11.1773 + sort
11.1774 +)
11.1775 + echo
11.1776 +
11.1777 + cat <<\_ASBOX
11.1778 +@%:@@%:@ ----------------- @%:@@%:@
11.1779 +@%:@@%:@ Output variables. @%:@@%:@
11.1780 +@%:@@%:@ ----------------- @%:@@%:@
11.1781 +_ASBOX
11.1782 + echo
11.1783 + for ac_var in $ac_subst_vars
11.1784 + do
11.1785 + eval ac_val=\$$ac_var
11.1786 + case $ac_val in
11.1787 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11.1788 + esac
11.1789 + echo "$ac_var='\''$ac_val'\''"
11.1790 + done | sort
11.1791 + echo
11.1792 +
11.1793 + if test -n "$ac_subst_files"; then
11.1794 + cat <<\_ASBOX
11.1795 +@%:@@%:@ ------------------- @%:@@%:@
11.1796 +@%:@@%:@ File substitutions. @%:@@%:@
11.1797 +@%:@@%:@ ------------------- @%:@@%:@
11.1798 +_ASBOX
11.1799 + echo
11.1800 + for ac_var in $ac_subst_files
11.1801 + do
11.1802 + eval ac_val=\$$ac_var
11.1803 + case $ac_val in
11.1804 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11.1805 + esac
11.1806 + echo "$ac_var='\''$ac_val'\''"
11.1807 + done | sort
11.1808 + echo
11.1809 + fi
11.1810 +
11.1811 + if test -s confdefs.h; then
11.1812 + cat <<\_ASBOX
11.1813 +@%:@@%:@ ----------- @%:@@%:@
11.1814 +@%:@@%:@ confdefs.h. @%:@@%:@
11.1815 +@%:@@%:@ ----------- @%:@@%:@
11.1816 +_ASBOX
11.1817 + echo
11.1818 + cat confdefs.h
11.1819 + echo
11.1820 + fi
11.1821 + test "$ac_signal" != 0 &&
11.1822 + echo "$as_me: caught signal $ac_signal"
11.1823 + echo "$as_me: exit $exit_status"
11.1824 + } >&5
11.1825 + rm -f core *.core core.conftest.* &&
11.1826 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11.1827 + exit $exit_status
11.1828 +' 0
11.1829 +for ac_signal in 1 2 13 15; do
11.1830 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11.1831 +done
11.1832 +ac_signal=0
11.1833 +
11.1834 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
11.1835 +rm -f -r conftest* confdefs.h
11.1836 +
11.1837 +# Predefined preprocessor variables.
11.1838 +
11.1839 +cat >>confdefs.h <<_ACEOF
11.1840 +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
11.1841 +_ACEOF
11.1842 +
11.1843 +
11.1844 +cat >>confdefs.h <<_ACEOF
11.1845 +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11.1846 +_ACEOF
11.1847 +
11.1848 +
11.1849 +cat >>confdefs.h <<_ACEOF
11.1850 +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
11.1851 +_ACEOF
11.1852 +
11.1853 +
11.1854 +cat >>confdefs.h <<_ACEOF
11.1855 +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
11.1856 +_ACEOF
11.1857 +
11.1858 +
11.1859 +cat >>confdefs.h <<_ACEOF
11.1860 +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11.1861 +_ACEOF
11.1862 +
11.1863 +
11.1864 +# Let the site file select an alternate cache file if it wants to.
11.1865 +# Prefer explicitly selected file to automatically selected ones.
11.1866 +if test -n "$CONFIG_SITE"; then
11.1867 + set x "$CONFIG_SITE"
11.1868 +elif test "x$prefix" != xNONE; then
11.1869 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
11.1870 +else
11.1871 + set x "$ac_default_prefix/share/config.site" \
11.1872 + "$ac_default_prefix/etc/config.site"
11.1873 +fi
11.1874 +shift
11.1875 +for ac_site_file
11.1876 +do
11.1877 + if test -r "$ac_site_file"; then
11.1878 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11.1879 +echo "$as_me: loading site script $ac_site_file" >&6;}
11.1880 + sed 's/^/| /' "$ac_site_file" >&5
11.1881 + . "$ac_site_file"
11.1882 + fi
11.1883 +done
11.1884 +
11.1885 +if test -r "$cache_file"; then
11.1886 + # Some versions of bash will fail to source /dev/null (special
11.1887 + # files actually), so we avoid doing that.
11.1888 + if test -f "$cache_file"; then
11.1889 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11.1890 +echo "$as_me: loading cache $cache_file" >&6;}
11.1891 + case $cache_file in
11.1892 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
11.1893 + *) . "./$cache_file";;
11.1894 + esac
11.1895 + fi
11.1896 +else
11.1897 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
11.1898 +echo "$as_me: creating cache $cache_file" >&6;}
11.1899 + >$cache_file
11.1900 +fi
11.1901 +
11.1902 +# Check that the precious variables saved in the cache have kept the same
11.1903 +# value.
11.1904 +ac_cache_corrupted=false
11.1905 +for ac_var in $ac_precious_vars; do
11.1906 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
11.1907 + eval ac_new_set=\$ac_env_${ac_var}_set
11.1908 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
11.1909 + eval ac_new_val=\$ac_env_${ac_var}_value
11.1910 + case $ac_old_set,$ac_new_set in
11.1911 + set,)
11.1912 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11.1913 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11.1914 + ac_cache_corrupted=: ;;
11.1915 + ,set)
11.1916 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11.1917 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11.1918 + ac_cache_corrupted=: ;;
11.1919 + ,);;
11.1920 + *)
11.1921 + if test "x$ac_old_val" != "x$ac_new_val"; then
11.1922 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11.1923 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11.1924 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
11.1925 +echo "$as_me: former value: $ac_old_val" >&2;}
11.1926 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
11.1927 +echo "$as_me: current value: $ac_new_val" >&2;}
11.1928 + ac_cache_corrupted=:
11.1929 + fi;;
11.1930 + esac
11.1931 + # Pass precious variables to config.status.
11.1932 + if test "$ac_new_set" = set; then
11.1933 + case $ac_new_val in
11.1934 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11.1935 + *) ac_arg=$ac_var=$ac_new_val ;;
11.1936 + esac
11.1937 + case " $ac_configure_args " in
11.1938 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
11.1939 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
11.1940 + esac
11.1941 + fi
11.1942 +done
11.1943 +if $ac_cache_corrupted; then
11.1944 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11.1945 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11.1946 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11.1947 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11.1948 + { (exit 1); exit 1; }; }
11.1949 +fi
11.1950 +
11.1951 +
11.1952 +
11.1953 +
11.1954 +
11.1955 +
11.1956 +
11.1957 +
11.1958 +
11.1959 +
11.1960 +
11.1961 +
11.1962 +
11.1963 +
11.1964 +
11.1965 +
11.1966 +
11.1967 +ac_ext=c
11.1968 +ac_cpp='$CPP $CPPFLAGS'
11.1969 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.1970 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.1971 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.1972 +
11.1973 +
11.1974 +ac_aux_dir=
11.1975 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
11.1976 + if test -f "$ac_dir/install-sh"; then
11.1977 + ac_aux_dir=$ac_dir
11.1978 + ac_install_sh="$ac_aux_dir/install-sh -c"
11.1979 + break
11.1980 + elif test -f "$ac_dir/install.sh"; then
11.1981 + ac_aux_dir=$ac_dir
11.1982 + ac_install_sh="$ac_aux_dir/install.sh -c"
11.1983 + break
11.1984 + elif test -f "$ac_dir/shtool"; then
11.1985 + ac_aux_dir=$ac_dir
11.1986 + ac_install_sh="$ac_aux_dir/shtool install -c"
11.1987 + break
11.1988 + fi
11.1989 +done
11.1990 +if test -z "$ac_aux_dir"; then
11.1991 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
11.1992 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
11.1993 + { (exit 1); exit 1; }; }
11.1994 +fi
11.1995 +
11.1996 +# These three variables are undocumented and unsupported,
11.1997 +# and are intended to be withdrawn in a future Autoconf release.
11.1998 +# They can cause serious problems if a builder's source tree is in a directory
11.1999 +# whose full name contains unusual characters.
11.2000 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11.2001 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11.2002 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11.2003 +
11.2004 +
11.2005 +# Make sure we can run config.sub.
11.2006 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11.2007 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
11.2008 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
11.2009 + { (exit 1); exit 1; }; }
11.2010 +
11.2011 +{ echo "$as_me:$LINENO: checking build system type" >&5
11.2012 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
11.2013 +if test "${ac_cv_build+set}" = set; then
11.2014 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2015 +else
11.2016 + ac_build_alias=$build_alias
11.2017 +test "x$ac_build_alias" = x &&
11.2018 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11.2019 +test "x$ac_build_alias" = x &&
11.2020 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11.2021 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11.2022 + { (exit 1); exit 1; }; }
11.2023 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11.2024 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
11.2025 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
11.2026 + { (exit 1); exit 1; }; }
11.2027 +
11.2028 +fi
11.2029 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11.2030 +echo "${ECHO_T}$ac_cv_build" >&6; }
11.2031 +case $ac_cv_build in
11.2032 +*-*-*) ;;
11.2033 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
11.2034 +echo "$as_me: error: invalid value of canonical build" >&2;}
11.2035 + { (exit 1); exit 1; }; };;
11.2036 +esac
11.2037 +build=$ac_cv_build
11.2038 +ac_save_IFS=$IFS; IFS='-'
11.2039 +set x $ac_cv_build
11.2040 +shift
11.2041 +build_cpu=$1
11.2042 +build_vendor=$2
11.2043 +shift; shift
11.2044 +# Remember, the first character of IFS is used to create $*,
11.2045 +# except with old shells:
11.2046 +build_os=$*
11.2047 +IFS=$ac_save_IFS
11.2048 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11.2049 +
11.2050 +
11.2051 +{ echo "$as_me:$LINENO: checking host system type" >&5
11.2052 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
11.2053 +if test "${ac_cv_host+set}" = set; then
11.2054 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2055 +else
11.2056 + if test "x$host_alias" = x; then
11.2057 + ac_cv_host=$ac_cv_build
11.2058 +else
11.2059 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11.2060 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11.2061 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11.2062 + { (exit 1); exit 1; }; }
11.2063 +fi
11.2064 +
11.2065 +fi
11.2066 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11.2067 +echo "${ECHO_T}$ac_cv_host" >&6; }
11.2068 +case $ac_cv_host in
11.2069 +*-*-*) ;;
11.2070 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11.2071 +echo "$as_me: error: invalid value of canonical host" >&2;}
11.2072 + { (exit 1); exit 1; }; };;
11.2073 +esac
11.2074 +host=$ac_cv_host
11.2075 +ac_save_IFS=$IFS; IFS='-'
11.2076 +set x $ac_cv_host
11.2077 +shift
11.2078 +host_cpu=$1
11.2079 +host_vendor=$2
11.2080 +shift; shift
11.2081 +# Remember, the first character of IFS is used to create $*,
11.2082 +# except with old shells:
11.2083 +host_os=$*
11.2084 +IFS=$ac_save_IFS
11.2085 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11.2086 +
11.2087 +
11.2088 +{ echo "$as_me:$LINENO: checking target system type" >&5
11.2089 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
11.2090 +if test "${ac_cv_target+set}" = set; then
11.2091 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2092 +else
11.2093 + if test "x$target_alias" = x; then
11.2094 + ac_cv_target=$ac_cv_host
11.2095 +else
11.2096 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
11.2097 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
11.2098 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
11.2099 + { (exit 1); exit 1; }; }
11.2100 +fi
11.2101 +
11.2102 +fi
11.2103 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11.2104 +echo "${ECHO_T}$ac_cv_target" >&6; }
11.2105 +case $ac_cv_target in
11.2106 +*-*-*) ;;
11.2107 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
11.2108 +echo "$as_me: error: invalid value of canonical target" >&2;}
11.2109 + { (exit 1); exit 1; }; };;
11.2110 +esac
11.2111 +target=$ac_cv_target
11.2112 +ac_save_IFS=$IFS; IFS='-'
11.2113 +set x $ac_cv_target
11.2114 +shift
11.2115 +target_cpu=$1
11.2116 +target_vendor=$2
11.2117 +shift; shift
11.2118 +# Remember, the first character of IFS is used to create $*,
11.2119 +# except with old shells:
11.2120 +target_os=$*
11.2121 +IFS=$ac_save_IFS
11.2122 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
11.2123 +
11.2124 +
11.2125 +# The aliases save the names the user supplied, while $host etc.
11.2126 +# will get canonicalized.
11.2127 +test -n "$target_alias" &&
11.2128 + test "$program_prefix$program_suffix$program_transform_name" = \
11.2129 + NONENONEs,x,x, &&
11.2130 + program_prefix=${target_alias}-
11.2131 +
11.2132 +
11.2133 +# Check whether --enable-static was given.
11.2134 +if test "${enable_static+set}" = set; then
11.2135 + enableval=$enable_static; p=${PACKAGE-default}
11.2136 + case $enableval in
11.2137 + yes) enable_static=yes ;;
11.2138 + no) enable_static=no ;;
11.2139 + *)
11.2140 + enable_static=no
11.2141 + # Look at the argument we got. We use all the common list separators.
11.2142 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11.2143 + for pkg in $enableval; do
11.2144 + IFS="$lt_save_ifs"
11.2145 + if test "X$pkg" = "X$p"; then
11.2146 + enable_static=yes
11.2147 + fi
11.2148 + done
11.2149 + IFS="$lt_save_ifs"
11.2150 + ;;
11.2151 + esac
11.2152 +else
11.2153 + enable_static=no
11.2154 +fi
11.2155 +
11.2156 +
11.2157 +
11.2158 +
11.2159 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11.2160 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
11.2161 + # Check whether --enable-maintainer-mode was given.
11.2162 +if test "${enable_maintainer_mode+set}" = set; then
11.2163 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11.2164 +else
11.2165 + USE_MAINTAINER_MODE=no
11.2166 +fi
11.2167 +
11.2168 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11.2169 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
11.2170 +
11.2171 +
11.2172 +if test $USE_MAINTAINER_MODE = yes; then
11.2173 + MAINTAINER_MODE_TRUE=
11.2174 + MAINTAINER_MODE_FALSE='#'
11.2175 +else
11.2176 + MAINTAINER_MODE_TRUE='#'
11.2177 + MAINTAINER_MODE_FALSE=
11.2178 +fi
11.2179 +
11.2180 + MAINT=$MAINTAINER_MODE_TRUE
11.2181 +
11.2182 +
11.2183 +
11.2184 +
11.2185 + PACKAGE=gst-indt-plugins
11.2186 + GST_PLUGINS_VERSION_MAJOR=0
11.2187 + GST_PLUGINS_VERSION_MINOR=10
11.2188 + GST_PLUGINS_VERSION_MICRO=0
11.2189 + NANO=1
11.2190 + GST_PLUGINS_VERSION_NANO=$NANO
11.2191 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
11.2192 + then
11.2193 + { echo "$as_me:$LINENO: configuring gst-indt-plugins for release" >&5
11.2194 +echo "$as_me: configuring gst-indt-plugins for release" >&6;}
11.2195 + VERSION=0.10.0
11.2196 + GST_PLUGINS_VERSION_RELEASE=1
11.2197 + GST_CVS="no"
11.2198 + else
11.2199 + { echo "$as_me:$LINENO: configuring gst-indt-plugins for development with nano $NANO" >&5
11.2200 +echo "$as_me: configuring gst-indt-plugins for development with nano $NANO" >&6;}
11.2201 + VERSION=0.10.0.$NANO
11.2202 + GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
11.2203 + GST_CVS="yes"
11.2204 + fi
11.2205 +
11.2206 + GST_PLUGINS_VERSION=$VERSION
11.2207 +
11.2208 +cat >>confdefs.h <<_ACEOF
11.2209 +@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
11.2210 +_ACEOF
11.2211 +
11.2212 +
11.2213 +
11.2214 +cat >>confdefs.h <<_ACEOF
11.2215 +@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
11.2216 +_ACEOF
11.2217 +
11.2218 +
11.2219 +
11.2220 +
11.2221 +
11.2222 +
11.2223 +
11.2224 +
11.2225 +cat >>confdefs.h <<_ACEOF
11.2226 +@%:@define PACKAGE "$PACKAGE"
11.2227 +_ACEOF
11.2228 +
11.2229 +
11.2230 +
11.2231 +cat >>confdefs.h <<_ACEOF
11.2232 +@%:@define VERSION "$VERSION"
11.2233 +_ACEOF
11.2234 +
11.2235 +
11.2236 +
11.2237 +
11.2238 +am__api_version="1.9"
11.2239 +# Find a good install program. We prefer a C program (faster),
11.2240 +# so one script is as good as another. But avoid the broken or
11.2241 +# incompatible versions:
11.2242 +# SysV /etc/install, /usr/sbin/install
11.2243 +# SunOS /usr/etc/install
11.2244 +# IRIX /sbin/install
11.2245 +# AIX /bin/install
11.2246 +# AmigaOS /C/install, which installs bootblocks on floppy discs
11.2247 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11.2248 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11.2249 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11.2250 +# OS/2's system install, which has a completely different semantic
11.2251 +# ./install, which can be erroneously created by make from ./install.sh.
11.2252 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11.2253 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
11.2254 +if test -z "$INSTALL"; then
11.2255 +if test "${ac_cv_path_install+set}" = set; then
11.2256 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2257 +else
11.2258 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2259 +for as_dir in $PATH
11.2260 +do
11.2261 + IFS=$as_save_IFS
11.2262 + test -z "$as_dir" && as_dir=.
11.2263 + # Account for people who put trailing slashes in PATH elements.
11.2264 +case $as_dir/ in
11.2265 + ./ | .// | /cC/* | \
11.2266 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11.2267 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11.2268 + /usr/ucb/* ) ;;
11.2269 + *)
11.2270 + # OSF1 and SCO ODT 3.0 have their own names for install.
11.2271 + # Don't use installbsd from OSF since it installs stuff as root
11.2272 + # by default.
11.2273 + for ac_prog in ginstall scoinst install; do
11.2274 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2275 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11.2276 + if test $ac_prog = install &&
11.2277 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11.2278 + # AIX install. It has an incompatible calling convention.
11.2279 + :
11.2280 + elif test $ac_prog = install &&
11.2281 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11.2282 + # program-specific install script used by HP pwplus--don't use.
11.2283 + :
11.2284 + else
11.2285 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11.2286 + break 3
11.2287 + fi
11.2288 + fi
11.2289 + done
11.2290 + done
11.2291 + ;;
11.2292 +esac
11.2293 +done
11.2294 +IFS=$as_save_IFS
11.2295 +
11.2296 +
11.2297 +fi
11.2298 + if test "${ac_cv_path_install+set}" = set; then
11.2299 + INSTALL=$ac_cv_path_install
11.2300 + else
11.2301 + # As a last resort, use the slow shell script. Don't cache a
11.2302 + # value for INSTALL within a source directory, because that will
11.2303 + # break other packages using the cache if that directory is
11.2304 + # removed, or if the value is a relative name.
11.2305 + INSTALL=$ac_install_sh
11.2306 + fi
11.2307 +fi
11.2308 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
11.2309 +echo "${ECHO_T}$INSTALL" >&6; }
11.2310 +
11.2311 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11.2312 +# It thinks the first close brace ends the variable substitution.
11.2313 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11.2314 +
11.2315 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11.2316 +
11.2317 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11.2318 +
11.2319 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11.2320 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
11.2321 +# Just in case
11.2322 +sleep 1
11.2323 +echo timestamp > conftest.file
11.2324 +# Do `set' in a subshell so we don't clobber the current shell's
11.2325 +# arguments. Must try -L first in case configure is actually a
11.2326 +# symlink; some systems play weird games with the mod time of symlinks
11.2327 +# (eg FreeBSD returns the mod time of the symlink's containing
11.2328 +# directory).
11.2329 +if (
11.2330 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
11.2331 + if test "$*" = "X"; then
11.2332 + # -L didn't work.
11.2333 + set X `ls -t $srcdir/configure conftest.file`
11.2334 + fi
11.2335 + rm -f conftest.file
11.2336 + if test "$*" != "X $srcdir/configure conftest.file" \
11.2337 + && test "$*" != "X conftest.file $srcdir/configure"; then
11.2338 +
11.2339 + # If neither matched, then we have a broken ls. This can happen
11.2340 + # if, for instance, CONFIG_SHELL is bash and it inherits a
11.2341 + # broken ls alias from the environment. This has actually
11.2342 + # happened. Such a system could not be considered "sane".
11.2343 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11.2344 +alias in your environment" >&5
11.2345 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11.2346 +alias in your environment" >&2;}
11.2347 + { (exit 1); exit 1; }; }
11.2348 + fi
11.2349 +
11.2350 + test "$2" = conftest.file
11.2351 + )
11.2352 +then
11.2353 + # Ok.
11.2354 + :
11.2355 +else
11.2356 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11.2357 +Check your system clock" >&5
11.2358 +echo "$as_me: error: newly created file is older than distributed files!
11.2359 +Check your system clock" >&2;}
11.2360 + { (exit 1); exit 1; }; }
11.2361 +fi
11.2362 +{ echo "$as_me:$LINENO: result: yes" >&5
11.2363 +echo "${ECHO_T}yes" >&6; }
11.2364 +test "$program_prefix" != NONE &&
11.2365 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
11.2366 +# Use a double $ so make ignores it.
11.2367 +test "$program_suffix" != NONE &&
11.2368 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
11.2369 +# Double any \ or $. echo might interpret backslashes.
11.2370 +# By default was `s,x,x', remove it if useless.
11.2371 +cat <<\_ACEOF >conftest.sed
11.2372 +s/[\\$]/&&/g;s/;s,x,x,$//
11.2373 +_ACEOF
11.2374 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11.2375 +rm -f conftest.sed
11.2376 +
11.2377 +# expand $ac_aux_dir to an absolute path
11.2378 +am_aux_dir=`cd $ac_aux_dir && pwd`
11.2379 +
11.2380 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
11.2381 +# Use eval to expand $SHELL
11.2382 +if eval "$MISSING --run true"; then
11.2383 + am_missing_run="$MISSING --run "
11.2384 +else
11.2385 + am_missing_run=
11.2386 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11.2387 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11.2388 +fi
11.2389 +
11.2390 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
11.2391 + # We used to keeping the `.' as first argument, in order to
11.2392 + # allow $(mkdir_p) to be used without argument. As in
11.2393 + # $(mkdir_p) $(somedir)
11.2394 + # where $(somedir) is conditionally defined. However this is wrong
11.2395 + # for two reasons:
11.2396 + # 1. if the package is installed by a user who cannot write `.'
11.2397 + # make install will fail,
11.2398 + # 2. the above comment should most certainly read
11.2399 + # $(mkdir_p) $(DESTDIR)$(somedir)
11.2400 + # so it does not work when $(somedir) is undefined and
11.2401 + # $(DESTDIR) is not.
11.2402 + # To support the latter case, we have to write
11.2403 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
11.2404 + # so the `.' trick is pointless.
11.2405 + mkdir_p='mkdir -p --'
11.2406 +else
11.2407 + # On NextStep and OpenStep, the `mkdir' command does not
11.2408 + # recognize any option. It will interpret all options as
11.2409 + # directories to create, and then abort because `.' already
11.2410 + # exists.
11.2411 + for d in ./-p ./--version;
11.2412 + do
11.2413 + test -d $d && rmdir $d
11.2414 + done
11.2415 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
11.2416 + if test -f "$ac_aux_dir/mkinstalldirs"; then
11.2417 + mkdir_p='$(mkinstalldirs)'
11.2418 + else
11.2419 + mkdir_p='$(install_sh) -d'
11.2420 + fi
11.2421 +fi
11.2422 +
11.2423 +for ac_prog in gawk mawk nawk awk
11.2424 +do
11.2425 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11.2426 +set dummy $ac_prog; ac_word=$2
11.2427 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2428 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2429 +if test "${ac_cv_prog_AWK+set}" = set; then
11.2430 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2431 +else
11.2432 + if test -n "$AWK"; then
11.2433 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
11.2434 +else
11.2435 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2436 +for as_dir in $PATH
11.2437 +do
11.2438 + IFS=$as_save_IFS
11.2439 + test -z "$as_dir" && as_dir=.
11.2440 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2441 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2442 + ac_cv_prog_AWK="$ac_prog"
11.2443 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2444 + break 2
11.2445 + fi
11.2446 +done
11.2447 +done
11.2448 +IFS=$as_save_IFS
11.2449 +
11.2450 +fi
11.2451 +fi
11.2452 +AWK=$ac_cv_prog_AWK
11.2453 +if test -n "$AWK"; then
11.2454 + { echo "$as_me:$LINENO: result: $AWK" >&5
11.2455 +echo "${ECHO_T}$AWK" >&6; }
11.2456 +else
11.2457 + { echo "$as_me:$LINENO: result: no" >&5
11.2458 +echo "${ECHO_T}no" >&6; }
11.2459 +fi
11.2460 +
11.2461 +
11.2462 + test -n "$AWK" && break
11.2463 +done
11.2464 +
11.2465 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11.2466 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
11.2467 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11.2468 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
11.2469 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2470 +else
11.2471 + cat >conftest.make <<\_ACEOF
11.2472 +SHELL = /bin/sh
11.2473 +all:
11.2474 + @echo '@@@%%%=$(MAKE)=@@@%%%'
11.2475 +_ACEOF
11.2476 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11.2477 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
11.2478 + *@@@%%%=?*=@@@%%%*)
11.2479 + eval ac_cv_prog_make_${ac_make}_set=yes;;
11.2480 + *)
11.2481 + eval ac_cv_prog_make_${ac_make}_set=no;;
11.2482 +esac
11.2483 +rm -f conftest.make
11.2484 +fi
11.2485 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11.2486 + { echo "$as_me:$LINENO: result: yes" >&5
11.2487 +echo "${ECHO_T}yes" >&6; }
11.2488 + SET_MAKE=
11.2489 +else
11.2490 + { echo "$as_me:$LINENO: result: no" >&5
11.2491 +echo "${ECHO_T}no" >&6; }
11.2492 + SET_MAKE="MAKE=${MAKE-make}"
11.2493 +fi
11.2494 +
11.2495 +rm -rf .tst 2>/dev/null
11.2496 +mkdir .tst 2>/dev/null
11.2497 +if test -d .tst; then
11.2498 + am__leading_dot=.
11.2499 +else
11.2500 + am__leading_dot=_
11.2501 +fi
11.2502 +rmdir .tst 2>/dev/null
11.2503 +
11.2504 +# test to see if srcdir already configured
11.2505 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
11.2506 + test -f $srcdir/config.status; then
11.2507 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
11.2508 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
11.2509 + { (exit 1); exit 1; }; }
11.2510 +fi
11.2511 +
11.2512 +# test whether we have cygpath
11.2513 +if test -z "$CYGPATH_W"; then
11.2514 + if (cygpath --version) >/dev/null 2>/dev/null; then
11.2515 + CYGPATH_W='cygpath -w'
11.2516 + else
11.2517 + CYGPATH_W=echo
11.2518 + fi
11.2519 +fi
11.2520 +
11.2521 +
11.2522 +# Define the identity of the package.
11.2523 + PACKAGE=$PACKAGE
11.2524 + VERSION=$VERSION
11.2525 +
11.2526 +
11.2527 +cat >>confdefs.h <<_ACEOF
11.2528 +@%:@define PACKAGE "$PACKAGE"
11.2529 +_ACEOF
11.2530 +
11.2531 +
11.2532 +cat >>confdefs.h <<_ACEOF
11.2533 +@%:@define VERSION "$VERSION"
11.2534 +_ACEOF
11.2535 +
11.2536 +# Some tools Automake needs.
11.2537 +
11.2538 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
11.2539 +
11.2540 +
11.2541 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
11.2542 +
11.2543 +
11.2544 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
11.2545 +
11.2546 +
11.2547 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
11.2548 +
11.2549 +
11.2550 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
11.2551 +
11.2552 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
11.2553 +
11.2554 +# Installed binaries are usually stripped using `strip' when the user
11.2555 +# run `make install-strip'. However `strip' might not be the right
11.2556 +# tool to use in cross-compilation environments, therefore Automake
11.2557 +# will honor the `STRIP' environment variable to overrule this program.
11.2558 +if test "$cross_compiling" != no; then
11.2559 + if test -n "$ac_tool_prefix"; then
11.2560 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11.2561 +set dummy ${ac_tool_prefix}strip; ac_word=$2
11.2562 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2563 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2564 +if test "${ac_cv_prog_STRIP+set}" = set; then
11.2565 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2566 +else
11.2567 + if test -n "$STRIP"; then
11.2568 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11.2569 +else
11.2570 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2571 +for as_dir in $PATH
11.2572 +do
11.2573 + IFS=$as_save_IFS
11.2574 + test -z "$as_dir" && as_dir=.
11.2575 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2576 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2577 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11.2578 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2579 + break 2
11.2580 + fi
11.2581 +done
11.2582 +done
11.2583 +IFS=$as_save_IFS
11.2584 +
11.2585 +fi
11.2586 +fi
11.2587 +STRIP=$ac_cv_prog_STRIP
11.2588 +if test -n "$STRIP"; then
11.2589 + { echo "$as_me:$LINENO: result: $STRIP" >&5
11.2590 +echo "${ECHO_T}$STRIP" >&6; }
11.2591 +else
11.2592 + { echo "$as_me:$LINENO: result: no" >&5
11.2593 +echo "${ECHO_T}no" >&6; }
11.2594 +fi
11.2595 +
11.2596 +
11.2597 +fi
11.2598 +if test -z "$ac_cv_prog_STRIP"; then
11.2599 + ac_ct_STRIP=$STRIP
11.2600 + # Extract the first word of "strip", so it can be a program name with args.
11.2601 +set dummy strip; ac_word=$2
11.2602 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2603 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2604 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11.2605 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2606 +else
11.2607 + if test -n "$ac_ct_STRIP"; then
11.2608 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11.2609 +else
11.2610 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2611 +for as_dir in $PATH
11.2612 +do
11.2613 + IFS=$as_save_IFS
11.2614 + test -z "$as_dir" && as_dir=.
11.2615 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2616 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2617 + ac_cv_prog_ac_ct_STRIP="strip"
11.2618 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2619 + break 2
11.2620 + fi
11.2621 +done
11.2622 +done
11.2623 +IFS=$as_save_IFS
11.2624 +
11.2625 +fi
11.2626 +fi
11.2627 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11.2628 +if test -n "$ac_ct_STRIP"; then
11.2629 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11.2630 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
11.2631 +else
11.2632 + { echo "$as_me:$LINENO: result: no" >&5
11.2633 +echo "${ECHO_T}no" >&6; }
11.2634 +fi
11.2635 +
11.2636 + if test "x$ac_ct_STRIP" = x; then
11.2637 + STRIP=":"
11.2638 + else
11.2639 + case $cross_compiling:$ac_tool_warned in
11.2640 +yes:)
11.2641 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.2642 +whose name does not start with the host triplet. If you think this
11.2643 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.2644 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.2645 +whose name does not start with the host triplet. If you think this
11.2646 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.2647 +ac_tool_warned=yes ;;
11.2648 +esac
11.2649 + STRIP=$ac_ct_STRIP
11.2650 + fi
11.2651 +else
11.2652 + STRIP="$ac_cv_prog_STRIP"
11.2653 +fi
11.2654 +
11.2655 +fi
11.2656 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
11.2657 +
11.2658 +# We need awk for the "check" target. The system "awk" is bad on
11.2659 +# some platforms.
11.2660 +# Always define AMTAR for backward compatibility.
11.2661 +
11.2662 +AMTAR=${AMTAR-"${am_missing_run}tar"}
11.2663 +
11.2664 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
11.2665 +
11.2666 +
11.2667 +
11.2668 +
11.2669 +
11.2670 +
11.2671 +# Check whether --enable-shared was given.
11.2672 +if test "${enable_shared+set}" = set; then
11.2673 + enableval=$enable_shared; p=${PACKAGE-default}
11.2674 + case $enableval in
11.2675 + yes) enable_shared=yes ;;
11.2676 + no) enable_shared=no ;;
11.2677 + *)
11.2678 + enable_shared=no
11.2679 + # Look at the argument we got. We use all the common list separators.
11.2680 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11.2681 + for pkg in $enableval; do
11.2682 + IFS="$lt_save_ifs"
11.2683 + if test "X$pkg" = "X$p"; then
11.2684 + enable_shared=yes
11.2685 + fi
11.2686 + done
11.2687 + IFS="$lt_save_ifs"
11.2688 + ;;
11.2689 + esac
11.2690 +else
11.2691 + enable_shared=yes
11.2692 +fi
11.2693 +
11.2694 +
11.2695 +# Check whether --enable-fast-install was given.
11.2696 +if test "${enable_fast_install+set}" = set; then
11.2697 + enableval=$enable_fast_install; p=${PACKAGE-default}
11.2698 + case $enableval in
11.2699 + yes) enable_fast_install=yes ;;
11.2700 + no) enable_fast_install=no ;;
11.2701 + *)
11.2702 + enable_fast_install=no
11.2703 + # Look at the argument we got. We use all the common list separators.
11.2704 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11.2705 + for pkg in $enableval; do
11.2706 + IFS="$lt_save_ifs"
11.2707 + if test "X$pkg" = "X$p"; then
11.2708 + enable_fast_install=yes
11.2709 + fi
11.2710 + done
11.2711 + IFS="$lt_save_ifs"
11.2712 + ;;
11.2713 + esac
11.2714 +else
11.2715 + enable_fast_install=yes
11.2716 +fi
11.2717 +
11.2718 +
11.2719 +DEPDIR="${am__leading_dot}deps"
11.2720 +
11.2721 +ac_config_commands="$ac_config_commands depfiles"
11.2722 +
11.2723 +
11.2724 +am_make=${MAKE-make}
11.2725 +cat > confinc << 'END'
11.2726 +am__doit:
11.2727 + @echo done
11.2728 +.PHONY: am__doit
11.2729 +END
11.2730 +# If we don't find an include directive, just comment out the code.
11.2731 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
11.2732 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
11.2733 +am__include="#"
11.2734 +am__quote=
11.2735 +_am_result=none
11.2736 +# First try GNU make style include.
11.2737 +echo "include confinc" > confmf
11.2738 +# We grep out `Entering directory' and `Leaving directory'
11.2739 +# messages which can occur if `w' ends up in MAKEFLAGS.
11.2740 +# In particular we don't look at `^make:' because GNU make might
11.2741 +# be invoked under some other name (usually "gmake"), in which
11.2742 +# case it prints its new name instead of `make'.
11.2743 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
11.2744 + am__include=include
11.2745 + am__quote=
11.2746 + _am_result=GNU
11.2747 +fi
11.2748 +# Now try BSD make style include.
11.2749 +if test "$am__include" = "#"; then
11.2750 + echo '.include "confinc"' > confmf
11.2751 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
11.2752 + am__include=.include
11.2753 + am__quote="\""
11.2754 + _am_result=BSD
11.2755 + fi
11.2756 +fi
11.2757 +
11.2758 +
11.2759 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
11.2760 +echo "${ECHO_T}$_am_result" >&6; }
11.2761 +rm -f confinc confmf
11.2762 +
11.2763 +# Check whether --enable-dependency-tracking was given.
11.2764 +if test "${enable_dependency_tracking+set}" = set; then
11.2765 + enableval=$enable_dependency_tracking;
11.2766 +fi
11.2767 +
11.2768 +if test "x$enable_dependency_tracking" != xno; then
11.2769 + am_depcomp="$ac_aux_dir/depcomp"
11.2770 + AMDEPBACKSLASH='\'
11.2771 +fi
11.2772 +
11.2773 +
11.2774 +if test "x$enable_dependency_tracking" != xno; then
11.2775 + AMDEP_TRUE=
11.2776 + AMDEP_FALSE='#'
11.2777 +else
11.2778 + AMDEP_TRUE='#'
11.2779 + AMDEP_FALSE=
11.2780 +fi
11.2781 +
11.2782 +
11.2783 +
11.2784 +ac_ext=c
11.2785 +ac_cpp='$CPP $CPPFLAGS'
11.2786 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.2787 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.2788 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.2789 +if test -n "$ac_tool_prefix"; then
11.2790 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11.2791 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
11.2792 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2793 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2794 +if test "${ac_cv_prog_CC+set}" = set; then
11.2795 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2796 +else
11.2797 + if test -n "$CC"; then
11.2798 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.2799 +else
11.2800 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2801 +for as_dir in $PATH
11.2802 +do
11.2803 + IFS=$as_save_IFS
11.2804 + test -z "$as_dir" && as_dir=.
11.2805 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2806 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2807 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
11.2808 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2809 + break 2
11.2810 + fi
11.2811 +done
11.2812 +done
11.2813 +IFS=$as_save_IFS
11.2814 +
11.2815 +fi
11.2816 +fi
11.2817 +CC=$ac_cv_prog_CC
11.2818 +if test -n "$CC"; then
11.2819 + { echo "$as_me:$LINENO: result: $CC" >&5
11.2820 +echo "${ECHO_T}$CC" >&6; }
11.2821 +else
11.2822 + { echo "$as_me:$LINENO: result: no" >&5
11.2823 +echo "${ECHO_T}no" >&6; }
11.2824 +fi
11.2825 +
11.2826 +
11.2827 +fi
11.2828 +if test -z "$ac_cv_prog_CC"; then
11.2829 + ac_ct_CC=$CC
11.2830 + # Extract the first word of "gcc", so it can be a program name with args.
11.2831 +set dummy gcc; ac_word=$2
11.2832 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2833 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2834 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11.2835 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2836 +else
11.2837 + if test -n "$ac_ct_CC"; then
11.2838 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11.2839 +else
11.2840 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2841 +for as_dir in $PATH
11.2842 +do
11.2843 + IFS=$as_save_IFS
11.2844 + test -z "$as_dir" && as_dir=.
11.2845 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2846 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2847 + ac_cv_prog_ac_ct_CC="gcc"
11.2848 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2849 + break 2
11.2850 + fi
11.2851 +done
11.2852 +done
11.2853 +IFS=$as_save_IFS
11.2854 +
11.2855 +fi
11.2856 +fi
11.2857 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11.2858 +if test -n "$ac_ct_CC"; then
11.2859 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11.2860 +echo "${ECHO_T}$ac_ct_CC" >&6; }
11.2861 +else
11.2862 + { echo "$as_me:$LINENO: result: no" >&5
11.2863 +echo "${ECHO_T}no" >&6; }
11.2864 +fi
11.2865 +
11.2866 + if test "x$ac_ct_CC" = x; then
11.2867 + CC=""
11.2868 + else
11.2869 + case $cross_compiling:$ac_tool_warned in
11.2870 +yes:)
11.2871 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.2872 +whose name does not start with the host triplet. If you think this
11.2873 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.2874 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.2875 +whose name does not start with the host triplet. If you think this
11.2876 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.2877 +ac_tool_warned=yes ;;
11.2878 +esac
11.2879 + CC=$ac_ct_CC
11.2880 + fi
11.2881 +else
11.2882 + CC="$ac_cv_prog_CC"
11.2883 +fi
11.2884 +
11.2885 +if test -z "$CC"; then
11.2886 + if test -n "$ac_tool_prefix"; then
11.2887 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11.2888 +set dummy ${ac_tool_prefix}cc; ac_word=$2
11.2889 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2890 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2891 +if test "${ac_cv_prog_CC+set}" = set; then
11.2892 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2893 +else
11.2894 + if test -n "$CC"; then
11.2895 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.2896 +else
11.2897 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2898 +for as_dir in $PATH
11.2899 +do
11.2900 + IFS=$as_save_IFS
11.2901 + test -z "$as_dir" && as_dir=.
11.2902 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2903 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2904 + ac_cv_prog_CC="${ac_tool_prefix}cc"
11.2905 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2906 + break 2
11.2907 + fi
11.2908 +done
11.2909 +done
11.2910 +IFS=$as_save_IFS
11.2911 +
11.2912 +fi
11.2913 +fi
11.2914 +CC=$ac_cv_prog_CC
11.2915 +if test -n "$CC"; then
11.2916 + { echo "$as_me:$LINENO: result: $CC" >&5
11.2917 +echo "${ECHO_T}$CC" >&6; }
11.2918 +else
11.2919 + { echo "$as_me:$LINENO: result: no" >&5
11.2920 +echo "${ECHO_T}no" >&6; }
11.2921 +fi
11.2922 +
11.2923 +
11.2924 + fi
11.2925 +fi
11.2926 +if test -z "$CC"; then
11.2927 + # Extract the first word of "cc", so it can be a program name with args.
11.2928 +set dummy cc; ac_word=$2
11.2929 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2930 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2931 +if test "${ac_cv_prog_CC+set}" = set; then
11.2932 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2933 +else
11.2934 + if test -n "$CC"; then
11.2935 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.2936 +else
11.2937 + ac_prog_rejected=no
11.2938 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2939 +for as_dir in $PATH
11.2940 +do
11.2941 + IFS=$as_save_IFS
11.2942 + test -z "$as_dir" && as_dir=.
11.2943 + for ac_exec_ext in '' $ac_executable_extensions; do
11.2944 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.2945 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11.2946 + ac_prog_rejected=yes
11.2947 + continue
11.2948 + fi
11.2949 + ac_cv_prog_CC="cc"
11.2950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.2951 + break 2
11.2952 + fi
11.2953 +done
11.2954 +done
11.2955 +IFS=$as_save_IFS
11.2956 +
11.2957 +if test $ac_prog_rejected = yes; then
11.2958 + # We found a bogon in the path, so make sure we never use it.
11.2959 + set dummy $ac_cv_prog_CC
11.2960 + shift
11.2961 + if test $@%:@ != 0; then
11.2962 + # We chose a different compiler from the bogus one.
11.2963 + # However, it has the same basename, so the bogon will be chosen
11.2964 + # first if we set CC to just the basename; use the full file name.
11.2965 + shift
11.2966 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11.2967 + fi
11.2968 +fi
11.2969 +fi
11.2970 +fi
11.2971 +CC=$ac_cv_prog_CC
11.2972 +if test -n "$CC"; then
11.2973 + { echo "$as_me:$LINENO: result: $CC" >&5
11.2974 +echo "${ECHO_T}$CC" >&6; }
11.2975 +else
11.2976 + { echo "$as_me:$LINENO: result: no" >&5
11.2977 +echo "${ECHO_T}no" >&6; }
11.2978 +fi
11.2979 +
11.2980 +
11.2981 +fi
11.2982 +if test -z "$CC"; then
11.2983 + if test -n "$ac_tool_prefix"; then
11.2984 + for ac_prog in cl.exe
11.2985 + do
11.2986 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11.2987 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11.2988 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.2989 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.2990 +if test "${ac_cv_prog_CC+set}" = set; then
11.2991 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.2992 +else
11.2993 + if test -n "$CC"; then
11.2994 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.2995 +else
11.2996 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.2997 +for as_dir in $PATH
11.2998 +do
11.2999 + IFS=$as_save_IFS
11.3000 + test -z "$as_dir" && as_dir=.
11.3001 + for ac_exec_ext in '' $ac_executable_extensions; do
11.3002 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.3003 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11.3004 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.3005 + break 2
11.3006 + fi
11.3007 +done
11.3008 +done
11.3009 +IFS=$as_save_IFS
11.3010 +
11.3011 +fi
11.3012 +fi
11.3013 +CC=$ac_cv_prog_CC
11.3014 +if test -n "$CC"; then
11.3015 + { echo "$as_me:$LINENO: result: $CC" >&5
11.3016 +echo "${ECHO_T}$CC" >&6; }
11.3017 +else
11.3018 + { echo "$as_me:$LINENO: result: no" >&5
11.3019 +echo "${ECHO_T}no" >&6; }
11.3020 +fi
11.3021 +
11.3022 +
11.3023 + test -n "$CC" && break
11.3024 + done
11.3025 +fi
11.3026 +if test -z "$CC"; then
11.3027 + ac_ct_CC=$CC
11.3028 + for ac_prog in cl.exe
11.3029 +do
11.3030 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11.3031 +set dummy $ac_prog; ac_word=$2
11.3032 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.3033 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.3034 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11.3035 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3036 +else
11.3037 + if test -n "$ac_ct_CC"; then
11.3038 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11.3039 +else
11.3040 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.3041 +for as_dir in $PATH
11.3042 +do
11.3043 + IFS=$as_save_IFS
11.3044 + test -z "$as_dir" && as_dir=.
11.3045 + for ac_exec_ext in '' $ac_executable_extensions; do
11.3046 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.3047 + ac_cv_prog_ac_ct_CC="$ac_prog"
11.3048 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.3049 + break 2
11.3050 + fi
11.3051 +done
11.3052 +done
11.3053 +IFS=$as_save_IFS
11.3054 +
11.3055 +fi
11.3056 +fi
11.3057 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11.3058 +if test -n "$ac_ct_CC"; then
11.3059 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11.3060 +echo "${ECHO_T}$ac_ct_CC" >&6; }
11.3061 +else
11.3062 + { echo "$as_me:$LINENO: result: no" >&5
11.3063 +echo "${ECHO_T}no" >&6; }
11.3064 +fi
11.3065 +
11.3066 +
11.3067 + test -n "$ac_ct_CC" && break
11.3068 +done
11.3069 +
11.3070 + if test "x$ac_ct_CC" = x; then
11.3071 + CC=""
11.3072 + else
11.3073 + case $cross_compiling:$ac_tool_warned in
11.3074 +yes:)
11.3075 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.3076 +whose name does not start with the host triplet. If you think this
11.3077 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.3078 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.3079 +whose name does not start with the host triplet. If you think this
11.3080 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.3081 +ac_tool_warned=yes ;;
11.3082 +esac
11.3083 + CC=$ac_ct_CC
11.3084 + fi
11.3085 +fi
11.3086 +
11.3087 +fi
11.3088 +
11.3089 +
11.3090 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11.3091 +See \`config.log' for more details." >&5
11.3092 +echo "$as_me: error: no acceptable C compiler found in \$PATH
11.3093 +See \`config.log' for more details." >&2;}
11.3094 + { (exit 1); exit 1; }; }
11.3095 +
11.3096 +# Provide some information about the compiler.
11.3097 +echo "$as_me:$LINENO: checking for C compiler version" >&5
11.3098 +ac_compiler=`set X $ac_compile; echo $2`
11.3099 +{ (ac_try="$ac_compiler --version >&5"
11.3100 +case "(($ac_try" in
11.3101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3102 + *) ac_try_echo=$ac_try;;
11.3103 +esac
11.3104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3105 + (eval "$ac_compiler --version >&5") 2>&5
11.3106 + ac_status=$?
11.3107 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3108 + (exit $ac_status); }
11.3109 +{ (ac_try="$ac_compiler -v >&5"
11.3110 +case "(($ac_try" in
11.3111 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3112 + *) ac_try_echo=$ac_try;;
11.3113 +esac
11.3114 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3115 + (eval "$ac_compiler -v >&5") 2>&5
11.3116 + ac_status=$?
11.3117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3118 + (exit $ac_status); }
11.3119 +{ (ac_try="$ac_compiler -V >&5"
11.3120 +case "(($ac_try" in
11.3121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3122 + *) ac_try_echo=$ac_try;;
11.3123 +esac
11.3124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3125 + (eval "$ac_compiler -V >&5") 2>&5
11.3126 + ac_status=$?
11.3127 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3128 + (exit $ac_status); }
11.3129 +
11.3130 +cat >conftest.$ac_ext <<_ACEOF
11.3131 +/* confdefs.h. */
11.3132 +_ACEOF
11.3133 +cat confdefs.h >>conftest.$ac_ext
11.3134 +cat >>conftest.$ac_ext <<_ACEOF
11.3135 +/* end confdefs.h. */
11.3136 +
11.3137 +int
11.3138 +main ()
11.3139 +{
11.3140 +
11.3141 + ;
11.3142 + return 0;
11.3143 +}
11.3144 +_ACEOF
11.3145 +ac_clean_files_save=$ac_clean_files
11.3146 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
11.3147 +# Try to create an executable without -o first, disregard a.out.
11.3148 +# It will help us diagnose broken compilers, and finding out an intuition
11.3149 +# of exeext.
11.3150 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11.3151 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
11.3152 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11.3153 +#
11.3154 +# List of possible output files, starting from the most likely.
11.3155 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
11.3156 +# only as a last resort. b.out is created by i960 compilers.
11.3157 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
11.3158 +#
11.3159 +# The IRIX 6 linker writes into existing files which may not be
11.3160 +# executable, retaining their permissions. Remove them first so a
11.3161 +# subsequent execution test works.
11.3162 +ac_rmfiles=
11.3163 +for ac_file in $ac_files
11.3164 +do
11.3165 + case $ac_file in
11.3166 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
11.3167 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
11.3168 + esac
11.3169 +done
11.3170 +rm -f $ac_rmfiles
11.3171 +
11.3172 +if { (ac_try="$ac_link_default"
11.3173 +case "(($ac_try" in
11.3174 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3175 + *) ac_try_echo=$ac_try;;
11.3176 +esac
11.3177 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3178 + (eval "$ac_link_default") 2>&5
11.3179 + ac_status=$?
11.3180 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3181 + (exit $ac_status); }; then
11.3182 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
11.3183 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
11.3184 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
11.3185 +# so that the user can short-circuit this test for compilers unknown to
11.3186 +# Autoconf.
11.3187 +for ac_file in $ac_files ''
11.3188 +do
11.3189 + test -f "$ac_file" || continue
11.3190 + case $ac_file in
11.3191 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
11.3192 + ;;
11.3193 + [ab].out )
11.3194 + # We found the default executable, but exeext='' is most
11.3195 + # certainly right.
11.3196 + break;;
11.3197 + *.* )
11.3198 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
11.3199 + then :; else
11.3200 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11.3201 + fi
11.3202 + # We set ac_cv_exeext here because the later test for it is not
11.3203 + # safe: cross compilers may not add the suffix if given an `-o'
11.3204 + # argument, so we may need to know it at that point already.
11.3205 + # Even if this section looks crufty: it has the advantage of
11.3206 + # actually working.
11.3207 + break;;
11.3208 + * )
11.3209 + break;;
11.3210 + esac
11.3211 +done
11.3212 +test "$ac_cv_exeext" = no && ac_cv_exeext=
11.3213 +
11.3214 +else
11.3215 + ac_file=''
11.3216 +fi
11.3217 +
11.3218 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
11.3219 +echo "${ECHO_T}$ac_file" >&6; }
11.3220 +if test -z "$ac_file"; then
11.3221 + echo "$as_me: failed program was:" >&5
11.3222 +sed 's/^/| /' conftest.$ac_ext >&5
11.3223 +
11.3224 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
11.3225 +See \`config.log' for more details." >&5
11.3226 +echo "$as_me: error: C compiler cannot create executables
11.3227 +See \`config.log' for more details." >&2;}
11.3228 + { (exit 77); exit 77; }; }
11.3229 +fi
11.3230 +
11.3231 +ac_exeext=$ac_cv_exeext
11.3232 +
11.3233 +# Check that the compiler produces executables we can run. If not, either
11.3234 +# the compiler is broken, or we cross compile.
11.3235 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11.3236 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
11.3237 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11.3238 +# If not cross compiling, check that we can run a simple program.
11.3239 +if test "$cross_compiling" != yes; then
11.3240 + if { ac_try='./$ac_file'
11.3241 + { (case "(($ac_try" in
11.3242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3243 + *) ac_try_echo=$ac_try;;
11.3244 +esac
11.3245 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3246 + (eval "$ac_try") 2>&5
11.3247 + ac_status=$?
11.3248 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3249 + (exit $ac_status); }; }; then
11.3250 + cross_compiling=no
11.3251 + else
11.3252 + if test "$cross_compiling" = maybe; then
11.3253 + cross_compiling=yes
11.3254 + else
11.3255 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11.3256 +If you meant to cross compile, use \`--host'.
11.3257 +See \`config.log' for more details." >&5
11.3258 +echo "$as_me: error: cannot run C compiled programs.
11.3259 +If you meant to cross compile, use \`--host'.
11.3260 +See \`config.log' for more details." >&2;}
11.3261 + { (exit 1); exit 1; }; }
11.3262 + fi
11.3263 + fi
11.3264 +fi
11.3265 +{ echo "$as_me:$LINENO: result: yes" >&5
11.3266 +echo "${ECHO_T}yes" >&6; }
11.3267 +
11.3268 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
11.3269 +ac_clean_files=$ac_clean_files_save
11.3270 +# Check that the compiler produces executables we can run. If not, either
11.3271 +# the compiler is broken, or we cross compile.
11.3272 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11.3273 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
11.3274 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
11.3275 +echo "${ECHO_T}$cross_compiling" >&6; }
11.3276 +
11.3277 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
11.3278 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
11.3279 +if { (ac_try="$ac_link"
11.3280 +case "(($ac_try" in
11.3281 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3282 + *) ac_try_echo=$ac_try;;
11.3283 +esac
11.3284 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3285 + (eval "$ac_link") 2>&5
11.3286 + ac_status=$?
11.3287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3288 + (exit $ac_status); }; then
11.3289 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
11.3290 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11.3291 +# work properly (i.e., refer to `conftest.exe'), while it won't with
11.3292 +# `rm'.
11.3293 +for ac_file in conftest.exe conftest conftest.*; do
11.3294 + test -f "$ac_file" || continue
11.3295 + case $ac_file in
11.3296 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
11.3297 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11.3298 + break;;
11.3299 + * ) break;;
11.3300 + esac
11.3301 +done
11.3302 +else
11.3303 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11.3304 +See \`config.log' for more details." >&5
11.3305 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11.3306 +See \`config.log' for more details." >&2;}
11.3307 + { (exit 1); exit 1; }; }
11.3308 +fi
11.3309 +
11.3310 +rm -f conftest$ac_cv_exeext
11.3311 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11.3312 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
11.3313 +
11.3314 +rm -f conftest.$ac_ext
11.3315 +EXEEXT=$ac_cv_exeext
11.3316 +ac_exeext=$EXEEXT
11.3317 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
11.3318 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
11.3319 +if test "${ac_cv_objext+set}" = set; then
11.3320 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3321 +else
11.3322 + cat >conftest.$ac_ext <<_ACEOF
11.3323 +/* confdefs.h. */
11.3324 +_ACEOF
11.3325 +cat confdefs.h >>conftest.$ac_ext
11.3326 +cat >>conftest.$ac_ext <<_ACEOF
11.3327 +/* end confdefs.h. */
11.3328 +
11.3329 +int
11.3330 +main ()
11.3331 +{
11.3332 +
11.3333 + ;
11.3334 + return 0;
11.3335 +}
11.3336 +_ACEOF
11.3337 +rm -f conftest.o conftest.obj
11.3338 +if { (ac_try="$ac_compile"
11.3339 +case "(($ac_try" in
11.3340 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3341 + *) ac_try_echo=$ac_try;;
11.3342 +esac
11.3343 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3344 + (eval "$ac_compile") 2>&5
11.3345 + ac_status=$?
11.3346 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3347 + (exit $ac_status); }; then
11.3348 + for ac_file in conftest.o conftest.obj conftest.*; do
11.3349 + test -f "$ac_file" || continue;
11.3350 + case $ac_file in
11.3351 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
11.3352 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11.3353 + break;;
11.3354 + esac
11.3355 +done
11.3356 +else
11.3357 + echo "$as_me: failed program was:" >&5
11.3358 +sed 's/^/| /' conftest.$ac_ext >&5
11.3359 +
11.3360 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11.3361 +See \`config.log' for more details." >&5
11.3362 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
11.3363 +See \`config.log' for more details." >&2;}
11.3364 + { (exit 1); exit 1; }; }
11.3365 +fi
11.3366 +
11.3367 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
11.3368 +fi
11.3369 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11.3370 +echo "${ECHO_T}$ac_cv_objext" >&6; }
11.3371 +OBJEXT=$ac_cv_objext
11.3372 +ac_objext=$OBJEXT
11.3373 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11.3374 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
11.3375 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
11.3376 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3377 +else
11.3378 + cat >conftest.$ac_ext <<_ACEOF
11.3379 +/* confdefs.h. */
11.3380 +_ACEOF
11.3381 +cat confdefs.h >>conftest.$ac_ext
11.3382 +cat >>conftest.$ac_ext <<_ACEOF
11.3383 +/* end confdefs.h. */
11.3384 +
11.3385 +int
11.3386 +main ()
11.3387 +{
11.3388 +#ifndef __GNUC__
11.3389 + choke me
11.3390 +#endif
11.3391 +
11.3392 + ;
11.3393 + return 0;
11.3394 +}
11.3395 +_ACEOF
11.3396 +rm -f conftest.$ac_objext
11.3397 +if { (ac_try="$ac_compile"
11.3398 +case "(($ac_try" in
11.3399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3400 + *) ac_try_echo=$ac_try;;
11.3401 +esac
11.3402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3403 + (eval "$ac_compile") 2>conftest.er1
11.3404 + ac_status=$?
11.3405 + grep -v '^ *+' conftest.er1 >conftest.err
11.3406 + rm -f conftest.er1
11.3407 + cat conftest.err >&5
11.3408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3409 + (exit $ac_status); } && {
11.3410 + test -z "$ac_c_werror_flag" ||
11.3411 + test ! -s conftest.err
11.3412 + } && test -s conftest.$ac_objext; then
11.3413 + ac_compiler_gnu=yes
11.3414 +else
11.3415 + echo "$as_me: failed program was:" >&5
11.3416 +sed 's/^/| /' conftest.$ac_ext >&5
11.3417 +
11.3418 + ac_compiler_gnu=no
11.3419 +fi
11.3420 +
11.3421 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.3422 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
11.3423 +
11.3424 +fi
11.3425 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11.3426 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
11.3427 +GCC=`test $ac_compiler_gnu = yes && echo yes`
11.3428 +ac_test_CFLAGS=${CFLAGS+set}
11.3429 +ac_save_CFLAGS=$CFLAGS
11.3430 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11.3431 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
11.3432 +if test "${ac_cv_prog_cc_g+set}" = set; then
11.3433 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3434 +else
11.3435 + ac_save_c_werror_flag=$ac_c_werror_flag
11.3436 + ac_c_werror_flag=yes
11.3437 + ac_cv_prog_cc_g=no
11.3438 + CFLAGS="-g"
11.3439 + cat >conftest.$ac_ext <<_ACEOF
11.3440 +/* confdefs.h. */
11.3441 +_ACEOF
11.3442 +cat confdefs.h >>conftest.$ac_ext
11.3443 +cat >>conftest.$ac_ext <<_ACEOF
11.3444 +/* end confdefs.h. */
11.3445 +
11.3446 +int
11.3447 +main ()
11.3448 +{
11.3449 +
11.3450 + ;
11.3451 + return 0;
11.3452 +}
11.3453 +_ACEOF
11.3454 +rm -f conftest.$ac_objext
11.3455 +if { (ac_try="$ac_compile"
11.3456 +case "(($ac_try" in
11.3457 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3458 + *) ac_try_echo=$ac_try;;
11.3459 +esac
11.3460 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3461 + (eval "$ac_compile") 2>conftest.er1
11.3462 + ac_status=$?
11.3463 + grep -v '^ *+' conftest.er1 >conftest.err
11.3464 + rm -f conftest.er1
11.3465 + cat conftest.err >&5
11.3466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3467 + (exit $ac_status); } && {
11.3468 + test -z "$ac_c_werror_flag" ||
11.3469 + test ! -s conftest.err
11.3470 + } && test -s conftest.$ac_objext; then
11.3471 + ac_cv_prog_cc_g=yes
11.3472 +else
11.3473 + echo "$as_me: failed program was:" >&5
11.3474 +sed 's/^/| /' conftest.$ac_ext >&5
11.3475 +
11.3476 + CFLAGS=""
11.3477 + cat >conftest.$ac_ext <<_ACEOF
11.3478 +/* confdefs.h. */
11.3479 +_ACEOF
11.3480 +cat confdefs.h >>conftest.$ac_ext
11.3481 +cat >>conftest.$ac_ext <<_ACEOF
11.3482 +/* end confdefs.h. */
11.3483 +
11.3484 +int
11.3485 +main ()
11.3486 +{
11.3487 +
11.3488 + ;
11.3489 + return 0;
11.3490 +}
11.3491 +_ACEOF
11.3492 +rm -f conftest.$ac_objext
11.3493 +if { (ac_try="$ac_compile"
11.3494 +case "(($ac_try" in
11.3495 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3496 + *) ac_try_echo=$ac_try;;
11.3497 +esac
11.3498 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3499 + (eval "$ac_compile") 2>conftest.er1
11.3500 + ac_status=$?
11.3501 + grep -v '^ *+' conftest.er1 >conftest.err
11.3502 + rm -f conftest.er1
11.3503 + cat conftest.err >&5
11.3504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3505 + (exit $ac_status); } && {
11.3506 + test -z "$ac_c_werror_flag" ||
11.3507 + test ! -s conftest.err
11.3508 + } && test -s conftest.$ac_objext; then
11.3509 + :
11.3510 +else
11.3511 + echo "$as_me: failed program was:" >&5
11.3512 +sed 's/^/| /' conftest.$ac_ext >&5
11.3513 +
11.3514 + ac_c_werror_flag=$ac_save_c_werror_flag
11.3515 + CFLAGS="-g"
11.3516 + cat >conftest.$ac_ext <<_ACEOF
11.3517 +/* confdefs.h. */
11.3518 +_ACEOF
11.3519 +cat confdefs.h >>conftest.$ac_ext
11.3520 +cat >>conftest.$ac_ext <<_ACEOF
11.3521 +/* end confdefs.h. */
11.3522 +
11.3523 +int
11.3524 +main ()
11.3525 +{
11.3526 +
11.3527 + ;
11.3528 + return 0;
11.3529 +}
11.3530 +_ACEOF
11.3531 +rm -f conftest.$ac_objext
11.3532 +if { (ac_try="$ac_compile"
11.3533 +case "(($ac_try" in
11.3534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3535 + *) ac_try_echo=$ac_try;;
11.3536 +esac
11.3537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3538 + (eval "$ac_compile") 2>conftest.er1
11.3539 + ac_status=$?
11.3540 + grep -v '^ *+' conftest.er1 >conftest.err
11.3541 + rm -f conftest.er1
11.3542 + cat conftest.err >&5
11.3543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3544 + (exit $ac_status); } && {
11.3545 + test -z "$ac_c_werror_flag" ||
11.3546 + test ! -s conftest.err
11.3547 + } && test -s conftest.$ac_objext; then
11.3548 + ac_cv_prog_cc_g=yes
11.3549 +else
11.3550 + echo "$as_me: failed program was:" >&5
11.3551 +sed 's/^/| /' conftest.$ac_ext >&5
11.3552 +
11.3553 +
11.3554 +fi
11.3555 +
11.3556 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.3557 +fi
11.3558 +
11.3559 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.3560 +fi
11.3561 +
11.3562 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.3563 + ac_c_werror_flag=$ac_save_c_werror_flag
11.3564 +fi
11.3565 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11.3566 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
11.3567 +if test "$ac_test_CFLAGS" = set; then
11.3568 + CFLAGS=$ac_save_CFLAGS
11.3569 +elif test $ac_cv_prog_cc_g = yes; then
11.3570 + if test "$GCC" = yes; then
11.3571 + CFLAGS="-g -O2"
11.3572 + else
11.3573 + CFLAGS="-g"
11.3574 + fi
11.3575 +else
11.3576 + if test "$GCC" = yes; then
11.3577 + CFLAGS="-O2"
11.3578 + else
11.3579 + CFLAGS=
11.3580 + fi
11.3581 +fi
11.3582 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11.3583 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
11.3584 +if test "${ac_cv_prog_cc_c89+set}" = set; then
11.3585 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3586 +else
11.3587 + ac_cv_prog_cc_c89=no
11.3588 +ac_save_CC=$CC
11.3589 +cat >conftest.$ac_ext <<_ACEOF
11.3590 +/* confdefs.h. */
11.3591 +_ACEOF
11.3592 +cat confdefs.h >>conftest.$ac_ext
11.3593 +cat >>conftest.$ac_ext <<_ACEOF
11.3594 +/* end confdefs.h. */
11.3595 +#include <stdarg.h>
11.3596 +#include <stdio.h>
11.3597 +#include <sys/types.h>
11.3598 +#include <sys/stat.h>
11.3599 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11.3600 +struct buf { int x; };
11.3601 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
11.3602 +static char *e (p, i)
11.3603 + char **p;
11.3604 + int i;
11.3605 +{
11.3606 + return p[i];
11.3607 +}
11.3608 +static char *f (char * (*g) (char **, int), char **p, ...)
11.3609 +{
11.3610 + char *s;
11.3611 + va_list v;
11.3612 + va_start (v,p);
11.3613 + s = g (p, va_arg (v,int));
11.3614 + va_end (v);
11.3615 + return s;
11.3616 +}
11.3617 +
11.3618 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11.3619 + function prototypes and stuff, but not '\xHH' hex character constants.
11.3620 + These don't provoke an error unfortunately, instead are silently treated
11.3621 + as 'x'. The following induces an error, until -std is added to get
11.3622 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11.3623 + array size at least. It's necessary to write '\x00'==0 to get something
11.3624 + that's true only with -std. */
11.3625 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11.3626 +
11.3627 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11.3628 + inside strings and character constants. */
11.3629 +#define FOO(x) 'x'
11.3630 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11.3631 +
11.3632 +int test (int i, double x);
11.3633 +struct s1 {int (*f) (int a);};
11.3634 +struct s2 {int (*f) (double a);};
11.3635 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11.3636 +int argc;
11.3637 +char **argv;
11.3638 +int
11.3639 +main ()
11.3640 +{
11.3641 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11.3642 + ;
11.3643 + return 0;
11.3644 +}
11.3645 +_ACEOF
11.3646 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11.3647 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11.3648 +do
11.3649 + CC="$ac_save_CC $ac_arg"
11.3650 + rm -f conftest.$ac_objext
11.3651 +if { (ac_try="$ac_compile"
11.3652 +case "(($ac_try" in
11.3653 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.3654 + *) ac_try_echo=$ac_try;;
11.3655 +esac
11.3656 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.3657 + (eval "$ac_compile") 2>conftest.er1
11.3658 + ac_status=$?
11.3659 + grep -v '^ *+' conftest.er1 >conftest.err
11.3660 + rm -f conftest.er1
11.3661 + cat conftest.err >&5
11.3662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.3663 + (exit $ac_status); } && {
11.3664 + test -z "$ac_c_werror_flag" ||
11.3665 + test ! -s conftest.err
11.3666 + } && test -s conftest.$ac_objext; then
11.3667 + ac_cv_prog_cc_c89=$ac_arg
11.3668 +else
11.3669 + echo "$as_me: failed program was:" >&5
11.3670 +sed 's/^/| /' conftest.$ac_ext >&5
11.3671 +
11.3672 +
11.3673 +fi
11.3674 +
11.3675 +rm -f core conftest.err conftest.$ac_objext
11.3676 + test "x$ac_cv_prog_cc_c89" != "xno" && break
11.3677 +done
11.3678 +rm -f conftest.$ac_ext
11.3679 +CC=$ac_save_CC
11.3680 +
11.3681 +fi
11.3682 +# AC_CACHE_VAL
11.3683 +case "x$ac_cv_prog_cc_c89" in
11.3684 + x)
11.3685 + { echo "$as_me:$LINENO: result: none needed" >&5
11.3686 +echo "${ECHO_T}none needed" >&6; } ;;
11.3687 + xno)
11.3688 + { echo "$as_me:$LINENO: result: unsupported" >&5
11.3689 +echo "${ECHO_T}unsupported" >&6; } ;;
11.3690 + *)
11.3691 + CC="$CC $ac_cv_prog_cc_c89"
11.3692 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11.3693 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
11.3694 +esac
11.3695 +
11.3696 +
11.3697 +ac_ext=c
11.3698 +ac_cpp='$CPP $CPPFLAGS'
11.3699 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.3700 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.3701 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.3702 +
11.3703 +depcc="$CC" am_compiler_list=
11.3704 +
11.3705 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11.3706 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
11.3707 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11.3708 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3709 +else
11.3710 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11.3711 + # We make a subdir and do the tests there. Otherwise we can end up
11.3712 + # making bogus files that we don't know about and never remove. For
11.3713 + # instance it was reported that on HP-UX the gcc test will end up
11.3714 + # making a dummy file named `D' -- because `-MD' means `put the output
11.3715 + # in D'.
11.3716 + mkdir conftest.dir
11.3717 + # Copy depcomp to subdir because otherwise we won't find it if we're
11.3718 + # using a relative directory.
11.3719 + cp "$am_depcomp" conftest.dir
11.3720 + cd conftest.dir
11.3721 + # We will build objects and dependencies in a subdirectory because
11.3722 + # it helps to detect inapplicable dependency modes. For instance
11.3723 + # both Tru64's cc and ICC support -MD to output dependencies as a
11.3724 + # side effect of compilation, but ICC will put the dependencies in
11.3725 + # the current directory while Tru64 will put them in the object
11.3726 + # directory.
11.3727 + mkdir sub
11.3728 +
11.3729 + am_cv_CC_dependencies_compiler_type=none
11.3730 + if test "$am_compiler_list" = ""; then
11.3731 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11.3732 + fi
11.3733 + for depmode in $am_compiler_list; do
11.3734 + # Setup a source with many dependencies, because some compilers
11.3735 + # like to wrap large dependency lists on column 80 (with \), and
11.3736 + # we should not choose a depcomp mode which is confused by this.
11.3737 + #
11.3738 + # We need to recreate these files for each test, as the compiler may
11.3739 + # overwrite some of them when testing with obscure command lines.
11.3740 + # This happens at least with the AIX C compiler.
11.3741 + : > sub/conftest.c
11.3742 + for i in 1 2 3 4 5 6; do
11.3743 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
11.3744 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11.3745 + # Solaris 8's {/usr,}/bin/sh.
11.3746 + touch sub/conftst$i.h
11.3747 + done
11.3748 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11.3749 +
11.3750 + case $depmode in
11.3751 + nosideeffect)
11.3752 + # after this tag, mechanisms are not by side-effect, so they'll
11.3753 + # only be used when explicitly requested
11.3754 + if test "x$enable_dependency_tracking" = xyes; then
11.3755 + continue
11.3756 + else
11.3757 + break
11.3758 + fi
11.3759 + ;;
11.3760 + none) break ;;
11.3761 + esac
11.3762 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
11.3763 + # mode. It turns out that the SunPro C++ compiler does not properly
11.3764 + # handle `-M -o', and we need to detect this.
11.3765 + if depmode=$depmode \
11.3766 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11.3767 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11.3768 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11.3769 + >/dev/null 2>conftest.err &&
11.3770 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11.3771 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11.3772 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11.3773 + # icc doesn't choke on unknown options, it will just issue warnings
11.3774 + # or remarks (even with -Werror). So we grep stderr for any message
11.3775 + # that says an option was ignored or not supported.
11.3776 + # When given -MP, icc 7.0 and 7.1 complain thusly:
11.3777 + # icc: Command line warning: ignoring option '-M'; no argument required
11.3778 + # The diagnosis changed in icc 8.0:
11.3779 + # icc: Command line remark: option '-MP' not supported
11.3780 + if (grep 'ignoring option' conftest.err ||
11.3781 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11.3782 + am_cv_CC_dependencies_compiler_type=$depmode
11.3783 + break
11.3784 + fi
11.3785 + fi
11.3786 + done
11.3787 +
11.3788 + cd ..
11.3789 + rm -rf conftest.dir
11.3790 +else
11.3791 + am_cv_CC_dependencies_compiler_type=none
11.3792 +fi
11.3793 +
11.3794 +fi
11.3795 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11.3796 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
11.3797 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11.3798 +
11.3799 +
11.3800 +
11.3801 +if
11.3802 + test "x$enable_dependency_tracking" != xno \
11.3803 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11.3804 + am__fastdepCC_TRUE=
11.3805 + am__fastdepCC_FALSE='#'
11.3806 +else
11.3807 + am__fastdepCC_TRUE='#'
11.3808 + am__fastdepCC_FALSE=
11.3809 +fi
11.3810 +
11.3811 +
11.3812 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11.3813 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
11.3814 +if test "${lt_cv_path_SED+set}" = set; then
11.3815 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3816 +else
11.3817 + # Loop through the user's path and test for sed and gsed.
11.3818 +# Then use that list of sed's as ones to test for truncation.
11.3819 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.3820 +for as_dir in $PATH
11.3821 +do
11.3822 + IFS=$as_save_IFS
11.3823 + test -z "$as_dir" && as_dir=.
11.3824 + for lt_ac_prog in sed gsed; do
11.3825 + for ac_exec_ext in '' $ac_executable_extensions; do
11.3826 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
11.3827 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
11.3828 + fi
11.3829 + done
11.3830 + done
11.3831 +done
11.3832 +lt_ac_max=0
11.3833 +lt_ac_count=0
11.3834 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
11.3835 +# along with /bin/sed that truncates output.
11.3836 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
11.3837 + test ! -f $lt_ac_sed && break
11.3838 + cat /dev/null > conftest.in
11.3839 + lt_ac_count=0
11.3840 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
11.3841 + # Check for GNU sed and select it if it is found.
11.3842 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
11.3843 + lt_cv_path_SED=$lt_ac_sed
11.3844 + break
11.3845 + fi
11.3846 + while true; do
11.3847 + cat conftest.in conftest.in >conftest.tmp
11.3848 + mv conftest.tmp conftest.in
11.3849 + cp conftest.in conftest.nl
11.3850 + echo >>conftest.nl
11.3851 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
11.3852 + cmp -s conftest.out conftest.nl || break
11.3853 + # 10000 chars as input seems more than enough
11.3854 + test $lt_ac_count -gt 10 && break
11.3855 + lt_ac_count=`expr $lt_ac_count + 1`
11.3856 + if test $lt_ac_count -gt $lt_ac_max; then
11.3857 + lt_ac_max=$lt_ac_count
11.3858 + lt_cv_path_SED=$lt_ac_sed
11.3859 + fi
11.3860 + done
11.3861 +done
11.3862 +SED=$lt_cv_path_SED
11.3863 +
11.3864 +fi
11.3865 +
11.3866 +{ echo "$as_me:$LINENO: result: $SED" >&5
11.3867 +echo "${ECHO_T}$SED" >&6; }
11.3868 +
11.3869 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
11.3870 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
11.3871 +if test "${ac_cv_path_GREP+set}" = set; then
11.3872 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3873 +else
11.3874 + # Extract the first word of "grep ggrep" to use in msg output
11.3875 +if test -z "$GREP"; then
11.3876 +set dummy grep ggrep; ac_prog_name=$2
11.3877 +if test "${ac_cv_path_GREP+set}" = set; then
11.3878 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3879 +else
11.3880 + ac_path_GREP_found=false
11.3881 +# Loop through the user's path and test for each of PROGNAME-LIST
11.3882 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.3883 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11.3884 +do
11.3885 + IFS=$as_save_IFS
11.3886 + test -z "$as_dir" && as_dir=.
11.3887 + for ac_prog in grep ggrep; do
11.3888 + for ac_exec_ext in '' $ac_executable_extensions; do
11.3889 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
11.3890 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
11.3891 + # Check for GNU ac_path_GREP and select it if it is found.
11.3892 + # Check for GNU $ac_path_GREP
11.3893 +case `"$ac_path_GREP" --version 2>&1` in
11.3894 +*GNU*)
11.3895 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11.3896 +*)
11.3897 + ac_count=0
11.3898 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11.3899 + while :
11.3900 + do
11.3901 + cat "conftest.in" "conftest.in" >"conftest.tmp"
11.3902 + mv "conftest.tmp" "conftest.in"
11.3903 + cp "conftest.in" "conftest.nl"
11.3904 + echo 'GREP' >> "conftest.nl"
11.3905 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11.3906 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11.3907 + ac_count=`expr $ac_count + 1`
11.3908 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
11.3909 + # Best one so far, save it but keep looking for a better one
11.3910 + ac_cv_path_GREP="$ac_path_GREP"
11.3911 + ac_path_GREP_max=$ac_count
11.3912 + fi
11.3913 + # 10*(2^10) chars as input seems more than enough
11.3914 + test $ac_count -gt 10 && break
11.3915 + done
11.3916 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11.3917 +esac
11.3918 +
11.3919 +
11.3920 + $ac_path_GREP_found && break 3
11.3921 + done
11.3922 +done
11.3923 +
11.3924 +done
11.3925 +IFS=$as_save_IFS
11.3926 +
11.3927 +
11.3928 +fi
11.3929 +
11.3930 +GREP="$ac_cv_path_GREP"
11.3931 +if test -z "$GREP"; then
11.3932 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11.3933 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11.3934 + { (exit 1); exit 1; }; }
11.3935 +fi
11.3936 +
11.3937 +else
11.3938 + ac_cv_path_GREP=$GREP
11.3939 +fi
11.3940 +
11.3941 +
11.3942 +fi
11.3943 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
11.3944 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
11.3945 + GREP="$ac_cv_path_GREP"
11.3946 +
11.3947 +
11.3948 +{ echo "$as_me:$LINENO: checking for egrep" >&5
11.3949 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11.3950 +if test "${ac_cv_path_EGREP+set}" = set; then
11.3951 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3952 +else
11.3953 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11.3954 + then ac_cv_path_EGREP="$GREP -E"
11.3955 + else
11.3956 + # Extract the first word of "egrep" to use in msg output
11.3957 +if test -z "$EGREP"; then
11.3958 +set dummy egrep; ac_prog_name=$2
11.3959 +if test "${ac_cv_path_EGREP+set}" = set; then
11.3960 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.3961 +else
11.3962 + ac_path_EGREP_found=false
11.3963 +# Loop through the user's path and test for each of PROGNAME-LIST
11.3964 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.3965 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11.3966 +do
11.3967 + IFS=$as_save_IFS
11.3968 + test -z "$as_dir" && as_dir=.
11.3969 + for ac_prog in egrep; do
11.3970 + for ac_exec_ext in '' $ac_executable_extensions; do
11.3971 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11.3972 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11.3973 + # Check for GNU ac_path_EGREP and select it if it is found.
11.3974 + # Check for GNU $ac_path_EGREP
11.3975 +case `"$ac_path_EGREP" --version 2>&1` in
11.3976 +*GNU*)
11.3977 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11.3978 +*)
11.3979 + ac_count=0
11.3980 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11.3981 + while :
11.3982 + do
11.3983 + cat "conftest.in" "conftest.in" >"conftest.tmp"
11.3984 + mv "conftest.tmp" "conftest.in"
11.3985 + cp "conftest.in" "conftest.nl"
11.3986 + echo 'EGREP' >> "conftest.nl"
11.3987 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11.3988 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11.3989 + ac_count=`expr $ac_count + 1`
11.3990 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11.3991 + # Best one so far, save it but keep looking for a better one
11.3992 + ac_cv_path_EGREP="$ac_path_EGREP"
11.3993 + ac_path_EGREP_max=$ac_count
11.3994 + fi
11.3995 + # 10*(2^10) chars as input seems more than enough
11.3996 + test $ac_count -gt 10 && break
11.3997 + done
11.3998 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11.3999 +esac
11.4000 +
11.4001 +
11.4002 + $ac_path_EGREP_found && break 3
11.4003 + done
11.4004 +done
11.4005 +
11.4006 +done
11.4007 +IFS=$as_save_IFS
11.4008 +
11.4009 +
11.4010 +fi
11.4011 +
11.4012 +EGREP="$ac_cv_path_EGREP"
11.4013 +if test -z "$EGREP"; then
11.4014 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11.4015 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11.4016 + { (exit 1); exit 1; }; }
11.4017 +fi
11.4018 +
11.4019 +else
11.4020 + ac_cv_path_EGREP=$EGREP
11.4021 +fi
11.4022 +
11.4023 +
11.4024 + fi
11.4025 +fi
11.4026 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11.4027 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11.4028 + EGREP="$ac_cv_path_EGREP"
11.4029 +
11.4030 +
11.4031 +
11.4032 +# Check whether --with-gnu-ld was given.
11.4033 +if test "${with_gnu_ld+set}" = set; then
11.4034 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11.4035 +else
11.4036 + with_gnu_ld=no
11.4037 +fi
11.4038 +
11.4039 +ac_prog=ld
11.4040 +if test "$GCC" = yes; then
11.4041 + # Check if gcc -print-prog-name=ld gives a path.
11.4042 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11.4043 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11.4044 + case $host in
11.4045 + *-*-mingw*)
11.4046 + # gcc leaves a trailing carriage return which upsets mingw
11.4047 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11.4048 + *)
11.4049 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11.4050 + esac
11.4051 + case $ac_prog in
11.4052 + # Accept absolute paths.
11.4053 + [\\/]* | ?:[\\/]*)
11.4054 + re_direlt='/[^/][^/]*/\.\./'
11.4055 + # Canonicalize the pathname of ld
11.4056 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11.4057 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11.4058 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11.4059 + done
11.4060 + test -z "$LD" && LD="$ac_prog"
11.4061 + ;;
11.4062 + "")
11.4063 + # If it fails, then pretend we aren't using GCC.
11.4064 + ac_prog=ld
11.4065 + ;;
11.4066 + *)
11.4067 + # If it is relative, then search for the first ld in PATH.
11.4068 + with_gnu_ld=unknown
11.4069 + ;;
11.4070 + esac
11.4071 +elif test "$with_gnu_ld" = yes; then
11.4072 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
11.4073 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11.4074 +else
11.4075 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11.4076 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11.4077 +fi
11.4078 +if test "${lt_cv_path_LD+set}" = set; then
11.4079 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4080 +else
11.4081 + if test -z "$LD"; then
11.4082 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11.4083 + for ac_dir in $PATH; do
11.4084 + IFS="$lt_save_ifs"
11.4085 + test -z "$ac_dir" && ac_dir=.
11.4086 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11.4087 + lt_cv_path_LD="$ac_dir/$ac_prog"
11.4088 + # Check to see if the program is GNU ld. I'd rather use --version,
11.4089 + # but apparently some GNU ld's only accept -v.
11.4090 + # Break only if it was the GNU/non-GNU ld that we prefer.
11.4091 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11.4092 + *GNU* | *'with BFD'*)
11.4093 + test "$with_gnu_ld" != no && break
11.4094 + ;;
11.4095 + *)
11.4096 + test "$with_gnu_ld" != yes && break
11.4097 + ;;
11.4098 + esac
11.4099 + fi
11.4100 + done
11.4101 + IFS="$lt_save_ifs"
11.4102 +else
11.4103 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
11.4104 +fi
11.4105 +fi
11.4106 +
11.4107 +LD="$lt_cv_path_LD"
11.4108 +if test -n "$LD"; then
11.4109 + { echo "$as_me:$LINENO: result: $LD" >&5
11.4110 +echo "${ECHO_T}$LD" >&6; }
11.4111 +else
11.4112 + { echo "$as_me:$LINENO: result: no" >&5
11.4113 +echo "${ECHO_T}no" >&6; }
11.4114 +fi
11.4115 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11.4116 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11.4117 + { (exit 1); exit 1; }; }
11.4118 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11.4119 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11.4120 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
11.4121 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4122 +else
11.4123 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11.4124 +case `$LD -v 2>&1 </dev/null` in
11.4125 +*GNU* | *'with BFD'*)
11.4126 + lt_cv_prog_gnu_ld=yes
11.4127 + ;;
11.4128 +*)
11.4129 + lt_cv_prog_gnu_ld=no
11.4130 + ;;
11.4131 +esac
11.4132 +fi
11.4133 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11.4134 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11.4135 +with_gnu_ld=$lt_cv_prog_gnu_ld
11.4136 +
11.4137 +
11.4138 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
11.4139 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
11.4140 +if test "${lt_cv_ld_reload_flag+set}" = set; then
11.4141 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4142 +else
11.4143 + lt_cv_ld_reload_flag='-r'
11.4144 +fi
11.4145 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
11.4146 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
11.4147 +reload_flag=$lt_cv_ld_reload_flag
11.4148 +case $reload_flag in
11.4149 +"" | " "*) ;;
11.4150 +*) reload_flag=" $reload_flag" ;;
11.4151 +esac
11.4152 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
11.4153 +
11.4154 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
11.4155 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
11.4156 +if test "${lt_cv_path_NM+set}" = set; then
11.4157 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4158 +else
11.4159 + if test -n "$NM"; then
11.4160 + # Let the user override the test.
11.4161 + lt_cv_path_NM="$NM"
11.4162 +else
11.4163 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11.4164 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
11.4165 + IFS="$lt_save_ifs"
11.4166 + test -z "$ac_dir" && ac_dir=.
11.4167 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
11.4168 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
11.4169 + # Check to see if the nm accepts a BSD-compat flag.
11.4170 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
11.4171 + # nm: unknown option "B" ignored
11.4172 + # Tru64's nm complains that /dev/null is an invalid object file
11.4173 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
11.4174 + */dev/null* | *'Invalid file or object type'*)
11.4175 + lt_cv_path_NM="$tmp_nm -B"
11.4176 + break
11.4177 + ;;
11.4178 + *)
11.4179 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
11.4180 + */dev/null*)
11.4181 + lt_cv_path_NM="$tmp_nm -p"
11.4182 + break
11.4183 + ;;
11.4184 + *)
11.4185 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
11.4186 + continue # so that we can try to find one that supports BSD flags
11.4187 + ;;
11.4188 + esac
11.4189 + esac
11.4190 + fi
11.4191 + done
11.4192 + IFS="$lt_save_ifs"
11.4193 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
11.4194 +fi
11.4195 +fi
11.4196 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
11.4197 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
11.4198 +NM="$lt_cv_path_NM"
11.4199 +
11.4200 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
11.4201 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
11.4202 +LN_S=$as_ln_s
11.4203 +if test "$LN_S" = "ln -s"; then
11.4204 + { echo "$as_me:$LINENO: result: yes" >&5
11.4205 +echo "${ECHO_T}yes" >&6; }
11.4206 +else
11.4207 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11.4208 +echo "${ECHO_T}no, using $LN_S" >&6; }
11.4209 +fi
11.4210 +
11.4211 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
11.4212 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
11.4213 +if test "${lt_cv_deplibs_check_method+set}" = set; then
11.4214 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4215 +else
11.4216 + lt_cv_file_magic_cmd='$MAGIC_CMD'
11.4217 +lt_cv_file_magic_test_file=
11.4218 +lt_cv_deplibs_check_method='unknown'
11.4219 +# Need to set the preceding variable on all platforms that support
11.4220 +# interlibrary dependencies.
11.4221 +# 'none' -- dependencies not supported.
11.4222 +# `unknown' -- same as none, but documents that we really don't know.
11.4223 +# 'pass_all' -- all dependencies passed with no checks.
11.4224 +# 'test_compile' -- check by making test program.
11.4225 +# 'file_magic [[regex]]' -- check by looking for files in library path
11.4226 +# which responds to the $file_magic_cmd with a given extended regex.
11.4227 +# If you have `file' or equivalent on your system and you're not sure
11.4228 +# whether `pass_all' will *always* work, you probably want this one.
11.4229 +
11.4230 +case $host_os in
11.4231 +aix4* | aix5*)
11.4232 + lt_cv_deplibs_check_method=pass_all
11.4233 + ;;
11.4234 +
11.4235 +beos*)
11.4236 + lt_cv_deplibs_check_method=pass_all
11.4237 + ;;
11.4238 +
11.4239 +bsdi4*)
11.4240 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
11.4241 + lt_cv_file_magic_cmd='/usr/bin/file -L'
11.4242 + lt_cv_file_magic_test_file=/shlib/libc.so
11.4243 + ;;
11.4244 +
11.4245 +cygwin*)
11.4246 + # func_win32_libid is a shell function defined in ltmain.sh
11.4247 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11.4248 + lt_cv_file_magic_cmd='func_win32_libid'
11.4249 + ;;
11.4250 +
11.4251 +mingw* | pw32*)
11.4252 + # Base MSYS/MinGW do not provide the 'file' command needed by
11.4253 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
11.4254 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
11.4255 + lt_cv_file_magic_cmd='$OBJDUMP -f'
11.4256 + ;;
11.4257 +
11.4258 +darwin* | rhapsody*)
11.4259 + lt_cv_deplibs_check_method=pass_all
11.4260 + ;;
11.4261 +
11.4262 +freebsd* | kfreebsd*-gnu)
11.4263 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
11.4264 + case $host_cpu in
11.4265 + i*86 )
11.4266 + # Not sure whether the presence of OpenBSD here was a mistake.
11.4267 + # Let's accept both of them until this is cleared up.
11.4268 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
11.4269 + lt_cv_file_magic_cmd=/usr/bin/file
11.4270 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
11.4271 + ;;
11.4272 + esac
11.4273 + else
11.4274 + lt_cv_deplibs_check_method=pass_all
11.4275 + fi
11.4276 + ;;
11.4277 +
11.4278 +gnu*)
11.4279 + lt_cv_deplibs_check_method=pass_all
11.4280 + ;;
11.4281 +
11.4282 +hpux10.20* | hpux11*)
11.4283 + lt_cv_file_magic_cmd=/usr/bin/file
11.4284 + case "$host_cpu" in
11.4285 + ia64*)
11.4286 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
11.4287 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
11.4288 + ;;
11.4289 + hppa*64*)
11.4290 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
11.4291 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
11.4292 + ;;
11.4293 + *)
11.4294 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
11.4295 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
11.4296 + ;;
11.4297 + esac
11.4298 + ;;
11.4299 +
11.4300 +irix5* | irix6* | nonstopux*)
11.4301 + case $LD in
11.4302 + *-32|*"-32 ") libmagic=32-bit;;
11.4303 + *-n32|*"-n32 ") libmagic=N32;;
11.4304 + *-64|*"-64 ") libmagic=64-bit;;
11.4305 + *) libmagic=never-match;;
11.4306 + esac
11.4307 + lt_cv_deplibs_check_method=pass_all
11.4308 + ;;
11.4309 +
11.4310 +# This must be Linux ELF.
11.4311 +linux*)
11.4312 + lt_cv_deplibs_check_method=pass_all
11.4313 + ;;
11.4314 +
11.4315 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.4316 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
11.4317 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11.4318 + else
11.4319 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11.4320 + fi
11.4321 + ;;
11.4322 +
11.4323 +newos6*)
11.4324 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
11.4325 + lt_cv_file_magic_cmd=/usr/bin/file
11.4326 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
11.4327 + ;;
11.4328 +
11.4329 +nto-qnx*)
11.4330 + lt_cv_deplibs_check_method=unknown
11.4331 + ;;
11.4332 +
11.4333 +openbsd*)
11.4334 + lt_cv_file_magic_cmd=/usr/bin/file
11.4335 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
11.4336 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.4337 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
11.4338 + else
11.4339 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
11.4340 + fi
11.4341 + ;;
11.4342 +
11.4343 +osf3* | osf4* | osf5*)
11.4344 + lt_cv_deplibs_check_method=pass_all
11.4345 + ;;
11.4346 +
11.4347 +sco3.2v5*)
11.4348 + lt_cv_deplibs_check_method=pass_all
11.4349 + ;;
11.4350 +
11.4351 +solaris*)
11.4352 + lt_cv_deplibs_check_method=pass_all
11.4353 + ;;
11.4354 +
11.4355 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.4356 + case $host_vendor in
11.4357 + motorola)
11.4358 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
11.4359 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
11.4360 + ;;
11.4361 + ncr)
11.4362 + lt_cv_deplibs_check_method=pass_all
11.4363 + ;;
11.4364 + sequent)
11.4365 + lt_cv_file_magic_cmd='/bin/file'
11.4366 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
11.4367 + ;;
11.4368 + sni)
11.4369 + lt_cv_file_magic_cmd='/bin/file'
11.4370 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
11.4371 + lt_cv_file_magic_test_file=/lib/libc.so
11.4372 + ;;
11.4373 + siemens)
11.4374 + lt_cv_deplibs_check_method=pass_all
11.4375 + ;;
11.4376 + esac
11.4377 + ;;
11.4378 +
11.4379 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
11.4380 + lt_cv_deplibs_check_method=pass_all
11.4381 + ;;
11.4382 +esac
11.4383 +
11.4384 +fi
11.4385 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
11.4386 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
11.4387 +file_magic_cmd=$lt_cv_file_magic_cmd
11.4388 +deplibs_check_method=$lt_cv_deplibs_check_method
11.4389 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
11.4390 +
11.4391 +
11.4392 +
11.4393 +
11.4394 +# If no C compiler was specified, use CC.
11.4395 +LTCC=${LTCC-"$CC"}
11.4396 +
11.4397 +# Allow CC to be a program name with arguments.
11.4398 +compiler=$CC
11.4399 +
11.4400 +
11.4401 +# Check whether --enable-libtool-lock was given.
11.4402 +if test "${enable_libtool_lock+set}" = set; then
11.4403 + enableval=$enable_libtool_lock;
11.4404 +fi
11.4405 +
11.4406 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11.4407 +
11.4408 +# Some flags need to be propagated to the compiler or linker for good
11.4409 +# libtool support.
11.4410 +case $host in
11.4411 +ia64-*-hpux*)
11.4412 + # Find out which ABI we are using.
11.4413 + echo 'int i;' > conftest.$ac_ext
11.4414 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.4415 + (eval $ac_compile) 2>&5
11.4416 + ac_status=$?
11.4417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4418 + (exit $ac_status); }; then
11.4419 + case `/usr/bin/file conftest.$ac_objext` in
11.4420 + *ELF-32*)
11.4421 + HPUX_IA64_MODE="32"
11.4422 + ;;
11.4423 + *ELF-64*)
11.4424 + HPUX_IA64_MODE="64"
11.4425 + ;;
11.4426 + esac
11.4427 + fi
11.4428 + rm -rf conftest*
11.4429 + ;;
11.4430 +*-*-irix6*)
11.4431 + # Find out which ABI we are using.
11.4432 + echo '#line __oline__ "configure"' > conftest.$ac_ext
11.4433 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.4434 + (eval $ac_compile) 2>&5
11.4435 + ac_status=$?
11.4436 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4437 + (exit $ac_status); }; then
11.4438 + if test "$lt_cv_prog_gnu_ld" = yes; then
11.4439 + case `/usr/bin/file conftest.$ac_objext` in
11.4440 + *32-bit*)
11.4441 + LD="${LD-ld} -melf32bsmip"
11.4442 + ;;
11.4443 + *N32*)
11.4444 + LD="${LD-ld} -melf32bmipn32"
11.4445 + ;;
11.4446 + *64-bit*)
11.4447 + LD="${LD-ld} -melf64bmip"
11.4448 + ;;
11.4449 + esac
11.4450 + else
11.4451 + case `/usr/bin/file conftest.$ac_objext` in
11.4452 + *32-bit*)
11.4453 + LD="${LD-ld} -32"
11.4454 + ;;
11.4455 + *N32*)
11.4456 + LD="${LD-ld} -n32"
11.4457 + ;;
11.4458 + *64-bit*)
11.4459 + LD="${LD-ld} -64"
11.4460 + ;;
11.4461 + esac
11.4462 + fi
11.4463 + fi
11.4464 + rm -rf conftest*
11.4465 + ;;
11.4466 +
11.4467 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
11.4468 + # Find out which ABI we are using.
11.4469 + echo 'int i;' > conftest.$ac_ext
11.4470 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.4471 + (eval $ac_compile) 2>&5
11.4472 + ac_status=$?
11.4473 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4474 + (exit $ac_status); }; then
11.4475 + case "`/usr/bin/file conftest.o`" in
11.4476 + *32-bit*)
11.4477 + case $host in
11.4478 + x86_64-*linux*)
11.4479 + LD="${LD-ld} -m elf_i386"
11.4480 + ;;
11.4481 + ppc64-*linux*|powerpc64-*linux*)
11.4482 + LD="${LD-ld} -m elf32ppclinux"
11.4483 + ;;
11.4484 + s390x-*linux*)
11.4485 + LD="${LD-ld} -m elf_s390"
11.4486 + ;;
11.4487 + sparc64-*linux*)
11.4488 + LD="${LD-ld} -m elf32_sparc"
11.4489 + ;;
11.4490 + esac
11.4491 + ;;
11.4492 + *64-bit*)
11.4493 + case $host in
11.4494 + x86_64-*linux*)
11.4495 + LD="${LD-ld} -m elf_x86_64"
11.4496 + ;;
11.4497 + ppc*-*linux*|powerpc*-*linux*)
11.4498 + LD="${LD-ld} -m elf64ppc"
11.4499 + ;;
11.4500 + s390*-*linux*)
11.4501 + LD="${LD-ld} -m elf64_s390"
11.4502 + ;;
11.4503 + sparc*-*linux*)
11.4504 + LD="${LD-ld} -m elf64_sparc"
11.4505 + ;;
11.4506 + esac
11.4507 + ;;
11.4508 + esac
11.4509 + fi
11.4510 + rm -rf conftest*
11.4511 + ;;
11.4512 +
11.4513 +*-*-sco3.2v5*)
11.4514 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11.4515 + SAVE_CFLAGS="$CFLAGS"
11.4516 + CFLAGS="$CFLAGS -belf"
11.4517 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11.4518 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
11.4519 +if test "${lt_cv_cc_needs_belf+set}" = set; then
11.4520 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4521 +else
11.4522 + ac_ext=c
11.4523 +ac_cpp='$CPP $CPPFLAGS'
11.4524 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.4525 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.4526 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.4527 +
11.4528 + cat >conftest.$ac_ext <<_ACEOF
11.4529 +/* confdefs.h. */
11.4530 +_ACEOF
11.4531 +cat confdefs.h >>conftest.$ac_ext
11.4532 +cat >>conftest.$ac_ext <<_ACEOF
11.4533 +/* end confdefs.h. */
11.4534 +
11.4535 +int
11.4536 +main ()
11.4537 +{
11.4538 +
11.4539 + ;
11.4540 + return 0;
11.4541 +}
11.4542 +_ACEOF
11.4543 +rm -f conftest.$ac_objext conftest$ac_exeext
11.4544 +if { (ac_try="$ac_link"
11.4545 +case "(($ac_try" in
11.4546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4547 + *) ac_try_echo=$ac_try;;
11.4548 +esac
11.4549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4550 + (eval "$ac_link") 2>conftest.er1
11.4551 + ac_status=$?
11.4552 + grep -v '^ *+' conftest.er1 >conftest.err
11.4553 + rm -f conftest.er1
11.4554 + cat conftest.err >&5
11.4555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4556 + (exit $ac_status); } && {
11.4557 + test -z "$ac_c_werror_flag" ||
11.4558 + test ! -s conftest.err
11.4559 + } && test -s conftest$ac_exeext &&
11.4560 + $as_test_x conftest$ac_exeext; then
11.4561 + lt_cv_cc_needs_belf=yes
11.4562 +else
11.4563 + echo "$as_me: failed program was:" >&5
11.4564 +sed 's/^/| /' conftest.$ac_ext >&5
11.4565 +
11.4566 + lt_cv_cc_needs_belf=no
11.4567 +fi
11.4568 +
11.4569 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.4570 + conftest$ac_exeext conftest.$ac_ext
11.4571 + ac_ext=c
11.4572 +ac_cpp='$CPP $CPPFLAGS'
11.4573 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.4574 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.4575 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.4576 +
11.4577 +fi
11.4578 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11.4579 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
11.4580 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11.4581 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11.4582 + CFLAGS="$SAVE_CFLAGS"
11.4583 + fi
11.4584 + ;;
11.4585 +
11.4586 +esac
11.4587 +
11.4588 +need_locks="$enable_libtool_lock"
11.4589 +
11.4590 +
11.4591 +ac_ext=c
11.4592 +ac_cpp='$CPP $CPPFLAGS'
11.4593 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.4594 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.4595 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.4596 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11.4597 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
11.4598 +# On Suns, sometimes $CPP names a directory.
11.4599 +if test -n "$CPP" && test -d "$CPP"; then
11.4600 + CPP=
11.4601 +fi
11.4602 +if test -z "$CPP"; then
11.4603 + if test "${ac_cv_prog_CPP+set}" = set; then
11.4604 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4605 +else
11.4606 + # Double quotes because CPP needs to be expanded
11.4607 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11.4608 + do
11.4609 + ac_preproc_ok=false
11.4610 +for ac_c_preproc_warn_flag in '' yes
11.4611 +do
11.4612 + # Use a header file that comes with gcc, so configuring glibc
11.4613 + # with a fresh cross-compiler works.
11.4614 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.4615 + # <limits.h> exists even on freestanding compilers.
11.4616 + # On the NeXT, cc -E runs the code through the compiler's parser,
11.4617 + # not just through cpp. "Syntax error" is here to catch this case.
11.4618 + cat >conftest.$ac_ext <<_ACEOF
11.4619 +/* confdefs.h. */
11.4620 +_ACEOF
11.4621 +cat confdefs.h >>conftest.$ac_ext
11.4622 +cat >>conftest.$ac_ext <<_ACEOF
11.4623 +/* end confdefs.h. */
11.4624 +@%:@ifdef __STDC__
11.4625 +@%:@ include <limits.h>
11.4626 +@%:@else
11.4627 +@%:@ include <assert.h>
11.4628 +@%:@endif
11.4629 + Syntax error
11.4630 +_ACEOF
11.4631 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.4632 +case "(($ac_try" in
11.4633 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4634 + *) ac_try_echo=$ac_try;;
11.4635 +esac
11.4636 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4637 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.4638 + ac_status=$?
11.4639 + grep -v '^ *+' conftest.er1 >conftest.err
11.4640 + rm -f conftest.er1
11.4641 + cat conftest.err >&5
11.4642 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4643 + (exit $ac_status); } >/dev/null && {
11.4644 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11.4645 + test ! -s conftest.err
11.4646 + }; then
11.4647 + :
11.4648 +else
11.4649 + echo "$as_me: failed program was:" >&5
11.4650 +sed 's/^/| /' conftest.$ac_ext >&5
11.4651 +
11.4652 + # Broken: fails on valid input.
11.4653 +continue
11.4654 +fi
11.4655 +
11.4656 +rm -f conftest.err conftest.$ac_ext
11.4657 +
11.4658 + # OK, works on sane cases. Now check whether nonexistent headers
11.4659 + # can be detected and how.
11.4660 + cat >conftest.$ac_ext <<_ACEOF
11.4661 +/* confdefs.h. */
11.4662 +_ACEOF
11.4663 +cat confdefs.h >>conftest.$ac_ext
11.4664 +cat >>conftest.$ac_ext <<_ACEOF
11.4665 +/* end confdefs.h. */
11.4666 +@%:@include <ac_nonexistent.h>
11.4667 +_ACEOF
11.4668 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.4669 +case "(($ac_try" in
11.4670 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4671 + *) ac_try_echo=$ac_try;;
11.4672 +esac
11.4673 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4674 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.4675 + ac_status=$?
11.4676 + grep -v '^ *+' conftest.er1 >conftest.err
11.4677 + rm -f conftest.er1
11.4678 + cat conftest.err >&5
11.4679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4680 + (exit $ac_status); } >/dev/null && {
11.4681 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11.4682 + test ! -s conftest.err
11.4683 + }; then
11.4684 + # Broken: success on invalid input.
11.4685 +continue
11.4686 +else
11.4687 + echo "$as_me: failed program was:" >&5
11.4688 +sed 's/^/| /' conftest.$ac_ext >&5
11.4689 +
11.4690 + # Passes both tests.
11.4691 +ac_preproc_ok=:
11.4692 +break
11.4693 +fi
11.4694 +
11.4695 +rm -f conftest.err conftest.$ac_ext
11.4696 +
11.4697 +done
11.4698 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11.4699 +rm -f conftest.err conftest.$ac_ext
11.4700 +if $ac_preproc_ok; then
11.4701 + break
11.4702 +fi
11.4703 +
11.4704 + done
11.4705 + ac_cv_prog_CPP=$CPP
11.4706 +
11.4707 +fi
11.4708 + CPP=$ac_cv_prog_CPP
11.4709 +else
11.4710 + ac_cv_prog_CPP=$CPP
11.4711 +fi
11.4712 +{ echo "$as_me:$LINENO: result: $CPP" >&5
11.4713 +echo "${ECHO_T}$CPP" >&6; }
11.4714 +ac_preproc_ok=false
11.4715 +for ac_c_preproc_warn_flag in '' yes
11.4716 +do
11.4717 + # Use a header file that comes with gcc, so configuring glibc
11.4718 + # with a fresh cross-compiler works.
11.4719 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.4720 + # <limits.h> exists even on freestanding compilers.
11.4721 + # On the NeXT, cc -E runs the code through the compiler's parser,
11.4722 + # not just through cpp. "Syntax error" is here to catch this case.
11.4723 + cat >conftest.$ac_ext <<_ACEOF
11.4724 +/* confdefs.h. */
11.4725 +_ACEOF
11.4726 +cat confdefs.h >>conftest.$ac_ext
11.4727 +cat >>conftest.$ac_ext <<_ACEOF
11.4728 +/* end confdefs.h. */
11.4729 +@%:@ifdef __STDC__
11.4730 +@%:@ include <limits.h>
11.4731 +@%:@else
11.4732 +@%:@ include <assert.h>
11.4733 +@%:@endif
11.4734 + Syntax error
11.4735 +_ACEOF
11.4736 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.4737 +case "(($ac_try" in
11.4738 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4739 + *) ac_try_echo=$ac_try;;
11.4740 +esac
11.4741 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4742 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.4743 + ac_status=$?
11.4744 + grep -v '^ *+' conftest.er1 >conftest.err
11.4745 + rm -f conftest.er1
11.4746 + cat conftest.err >&5
11.4747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4748 + (exit $ac_status); } >/dev/null && {
11.4749 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11.4750 + test ! -s conftest.err
11.4751 + }; then
11.4752 + :
11.4753 +else
11.4754 + echo "$as_me: failed program was:" >&5
11.4755 +sed 's/^/| /' conftest.$ac_ext >&5
11.4756 +
11.4757 + # Broken: fails on valid input.
11.4758 +continue
11.4759 +fi
11.4760 +
11.4761 +rm -f conftest.err conftest.$ac_ext
11.4762 +
11.4763 + # OK, works on sane cases. Now check whether nonexistent headers
11.4764 + # can be detected and how.
11.4765 + cat >conftest.$ac_ext <<_ACEOF
11.4766 +/* confdefs.h. */
11.4767 +_ACEOF
11.4768 +cat confdefs.h >>conftest.$ac_ext
11.4769 +cat >>conftest.$ac_ext <<_ACEOF
11.4770 +/* end confdefs.h. */
11.4771 +@%:@include <ac_nonexistent.h>
11.4772 +_ACEOF
11.4773 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.4774 +case "(($ac_try" in
11.4775 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4776 + *) ac_try_echo=$ac_try;;
11.4777 +esac
11.4778 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4779 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.4780 + ac_status=$?
11.4781 + grep -v '^ *+' conftest.er1 >conftest.err
11.4782 + rm -f conftest.er1
11.4783 + cat conftest.err >&5
11.4784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4785 + (exit $ac_status); } >/dev/null && {
11.4786 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11.4787 + test ! -s conftest.err
11.4788 + }; then
11.4789 + # Broken: success on invalid input.
11.4790 +continue
11.4791 +else
11.4792 + echo "$as_me: failed program was:" >&5
11.4793 +sed 's/^/| /' conftest.$ac_ext >&5
11.4794 +
11.4795 + # Passes both tests.
11.4796 +ac_preproc_ok=:
11.4797 +break
11.4798 +fi
11.4799 +
11.4800 +rm -f conftest.err conftest.$ac_ext
11.4801 +
11.4802 +done
11.4803 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11.4804 +rm -f conftest.err conftest.$ac_ext
11.4805 +if $ac_preproc_ok; then
11.4806 + :
11.4807 +else
11.4808 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11.4809 +See \`config.log' for more details." >&5
11.4810 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11.4811 +See \`config.log' for more details." >&2;}
11.4812 + { (exit 1); exit 1; }; }
11.4813 +fi
11.4814 +
11.4815 +ac_ext=c
11.4816 +ac_cpp='$CPP $CPPFLAGS'
11.4817 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.4818 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.4819 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.4820 +
11.4821 +
11.4822 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11.4823 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11.4824 +if test "${ac_cv_header_stdc+set}" = set; then
11.4825 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.4826 +else
11.4827 + cat >conftest.$ac_ext <<_ACEOF
11.4828 +/* confdefs.h. */
11.4829 +_ACEOF
11.4830 +cat confdefs.h >>conftest.$ac_ext
11.4831 +cat >>conftest.$ac_ext <<_ACEOF
11.4832 +/* end confdefs.h. */
11.4833 +#include <stdlib.h>
11.4834 +#include <stdarg.h>
11.4835 +#include <string.h>
11.4836 +#include <float.h>
11.4837 +
11.4838 +int
11.4839 +main ()
11.4840 +{
11.4841 +
11.4842 + ;
11.4843 + return 0;
11.4844 +}
11.4845 +_ACEOF
11.4846 +rm -f conftest.$ac_objext
11.4847 +if { (ac_try="$ac_compile"
11.4848 +case "(($ac_try" in
11.4849 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4850 + *) ac_try_echo=$ac_try;;
11.4851 +esac
11.4852 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4853 + (eval "$ac_compile") 2>conftest.er1
11.4854 + ac_status=$?
11.4855 + grep -v '^ *+' conftest.er1 >conftest.err
11.4856 + rm -f conftest.er1
11.4857 + cat conftest.err >&5
11.4858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4859 + (exit $ac_status); } && {
11.4860 + test -z "$ac_c_werror_flag" ||
11.4861 + test ! -s conftest.err
11.4862 + } && test -s conftest.$ac_objext; then
11.4863 + ac_cv_header_stdc=yes
11.4864 +else
11.4865 + echo "$as_me: failed program was:" >&5
11.4866 +sed 's/^/| /' conftest.$ac_ext >&5
11.4867 +
11.4868 + ac_cv_header_stdc=no
11.4869 +fi
11.4870 +
11.4871 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.4872 +
11.4873 +if test $ac_cv_header_stdc = yes; then
11.4874 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11.4875 + cat >conftest.$ac_ext <<_ACEOF
11.4876 +/* confdefs.h. */
11.4877 +_ACEOF
11.4878 +cat confdefs.h >>conftest.$ac_ext
11.4879 +cat >>conftest.$ac_ext <<_ACEOF
11.4880 +/* end confdefs.h. */
11.4881 +#include <string.h>
11.4882 +
11.4883 +_ACEOF
11.4884 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11.4885 + $EGREP "memchr" >/dev/null 2>&1; then
11.4886 + :
11.4887 +else
11.4888 + ac_cv_header_stdc=no
11.4889 +fi
11.4890 +rm -f conftest*
11.4891 +
11.4892 +fi
11.4893 +
11.4894 +if test $ac_cv_header_stdc = yes; then
11.4895 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11.4896 + cat >conftest.$ac_ext <<_ACEOF
11.4897 +/* confdefs.h. */
11.4898 +_ACEOF
11.4899 +cat confdefs.h >>conftest.$ac_ext
11.4900 +cat >>conftest.$ac_ext <<_ACEOF
11.4901 +/* end confdefs.h. */
11.4902 +#include <stdlib.h>
11.4903 +
11.4904 +_ACEOF
11.4905 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11.4906 + $EGREP "free" >/dev/null 2>&1; then
11.4907 + :
11.4908 +else
11.4909 + ac_cv_header_stdc=no
11.4910 +fi
11.4911 +rm -f conftest*
11.4912 +
11.4913 +fi
11.4914 +
11.4915 +if test $ac_cv_header_stdc = yes; then
11.4916 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11.4917 + if test "$cross_compiling" = yes; then
11.4918 + :
11.4919 +else
11.4920 + cat >conftest.$ac_ext <<_ACEOF
11.4921 +/* confdefs.h. */
11.4922 +_ACEOF
11.4923 +cat confdefs.h >>conftest.$ac_ext
11.4924 +cat >>conftest.$ac_ext <<_ACEOF
11.4925 +/* end confdefs.h. */
11.4926 +#include <ctype.h>
11.4927 +#include <stdlib.h>
11.4928 +#if ((' ' & 0x0FF) == 0x020)
11.4929 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11.4930 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11.4931 +#else
11.4932 +# define ISLOWER(c) \
11.4933 + (('a' <= (c) && (c) <= 'i') \
11.4934 + || ('j' <= (c) && (c) <= 'r') \
11.4935 + || ('s' <= (c) && (c) <= 'z'))
11.4936 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11.4937 +#endif
11.4938 +
11.4939 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11.4940 +int
11.4941 +main ()
11.4942 +{
11.4943 + int i;
11.4944 + for (i = 0; i < 256; i++)
11.4945 + if (XOR (islower (i), ISLOWER (i))
11.4946 + || toupper (i) != TOUPPER (i))
11.4947 + return 2;
11.4948 + return 0;
11.4949 +}
11.4950 +_ACEOF
11.4951 +rm -f conftest$ac_exeext
11.4952 +if { (ac_try="$ac_link"
11.4953 +case "(($ac_try" in
11.4954 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4955 + *) ac_try_echo=$ac_try;;
11.4956 +esac
11.4957 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4958 + (eval "$ac_link") 2>&5
11.4959 + ac_status=$?
11.4960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4961 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11.4962 + { (case "(($ac_try" in
11.4963 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.4964 + *) ac_try_echo=$ac_try;;
11.4965 +esac
11.4966 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.4967 + (eval "$ac_try") 2>&5
11.4968 + ac_status=$?
11.4969 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.4970 + (exit $ac_status); }; }; then
11.4971 + :
11.4972 +else
11.4973 + echo "$as_me: program exited with status $ac_status" >&5
11.4974 +echo "$as_me: failed program was:" >&5
11.4975 +sed 's/^/| /' conftest.$ac_ext >&5
11.4976 +
11.4977 +( exit $ac_status )
11.4978 +ac_cv_header_stdc=no
11.4979 +fi
11.4980 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11.4981 +fi
11.4982 +
11.4983 +
11.4984 +fi
11.4985 +fi
11.4986 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11.4987 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11.4988 +if test $ac_cv_header_stdc = yes; then
11.4989 +
11.4990 +cat >>confdefs.h <<\_ACEOF
11.4991 +@%:@define STDC_HEADERS 1
11.4992 +_ACEOF
11.4993 +
11.4994 +fi
11.4995 +
11.4996 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
11.4997 +
11.4998 +
11.4999 +
11.5000 +
11.5001 +
11.5002 +
11.5003 +
11.5004 +
11.5005 +
11.5006 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11.5007 + inttypes.h stdint.h unistd.h
11.5008 +do
11.5009 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11.5010 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11.5011 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11.5012 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11.5013 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5014 +else
11.5015 + cat >conftest.$ac_ext <<_ACEOF
11.5016 +/* confdefs.h. */
11.5017 +_ACEOF
11.5018 +cat confdefs.h >>conftest.$ac_ext
11.5019 +cat >>conftest.$ac_ext <<_ACEOF
11.5020 +/* end confdefs.h. */
11.5021 +$ac_includes_default
11.5022 +
11.5023 +@%:@include <$ac_header>
11.5024 +_ACEOF
11.5025 +rm -f conftest.$ac_objext
11.5026 +if { (ac_try="$ac_compile"
11.5027 +case "(($ac_try" in
11.5028 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5029 + *) ac_try_echo=$ac_try;;
11.5030 +esac
11.5031 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5032 + (eval "$ac_compile") 2>conftest.er1
11.5033 + ac_status=$?
11.5034 + grep -v '^ *+' conftest.er1 >conftest.err
11.5035 + rm -f conftest.er1
11.5036 + cat conftest.err >&5
11.5037 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5038 + (exit $ac_status); } && {
11.5039 + test -z "$ac_c_werror_flag" ||
11.5040 + test ! -s conftest.err
11.5041 + } && test -s conftest.$ac_objext; then
11.5042 + eval "$as_ac_Header=yes"
11.5043 +else
11.5044 + echo "$as_me: failed program was:" >&5
11.5045 +sed 's/^/| /' conftest.$ac_ext >&5
11.5046 +
11.5047 + eval "$as_ac_Header=no"
11.5048 +fi
11.5049 +
11.5050 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.5051 +fi
11.5052 +ac_res=`eval echo '${'$as_ac_Header'}'`
11.5053 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11.5054 +echo "${ECHO_T}$ac_res" >&6; }
11.5055 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
11.5056 + cat >>confdefs.h <<_ACEOF
11.5057 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11.5058 +_ACEOF
11.5059 +
11.5060 +fi
11.5061 +
11.5062 +done
11.5063 +
11.5064 +
11.5065 +
11.5066 +for ac_header in dlfcn.h
11.5067 +do
11.5068 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11.5069 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11.5070 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
11.5071 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11.5072 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11.5073 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5074 +fi
11.5075 +ac_res=`eval echo '${'$as_ac_Header'}'`
11.5076 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11.5077 +echo "${ECHO_T}$ac_res" >&6; }
11.5078 +else
11.5079 + # Is the header compilable?
11.5080 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11.5081 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11.5082 +cat >conftest.$ac_ext <<_ACEOF
11.5083 +/* confdefs.h. */
11.5084 +_ACEOF
11.5085 +cat confdefs.h >>conftest.$ac_ext
11.5086 +cat >>conftest.$ac_ext <<_ACEOF
11.5087 +/* end confdefs.h. */
11.5088 +$ac_includes_default
11.5089 +@%:@include <$ac_header>
11.5090 +_ACEOF
11.5091 +rm -f conftest.$ac_objext
11.5092 +if { (ac_try="$ac_compile"
11.5093 +case "(($ac_try" in
11.5094 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5095 + *) ac_try_echo=$ac_try;;
11.5096 +esac
11.5097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5098 + (eval "$ac_compile") 2>conftest.er1
11.5099 + ac_status=$?
11.5100 + grep -v '^ *+' conftest.er1 >conftest.err
11.5101 + rm -f conftest.er1
11.5102 + cat conftest.err >&5
11.5103 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5104 + (exit $ac_status); } && {
11.5105 + test -z "$ac_c_werror_flag" ||
11.5106 + test ! -s conftest.err
11.5107 + } && test -s conftest.$ac_objext; then
11.5108 + ac_header_compiler=yes
11.5109 +else
11.5110 + echo "$as_me: failed program was:" >&5
11.5111 +sed 's/^/| /' conftest.$ac_ext >&5
11.5112 +
11.5113 + ac_header_compiler=no
11.5114 +fi
11.5115 +
11.5116 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.5117 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11.5118 +echo "${ECHO_T}$ac_header_compiler" >&6; }
11.5119 +
11.5120 +# Is the header present?
11.5121 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11.5122 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11.5123 +cat >conftest.$ac_ext <<_ACEOF
11.5124 +/* confdefs.h. */
11.5125 +_ACEOF
11.5126 +cat confdefs.h >>conftest.$ac_ext
11.5127 +cat >>conftest.$ac_ext <<_ACEOF
11.5128 +/* end confdefs.h. */
11.5129 +@%:@include <$ac_header>
11.5130 +_ACEOF
11.5131 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.5132 +case "(($ac_try" in
11.5133 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5134 + *) ac_try_echo=$ac_try;;
11.5135 +esac
11.5136 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5137 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.5138 + ac_status=$?
11.5139 + grep -v '^ *+' conftest.er1 >conftest.err
11.5140 + rm -f conftest.er1
11.5141 + cat conftest.err >&5
11.5142 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5143 + (exit $ac_status); } >/dev/null && {
11.5144 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11.5145 + test ! -s conftest.err
11.5146 + }; then
11.5147 + ac_header_preproc=yes
11.5148 +else
11.5149 + echo "$as_me: failed program was:" >&5
11.5150 +sed 's/^/| /' conftest.$ac_ext >&5
11.5151 +
11.5152 + ac_header_preproc=no
11.5153 +fi
11.5154 +
11.5155 +rm -f conftest.err conftest.$ac_ext
11.5156 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11.5157 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11.5158 +
11.5159 +# So? What about this header?
11.5160 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11.5161 + yes:no: )
11.5162 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11.5163 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11.5164 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11.5165 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11.5166 + ac_header_preproc=yes
11.5167 + ;;
11.5168 + no:yes:* )
11.5169 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11.5170 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11.5171 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11.5172 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11.5173 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11.5174 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11.5175 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11.5176 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11.5177 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11.5178 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11.5179 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11.5180 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11.5181 +
11.5182 + ;;
11.5183 +esac
11.5184 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11.5185 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11.5186 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11.5187 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5188 +else
11.5189 + eval "$as_ac_Header=\$ac_header_preproc"
11.5190 +fi
11.5191 +ac_res=`eval echo '${'$as_ac_Header'}'`
11.5192 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11.5193 +echo "${ECHO_T}$ac_res" >&6; }
11.5194 +
11.5195 +fi
11.5196 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
11.5197 + cat >>confdefs.h <<_ACEOF
11.5198 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11.5199 +_ACEOF
11.5200 +
11.5201 +fi
11.5202 +
11.5203 +done
11.5204 +
11.5205 +ac_ext=cpp
11.5206 +ac_cpp='$CXXCPP $CPPFLAGS'
11.5207 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.5208 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.5209 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.5210 +if test -z "$CXX"; then
11.5211 + if test -n "$CCC"; then
11.5212 + CXX=$CCC
11.5213 + else
11.5214 + if test -n "$ac_tool_prefix"; then
11.5215 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11.5216 + do
11.5217 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11.5218 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11.5219 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.5220 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.5221 +if test "${ac_cv_prog_CXX+set}" = set; then
11.5222 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5223 +else
11.5224 + if test -n "$CXX"; then
11.5225 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
11.5226 +else
11.5227 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.5228 +for as_dir in $PATH
11.5229 +do
11.5230 + IFS=$as_save_IFS
11.5231 + test -z "$as_dir" && as_dir=.
11.5232 + for ac_exec_ext in '' $ac_executable_extensions; do
11.5233 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.5234 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11.5235 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.5236 + break 2
11.5237 + fi
11.5238 +done
11.5239 +done
11.5240 +IFS=$as_save_IFS
11.5241 +
11.5242 +fi
11.5243 +fi
11.5244 +CXX=$ac_cv_prog_CXX
11.5245 +if test -n "$CXX"; then
11.5246 + { echo "$as_me:$LINENO: result: $CXX" >&5
11.5247 +echo "${ECHO_T}$CXX" >&6; }
11.5248 +else
11.5249 + { echo "$as_me:$LINENO: result: no" >&5
11.5250 +echo "${ECHO_T}no" >&6; }
11.5251 +fi
11.5252 +
11.5253 +
11.5254 + test -n "$CXX" && break
11.5255 + done
11.5256 +fi
11.5257 +if test -z "$CXX"; then
11.5258 + ac_ct_CXX=$CXX
11.5259 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11.5260 +do
11.5261 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11.5262 +set dummy $ac_prog; ac_word=$2
11.5263 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.5264 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.5265 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11.5266 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5267 +else
11.5268 + if test -n "$ac_ct_CXX"; then
11.5269 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11.5270 +else
11.5271 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.5272 +for as_dir in $PATH
11.5273 +do
11.5274 + IFS=$as_save_IFS
11.5275 + test -z "$as_dir" && as_dir=.
11.5276 + for ac_exec_ext in '' $ac_executable_extensions; do
11.5277 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.5278 + ac_cv_prog_ac_ct_CXX="$ac_prog"
11.5279 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.5280 + break 2
11.5281 + fi
11.5282 +done
11.5283 +done
11.5284 +IFS=$as_save_IFS
11.5285 +
11.5286 +fi
11.5287 +fi
11.5288 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11.5289 +if test -n "$ac_ct_CXX"; then
11.5290 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11.5291 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
11.5292 +else
11.5293 + { echo "$as_me:$LINENO: result: no" >&5
11.5294 +echo "${ECHO_T}no" >&6; }
11.5295 +fi
11.5296 +
11.5297 +
11.5298 + test -n "$ac_ct_CXX" && break
11.5299 +done
11.5300 +
11.5301 + if test "x$ac_ct_CXX" = x; then
11.5302 + CXX="g++"
11.5303 + else
11.5304 + case $cross_compiling:$ac_tool_warned in
11.5305 +yes:)
11.5306 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.5307 +whose name does not start with the host triplet. If you think this
11.5308 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.5309 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.5310 +whose name does not start with the host triplet. If you think this
11.5311 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.5312 +ac_tool_warned=yes ;;
11.5313 +esac
11.5314 + CXX=$ac_ct_CXX
11.5315 + fi
11.5316 +fi
11.5317 +
11.5318 + fi
11.5319 +fi
11.5320 +# Provide some information about the compiler.
11.5321 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11.5322 +ac_compiler=`set X $ac_compile; echo $2`
11.5323 +{ (ac_try="$ac_compiler --version >&5"
11.5324 +case "(($ac_try" in
11.5325 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5326 + *) ac_try_echo=$ac_try;;
11.5327 +esac
11.5328 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5329 + (eval "$ac_compiler --version >&5") 2>&5
11.5330 + ac_status=$?
11.5331 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5332 + (exit $ac_status); }
11.5333 +{ (ac_try="$ac_compiler -v >&5"
11.5334 +case "(($ac_try" in
11.5335 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5336 + *) ac_try_echo=$ac_try;;
11.5337 +esac
11.5338 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5339 + (eval "$ac_compiler -v >&5") 2>&5
11.5340 + ac_status=$?
11.5341 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5342 + (exit $ac_status); }
11.5343 +{ (ac_try="$ac_compiler -V >&5"
11.5344 +case "(($ac_try" in
11.5345 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5346 + *) ac_try_echo=$ac_try;;
11.5347 +esac
11.5348 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5349 + (eval "$ac_compiler -V >&5") 2>&5
11.5350 + ac_status=$?
11.5351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5352 + (exit $ac_status); }
11.5353 +
11.5354 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11.5355 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11.5356 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11.5357 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5358 +else
11.5359 + cat >conftest.$ac_ext <<_ACEOF
11.5360 +/* confdefs.h. */
11.5361 +_ACEOF
11.5362 +cat confdefs.h >>conftest.$ac_ext
11.5363 +cat >>conftest.$ac_ext <<_ACEOF
11.5364 +/* end confdefs.h. */
11.5365 +
11.5366 +int
11.5367 +main ()
11.5368 +{
11.5369 +#ifndef __GNUC__
11.5370 + choke me
11.5371 +#endif
11.5372 +
11.5373 + ;
11.5374 + return 0;
11.5375 +}
11.5376 +_ACEOF
11.5377 +rm -f conftest.$ac_objext
11.5378 +if { (ac_try="$ac_compile"
11.5379 +case "(($ac_try" in
11.5380 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5381 + *) ac_try_echo=$ac_try;;
11.5382 +esac
11.5383 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5384 + (eval "$ac_compile") 2>conftest.er1
11.5385 + ac_status=$?
11.5386 + grep -v '^ *+' conftest.er1 >conftest.err
11.5387 + rm -f conftest.er1
11.5388 + cat conftest.err >&5
11.5389 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5390 + (exit $ac_status); } && {
11.5391 + test -z "$ac_cxx_werror_flag" ||
11.5392 + test ! -s conftest.err
11.5393 + } && test -s conftest.$ac_objext; then
11.5394 + ac_compiler_gnu=yes
11.5395 +else
11.5396 + echo "$as_me: failed program was:" >&5
11.5397 +sed 's/^/| /' conftest.$ac_ext >&5
11.5398 +
11.5399 + ac_compiler_gnu=no
11.5400 +fi
11.5401 +
11.5402 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.5403 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11.5404 +
11.5405 +fi
11.5406 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11.5407 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11.5408 +GXX=`test $ac_compiler_gnu = yes && echo yes`
11.5409 +ac_test_CXXFLAGS=${CXXFLAGS+set}
11.5410 +ac_save_CXXFLAGS=$CXXFLAGS
11.5411 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11.5412 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11.5413 +if test "${ac_cv_prog_cxx_g+set}" = set; then
11.5414 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5415 +else
11.5416 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11.5417 + ac_cxx_werror_flag=yes
11.5418 + ac_cv_prog_cxx_g=no
11.5419 + CXXFLAGS="-g"
11.5420 + cat >conftest.$ac_ext <<_ACEOF
11.5421 +/* confdefs.h. */
11.5422 +_ACEOF
11.5423 +cat confdefs.h >>conftest.$ac_ext
11.5424 +cat >>conftest.$ac_ext <<_ACEOF
11.5425 +/* end confdefs.h. */
11.5426 +
11.5427 +int
11.5428 +main ()
11.5429 +{
11.5430 +
11.5431 + ;
11.5432 + return 0;
11.5433 +}
11.5434 +_ACEOF
11.5435 +rm -f conftest.$ac_objext
11.5436 +if { (ac_try="$ac_compile"
11.5437 +case "(($ac_try" in
11.5438 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5439 + *) ac_try_echo=$ac_try;;
11.5440 +esac
11.5441 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5442 + (eval "$ac_compile") 2>conftest.er1
11.5443 + ac_status=$?
11.5444 + grep -v '^ *+' conftest.er1 >conftest.err
11.5445 + rm -f conftest.er1
11.5446 + cat conftest.err >&5
11.5447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5448 + (exit $ac_status); } && {
11.5449 + test -z "$ac_cxx_werror_flag" ||
11.5450 + test ! -s conftest.err
11.5451 + } && test -s conftest.$ac_objext; then
11.5452 + ac_cv_prog_cxx_g=yes
11.5453 +else
11.5454 + echo "$as_me: failed program was:" >&5
11.5455 +sed 's/^/| /' conftest.$ac_ext >&5
11.5456 +
11.5457 + CXXFLAGS=""
11.5458 + cat >conftest.$ac_ext <<_ACEOF
11.5459 +/* confdefs.h. */
11.5460 +_ACEOF
11.5461 +cat confdefs.h >>conftest.$ac_ext
11.5462 +cat >>conftest.$ac_ext <<_ACEOF
11.5463 +/* end confdefs.h. */
11.5464 +
11.5465 +int
11.5466 +main ()
11.5467 +{
11.5468 +
11.5469 + ;
11.5470 + return 0;
11.5471 +}
11.5472 +_ACEOF
11.5473 +rm -f conftest.$ac_objext
11.5474 +if { (ac_try="$ac_compile"
11.5475 +case "(($ac_try" in
11.5476 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5477 + *) ac_try_echo=$ac_try;;
11.5478 +esac
11.5479 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5480 + (eval "$ac_compile") 2>conftest.er1
11.5481 + ac_status=$?
11.5482 + grep -v '^ *+' conftest.er1 >conftest.err
11.5483 + rm -f conftest.er1
11.5484 + cat conftest.err >&5
11.5485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5486 + (exit $ac_status); } && {
11.5487 + test -z "$ac_cxx_werror_flag" ||
11.5488 + test ! -s conftest.err
11.5489 + } && test -s conftest.$ac_objext; then
11.5490 + :
11.5491 +else
11.5492 + echo "$as_me: failed program was:" >&5
11.5493 +sed 's/^/| /' conftest.$ac_ext >&5
11.5494 +
11.5495 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11.5496 + CXXFLAGS="-g"
11.5497 + cat >conftest.$ac_ext <<_ACEOF
11.5498 +/* confdefs.h. */
11.5499 +_ACEOF
11.5500 +cat confdefs.h >>conftest.$ac_ext
11.5501 +cat >>conftest.$ac_ext <<_ACEOF
11.5502 +/* end confdefs.h. */
11.5503 +
11.5504 +int
11.5505 +main ()
11.5506 +{
11.5507 +
11.5508 + ;
11.5509 + return 0;
11.5510 +}
11.5511 +_ACEOF
11.5512 +rm -f conftest.$ac_objext
11.5513 +if { (ac_try="$ac_compile"
11.5514 +case "(($ac_try" in
11.5515 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5516 + *) ac_try_echo=$ac_try;;
11.5517 +esac
11.5518 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5519 + (eval "$ac_compile") 2>conftest.er1
11.5520 + ac_status=$?
11.5521 + grep -v '^ *+' conftest.er1 >conftest.err
11.5522 + rm -f conftest.er1
11.5523 + cat conftest.err >&5
11.5524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5525 + (exit $ac_status); } && {
11.5526 + test -z "$ac_cxx_werror_flag" ||
11.5527 + test ! -s conftest.err
11.5528 + } && test -s conftest.$ac_objext; then
11.5529 + ac_cv_prog_cxx_g=yes
11.5530 +else
11.5531 + echo "$as_me: failed program was:" >&5
11.5532 +sed 's/^/| /' conftest.$ac_ext >&5
11.5533 +
11.5534 +
11.5535 +fi
11.5536 +
11.5537 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.5538 +fi
11.5539 +
11.5540 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.5541 +fi
11.5542 +
11.5543 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.5544 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11.5545 +fi
11.5546 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11.5547 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
11.5548 +if test "$ac_test_CXXFLAGS" = set; then
11.5549 + CXXFLAGS=$ac_save_CXXFLAGS
11.5550 +elif test $ac_cv_prog_cxx_g = yes; then
11.5551 + if test "$GXX" = yes; then
11.5552 + CXXFLAGS="-g -O2"
11.5553 + else
11.5554 + CXXFLAGS="-g"
11.5555 + fi
11.5556 +else
11.5557 + if test "$GXX" = yes; then
11.5558 + CXXFLAGS="-O2"
11.5559 + else
11.5560 + CXXFLAGS=
11.5561 + fi
11.5562 +fi
11.5563 +ac_ext=cpp
11.5564 +ac_cpp='$CXXCPP $CPPFLAGS'
11.5565 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.5566 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.5567 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.5568 +
11.5569 +depcc="$CXX" am_compiler_list=
11.5570 +
11.5571 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11.5572 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
11.5573 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
11.5574 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5575 +else
11.5576 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11.5577 + # We make a subdir and do the tests there. Otherwise we can end up
11.5578 + # making bogus files that we don't know about and never remove. For
11.5579 + # instance it was reported that on HP-UX the gcc test will end up
11.5580 + # making a dummy file named `D' -- because `-MD' means `put the output
11.5581 + # in D'.
11.5582 + mkdir conftest.dir
11.5583 + # Copy depcomp to subdir because otherwise we won't find it if we're
11.5584 + # using a relative directory.
11.5585 + cp "$am_depcomp" conftest.dir
11.5586 + cd conftest.dir
11.5587 + # We will build objects and dependencies in a subdirectory because
11.5588 + # it helps to detect inapplicable dependency modes. For instance
11.5589 + # both Tru64's cc and ICC support -MD to output dependencies as a
11.5590 + # side effect of compilation, but ICC will put the dependencies in
11.5591 + # the current directory while Tru64 will put them in the object
11.5592 + # directory.
11.5593 + mkdir sub
11.5594 +
11.5595 + am_cv_CXX_dependencies_compiler_type=none
11.5596 + if test "$am_compiler_list" = ""; then
11.5597 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11.5598 + fi
11.5599 + for depmode in $am_compiler_list; do
11.5600 + # Setup a source with many dependencies, because some compilers
11.5601 + # like to wrap large dependency lists on column 80 (with \), and
11.5602 + # we should not choose a depcomp mode which is confused by this.
11.5603 + #
11.5604 + # We need to recreate these files for each test, as the compiler may
11.5605 + # overwrite some of them when testing with obscure command lines.
11.5606 + # This happens at least with the AIX C compiler.
11.5607 + : > sub/conftest.c
11.5608 + for i in 1 2 3 4 5 6; do
11.5609 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
11.5610 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11.5611 + # Solaris 8's {/usr,}/bin/sh.
11.5612 + touch sub/conftst$i.h
11.5613 + done
11.5614 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11.5615 +
11.5616 + case $depmode in
11.5617 + nosideeffect)
11.5618 + # after this tag, mechanisms are not by side-effect, so they'll
11.5619 + # only be used when explicitly requested
11.5620 + if test "x$enable_dependency_tracking" = xyes; then
11.5621 + continue
11.5622 + else
11.5623 + break
11.5624 + fi
11.5625 + ;;
11.5626 + none) break ;;
11.5627 + esac
11.5628 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
11.5629 + # mode. It turns out that the SunPro C++ compiler does not properly
11.5630 + # handle `-M -o', and we need to detect this.
11.5631 + if depmode=$depmode \
11.5632 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11.5633 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11.5634 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11.5635 + >/dev/null 2>conftest.err &&
11.5636 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11.5637 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11.5638 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11.5639 + # icc doesn't choke on unknown options, it will just issue warnings
11.5640 + # or remarks (even with -Werror). So we grep stderr for any message
11.5641 + # that says an option was ignored or not supported.
11.5642 + # When given -MP, icc 7.0 and 7.1 complain thusly:
11.5643 + # icc: Command line warning: ignoring option '-M'; no argument required
11.5644 + # The diagnosis changed in icc 8.0:
11.5645 + # icc: Command line remark: option '-MP' not supported
11.5646 + if (grep 'ignoring option' conftest.err ||
11.5647 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11.5648 + am_cv_CXX_dependencies_compiler_type=$depmode
11.5649 + break
11.5650 + fi
11.5651 + fi
11.5652 + done
11.5653 +
11.5654 + cd ..
11.5655 + rm -rf conftest.dir
11.5656 +else
11.5657 + am_cv_CXX_dependencies_compiler_type=none
11.5658 +fi
11.5659 +
11.5660 +fi
11.5661 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
11.5662 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
11.5663 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11.5664 +
11.5665 +
11.5666 +
11.5667 +if
11.5668 + test "x$enable_dependency_tracking" != xno \
11.5669 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11.5670 + am__fastdepCXX_TRUE=
11.5671 + am__fastdepCXX_FALSE='#'
11.5672 +else
11.5673 + am__fastdepCXX_TRUE='#'
11.5674 + am__fastdepCXX_FALSE=
11.5675 +fi
11.5676 +
11.5677 +
11.5678 +ac_ext=cpp
11.5679 +ac_cpp='$CXXCPP $CPPFLAGS'
11.5680 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.5681 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.5682 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.5683 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11.5684 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
11.5685 +if test -z "$CXXCPP"; then
11.5686 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
11.5687 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5688 +else
11.5689 + # Double quotes because CXXCPP needs to be expanded
11.5690 + for CXXCPP in "$CXX -E" "/lib/cpp"
11.5691 + do
11.5692 + ac_preproc_ok=false
11.5693 +for ac_cxx_preproc_warn_flag in '' yes
11.5694 +do
11.5695 + # Use a header file that comes with gcc, so configuring glibc
11.5696 + # with a fresh cross-compiler works.
11.5697 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.5698 + # <limits.h> exists even on freestanding compilers.
11.5699 + # On the NeXT, cc -E runs the code through the compiler's parser,
11.5700 + # not just through cpp. "Syntax error" is here to catch this case.
11.5701 + cat >conftest.$ac_ext <<_ACEOF
11.5702 +/* confdefs.h. */
11.5703 +_ACEOF
11.5704 +cat confdefs.h >>conftest.$ac_ext
11.5705 +cat >>conftest.$ac_ext <<_ACEOF
11.5706 +/* end confdefs.h. */
11.5707 +@%:@ifdef __STDC__
11.5708 +@%:@ include <limits.h>
11.5709 +@%:@else
11.5710 +@%:@ include <assert.h>
11.5711 +@%:@endif
11.5712 + Syntax error
11.5713 +_ACEOF
11.5714 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.5715 +case "(($ac_try" in
11.5716 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5717 + *) ac_try_echo=$ac_try;;
11.5718 +esac
11.5719 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5720 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.5721 + ac_status=$?
11.5722 + grep -v '^ *+' conftest.er1 >conftest.err
11.5723 + rm -f conftest.er1
11.5724 + cat conftest.err >&5
11.5725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5726 + (exit $ac_status); } >/dev/null && {
11.5727 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.5728 + test ! -s conftest.err
11.5729 + }; then
11.5730 + :
11.5731 +else
11.5732 + echo "$as_me: failed program was:" >&5
11.5733 +sed 's/^/| /' conftest.$ac_ext >&5
11.5734 +
11.5735 + # Broken: fails on valid input.
11.5736 +continue
11.5737 +fi
11.5738 +
11.5739 +rm -f conftest.err conftest.$ac_ext
11.5740 +
11.5741 + # OK, works on sane cases. Now check whether nonexistent headers
11.5742 + # can be detected and how.
11.5743 + cat >conftest.$ac_ext <<_ACEOF
11.5744 +/* confdefs.h. */
11.5745 +_ACEOF
11.5746 +cat confdefs.h >>conftest.$ac_ext
11.5747 +cat >>conftest.$ac_ext <<_ACEOF
11.5748 +/* end confdefs.h. */
11.5749 +@%:@include <ac_nonexistent.h>
11.5750 +_ACEOF
11.5751 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.5752 +case "(($ac_try" in
11.5753 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5754 + *) ac_try_echo=$ac_try;;
11.5755 +esac
11.5756 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5757 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.5758 + ac_status=$?
11.5759 + grep -v '^ *+' conftest.er1 >conftest.err
11.5760 + rm -f conftest.er1
11.5761 + cat conftest.err >&5
11.5762 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5763 + (exit $ac_status); } >/dev/null && {
11.5764 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.5765 + test ! -s conftest.err
11.5766 + }; then
11.5767 + # Broken: success on invalid input.
11.5768 +continue
11.5769 +else
11.5770 + echo "$as_me: failed program was:" >&5
11.5771 +sed 's/^/| /' conftest.$ac_ext >&5
11.5772 +
11.5773 + # Passes both tests.
11.5774 +ac_preproc_ok=:
11.5775 +break
11.5776 +fi
11.5777 +
11.5778 +rm -f conftest.err conftest.$ac_ext
11.5779 +
11.5780 +done
11.5781 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11.5782 +rm -f conftest.err conftest.$ac_ext
11.5783 +if $ac_preproc_ok; then
11.5784 + break
11.5785 +fi
11.5786 +
11.5787 + done
11.5788 + ac_cv_prog_CXXCPP=$CXXCPP
11.5789 +
11.5790 +fi
11.5791 + CXXCPP=$ac_cv_prog_CXXCPP
11.5792 +else
11.5793 + ac_cv_prog_CXXCPP=$CXXCPP
11.5794 +fi
11.5795 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
11.5796 +echo "${ECHO_T}$CXXCPP" >&6; }
11.5797 +ac_preproc_ok=false
11.5798 +for ac_cxx_preproc_warn_flag in '' yes
11.5799 +do
11.5800 + # Use a header file that comes with gcc, so configuring glibc
11.5801 + # with a fresh cross-compiler works.
11.5802 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.5803 + # <limits.h> exists even on freestanding compilers.
11.5804 + # On the NeXT, cc -E runs the code through the compiler's parser,
11.5805 + # not just through cpp. "Syntax error" is here to catch this case.
11.5806 + cat >conftest.$ac_ext <<_ACEOF
11.5807 +/* confdefs.h. */
11.5808 +_ACEOF
11.5809 +cat confdefs.h >>conftest.$ac_ext
11.5810 +cat >>conftest.$ac_ext <<_ACEOF
11.5811 +/* end confdefs.h. */
11.5812 +@%:@ifdef __STDC__
11.5813 +@%:@ include <limits.h>
11.5814 +@%:@else
11.5815 +@%:@ include <assert.h>
11.5816 +@%:@endif
11.5817 + Syntax error
11.5818 +_ACEOF
11.5819 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.5820 +case "(($ac_try" in
11.5821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5822 + *) ac_try_echo=$ac_try;;
11.5823 +esac
11.5824 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5825 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.5826 + ac_status=$?
11.5827 + grep -v '^ *+' conftest.er1 >conftest.err
11.5828 + rm -f conftest.er1
11.5829 + cat conftest.err >&5
11.5830 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5831 + (exit $ac_status); } >/dev/null && {
11.5832 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.5833 + test ! -s conftest.err
11.5834 + }; then
11.5835 + :
11.5836 +else
11.5837 + echo "$as_me: failed program was:" >&5
11.5838 +sed 's/^/| /' conftest.$ac_ext >&5
11.5839 +
11.5840 + # Broken: fails on valid input.
11.5841 +continue
11.5842 +fi
11.5843 +
11.5844 +rm -f conftest.err conftest.$ac_ext
11.5845 +
11.5846 + # OK, works on sane cases. Now check whether nonexistent headers
11.5847 + # can be detected and how.
11.5848 + cat >conftest.$ac_ext <<_ACEOF
11.5849 +/* confdefs.h. */
11.5850 +_ACEOF
11.5851 +cat confdefs.h >>conftest.$ac_ext
11.5852 +cat >>conftest.$ac_ext <<_ACEOF
11.5853 +/* end confdefs.h. */
11.5854 +@%:@include <ac_nonexistent.h>
11.5855 +_ACEOF
11.5856 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.5857 +case "(($ac_try" in
11.5858 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.5859 + *) ac_try_echo=$ac_try;;
11.5860 +esac
11.5861 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.5862 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.5863 + ac_status=$?
11.5864 + grep -v '^ *+' conftest.er1 >conftest.err
11.5865 + rm -f conftest.er1
11.5866 + cat conftest.err >&5
11.5867 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.5868 + (exit $ac_status); } >/dev/null && {
11.5869 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.5870 + test ! -s conftest.err
11.5871 + }; then
11.5872 + # Broken: success on invalid input.
11.5873 +continue
11.5874 +else
11.5875 + echo "$as_me: failed program was:" >&5
11.5876 +sed 's/^/| /' conftest.$ac_ext >&5
11.5877 +
11.5878 + # Passes both tests.
11.5879 +ac_preproc_ok=:
11.5880 +break
11.5881 +fi
11.5882 +
11.5883 +rm -f conftest.err conftest.$ac_ext
11.5884 +
11.5885 +done
11.5886 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11.5887 +rm -f conftest.err conftest.$ac_ext
11.5888 +if $ac_preproc_ok; then
11.5889 + :
11.5890 +else
11.5891 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11.5892 +See \`config.log' for more details." >&5
11.5893 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11.5894 +See \`config.log' for more details." >&2;}
11.5895 + { (exit 1); exit 1; }; }
11.5896 +fi
11.5897 +
11.5898 +ac_ext=cpp
11.5899 +ac_cpp='$CXXCPP $CPPFLAGS'
11.5900 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.5901 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.5902 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.5903 +
11.5904 +
11.5905 +ac_ext=f
11.5906 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11.5907 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.5908 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11.5909 +if test -n "$ac_tool_prefix"; then
11.5910 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
11.5911 + do
11.5912 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11.5913 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11.5914 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.5915 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.5916 +if test "${ac_cv_prog_F77+set}" = set; then
11.5917 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5918 +else
11.5919 + if test -n "$F77"; then
11.5920 + ac_cv_prog_F77="$F77" # Let the user override the test.
11.5921 +else
11.5922 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.5923 +for as_dir in $PATH
11.5924 +do
11.5925 + IFS=$as_save_IFS
11.5926 + test -z "$as_dir" && as_dir=.
11.5927 + for ac_exec_ext in '' $ac_executable_extensions; do
11.5928 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.5929 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
11.5930 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.5931 + break 2
11.5932 + fi
11.5933 +done
11.5934 +done
11.5935 +IFS=$as_save_IFS
11.5936 +
11.5937 +fi
11.5938 +fi
11.5939 +F77=$ac_cv_prog_F77
11.5940 +if test -n "$F77"; then
11.5941 + { echo "$as_me:$LINENO: result: $F77" >&5
11.5942 +echo "${ECHO_T}$F77" >&6; }
11.5943 +else
11.5944 + { echo "$as_me:$LINENO: result: no" >&5
11.5945 +echo "${ECHO_T}no" >&6; }
11.5946 +fi
11.5947 +
11.5948 +
11.5949 + test -n "$F77" && break
11.5950 + done
11.5951 +fi
11.5952 +if test -z "$F77"; then
11.5953 + ac_ct_F77=$F77
11.5954 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
11.5955 +do
11.5956 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11.5957 +set dummy $ac_prog; ac_word=$2
11.5958 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.5959 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.5960 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
11.5961 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.5962 +else
11.5963 + if test -n "$ac_ct_F77"; then
11.5964 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
11.5965 +else
11.5966 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.5967 +for as_dir in $PATH
11.5968 +do
11.5969 + IFS=$as_save_IFS
11.5970 + test -z "$as_dir" && as_dir=.
11.5971 + for ac_exec_ext in '' $ac_executable_extensions; do
11.5972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.5973 + ac_cv_prog_ac_ct_F77="$ac_prog"
11.5974 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.5975 + break 2
11.5976 + fi
11.5977 +done
11.5978 +done
11.5979 +IFS=$as_save_IFS
11.5980 +
11.5981 +fi
11.5982 +fi
11.5983 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
11.5984 +if test -n "$ac_ct_F77"; then
11.5985 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11.5986 +echo "${ECHO_T}$ac_ct_F77" >&6; }
11.5987 +else
11.5988 + { echo "$as_me:$LINENO: result: no" >&5
11.5989 +echo "${ECHO_T}no" >&6; }
11.5990 +fi
11.5991 +
11.5992 +
11.5993 + test -n "$ac_ct_F77" && break
11.5994 +done
11.5995 +
11.5996 + if test "x$ac_ct_F77" = x; then
11.5997 + F77=""
11.5998 + else
11.5999 + case $cross_compiling:$ac_tool_warned in
11.6000 +yes:)
11.6001 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.6002 +whose name does not start with the host triplet. If you think this
11.6003 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.6004 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.6005 +whose name does not start with the host triplet. If you think this
11.6006 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.6007 +ac_tool_warned=yes ;;
11.6008 +esac
11.6009 + F77=$ac_ct_F77
11.6010 + fi
11.6011 +fi
11.6012 +
11.6013 +
11.6014 +# Provide some information about the compiler.
11.6015 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
11.6016 +ac_compiler=`set X $ac_compile; echo $2`
11.6017 +{ (ac_try="$ac_compiler --version >&5"
11.6018 +case "(($ac_try" in
11.6019 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.6020 + *) ac_try_echo=$ac_try;;
11.6021 +esac
11.6022 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.6023 + (eval "$ac_compiler --version >&5") 2>&5
11.6024 + ac_status=$?
11.6025 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6026 + (exit $ac_status); }
11.6027 +{ (ac_try="$ac_compiler -v >&5"
11.6028 +case "(($ac_try" in
11.6029 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.6030 + *) ac_try_echo=$ac_try;;
11.6031 +esac
11.6032 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.6033 + (eval "$ac_compiler -v >&5") 2>&5
11.6034 + ac_status=$?
11.6035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6036 + (exit $ac_status); }
11.6037 +{ (ac_try="$ac_compiler -V >&5"
11.6038 +case "(($ac_try" in
11.6039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.6040 + *) ac_try_echo=$ac_try;;
11.6041 +esac
11.6042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.6043 + (eval "$ac_compiler -V >&5") 2>&5
11.6044 + ac_status=$?
11.6045 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6046 + (exit $ac_status); }
11.6047 +rm -f a.out
11.6048 +
11.6049 +# If we don't use `.F' as extension, the preprocessor is not run on the
11.6050 +# input file. (Note that this only needs to work for GNU compilers.)
11.6051 +ac_save_ext=$ac_ext
11.6052 +ac_ext=F
11.6053 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11.6054 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
11.6055 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11.6056 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6057 +else
11.6058 + cat >conftest.$ac_ext <<_ACEOF
11.6059 + program main
11.6060 +#ifndef __GNUC__
11.6061 + choke me
11.6062 +#endif
11.6063 +
11.6064 + end
11.6065 +_ACEOF
11.6066 +rm -f conftest.$ac_objext
11.6067 +if { (ac_try="$ac_compile"
11.6068 +case "(($ac_try" in
11.6069 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.6070 + *) ac_try_echo=$ac_try;;
11.6071 +esac
11.6072 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.6073 + (eval "$ac_compile") 2>conftest.er1
11.6074 + ac_status=$?
11.6075 + grep -v '^ *+' conftest.er1 >conftest.err
11.6076 + rm -f conftest.er1
11.6077 + cat conftest.err >&5
11.6078 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6079 + (exit $ac_status); } && {
11.6080 + test -z "$ac_f77_werror_flag" ||
11.6081 + test ! -s conftest.err
11.6082 + } && test -s conftest.$ac_objext; then
11.6083 + ac_compiler_gnu=yes
11.6084 +else
11.6085 + echo "$as_me: failed program was:" >&5
11.6086 +sed 's/^/| /' conftest.$ac_ext >&5
11.6087 +
11.6088 + ac_compiler_gnu=no
11.6089 +fi
11.6090 +
11.6091 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.6092 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11.6093 +
11.6094 +fi
11.6095 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11.6096 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
11.6097 +ac_ext=$ac_save_ext
11.6098 +ac_test_FFLAGS=${FFLAGS+set}
11.6099 +ac_save_FFLAGS=$FFLAGS
11.6100 +FFLAGS=
11.6101 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11.6102 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
11.6103 +if test "${ac_cv_prog_f77_g+set}" = set; then
11.6104 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6105 +else
11.6106 + FFLAGS=-g
11.6107 +cat >conftest.$ac_ext <<_ACEOF
11.6108 + program main
11.6109 +
11.6110 + end
11.6111 +_ACEOF
11.6112 +rm -f conftest.$ac_objext
11.6113 +if { (ac_try="$ac_compile"
11.6114 +case "(($ac_try" in
11.6115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.6116 + *) ac_try_echo=$ac_try;;
11.6117 +esac
11.6118 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.6119 + (eval "$ac_compile") 2>conftest.er1
11.6120 + ac_status=$?
11.6121 + grep -v '^ *+' conftest.er1 >conftest.err
11.6122 + rm -f conftest.er1
11.6123 + cat conftest.err >&5
11.6124 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6125 + (exit $ac_status); } && {
11.6126 + test -z "$ac_f77_werror_flag" ||
11.6127 + test ! -s conftest.err
11.6128 + } && test -s conftest.$ac_objext; then
11.6129 + ac_cv_prog_f77_g=yes
11.6130 +else
11.6131 + echo "$as_me: failed program was:" >&5
11.6132 +sed 's/^/| /' conftest.$ac_ext >&5
11.6133 +
11.6134 + ac_cv_prog_f77_g=no
11.6135 +fi
11.6136 +
11.6137 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.6138 +
11.6139 +fi
11.6140 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11.6141 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
11.6142 +if test "$ac_test_FFLAGS" = set; then
11.6143 + FFLAGS=$ac_save_FFLAGS
11.6144 +elif test $ac_cv_prog_f77_g = yes; then
11.6145 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11.6146 + FFLAGS="-g -O2"
11.6147 + else
11.6148 + FFLAGS="-g"
11.6149 + fi
11.6150 +else
11.6151 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11.6152 + FFLAGS="-O2"
11.6153 + else
11.6154 + FFLAGS=
11.6155 + fi
11.6156 +fi
11.6157 +
11.6158 +G77=`test $ac_compiler_gnu = yes && echo yes`
11.6159 +ac_ext=c
11.6160 +ac_cpp='$CPP $CPPFLAGS'
11.6161 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.6162 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.6163 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.6164 +
11.6165 +
11.6166 +
11.6167 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11.6168 +
11.6169 +# find the maximum length of command line arguments
11.6170 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11.6171 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
11.6172 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11.6173 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6174 +else
11.6175 + i=0
11.6176 + teststring="ABCD"
11.6177 +
11.6178 + case $build_os in
11.6179 + msdosdjgpp*)
11.6180 + # On DJGPP, this test can blow up pretty badly due to problems in libc
11.6181 + # (any single argument exceeding 2000 bytes causes a buffer overrun
11.6182 + # during glob expansion). Even if it were fixed, the result of this
11.6183 + # check would be larger than it should be.
11.6184 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
11.6185 + ;;
11.6186 +
11.6187 + gnu*)
11.6188 + # Under GNU Hurd, this test is not required because there is
11.6189 + # no limit to the length of command line arguments.
11.6190 + # Libtool will interpret -1 as no limit whatsoever
11.6191 + lt_cv_sys_max_cmd_len=-1;
11.6192 + ;;
11.6193 +
11.6194 + cygwin* | mingw*)
11.6195 + # On Win9x/ME, this test blows up -- it succeeds, but takes
11.6196 + # about 5 minutes as the teststring grows exponentially.
11.6197 + # Worse, since 9x/ME are not pre-emptively multitasking,
11.6198 + # you end up with a "frozen" computer, even though with patience
11.6199 + # the test eventually succeeds (with a max line length of 256k).
11.6200 + # Instead, let's just punt: use the minimum linelength reported by
11.6201 + # all of the supported platforms: 8192 (on NT/2K/XP).
11.6202 + lt_cv_sys_max_cmd_len=8192;
11.6203 + ;;
11.6204 +
11.6205 + amigaos*)
11.6206 + # On AmigaOS with pdksh, this test takes hours, literally.
11.6207 + # So we just punt and use a minimum line length of 8192.
11.6208 + lt_cv_sys_max_cmd_len=8192;
11.6209 + ;;
11.6210 +
11.6211 + *)
11.6212 + # If test is not a shell built-in, we'll probably end up computing a
11.6213 + # maximum length that is only half of the actual maximum length, but
11.6214 + # we can't tell.
11.6215 + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
11.6216 + = "XX$teststring") >/dev/null 2>&1 &&
11.6217 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
11.6218 + lt_cv_sys_max_cmd_len=$new_result &&
11.6219 + test $i != 17 # 1/2 MB should be enough
11.6220 + do
11.6221 + i=`expr $i + 1`
11.6222 + teststring=$teststring$teststring
11.6223 + done
11.6224 + teststring=
11.6225 + # Add a significant safety factor because C++ compilers can tack on massive
11.6226 + # amounts of additional arguments before passing them to the linker.
11.6227 + # It appears as though 1/2 is a usable value.
11.6228 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
11.6229 + ;;
11.6230 + esac
11.6231 +
11.6232 +fi
11.6233 +
11.6234 +if test -n $lt_cv_sys_max_cmd_len ; then
11.6235 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11.6236 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
11.6237 +else
11.6238 + { echo "$as_me:$LINENO: result: none" >&5
11.6239 +echo "${ECHO_T}none" >&6; }
11.6240 +fi
11.6241 +
11.6242 +
11.6243 +
11.6244 +
11.6245 +# Check for command to grab the raw symbol name followed by C symbol from nm.
11.6246 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11.6247 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
11.6248 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11.6249 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6250 +else
11.6251 +
11.6252 +# These are sane defaults that work on at least a few old systems.
11.6253 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
11.6254 +
11.6255 +# Character class describing NM global symbol codes.
11.6256 +symcode='[BCDEGRST]'
11.6257 +
11.6258 +# Regexp to match symbols that can be accessed directly from C.
11.6259 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11.6260 +
11.6261 +# Transform the above into a raw symbol and a C symbol.
11.6262 +symxfrm='\1 \2\3 \3'
11.6263 +
11.6264 +# Transform an extracted symbol line into a proper C declaration
11.6265 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
11.6266 +
11.6267 +# Transform an extracted symbol line into symbol name and symbol address
11.6268 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
11.6269 +
11.6270 +# Define system-specific variables.
11.6271 +case $host_os in
11.6272 +aix*)
11.6273 + symcode='[BCDT]'
11.6274 + ;;
11.6275 +cygwin* | mingw* | pw32*)
11.6276 + symcode='[ABCDGISTW]'
11.6277 + ;;
11.6278 +hpux*) # Its linker distinguishes data from code symbols
11.6279 + if test "$host_cpu" = ia64; then
11.6280 + symcode='[ABCDEGRST]'
11.6281 + fi
11.6282 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11.6283 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
11.6284 + ;;
11.6285 +irix* | nonstopux*)
11.6286 + symcode='[BCDEGRST]'
11.6287 + ;;
11.6288 +osf*)
11.6289 + symcode='[BCDEGQRST]'
11.6290 + ;;
11.6291 +solaris* | sysv5*)
11.6292 + symcode='[BDRT]'
11.6293 + ;;
11.6294 +sysv4)
11.6295 + symcode='[DFNSTU]'
11.6296 + ;;
11.6297 +esac
11.6298 +
11.6299 +# Handle CRLF in mingw tool chain
11.6300 +opt_cr=
11.6301 +case $build_os in
11.6302 +mingw*)
11.6303 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11.6304 + ;;
11.6305 +esac
11.6306 +
11.6307 +# If we're using GNU nm, then use its standard symbol codes.
11.6308 +case `$NM -V 2>&1` in
11.6309 +*GNU* | *'with BFD'*)
11.6310 + symcode='[ABCDGIRSTW]' ;;
11.6311 +esac
11.6312 +
11.6313 +# Try without a prefix undercore, then with it.
11.6314 +for ac_symprfx in "" "_"; do
11.6315 +
11.6316 + # Write the raw and C identifiers.
11.6317 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
11.6318 +
11.6319 + # Check to see that the pipe works correctly.
11.6320 + pipe_works=no
11.6321 +
11.6322 + rm -f conftest*
11.6323 + cat > conftest.$ac_ext <<EOF
11.6324 +#ifdef __cplusplus
11.6325 +extern "C" {
11.6326 +#endif
11.6327 +char nm_test_var;
11.6328 +void nm_test_func(){}
11.6329 +#ifdef __cplusplus
11.6330 +}
11.6331 +#endif
11.6332 +int main(){nm_test_var='a';nm_test_func();return(0);}
11.6333 +EOF
11.6334 +
11.6335 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.6336 + (eval $ac_compile) 2>&5
11.6337 + ac_status=$?
11.6338 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6339 + (exit $ac_status); }; then
11.6340 + # Now try to grab the symbols.
11.6341 + nlist=conftest.nm
11.6342 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11.6343 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
11.6344 + ac_status=$?
11.6345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6346 + (exit $ac_status); } && test -s "$nlist"; then
11.6347 + # Try sorting and uniquifying the output.
11.6348 + if sort "$nlist" | uniq > "$nlist"T; then
11.6349 + mv -f "$nlist"T "$nlist"
11.6350 + else
11.6351 + rm -f "$nlist"T
11.6352 + fi
11.6353 +
11.6354 + # Make sure that we snagged all the symbols we need.
11.6355 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
11.6356 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
11.6357 + cat <<EOF > conftest.$ac_ext
11.6358 +#ifdef __cplusplus
11.6359 +extern "C" {
11.6360 +#endif
11.6361 +
11.6362 +EOF
11.6363 + # Now generate the symbol file.
11.6364 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
11.6365 +
11.6366 + cat <<EOF >> conftest.$ac_ext
11.6367 +#if defined (__STDC__) && __STDC__
11.6368 +# define lt_ptr_t void *
11.6369 +#else
11.6370 +# define lt_ptr_t char *
11.6371 +# define const
11.6372 +#endif
11.6373 +
11.6374 +/* The mapping between symbol names and symbols. */
11.6375 +const struct {
11.6376 + const char *name;
11.6377 + lt_ptr_t address;
11.6378 +}
11.6379 +lt_preloaded_symbols[] =
11.6380 +{
11.6381 +EOF
11.6382 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
11.6383 + cat <<\EOF >> conftest.$ac_ext
11.6384 + {0, (lt_ptr_t) 0}
11.6385 +};
11.6386 +
11.6387 +#ifdef __cplusplus
11.6388 +}
11.6389 +#endif
11.6390 +EOF
11.6391 + # Now try linking the two files.
11.6392 + mv conftest.$ac_objext conftstm.$ac_objext
11.6393 + lt_save_LIBS="$LIBS"
11.6394 + lt_save_CFLAGS="$CFLAGS"
11.6395 + LIBS="conftstm.$ac_objext"
11.6396 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11.6397 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.6398 + (eval $ac_link) 2>&5
11.6399 + ac_status=$?
11.6400 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.6401 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
11.6402 + pipe_works=yes
11.6403 + fi
11.6404 + LIBS="$lt_save_LIBS"
11.6405 + CFLAGS="$lt_save_CFLAGS"
11.6406 + else
11.6407 + echo "cannot find nm_test_func in $nlist" >&5
11.6408 + fi
11.6409 + else
11.6410 + echo "cannot find nm_test_var in $nlist" >&5
11.6411 + fi
11.6412 + else
11.6413 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11.6414 + fi
11.6415 + else
11.6416 + echo "$progname: failed program was:" >&5
11.6417 + cat conftest.$ac_ext >&5
11.6418 + fi
11.6419 + rm -f conftest* conftst*
11.6420 +
11.6421 + # Do not use the global_symbol_pipe unless it works.
11.6422 + if test "$pipe_works" = yes; then
11.6423 + break
11.6424 + else
11.6425 + lt_cv_sys_global_symbol_pipe=
11.6426 + fi
11.6427 +done
11.6428 +
11.6429 +fi
11.6430 +
11.6431 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
11.6432 + lt_cv_sys_global_symbol_to_cdecl=
11.6433 +fi
11.6434 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11.6435 + { echo "$as_me:$LINENO: result: failed" >&5
11.6436 +echo "${ECHO_T}failed" >&6; }
11.6437 +else
11.6438 + { echo "$as_me:$LINENO: result: ok" >&5
11.6439 +echo "${ECHO_T}ok" >&6; }
11.6440 +fi
11.6441 +
11.6442 +{ echo "$as_me:$LINENO: checking for objdir" >&5
11.6443 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
11.6444 +if test "${lt_cv_objdir+set}" = set; then
11.6445 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6446 +else
11.6447 + rm -f .libs 2>/dev/null
11.6448 +mkdir .libs 2>/dev/null
11.6449 +if test -d .libs; then
11.6450 + lt_cv_objdir=.libs
11.6451 +else
11.6452 + # MS-DOS does not allow filenames that begin with a dot.
11.6453 + lt_cv_objdir=_libs
11.6454 +fi
11.6455 +rmdir .libs 2>/dev/null
11.6456 +fi
11.6457 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11.6458 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
11.6459 +objdir=$lt_cv_objdir
11.6460 +
11.6461 +
11.6462 +
11.6463 +
11.6464 +
11.6465 +case $host_os in
11.6466 +aix3*)
11.6467 + # AIX sometimes has problems with the GCC collect2 program. For some
11.6468 + # reason, if we set the COLLECT_NAMES environment variable, the problems
11.6469 + # vanish in a puff of smoke.
11.6470 + if test "X${COLLECT_NAMES+set}" != Xset; then
11.6471 + COLLECT_NAMES=
11.6472 + export COLLECT_NAMES
11.6473 + fi
11.6474 + ;;
11.6475 +esac
11.6476 +
11.6477 +# Sed substitution that helps us do robust quoting. It backslashifies
11.6478 +# metacharacters that are still active within double-quoted strings.
11.6479 +Xsed='sed -e s/^X//'
11.6480 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
11.6481 +
11.6482 +# Same as above, but do not quote variable references.
11.6483 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
11.6484 +
11.6485 +# Sed substitution to delay expansion of an escaped shell variable in a
11.6486 +# double_quote_subst'ed string.
11.6487 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11.6488 +
11.6489 +# Sed substitution to avoid accidental globbing in evaled expressions
11.6490 +no_glob_subst='s/\*/\\\*/g'
11.6491 +
11.6492 +# Constants:
11.6493 +rm="rm -f"
11.6494 +
11.6495 +# Global variables:
11.6496 +default_ofile=libtool
11.6497 +can_build_shared=yes
11.6498 +
11.6499 +# All known linkers require a `.a' archive for static linking (except M$VC,
11.6500 +# which needs '.lib').
11.6501 +libext=a
11.6502 +ltmain="$ac_aux_dir/ltmain.sh"
11.6503 +ofile="$default_ofile"
11.6504 +with_gnu_ld="$lt_cv_prog_gnu_ld"
11.6505 +
11.6506 +if test -n "$ac_tool_prefix"; then
11.6507 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11.6508 +set dummy ${ac_tool_prefix}ar; ac_word=$2
11.6509 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.6510 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.6511 +if test "${ac_cv_prog_AR+set}" = set; then
11.6512 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6513 +else
11.6514 + if test -n "$AR"; then
11.6515 + ac_cv_prog_AR="$AR" # Let the user override the test.
11.6516 +else
11.6517 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.6518 +for as_dir in $PATH
11.6519 +do
11.6520 + IFS=$as_save_IFS
11.6521 + test -z "$as_dir" && as_dir=.
11.6522 + for ac_exec_ext in '' $ac_executable_extensions; do
11.6523 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.6524 + ac_cv_prog_AR="${ac_tool_prefix}ar"
11.6525 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.6526 + break 2
11.6527 + fi
11.6528 +done
11.6529 +done
11.6530 +IFS=$as_save_IFS
11.6531 +
11.6532 +fi
11.6533 +fi
11.6534 +AR=$ac_cv_prog_AR
11.6535 +if test -n "$AR"; then
11.6536 + { echo "$as_me:$LINENO: result: $AR" >&5
11.6537 +echo "${ECHO_T}$AR" >&6; }
11.6538 +else
11.6539 + { echo "$as_me:$LINENO: result: no" >&5
11.6540 +echo "${ECHO_T}no" >&6; }
11.6541 +fi
11.6542 +
11.6543 +
11.6544 +fi
11.6545 +if test -z "$ac_cv_prog_AR"; then
11.6546 + ac_ct_AR=$AR
11.6547 + # Extract the first word of "ar", so it can be a program name with args.
11.6548 +set dummy ar; ac_word=$2
11.6549 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.6550 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.6551 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11.6552 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6553 +else
11.6554 + if test -n "$ac_ct_AR"; then
11.6555 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11.6556 +else
11.6557 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.6558 +for as_dir in $PATH
11.6559 +do
11.6560 + IFS=$as_save_IFS
11.6561 + test -z "$as_dir" && as_dir=.
11.6562 + for ac_exec_ext in '' $ac_executable_extensions; do
11.6563 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.6564 + ac_cv_prog_ac_ct_AR="ar"
11.6565 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.6566 + break 2
11.6567 + fi
11.6568 +done
11.6569 +done
11.6570 +IFS=$as_save_IFS
11.6571 +
11.6572 +fi
11.6573 +fi
11.6574 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
11.6575 +if test -n "$ac_ct_AR"; then
11.6576 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11.6577 +echo "${ECHO_T}$ac_ct_AR" >&6; }
11.6578 +else
11.6579 + { echo "$as_me:$LINENO: result: no" >&5
11.6580 +echo "${ECHO_T}no" >&6; }
11.6581 +fi
11.6582 +
11.6583 + if test "x$ac_ct_AR" = x; then
11.6584 + AR="false"
11.6585 + else
11.6586 + case $cross_compiling:$ac_tool_warned in
11.6587 +yes:)
11.6588 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.6589 +whose name does not start with the host triplet. If you think this
11.6590 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.6591 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.6592 +whose name does not start with the host triplet. If you think this
11.6593 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.6594 +ac_tool_warned=yes ;;
11.6595 +esac
11.6596 + AR=$ac_ct_AR
11.6597 + fi
11.6598 +else
11.6599 + AR="$ac_cv_prog_AR"
11.6600 +fi
11.6601 +
11.6602 +if test -n "$ac_tool_prefix"; then
11.6603 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11.6604 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11.6605 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.6606 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.6607 +if test "${ac_cv_prog_RANLIB+set}" = set; then
11.6608 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6609 +else
11.6610 + if test -n "$RANLIB"; then
11.6611 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11.6612 +else
11.6613 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.6614 +for as_dir in $PATH
11.6615 +do
11.6616 + IFS=$as_save_IFS
11.6617 + test -z "$as_dir" && as_dir=.
11.6618 + for ac_exec_ext in '' $ac_executable_extensions; do
11.6619 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.6620 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11.6621 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.6622 + break 2
11.6623 + fi
11.6624 +done
11.6625 +done
11.6626 +IFS=$as_save_IFS
11.6627 +
11.6628 +fi
11.6629 +fi
11.6630 +RANLIB=$ac_cv_prog_RANLIB
11.6631 +if test -n "$RANLIB"; then
11.6632 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
11.6633 +echo "${ECHO_T}$RANLIB" >&6; }
11.6634 +else
11.6635 + { echo "$as_me:$LINENO: result: no" >&5
11.6636 +echo "${ECHO_T}no" >&6; }
11.6637 +fi
11.6638 +
11.6639 +
11.6640 +fi
11.6641 +if test -z "$ac_cv_prog_RANLIB"; then
11.6642 + ac_ct_RANLIB=$RANLIB
11.6643 + # Extract the first word of "ranlib", so it can be a program name with args.
11.6644 +set dummy ranlib; ac_word=$2
11.6645 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.6646 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.6647 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11.6648 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6649 +else
11.6650 + if test -n "$ac_ct_RANLIB"; then
11.6651 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11.6652 +else
11.6653 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.6654 +for as_dir in $PATH
11.6655 +do
11.6656 + IFS=$as_save_IFS
11.6657 + test -z "$as_dir" && as_dir=.
11.6658 + for ac_exec_ext in '' $ac_executable_extensions; do
11.6659 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.6660 + ac_cv_prog_ac_ct_RANLIB="ranlib"
11.6661 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.6662 + break 2
11.6663 + fi
11.6664 +done
11.6665 +done
11.6666 +IFS=$as_save_IFS
11.6667 +
11.6668 +fi
11.6669 +fi
11.6670 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11.6671 +if test -n "$ac_ct_RANLIB"; then
11.6672 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11.6673 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
11.6674 +else
11.6675 + { echo "$as_me:$LINENO: result: no" >&5
11.6676 +echo "${ECHO_T}no" >&6; }
11.6677 +fi
11.6678 +
11.6679 + if test "x$ac_ct_RANLIB" = x; then
11.6680 + RANLIB=":"
11.6681 + else
11.6682 + case $cross_compiling:$ac_tool_warned in
11.6683 +yes:)
11.6684 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.6685 +whose name does not start with the host triplet. If you think this
11.6686 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.6687 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.6688 +whose name does not start with the host triplet. If you think this
11.6689 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.6690 +ac_tool_warned=yes ;;
11.6691 +esac
11.6692 + RANLIB=$ac_ct_RANLIB
11.6693 + fi
11.6694 +else
11.6695 + RANLIB="$ac_cv_prog_RANLIB"
11.6696 +fi
11.6697 +
11.6698 +if test -n "$ac_tool_prefix"; then
11.6699 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11.6700 +set dummy ${ac_tool_prefix}strip; ac_word=$2
11.6701 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.6702 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.6703 +if test "${ac_cv_prog_STRIP+set}" = set; then
11.6704 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6705 +else
11.6706 + if test -n "$STRIP"; then
11.6707 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11.6708 +else
11.6709 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.6710 +for as_dir in $PATH
11.6711 +do
11.6712 + IFS=$as_save_IFS
11.6713 + test -z "$as_dir" && as_dir=.
11.6714 + for ac_exec_ext in '' $ac_executable_extensions; do
11.6715 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.6716 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11.6717 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.6718 + break 2
11.6719 + fi
11.6720 +done
11.6721 +done
11.6722 +IFS=$as_save_IFS
11.6723 +
11.6724 +fi
11.6725 +fi
11.6726 +STRIP=$ac_cv_prog_STRIP
11.6727 +if test -n "$STRIP"; then
11.6728 + { echo "$as_me:$LINENO: result: $STRIP" >&5
11.6729 +echo "${ECHO_T}$STRIP" >&6; }
11.6730 +else
11.6731 + { echo "$as_me:$LINENO: result: no" >&5
11.6732 +echo "${ECHO_T}no" >&6; }
11.6733 +fi
11.6734 +
11.6735 +
11.6736 +fi
11.6737 +if test -z "$ac_cv_prog_STRIP"; then
11.6738 + ac_ct_STRIP=$STRIP
11.6739 + # Extract the first word of "strip", so it can be a program name with args.
11.6740 +set dummy strip; ac_word=$2
11.6741 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.6742 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.6743 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11.6744 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6745 +else
11.6746 + if test -n "$ac_ct_STRIP"; then
11.6747 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11.6748 +else
11.6749 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.6750 +for as_dir in $PATH
11.6751 +do
11.6752 + IFS=$as_save_IFS
11.6753 + test -z "$as_dir" && as_dir=.
11.6754 + for ac_exec_ext in '' $ac_executable_extensions; do
11.6755 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.6756 + ac_cv_prog_ac_ct_STRIP="strip"
11.6757 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.6758 + break 2
11.6759 + fi
11.6760 +done
11.6761 +done
11.6762 +IFS=$as_save_IFS
11.6763 +
11.6764 +fi
11.6765 +fi
11.6766 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11.6767 +if test -n "$ac_ct_STRIP"; then
11.6768 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11.6769 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
11.6770 +else
11.6771 + { echo "$as_me:$LINENO: result: no" >&5
11.6772 +echo "${ECHO_T}no" >&6; }
11.6773 +fi
11.6774 +
11.6775 + if test "x$ac_ct_STRIP" = x; then
11.6776 + STRIP=":"
11.6777 + else
11.6778 + case $cross_compiling:$ac_tool_warned in
11.6779 +yes:)
11.6780 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.6781 +whose name does not start with the host triplet. If you think this
11.6782 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.6783 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.6784 +whose name does not start with the host triplet. If you think this
11.6785 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.6786 +ac_tool_warned=yes ;;
11.6787 +esac
11.6788 + STRIP=$ac_ct_STRIP
11.6789 + fi
11.6790 +else
11.6791 + STRIP="$ac_cv_prog_STRIP"
11.6792 +fi
11.6793 +
11.6794 +
11.6795 +old_CC="$CC"
11.6796 +old_CFLAGS="$CFLAGS"
11.6797 +
11.6798 +# Set sane defaults for various variables
11.6799 +test -z "$AR" && AR=ar
11.6800 +test -z "$AR_FLAGS" && AR_FLAGS=cru
11.6801 +test -z "$AS" && AS=as
11.6802 +test -z "$CC" && CC=cc
11.6803 +test -z "$LTCC" && LTCC=$CC
11.6804 +test -z "$DLLTOOL" && DLLTOOL=dlltool
11.6805 +test -z "$LD" && LD=ld
11.6806 +test -z "$LN_S" && LN_S="ln -s"
11.6807 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
11.6808 +test -z "$NM" && NM=nm
11.6809 +test -z "$SED" && SED=sed
11.6810 +test -z "$OBJDUMP" && OBJDUMP=objdump
11.6811 +test -z "$RANLIB" && RANLIB=:
11.6812 +test -z "$STRIP" && STRIP=:
11.6813 +test -z "$ac_objext" && ac_objext=o
11.6814 +
11.6815 +# Determine commands to create old-style static archives.
11.6816 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11.6817 +old_postinstall_cmds='chmod 644 $oldlib'
11.6818 +old_postuninstall_cmds=
11.6819 +
11.6820 +if test -n "$RANLIB"; then
11.6821 + case $host_os in
11.6822 + openbsd*)
11.6823 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
11.6824 + ;;
11.6825 + *)
11.6826 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
11.6827 + ;;
11.6828 + esac
11.6829 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
11.6830 +fi
11.6831 +
11.6832 +# Only perform the check for file, if the check method requires it
11.6833 +case $deplibs_check_method in
11.6834 +file_magic*)
11.6835 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11.6836 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11.6837 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
11.6838 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11.6839 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6840 +else
11.6841 + case $MAGIC_CMD in
11.6842 +[\\/*] | ?:[\\/]*)
11.6843 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11.6844 + ;;
11.6845 +*)
11.6846 + lt_save_MAGIC_CMD="$MAGIC_CMD"
11.6847 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11.6848 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11.6849 + for ac_dir in $ac_dummy; do
11.6850 + IFS="$lt_save_ifs"
11.6851 + test -z "$ac_dir" && ac_dir=.
11.6852 + if test -f $ac_dir/${ac_tool_prefix}file; then
11.6853 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11.6854 + if test -n "$file_magic_test_file"; then
11.6855 + case $deplibs_check_method in
11.6856 + "file_magic "*)
11.6857 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11.6858 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11.6859 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11.6860 + $EGREP "$file_magic_regex" > /dev/null; then
11.6861 + :
11.6862 + else
11.6863 + cat <<EOF 1>&2
11.6864 +
11.6865 +*** Warning: the command libtool uses to detect shared libraries,
11.6866 +*** $file_magic_cmd, produces output that libtool cannot recognize.
11.6867 +*** The result is that libtool may fail to recognize shared libraries
11.6868 +*** as such. This will affect the creation of libtool libraries that
11.6869 +*** depend on shared libraries, but programs linked with such libtool
11.6870 +*** libraries will work regardless of this problem. Nevertheless, you
11.6871 +*** may want to report the problem to your system manager and/or to
11.6872 +*** bug-libtool@gnu.org
11.6873 +
11.6874 +EOF
11.6875 + fi ;;
11.6876 + esac
11.6877 + fi
11.6878 + break
11.6879 + fi
11.6880 + done
11.6881 + IFS="$lt_save_ifs"
11.6882 + MAGIC_CMD="$lt_save_MAGIC_CMD"
11.6883 + ;;
11.6884 +esac
11.6885 +fi
11.6886 +
11.6887 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11.6888 +if test -n "$MAGIC_CMD"; then
11.6889 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11.6890 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
11.6891 +else
11.6892 + { echo "$as_me:$LINENO: result: no" >&5
11.6893 +echo "${ECHO_T}no" >&6; }
11.6894 +fi
11.6895 +
11.6896 +if test -z "$lt_cv_path_MAGIC_CMD"; then
11.6897 + if test -n "$ac_tool_prefix"; then
11.6898 + { echo "$as_me:$LINENO: checking for file" >&5
11.6899 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
11.6900 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11.6901 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.6902 +else
11.6903 + case $MAGIC_CMD in
11.6904 +[\\/*] | ?:[\\/]*)
11.6905 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11.6906 + ;;
11.6907 +*)
11.6908 + lt_save_MAGIC_CMD="$MAGIC_CMD"
11.6909 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11.6910 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11.6911 + for ac_dir in $ac_dummy; do
11.6912 + IFS="$lt_save_ifs"
11.6913 + test -z "$ac_dir" && ac_dir=.
11.6914 + if test -f $ac_dir/file; then
11.6915 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
11.6916 + if test -n "$file_magic_test_file"; then
11.6917 + case $deplibs_check_method in
11.6918 + "file_magic "*)
11.6919 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11.6920 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11.6921 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11.6922 + $EGREP "$file_magic_regex" > /dev/null; then
11.6923 + :
11.6924 + else
11.6925 + cat <<EOF 1>&2
11.6926 +
11.6927 +*** Warning: the command libtool uses to detect shared libraries,
11.6928 +*** $file_magic_cmd, produces output that libtool cannot recognize.
11.6929 +*** The result is that libtool may fail to recognize shared libraries
11.6930 +*** as such. This will affect the creation of libtool libraries that
11.6931 +*** depend on shared libraries, but programs linked with such libtool
11.6932 +*** libraries will work regardless of this problem. Nevertheless, you
11.6933 +*** may want to report the problem to your system manager and/or to
11.6934 +*** bug-libtool@gnu.org
11.6935 +
11.6936 +EOF
11.6937 + fi ;;
11.6938 + esac
11.6939 + fi
11.6940 + break
11.6941 + fi
11.6942 + done
11.6943 + IFS="$lt_save_ifs"
11.6944 + MAGIC_CMD="$lt_save_MAGIC_CMD"
11.6945 + ;;
11.6946 +esac
11.6947 +fi
11.6948 +
11.6949 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11.6950 +if test -n "$MAGIC_CMD"; then
11.6951 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11.6952 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
11.6953 +else
11.6954 + { echo "$as_me:$LINENO: result: no" >&5
11.6955 +echo "${ECHO_T}no" >&6; }
11.6956 +fi
11.6957 +
11.6958 + else
11.6959 + MAGIC_CMD=:
11.6960 + fi
11.6961 +fi
11.6962 +
11.6963 + fi
11.6964 + ;;
11.6965 +esac
11.6966 +
11.6967 +enable_dlopen=no
11.6968 +enable_win32_dll=no
11.6969 +
11.6970 +# Check whether --enable-libtool-lock was given.
11.6971 +if test "${enable_libtool_lock+set}" = set; then
11.6972 + enableval=$enable_libtool_lock;
11.6973 +fi
11.6974 +
11.6975 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11.6976 +
11.6977 +
11.6978 +# Check whether --with-pic was given.
11.6979 +if test "${with_pic+set}" = set; then
11.6980 + withval=$with_pic; pic_mode="$withval"
11.6981 +else
11.6982 + pic_mode=default
11.6983 +fi
11.6984 +
11.6985 +test -z "$pic_mode" && pic_mode=default
11.6986 +
11.6987 +# Use C for the default configuration in the libtool script
11.6988 +tagname=
11.6989 +lt_save_CC="$CC"
11.6990 +ac_ext=c
11.6991 +ac_cpp='$CPP $CPPFLAGS'
11.6992 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.6993 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.6994 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.6995 +
11.6996 +
11.6997 +# Source file extension for C test sources.
11.6998 +ac_ext=c
11.6999 +
11.7000 +# Object file extension for compiled C test sources.
11.7001 +objext=o
11.7002 +objext=$objext
11.7003 +
11.7004 +# Code to be used in simple compile tests
11.7005 +lt_simple_compile_test_code="int some_variable = 0;\n"
11.7006 +
11.7007 +# Code to be used in simple link tests
11.7008 +lt_simple_link_test_code='int main(){return(0);}\n'
11.7009 +
11.7010 +
11.7011 +# If no C compiler was specified, use CC.
11.7012 +LTCC=${LTCC-"$CC"}
11.7013 +
11.7014 +# Allow CC to be a program name with arguments.
11.7015 +compiler=$CC
11.7016 +
11.7017 +
11.7018 +#
11.7019 +# Check for any special shared library compilation flags.
11.7020 +#
11.7021 +lt_prog_cc_shlib=
11.7022 +if test "$GCC" = no; then
11.7023 + case $host_os in
11.7024 + sco3.2v5*)
11.7025 + lt_prog_cc_shlib='-belf'
11.7026 + ;;
11.7027 + esac
11.7028 +fi
11.7029 +if test -n "$lt_prog_cc_shlib"; then
11.7030 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
11.7031 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
11.7032 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
11.7033 + else
11.7034 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
11.7035 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
11.7036 + lt_cv_prog_cc_can_build_shared=no
11.7037 + fi
11.7038 +fi
11.7039 +
11.7040 +
11.7041 +#
11.7042 +# Check to make sure the static flag actually works.
11.7043 +#
11.7044 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
11.7045 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
11.7046 +if test "${lt_prog_compiler_static_works+set}" = set; then
11.7047 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.7048 +else
11.7049 + lt_prog_compiler_static_works=no
11.7050 + save_LDFLAGS="$LDFLAGS"
11.7051 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
11.7052 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
11.7053 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11.7054 + # The compiler can only warn and ignore the option if not recognized
11.7055 + # So say no if there are warnings
11.7056 + if test -s conftest.err; then
11.7057 + # Append any errors to the config.log.
11.7058 + cat conftest.err 1>&5
11.7059 + else
11.7060 + lt_prog_compiler_static_works=yes
11.7061 + fi
11.7062 + fi
11.7063 + $rm conftest*
11.7064 + LDFLAGS="$save_LDFLAGS"
11.7065 +
11.7066 +fi
11.7067 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
11.7068 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
11.7069 +
11.7070 +if test x"$lt_prog_compiler_static_works" = xyes; then
11.7071 + :
11.7072 +else
11.7073 + lt_prog_compiler_static=
11.7074 +fi
11.7075 +
11.7076 +
11.7077 +
11.7078 +## CAVEAT EMPTOR:
11.7079 +## There is no encapsulation within the following macros, do not change
11.7080 +## the running order or otherwise move them around unless you know exactly
11.7081 +## what you are doing...
11.7082 +
11.7083 +lt_prog_compiler_no_builtin_flag=
11.7084 +
11.7085 +if test "$GCC" = yes; then
11.7086 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
11.7087 +
11.7088 +
11.7089 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11.7090 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
11.7091 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11.7092 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.7093 +else
11.7094 + lt_cv_prog_compiler_rtti_exceptions=no
11.7095 + ac_outfile=conftest.$ac_objext
11.7096 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.7097 + lt_compiler_flag="-fno-rtti -fno-exceptions"
11.7098 + # Insert the option either (1) after the last *FLAGS variable, or
11.7099 + # (2) before a word containing "conftest.", or (3) at the end.
11.7100 + # Note that $ac_compile itself does not contain backslashes and begins
11.7101 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.7102 + # The option is referenced via a variable to avoid confusing sed.
11.7103 + lt_compile=`echo "$ac_compile" | $SED \
11.7104 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.7105 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.7106 + -e 's:$: $lt_compiler_flag:'`
11.7107 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.7108 + (eval "$lt_compile" 2>conftest.err)
11.7109 + ac_status=$?
11.7110 + cat conftest.err >&5
11.7111 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.7112 + if (exit $ac_status) && test -s "$ac_outfile"; then
11.7113 + # The compiler can only warn and ignore the option if not recognized
11.7114 + # So say no if there are warnings
11.7115 + if test ! -s conftest.err; then
11.7116 + lt_cv_prog_compiler_rtti_exceptions=yes
11.7117 + fi
11.7118 + fi
11.7119 + $rm conftest*
11.7120 +
11.7121 +fi
11.7122 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11.7123 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11.7124 +
11.7125 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11.7126 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11.7127 +else
11.7128 + :
11.7129 +fi
11.7130 +
11.7131 +fi
11.7132 +
11.7133 +lt_prog_compiler_wl=
11.7134 +lt_prog_compiler_pic=
11.7135 +lt_prog_compiler_static=
11.7136 +
11.7137 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11.7138 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11.7139 +
11.7140 + if test "$GCC" = yes; then
11.7141 + lt_prog_compiler_wl='-Wl,'
11.7142 + lt_prog_compiler_static='-static'
11.7143 +
11.7144 + case $host_os in
11.7145 + aix*)
11.7146 + # All AIX code is PIC.
11.7147 + if test "$host_cpu" = ia64; then
11.7148 + # AIX 5 now supports IA64 processor
11.7149 + lt_prog_compiler_static='-Bstatic'
11.7150 + fi
11.7151 + ;;
11.7152 +
11.7153 + amigaos*)
11.7154 + # FIXME: we need at least 68020 code to build shared libraries, but
11.7155 + # adding the `-m68020' flag to GCC prevents building anything better,
11.7156 + # like `-m68040'.
11.7157 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11.7158 + ;;
11.7159 +
11.7160 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11.7161 + # PIC is the default for these OSes.
11.7162 + ;;
11.7163 +
11.7164 + mingw* | pw32* | os2*)
11.7165 + # This hack is so that the source file can tell whether it is being
11.7166 + # built for inclusion in a dll (and should export symbols for example).
11.7167 + lt_prog_compiler_pic='-DDLL_EXPORT'
11.7168 + ;;
11.7169 +
11.7170 + darwin* | rhapsody*)
11.7171 + # PIC is the default on this platform
11.7172 + # Common symbols not allowed in MH_DYLIB files
11.7173 + lt_prog_compiler_pic='-fno-common'
11.7174 + ;;
11.7175 +
11.7176 + msdosdjgpp*)
11.7177 + # Just because we use GCC doesn't mean we suddenly get shared libraries
11.7178 + # on systems that don't support them.
11.7179 + lt_prog_compiler_can_build_shared=no
11.7180 + enable_shared=no
11.7181 + ;;
11.7182 +
11.7183 + sysv4*MP*)
11.7184 + if test -d /usr/nec; then
11.7185 + lt_prog_compiler_pic=-Kconform_pic
11.7186 + fi
11.7187 + ;;
11.7188 +
11.7189 + hpux*)
11.7190 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.7191 + # not for PA HP-UX.
11.7192 + case "$host_cpu" in
11.7193 + hppa*64*|ia64*)
11.7194 + # +Z the default
11.7195 + ;;
11.7196 + *)
11.7197 + lt_prog_compiler_pic='-fPIC'
11.7198 + ;;
11.7199 + esac
11.7200 + ;;
11.7201 +
11.7202 + *)
11.7203 + lt_prog_compiler_pic='-fPIC'
11.7204 + ;;
11.7205 + esac
11.7206 + else
11.7207 + # PORTME Check for flag to pass linker flags through the system compiler.
11.7208 + case $host_os in
11.7209 + aix*)
11.7210 + lt_prog_compiler_wl='-Wl,'
11.7211 + if test "$host_cpu" = ia64; then
11.7212 + # AIX 5 now supports IA64 processor
11.7213 + lt_prog_compiler_static='-Bstatic'
11.7214 + else
11.7215 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11.7216 + fi
11.7217 + ;;
11.7218 +
11.7219 + mingw* | pw32* | os2*)
11.7220 + # This hack is so that the source file can tell whether it is being
11.7221 + # built for inclusion in a dll (and should export symbols for example).
11.7222 + lt_prog_compiler_pic='-DDLL_EXPORT'
11.7223 + ;;
11.7224 +
11.7225 + hpux9* | hpux10* | hpux11*)
11.7226 + lt_prog_compiler_wl='-Wl,'
11.7227 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.7228 + # not for PA HP-UX.
11.7229 + case "$host_cpu" in
11.7230 + hppa*64*|ia64*)
11.7231 + # +Z the default
11.7232 + ;;
11.7233 + *)
11.7234 + lt_prog_compiler_pic='+Z'
11.7235 + ;;
11.7236 + esac
11.7237 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
11.7238 + lt_prog_compiler_static='${wl}-a ${wl}archive'
11.7239 + ;;
11.7240 +
11.7241 + irix5* | irix6* | nonstopux*)
11.7242 + lt_prog_compiler_wl='-Wl,'
11.7243 + # PIC (with -KPIC) is the default.
11.7244 + lt_prog_compiler_static='-non_shared'
11.7245 + ;;
11.7246 +
11.7247 + newsos6)
11.7248 + lt_prog_compiler_pic='-KPIC'
11.7249 + lt_prog_compiler_static='-Bstatic'
11.7250 + ;;
11.7251 +
11.7252 + linux*)
11.7253 + case $CC in
11.7254 + icc* | ecc*)
11.7255 + lt_prog_compiler_wl='-Wl,'
11.7256 + lt_prog_compiler_pic='-KPIC'
11.7257 + lt_prog_compiler_static='-static'
11.7258 + ;;
11.7259 + ccc*)
11.7260 + lt_prog_compiler_wl='-Wl,'
11.7261 + # All Alpha code is PIC.
11.7262 + lt_prog_compiler_static='-non_shared'
11.7263 + ;;
11.7264 + esac
11.7265 + ;;
11.7266 +
11.7267 + osf3* | osf4* | osf5*)
11.7268 + lt_prog_compiler_wl='-Wl,'
11.7269 + # All OSF/1 code is PIC.
11.7270 + lt_prog_compiler_static='-non_shared'
11.7271 + ;;
11.7272 +
11.7273 + sco3.2v5*)
11.7274 + lt_prog_compiler_pic='-Kpic'
11.7275 + lt_prog_compiler_static='-dn'
11.7276 + ;;
11.7277 +
11.7278 + solaris*)
11.7279 + lt_prog_compiler_wl='-Wl,'
11.7280 + lt_prog_compiler_pic='-KPIC'
11.7281 + lt_prog_compiler_static='-Bstatic'
11.7282 + ;;
11.7283 +
11.7284 + sunos4*)
11.7285 + lt_prog_compiler_wl='-Qoption ld '
11.7286 + lt_prog_compiler_pic='-PIC'
11.7287 + lt_prog_compiler_static='-Bstatic'
11.7288 + ;;
11.7289 +
11.7290 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.7291 + lt_prog_compiler_wl='-Wl,'
11.7292 + lt_prog_compiler_pic='-KPIC'
11.7293 + lt_prog_compiler_static='-Bstatic'
11.7294 + ;;
11.7295 +
11.7296 + sysv4*MP*)
11.7297 + if test -d /usr/nec ;then
11.7298 + lt_prog_compiler_pic='-Kconform_pic'
11.7299 + lt_prog_compiler_static='-Bstatic'
11.7300 + fi
11.7301 + ;;
11.7302 +
11.7303 + uts4*)
11.7304 + lt_prog_compiler_pic='-pic'
11.7305 + lt_prog_compiler_static='-Bstatic'
11.7306 + ;;
11.7307 +
11.7308 + *)
11.7309 + lt_prog_compiler_can_build_shared=no
11.7310 + ;;
11.7311 + esac
11.7312 + fi
11.7313 +
11.7314 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11.7315 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
11.7316 +
11.7317 +#
11.7318 +# Check to make sure the PIC flag actually works.
11.7319 +#
11.7320 +if test -n "$lt_prog_compiler_pic"; then
11.7321 +
11.7322 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11.7323 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
11.7324 +if test "${lt_prog_compiler_pic_works+set}" = set; then
11.7325 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.7326 +else
11.7327 + lt_prog_compiler_pic_works=no
11.7328 + ac_outfile=conftest.$ac_objext
11.7329 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.7330 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11.7331 + # Insert the option either (1) after the last *FLAGS variable, or
11.7332 + # (2) before a word containing "conftest.", or (3) at the end.
11.7333 + # Note that $ac_compile itself does not contain backslashes and begins
11.7334 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.7335 + # The option is referenced via a variable to avoid confusing sed.
11.7336 + lt_compile=`echo "$ac_compile" | $SED \
11.7337 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.7338 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.7339 + -e 's:$: $lt_compiler_flag:'`
11.7340 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.7341 + (eval "$lt_compile" 2>conftest.err)
11.7342 + ac_status=$?
11.7343 + cat conftest.err >&5
11.7344 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.7345 + if (exit $ac_status) && test -s "$ac_outfile"; then
11.7346 + # The compiler can only warn and ignore the option if not recognized
11.7347 + # So say no if there are warnings
11.7348 + if test ! -s conftest.err; then
11.7349 + lt_prog_compiler_pic_works=yes
11.7350 + fi
11.7351 + fi
11.7352 + $rm conftest*
11.7353 +
11.7354 +fi
11.7355 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
11.7356 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
11.7357 +
11.7358 +if test x"$lt_prog_compiler_pic_works" = xyes; then
11.7359 + case $lt_prog_compiler_pic in
11.7360 + "" | " "*) ;;
11.7361 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11.7362 + esac
11.7363 +else
11.7364 + lt_prog_compiler_pic=
11.7365 + lt_prog_compiler_can_build_shared=no
11.7366 +fi
11.7367 +
11.7368 +fi
11.7369 +case "$host_os" in
11.7370 + # For platforms which do not support PIC, -DPIC is meaningless:
11.7371 + *djgpp*)
11.7372 + lt_prog_compiler_pic=
11.7373 + ;;
11.7374 + *)
11.7375 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11.7376 + ;;
11.7377 +esac
11.7378 +
11.7379 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11.7380 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11.7381 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11.7382 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.7383 +else
11.7384 + lt_cv_prog_compiler_c_o=no
11.7385 + $rm -r conftest 2>/dev/null
11.7386 + mkdir conftest
11.7387 + cd conftest
11.7388 + mkdir out
11.7389 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.7390 +
11.7391 + lt_compiler_flag="-o out/conftest2.$ac_objext"
11.7392 + # Insert the option either (1) after the last *FLAGS variable, or
11.7393 + # (2) before a word containing "conftest.", or (3) at the end.
11.7394 + # Note that $ac_compile itself does not contain backslashes and begins
11.7395 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.7396 + lt_compile=`echo "$ac_compile" | $SED \
11.7397 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.7398 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.7399 + -e 's:$: $lt_compiler_flag:'`
11.7400 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.7401 + (eval "$lt_compile" 2>out/conftest.err)
11.7402 + ac_status=$?
11.7403 + cat out/conftest.err >&5
11.7404 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.7405 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
11.7406 + then
11.7407 + # The compiler can only warn and ignore the option if not recognized
11.7408 + # So say no if there are warnings
11.7409 + if test ! -s out/conftest.err; then
11.7410 + lt_cv_prog_compiler_c_o=yes
11.7411 + fi
11.7412 + fi
11.7413 + chmod u+w .
11.7414 + $rm conftest*
11.7415 + # SGI C++ compiler will create directory out/ii_files/ for
11.7416 + # template instantiation
11.7417 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11.7418 + $rm out/* && rmdir out
11.7419 + cd ..
11.7420 + rmdir conftest
11.7421 + $rm conftest*
11.7422 +
11.7423 +fi
11.7424 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11.7425 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
11.7426 +
11.7427 +
11.7428 +hard_links="nottested"
11.7429 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11.7430 + # do not overwrite the value of need_locks provided by the user
11.7431 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11.7432 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11.7433 + hard_links=yes
11.7434 + $rm conftest*
11.7435 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.7436 + touch conftest.a
11.7437 + ln conftest.a conftest.b 2>&5 || hard_links=no
11.7438 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.7439 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11.7440 +echo "${ECHO_T}$hard_links" >&6; }
11.7441 + if test "$hard_links" = no; then
11.7442 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11.7443 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11.7444 + need_locks=warn
11.7445 + fi
11.7446 +else
11.7447 + need_locks=no
11.7448 +fi
11.7449 +
11.7450 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11.7451 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11.7452 +
11.7453 + runpath_var=
11.7454 + allow_undefined_flag=
11.7455 + enable_shared_with_static_runtimes=no
11.7456 + archive_cmds=
11.7457 + archive_expsym_cmds=
11.7458 + old_archive_From_new_cmds=
11.7459 + old_archive_from_expsyms_cmds=
11.7460 + export_dynamic_flag_spec=
11.7461 + whole_archive_flag_spec=
11.7462 + thread_safe_flag_spec=
11.7463 + hardcode_libdir_flag_spec=
11.7464 + hardcode_libdir_flag_spec_ld=
11.7465 + hardcode_libdir_separator=
11.7466 + hardcode_direct=no
11.7467 + hardcode_minus_L=no
11.7468 + hardcode_shlibpath_var=unsupported
11.7469 + link_all_deplibs=unknown
11.7470 + hardcode_automatic=no
11.7471 + module_cmds=
11.7472 + module_expsym_cmds=
11.7473 + always_export_symbols=no
11.7474 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11.7475 + # include_expsyms should be a list of space-separated symbols to be *always*
11.7476 + # included in the symbol list
11.7477 + include_expsyms=
11.7478 + # exclude_expsyms can be an extended regexp of symbols to exclude
11.7479 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
11.7480 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11.7481 + # as well as any symbol that contains `d'.
11.7482 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
11.7483 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11.7484 + # platforms (ab)use it in PIC code, but their linkers get confused if
11.7485 + # the symbol is explicitly referenced. Since portable code cannot
11.7486 + # rely on this symbol name, it's probably fine to never include it in
11.7487 + # preloaded symbol tables.
11.7488 + extract_expsyms_cmds=
11.7489 +
11.7490 + case $host_os in
11.7491 + cygwin* | mingw* | pw32*)
11.7492 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
11.7493 + # When not using gcc, we currently assume that we are using
11.7494 + # Microsoft Visual C++.
11.7495 + if test "$GCC" != yes; then
11.7496 + with_gnu_ld=no
11.7497 + fi
11.7498 + ;;
11.7499 + openbsd*)
11.7500 + with_gnu_ld=no
11.7501 + ;;
11.7502 + esac
11.7503 +
11.7504 + ld_shlibs=yes
11.7505 + if test "$with_gnu_ld" = yes; then
11.7506 + # If archive_cmds runs LD, not CC, wlarc should be empty
11.7507 + wlarc='${wl}'
11.7508 +
11.7509 + # See if GNU ld supports shared libraries.
11.7510 + case $host_os in
11.7511 + aix3* | aix4* | aix5*)
11.7512 + # On AIX/PPC, the GNU linker is very broken
11.7513 + if test "$host_cpu" != ia64; then
11.7514 + ld_shlibs=no
11.7515 + cat <<EOF 1>&2
11.7516 +
11.7517 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11.7518 +*** to be unable to reliably create shared libraries on AIX.
11.7519 +*** Therefore, libtool is disabling shared libraries support. If you
11.7520 +*** really care for shared libraries, you may want to modify your PATH
11.7521 +*** so that a non-GNU linker is found, and then restart.
11.7522 +
11.7523 +EOF
11.7524 + fi
11.7525 + ;;
11.7526 +
11.7527 + amigaos*)
11.7528 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11.7529 + hardcode_libdir_flag_spec='-L$libdir'
11.7530 + hardcode_minus_L=yes
11.7531 +
11.7532 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11.7533 + # that the semantics of dynamic libraries on AmigaOS, at least up
11.7534 + # to version 4, is to share data among multiple programs linked
11.7535 + # with the same dynamic library. Since this doesn't match the
11.7536 + # behavior of shared libraries on other platforms, we can't use
11.7537 + # them.
11.7538 + ld_shlibs=no
11.7539 + ;;
11.7540 +
11.7541 + beos*)
11.7542 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.7543 + allow_undefined_flag=unsupported
11.7544 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11.7545 + # support --undefined. This deserves some investigation. FIXME
11.7546 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.7547 + else
11.7548 + ld_shlibs=no
11.7549 + fi
11.7550 + ;;
11.7551 +
11.7552 + cygwin* | mingw* | pw32*)
11.7553 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11.7554 + # as there is no search path for DLLs.
11.7555 + hardcode_libdir_flag_spec='-L$libdir'
11.7556 + allow_undefined_flag=unsupported
11.7557 + always_export_symbols=no
11.7558 + enable_shared_with_static_runtimes=yes
11.7559 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11.7560 +
11.7561 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11.7562 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.7563 + # If the export-symbols file already is a .def file (1st line
11.7564 + # is EXPORTS), use it as is; otherwise, prepend...
11.7565 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11.7566 + cp $export_symbols $output_objdir/$soname.def;
11.7567 + else
11.7568 + echo EXPORTS > $output_objdir/$soname.def;
11.7569 + cat $export_symbols >> $output_objdir/$soname.def;
11.7570 + fi~
11.7571 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.7572 + else
11.7573 + ld_shlibs=no
11.7574 + fi
11.7575 + ;;
11.7576 +
11.7577 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.7578 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.7579 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11.7580 + wlarc=
11.7581 + else
11.7582 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.7583 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.7584 + fi
11.7585 + ;;
11.7586 +
11.7587 + solaris* | sysv5*)
11.7588 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
11.7589 + ld_shlibs=no
11.7590 + cat <<EOF 1>&2
11.7591 +
11.7592 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11.7593 +*** create shared libraries on Solaris systems. Therefore, libtool
11.7594 +*** is disabling shared libraries support. We urge you to upgrade GNU
11.7595 +*** binutils to release 2.9.1 or newer. Another option is to modify
11.7596 +*** your PATH or compiler configuration so that the native linker is
11.7597 +*** used, and then restart.
11.7598 +
11.7599 +EOF
11.7600 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.7601 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.7602 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.7603 + else
11.7604 + ld_shlibs=no
11.7605 + fi
11.7606 + ;;
11.7607 +
11.7608 + sunos4*)
11.7609 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.7610 + wlarc=
11.7611 + hardcode_direct=yes
11.7612 + hardcode_shlibpath_var=no
11.7613 + ;;
11.7614 +
11.7615 + linux*)
11.7616 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.7617 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.7618 + archive_cmds="$tmp_archive_cmds"
11.7619 + supports_anon_versioning=no
11.7620 + case `$LD -v 2>/dev/null` in
11.7621 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11.7622 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11.7623 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11.7624 + *\ 2.11.*) ;; # other 2.11 versions
11.7625 + *) supports_anon_versioning=yes ;;
11.7626 + esac
11.7627 + if test $supports_anon_versioning = yes; then
11.7628 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
11.7629 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11.7630 +$echo "local: *; };" >> $output_objdir/$libname.ver~
11.7631 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11.7632 + else
11.7633 + archive_expsym_cmds="$tmp_archive_cmds"
11.7634 + fi
11.7635 + link_all_deplibs=no
11.7636 + else
11.7637 + ld_shlibs=no
11.7638 + fi
11.7639 + ;;
11.7640 +
11.7641 + *)
11.7642 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.7643 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.7644 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.7645 + else
11.7646 + ld_shlibs=no
11.7647 + fi
11.7648 + ;;
11.7649 + esac
11.7650 +
11.7651 + if test "$ld_shlibs" = yes; then
11.7652 + runpath_var=LD_RUN_PATH
11.7653 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
11.7654 + export_dynamic_flag_spec='${wl}--export-dynamic'
11.7655 + # ancient GNU ld didn't support --whole-archive et. al.
11.7656 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
11.7657 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11.7658 + else
11.7659 + whole_archive_flag_spec=
11.7660 + fi
11.7661 + fi
11.7662 + else
11.7663 + # PORTME fill in a description of your system's linker (not GNU ld)
11.7664 + case $host_os in
11.7665 + aix3*)
11.7666 + allow_undefined_flag=unsupported
11.7667 + always_export_symbols=yes
11.7668 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11.7669 + # Note: this linker hardcodes the directories in LIBPATH if there
11.7670 + # are no directories specified by -L.
11.7671 + hardcode_minus_L=yes
11.7672 + if test "$GCC" = yes && test -z "$link_static_flag"; then
11.7673 + # Neither direct hardcoding nor static linking is supported with a
11.7674 + # broken collect2.
11.7675 + hardcode_direct=unsupported
11.7676 + fi
11.7677 + ;;
11.7678 +
11.7679 + aix4* | aix5*)
11.7680 + if test "$host_cpu" = ia64; then
11.7681 + # On IA64, the linker does run time linking by default, so we don't
11.7682 + # have to do anything special.
11.7683 + aix_use_runtimelinking=no
11.7684 + exp_sym_flag='-Bexport'
11.7685 + no_entry_flag=""
11.7686 + else
11.7687 + # If we're using GNU nm, then we don't want the "-C" option.
11.7688 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
11.7689 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11.7690 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.7691 + else
11.7692 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.7693 + fi
11.7694 + aix_use_runtimelinking=no
11.7695 +
11.7696 + # Test if we are trying to use run time linking or normal
11.7697 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11.7698 + # need to do runtime linking.
11.7699 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11.7700 + for ld_flag in $LDFLAGS; do
11.7701 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11.7702 + aix_use_runtimelinking=yes
11.7703 + break
11.7704 + fi
11.7705 + done
11.7706 + esac
11.7707 +
11.7708 + exp_sym_flag='-bexport'
11.7709 + no_entry_flag='-bnoentry'
11.7710 + fi
11.7711 +
11.7712 + # When large executables or shared objects are built, AIX ld can
11.7713 + # have problems creating the table of contents. If linking a library
11.7714 + # or program results in "error TOC overflow" add -mminimal-toc to
11.7715 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11.7716 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11.7717 +
11.7718 + archive_cmds=''
11.7719 + hardcode_direct=yes
11.7720 + hardcode_libdir_separator=':'
11.7721 + link_all_deplibs=yes
11.7722 +
11.7723 + if test "$GCC" = yes; then
11.7724 + case $host_os in aix4.012|aix4.012.*)
11.7725 + # We only want to do this on AIX 4.2 and lower, the check
11.7726 + # below for broken collect2 doesn't work under 4.3+
11.7727 + collect2name=`${CC} -print-prog-name=collect2`
11.7728 + if test -f "$collect2name" && \
11.7729 + strings "$collect2name" | grep resolve_lib_name >/dev/null
11.7730 + then
11.7731 + # We have reworked collect2
11.7732 + hardcode_direct=yes
11.7733 + else
11.7734 + # We have old collect2
11.7735 + hardcode_direct=unsupported
11.7736 + # It fails to find uninstalled libraries when the uninstalled
11.7737 + # path is not listed in the libpath. Setting hardcode_minus_L
11.7738 + # to unsupported forces relinking
11.7739 + hardcode_minus_L=yes
11.7740 + hardcode_libdir_flag_spec='-L$libdir'
11.7741 + hardcode_libdir_separator=
11.7742 + fi
11.7743 + esac
11.7744 + shared_flag='-shared'
11.7745 + else
11.7746 + # not using gcc
11.7747 + if test "$host_cpu" = ia64; then
11.7748 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11.7749 + # chokes on -Wl,-G. The following line is correct:
11.7750 + shared_flag='-G'
11.7751 + else
11.7752 + if test "$aix_use_runtimelinking" = yes; then
11.7753 + shared_flag='${wl}-G'
11.7754 + else
11.7755 + shared_flag='${wl}-bM:SRE'
11.7756 + fi
11.7757 + fi
11.7758 + fi
11.7759 +
11.7760 + # It seems that -bexpall does not export symbols beginning with
11.7761 + # underscore (_), so it is better to generate a list of symbols to export.
11.7762 + always_export_symbols=yes
11.7763 + if test "$aix_use_runtimelinking" = yes; then
11.7764 + # Warning - without using the other runtime loading flags (-brtl),
11.7765 + # -berok will link without error, but may produce a broken library.
11.7766 + allow_undefined_flag='-berok'
11.7767 + # Determine the default libpath from the value encoded in an empty executable.
11.7768 + cat >conftest.$ac_ext <<_ACEOF
11.7769 +/* confdefs.h. */
11.7770 +_ACEOF
11.7771 +cat confdefs.h >>conftest.$ac_ext
11.7772 +cat >>conftest.$ac_ext <<_ACEOF
11.7773 +/* end confdefs.h. */
11.7774 +
11.7775 +int
11.7776 +main ()
11.7777 +{
11.7778 +
11.7779 + ;
11.7780 + return 0;
11.7781 +}
11.7782 +_ACEOF
11.7783 +rm -f conftest.$ac_objext conftest$ac_exeext
11.7784 +if { (ac_try="$ac_link"
11.7785 +case "(($ac_try" in
11.7786 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.7787 + *) ac_try_echo=$ac_try;;
11.7788 +esac
11.7789 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.7790 + (eval "$ac_link") 2>conftest.er1
11.7791 + ac_status=$?
11.7792 + grep -v '^ *+' conftest.er1 >conftest.err
11.7793 + rm -f conftest.er1
11.7794 + cat conftest.err >&5
11.7795 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.7796 + (exit $ac_status); } && {
11.7797 + test -z "$ac_c_werror_flag" ||
11.7798 + test ! -s conftest.err
11.7799 + } && test -s conftest$ac_exeext &&
11.7800 + $as_test_x conftest$ac_exeext; then
11.7801 +
11.7802 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.7803 +}'`
11.7804 +# Check for a 64-bit object if we didn't find anything.
11.7805 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.7806 +}'`; fi
11.7807 +else
11.7808 + echo "$as_me: failed program was:" >&5
11.7809 +sed 's/^/| /' conftest.$ac_ext >&5
11.7810 +
11.7811 +
11.7812 +fi
11.7813 +
11.7814 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.7815 + conftest$ac_exeext conftest.$ac_ext
11.7816 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.7817 +
11.7818 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11.7819 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11.7820 + else
11.7821 + if test "$host_cpu" = ia64; then
11.7822 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11.7823 + allow_undefined_flag="-z nodefs"
11.7824 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
11.7825 + else
11.7826 + # Determine the default libpath from the value encoded in an empty executable.
11.7827 + cat >conftest.$ac_ext <<_ACEOF
11.7828 +/* confdefs.h. */
11.7829 +_ACEOF
11.7830 +cat confdefs.h >>conftest.$ac_ext
11.7831 +cat >>conftest.$ac_ext <<_ACEOF
11.7832 +/* end confdefs.h. */
11.7833 +
11.7834 +int
11.7835 +main ()
11.7836 +{
11.7837 +
11.7838 + ;
11.7839 + return 0;
11.7840 +}
11.7841 +_ACEOF
11.7842 +rm -f conftest.$ac_objext conftest$ac_exeext
11.7843 +if { (ac_try="$ac_link"
11.7844 +case "(($ac_try" in
11.7845 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.7846 + *) ac_try_echo=$ac_try;;
11.7847 +esac
11.7848 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.7849 + (eval "$ac_link") 2>conftest.er1
11.7850 + ac_status=$?
11.7851 + grep -v '^ *+' conftest.er1 >conftest.err
11.7852 + rm -f conftest.er1
11.7853 + cat conftest.err >&5
11.7854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.7855 + (exit $ac_status); } && {
11.7856 + test -z "$ac_c_werror_flag" ||
11.7857 + test ! -s conftest.err
11.7858 + } && test -s conftest$ac_exeext &&
11.7859 + $as_test_x conftest$ac_exeext; then
11.7860 +
11.7861 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.7862 +}'`
11.7863 +# Check for a 64-bit object if we didn't find anything.
11.7864 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.7865 +}'`; fi
11.7866 +else
11.7867 + echo "$as_me: failed program was:" >&5
11.7868 +sed 's/^/| /' conftest.$ac_ext >&5
11.7869 +
11.7870 +
11.7871 +fi
11.7872 +
11.7873 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.7874 + conftest$ac_exeext conftest.$ac_ext
11.7875 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.7876 +
11.7877 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11.7878 + # Warning - without using the other run time loading flags,
11.7879 + # -berok will link without error, but may produce a broken library.
11.7880 + no_undefined_flag=' ${wl}-bernotok'
11.7881 + allow_undefined_flag=' ${wl}-berok'
11.7882 + # -bexpall does not export symbols beginning with underscore (_)
11.7883 + always_export_symbols=yes
11.7884 + # Exported symbols can be pulled into shared objects from archives
11.7885 + whole_archive_flag_spec=' '
11.7886 + archive_cmds_need_lc=yes
11.7887 + # This is similar to how AIX traditionally builds it's shared libraries.
11.7888 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11.7889 + fi
11.7890 + fi
11.7891 + ;;
11.7892 +
11.7893 + amigaos*)
11.7894 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11.7895 + hardcode_libdir_flag_spec='-L$libdir'
11.7896 + hardcode_minus_L=yes
11.7897 + # see comment about different semantics on the GNU ld section
11.7898 + ld_shlibs=no
11.7899 + ;;
11.7900 +
11.7901 + bsdi4*)
11.7902 + export_dynamic_flag_spec=-rdynamic
11.7903 + ;;
11.7904 +
11.7905 + cygwin* | mingw* | pw32*)
11.7906 + # When not using gcc, we currently assume that we are using
11.7907 + # Microsoft Visual C++.
11.7908 + # hardcode_libdir_flag_spec is actually meaningless, as there is
11.7909 + # no search path for DLLs.
11.7910 + hardcode_libdir_flag_spec=' '
11.7911 + allow_undefined_flag=unsupported
11.7912 + # Tell ltmain to make .lib files, not .a files.
11.7913 + libext=lib
11.7914 + # Tell ltmain to make .dll files, not .so files.
11.7915 + shrext_cmds=".dll"
11.7916 + # FIXME: Setting linknames here is a bad hack.
11.7917 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11.7918 + # The linker will automatically build a .lib file if we build a DLL.
11.7919 + old_archive_From_new_cmds='true'
11.7920 + # FIXME: Should let the user specify the lib program.
11.7921 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
11.7922 + fix_srcfile_path='`cygpath -w "$srcfile"`'
11.7923 + enable_shared_with_static_runtimes=yes
11.7924 + ;;
11.7925 +
11.7926 + darwin* | rhapsody*)
11.7927 + if test "$GXX" = yes ; then
11.7928 + archive_cmds_need_lc=no
11.7929 + case "$host_os" in
11.7930 + rhapsody* | darwin1.[012])
11.7931 + allow_undefined_flag='-undefined suppress'
11.7932 + ;;
11.7933 + *) # Darwin 1.3 on
11.7934 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11.7935 + allow_undefined_flag='-flat_namespace -undefined suppress'
11.7936 + else
11.7937 + case ${MACOSX_DEPLOYMENT_TARGET} in
11.7938 + 10.[012])
11.7939 + allow_undefined_flag='-flat_namespace -undefined suppress'
11.7940 + ;;
11.7941 + 10.*)
11.7942 + allow_undefined_flag='-undefined dynamic_lookup'
11.7943 + ;;
11.7944 + esac
11.7945 + fi
11.7946 + ;;
11.7947 + esac
11.7948 + lt_int_apple_cc_single_mod=no
11.7949 + output_verbose_link_cmd='echo'
11.7950 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11.7951 + lt_int_apple_cc_single_mod=yes
11.7952 + fi
11.7953 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.7954 + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.7955 + else
11.7956 + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.7957 + fi
11.7958 + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11.7959 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11.7960 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.7961 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.7962 + else
11.7963 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.7964 + fi
11.7965 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.7966 + hardcode_direct=no
11.7967 + hardcode_automatic=yes
11.7968 + hardcode_shlibpath_var=unsupported
11.7969 + whole_archive_flag_spec='-all_load $convenience'
11.7970 + link_all_deplibs=yes
11.7971 + else
11.7972 + ld_shlibs=no
11.7973 + fi
11.7974 + ;;
11.7975 +
11.7976 + dgux*)
11.7977 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.7978 + hardcode_libdir_flag_spec='-L$libdir'
11.7979 + hardcode_shlibpath_var=no
11.7980 + ;;
11.7981 +
11.7982 + freebsd1*)
11.7983 + ld_shlibs=no
11.7984 + ;;
11.7985 +
11.7986 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11.7987 + # support. Future versions do this automatically, but an explicit c++rt0.o
11.7988 + # does not break anything, and helps significantly (at the cost of a little
11.7989 + # extra space).
11.7990 + freebsd2.2*)
11.7991 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11.7992 + hardcode_libdir_flag_spec='-R$libdir'
11.7993 + hardcode_direct=yes
11.7994 + hardcode_shlibpath_var=no
11.7995 + ;;
11.7996 +
11.7997 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11.7998 + freebsd2*)
11.7999 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.8000 + hardcode_direct=yes
11.8001 + hardcode_minus_L=yes
11.8002 + hardcode_shlibpath_var=no
11.8003 + ;;
11.8004 +
11.8005 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11.8006 + freebsd* | kfreebsd*-gnu)
11.8007 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11.8008 + hardcode_libdir_flag_spec='-R$libdir'
11.8009 + hardcode_direct=yes
11.8010 + hardcode_shlibpath_var=no
11.8011 + ;;
11.8012 +
11.8013 + hpux9*)
11.8014 + if test "$GCC" = yes; then
11.8015 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.8016 + else
11.8017 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.8018 + fi
11.8019 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11.8020 + hardcode_libdir_separator=:
11.8021 + hardcode_direct=yes
11.8022 +
11.8023 + # hardcode_minus_L: Not really in the search PATH,
11.8024 + # but as the default location of the library.
11.8025 + hardcode_minus_L=yes
11.8026 + export_dynamic_flag_spec='${wl}-E'
11.8027 + ;;
11.8028 +
11.8029 + hpux10* | hpux11*)
11.8030 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11.8031 + case "$host_cpu" in
11.8032 + hppa*64*|ia64*)
11.8033 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.8034 + ;;
11.8035 + *)
11.8036 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11.8037 + ;;
11.8038 + esac
11.8039 + else
11.8040 + case "$host_cpu" in
11.8041 + hppa*64*|ia64*)
11.8042 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8043 + ;;
11.8044 + *)
11.8045 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11.8046 + ;;
11.8047 + esac
11.8048 + fi
11.8049 + if test "$with_gnu_ld" = no; then
11.8050 + case "$host_cpu" in
11.8051 + hppa*64*)
11.8052 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11.8053 + hardcode_libdir_flag_spec_ld='+b $libdir'
11.8054 + hardcode_libdir_separator=:
11.8055 + hardcode_direct=no
11.8056 + hardcode_shlibpath_var=no
11.8057 + ;;
11.8058 + ia64*)
11.8059 + hardcode_libdir_flag_spec='-L$libdir'
11.8060 + hardcode_direct=no
11.8061 + hardcode_shlibpath_var=no
11.8062 +
11.8063 + # hardcode_minus_L: Not really in the search PATH,
11.8064 + # but as the default location of the library.
11.8065 + hardcode_minus_L=yes
11.8066 + ;;
11.8067 + *)
11.8068 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11.8069 + hardcode_libdir_separator=:
11.8070 + hardcode_direct=yes
11.8071 + export_dynamic_flag_spec='${wl}-E'
11.8072 +
11.8073 + # hardcode_minus_L: Not really in the search PATH,
11.8074 + # but as the default location of the library.
11.8075 + hardcode_minus_L=yes
11.8076 + ;;
11.8077 + esac
11.8078 + fi
11.8079 + ;;
11.8080 +
11.8081 + irix5* | irix6* | nonstopux*)
11.8082 + if test "$GCC" = yes; then
11.8083 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.8084 + else
11.8085 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.8086 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
11.8087 + fi
11.8088 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11.8089 + hardcode_libdir_separator=:
11.8090 + link_all_deplibs=yes
11.8091 + ;;
11.8092 +
11.8093 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.8094 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.8095 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11.8096 + else
11.8097 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11.8098 + fi
11.8099 + hardcode_libdir_flag_spec='-R$libdir'
11.8100 + hardcode_direct=yes
11.8101 + hardcode_shlibpath_var=no
11.8102 + ;;
11.8103 +
11.8104 + newsos6)
11.8105 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8106 + hardcode_direct=yes
11.8107 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11.8108 + hardcode_libdir_separator=:
11.8109 + hardcode_shlibpath_var=no
11.8110 + ;;
11.8111 +
11.8112 + openbsd*)
11.8113 + hardcode_direct=yes
11.8114 + hardcode_shlibpath_var=no
11.8115 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.8116 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11.8117 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11.8118 + export_dynamic_flag_spec='${wl}-E'
11.8119 + else
11.8120 + case $host_os in
11.8121 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11.8122 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.8123 + hardcode_libdir_flag_spec='-R$libdir'
11.8124 + ;;
11.8125 + *)
11.8126 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11.8127 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11.8128 + ;;
11.8129 + esac
11.8130 + fi
11.8131 + ;;
11.8132 +
11.8133 + os2*)
11.8134 + hardcode_libdir_flag_spec='-L$libdir'
11.8135 + hardcode_minus_L=yes
11.8136 + allow_undefined_flag=unsupported
11.8137 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11.8138 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11.8139 + ;;
11.8140 +
11.8141 + osf3*)
11.8142 + if test "$GCC" = yes; then
11.8143 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11.8144 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.8145 + else
11.8146 + allow_undefined_flag=' -expect_unresolved \*'
11.8147 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.8148 + fi
11.8149 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11.8150 + hardcode_libdir_separator=:
11.8151 + ;;
11.8152 +
11.8153 + osf4* | osf5*) # as osf3* with the addition of -msym flag
11.8154 + if test "$GCC" = yes; then
11.8155 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11.8156 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.8157 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11.8158 + else
11.8159 + allow_undefined_flag=' -expect_unresolved \*'
11.8160 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.8161 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11.8162 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
11.8163 +
11.8164 + # Both c and cxx compiler support -rpath directly
11.8165 + hardcode_libdir_flag_spec='-rpath $libdir'
11.8166 + fi
11.8167 + hardcode_libdir_separator=:
11.8168 + ;;
11.8169 +
11.8170 + sco3.2v5*)
11.8171 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8172 + hardcode_shlibpath_var=no
11.8173 + export_dynamic_flag_spec='${wl}-Bexport'
11.8174 + runpath_var=LD_RUN_PATH
11.8175 + hardcode_runpath_var=yes
11.8176 + ;;
11.8177 +
11.8178 + solaris*)
11.8179 + no_undefined_flag=' -z text'
11.8180 + if test "$GCC" = yes; then
11.8181 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.8182 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.8183 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11.8184 + else
11.8185 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8186 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.8187 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11.8188 + fi
11.8189 + hardcode_libdir_flag_spec='-R$libdir'
11.8190 + hardcode_shlibpath_var=no
11.8191 + case $host_os in
11.8192 + solaris2.[0-5] | solaris2.[0-5].*) ;;
11.8193 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11.8194 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11.8195 + esac
11.8196 + link_all_deplibs=yes
11.8197 + ;;
11.8198 +
11.8199 + sunos4*)
11.8200 + if test "x$host_vendor" = xsequent; then
11.8201 + # Use $CC to link under sequent, because it throws in some extra .o
11.8202 + # files that make .init and .fini sections work.
11.8203 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11.8204 + else
11.8205 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11.8206 + fi
11.8207 + hardcode_libdir_flag_spec='-L$libdir'
11.8208 + hardcode_direct=yes
11.8209 + hardcode_minus_L=yes
11.8210 + hardcode_shlibpath_var=no
11.8211 + ;;
11.8212 +
11.8213 + sysv4)
11.8214 + case $host_vendor in
11.8215 + sni)
11.8216 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8217 + hardcode_direct=yes # is this really true???
11.8218 + ;;
11.8219 + siemens)
11.8220 + ## LD is ld it makes a PLAMLIB
11.8221 + ## CC just makes a GrossModule.
11.8222 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11.8223 + reload_cmds='$CC -r -o $output$reload_objs'
11.8224 + hardcode_direct=no
11.8225 + ;;
11.8226 + motorola)
11.8227 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8228 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11.8229 + ;;
11.8230 + esac
11.8231 + runpath_var='LD_RUN_PATH'
11.8232 + hardcode_shlibpath_var=no
11.8233 + ;;
11.8234 +
11.8235 + sysv4.3*)
11.8236 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8237 + hardcode_shlibpath_var=no
11.8238 + export_dynamic_flag_spec='-Bexport'
11.8239 + ;;
11.8240 +
11.8241 + sysv4*MP*)
11.8242 + if test -d /usr/nec; then
11.8243 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8244 + hardcode_shlibpath_var=no
11.8245 + runpath_var=LD_RUN_PATH
11.8246 + hardcode_runpath_var=yes
11.8247 + ld_shlibs=yes
11.8248 + fi
11.8249 + ;;
11.8250 +
11.8251 + sysv4.2uw2*)
11.8252 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11.8253 + hardcode_direct=yes
11.8254 + hardcode_minus_L=no
11.8255 + hardcode_shlibpath_var=no
11.8256 + hardcode_runpath_var=yes
11.8257 + runpath_var=LD_RUN_PATH
11.8258 + ;;
11.8259 +
11.8260 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11.8261 + no_undefined_flag='${wl}-z ${wl}text'
11.8262 + if test "$GCC" = yes; then
11.8263 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.8264 + else
11.8265 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.8266 + fi
11.8267 + runpath_var='LD_RUN_PATH'
11.8268 + hardcode_shlibpath_var=no
11.8269 + ;;
11.8270 +
11.8271 + sysv5*)
11.8272 + no_undefined_flag=' -z text'
11.8273 + # $CC -shared without GNU ld will not create a library from C++
11.8274 + # object files and a static libstdc++, better avoid it by now
11.8275 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8276 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.8277 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11.8278 + hardcode_libdir_flag_spec=
11.8279 + hardcode_shlibpath_var=no
11.8280 + runpath_var='LD_RUN_PATH'
11.8281 + ;;
11.8282 +
11.8283 + uts4*)
11.8284 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.8285 + hardcode_libdir_flag_spec='-L$libdir'
11.8286 + hardcode_shlibpath_var=no
11.8287 + ;;
11.8288 +
11.8289 + *)
11.8290 + ld_shlibs=no
11.8291 + ;;
11.8292 + esac
11.8293 + fi
11.8294 +
11.8295 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11.8296 +echo "${ECHO_T}$ld_shlibs" >&6; }
11.8297 +test "$ld_shlibs" = no && can_build_shared=no
11.8298 +
11.8299 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11.8300 +if test "$GCC" = yes; then
11.8301 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11.8302 +fi
11.8303 +
11.8304 +#
11.8305 +# Do we need to explicitly link libc?
11.8306 +#
11.8307 +case "x$archive_cmds_need_lc" in
11.8308 +x|xyes)
11.8309 + # Assume -lc should be added
11.8310 + archive_cmds_need_lc=yes
11.8311 +
11.8312 + if test "$enable_shared" = yes && test "$GCC" = yes; then
11.8313 + case $archive_cmds in
11.8314 + *'~'*)
11.8315 + # FIXME: we may have to deal with multi-command sequences.
11.8316 + ;;
11.8317 + '$CC '*)
11.8318 + # Test whether the compiler implicitly links with -lc since on some
11.8319 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
11.8320 + # to ld, don't add -lc before -lgcc.
11.8321 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11.8322 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11.8323 + $rm conftest*
11.8324 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.8325 +
11.8326 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.8327 + (eval $ac_compile) 2>&5
11.8328 + ac_status=$?
11.8329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.8330 + (exit $ac_status); } 2>conftest.err; then
11.8331 + soname=conftest
11.8332 + lib=conftest
11.8333 + libobjs=conftest.$ac_objext
11.8334 + deplibs=
11.8335 + wl=$lt_prog_compiler_wl
11.8336 + compiler_flags=-v
11.8337 + linker_flags=-v
11.8338 + verstring=
11.8339 + output_objdir=.
11.8340 + libname=conftest
11.8341 + lt_save_allow_undefined_flag=$allow_undefined_flag
11.8342 + allow_undefined_flag=
11.8343 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11.8344 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11.8345 + ac_status=$?
11.8346 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.8347 + (exit $ac_status); }
11.8348 + then
11.8349 + archive_cmds_need_lc=no
11.8350 + else
11.8351 + archive_cmds_need_lc=yes
11.8352 + fi
11.8353 + allow_undefined_flag=$lt_save_allow_undefined_flag
11.8354 + else
11.8355 + cat conftest.err 1>&5
11.8356 + fi
11.8357 + $rm conftest*
11.8358 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11.8359 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11.8360 + ;;
11.8361 + esac
11.8362 + fi
11.8363 + ;;
11.8364 +esac
11.8365 +
11.8366 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11.8367 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11.8368 +library_names_spec=
11.8369 +libname_spec='lib$name'
11.8370 +soname_spec=
11.8371 +shrext_cmds=".so"
11.8372 +postinstall_cmds=
11.8373 +postuninstall_cmds=
11.8374 +finish_cmds=
11.8375 +finish_eval=
11.8376 +shlibpath_var=
11.8377 +shlibpath_overrides_runpath=unknown
11.8378 +version_type=none
11.8379 +dynamic_linker="$host_os ld.so"
11.8380 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
11.8381 +if test "$GCC" = yes; then
11.8382 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.8383 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11.8384 + # if the path contains ";" then we assume it to be the separator
11.8385 + # otherwise default to the standard path separator (i.e. ":") - it is
11.8386 + # assumed that no part of a normal pathname contains ";" but that should
11.8387 + # okay in the real world where ";" in dirpaths is itself problematic.
11.8388 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.8389 + else
11.8390 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.8391 + fi
11.8392 +else
11.8393 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11.8394 +fi
11.8395 +need_lib_prefix=unknown
11.8396 +hardcode_into_libs=no
11.8397 +
11.8398 +# when you set need_version to no, make sure it does not cause -set_version
11.8399 +# flags to be left without arguments
11.8400 +need_version=unknown
11.8401 +
11.8402 +case $host_os in
11.8403 +aix3*)
11.8404 + version_type=linux
11.8405 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11.8406 + shlibpath_var=LIBPATH
11.8407 +
11.8408 + # AIX 3 has no versioning support, so we append a major version to the name.
11.8409 + soname_spec='${libname}${release}${shared_ext}$major'
11.8410 + ;;
11.8411 +
11.8412 +aix4* | aix5*)
11.8413 + version_type=linux
11.8414 + need_lib_prefix=no
11.8415 + need_version=no
11.8416 + hardcode_into_libs=yes
11.8417 + if test "$host_cpu" = ia64; then
11.8418 + # AIX 5 supports IA64
11.8419 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11.8420 + shlibpath_var=LD_LIBRARY_PATH
11.8421 + else
11.8422 + # With GCC up to 2.95.x, collect2 would create an import file
11.8423 + # for dependence libraries. The import file would start with
11.8424 + # the line `#! .'. This would cause the generated library to
11.8425 + # depend on `.', always an invalid library. This was fixed in
11.8426 + # development snapshots of GCC prior to 3.0.
11.8427 + case $host_os in
11.8428 + aix4 | aix4.[01] | aix4.[01].*)
11.8429 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11.8430 + echo ' yes '
11.8431 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11.8432 + :
11.8433 + else
11.8434 + can_build_shared=no
11.8435 + fi
11.8436 + ;;
11.8437 + esac
11.8438 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11.8439 + # soname into executable. Probably we can add versioning support to
11.8440 + # collect2, so additional links can be useful in future.
11.8441 + if test "$aix_use_runtimelinking" = yes; then
11.8442 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11.8443 + # instead of lib<name>.a to let people know that these are not
11.8444 + # typical AIX shared libraries.
11.8445 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8446 + else
11.8447 + # We preserve .a as extension for shared libraries through AIX4.2
11.8448 + # and later when we are not doing run time linking.
11.8449 + library_names_spec='${libname}${release}.a $libname.a'
11.8450 + soname_spec='${libname}${release}${shared_ext}$major'
11.8451 + fi
11.8452 + shlibpath_var=LIBPATH
11.8453 + fi
11.8454 + ;;
11.8455 +
11.8456 +amigaos*)
11.8457 + library_names_spec='$libname.ixlibrary $libname.a'
11.8458 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
11.8459 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11.8460 + ;;
11.8461 +
11.8462 +beos*)
11.8463 + library_names_spec='${libname}${shared_ext}'
11.8464 + dynamic_linker="$host_os ld.so"
11.8465 + shlibpath_var=LIBRARY_PATH
11.8466 + ;;
11.8467 +
11.8468 +bsdi4*)
11.8469 + version_type=linux
11.8470 + need_version=no
11.8471 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8472 + soname_spec='${libname}${release}${shared_ext}$major'
11.8473 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11.8474 + shlibpath_var=LD_LIBRARY_PATH
11.8475 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11.8476 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11.8477 + # the default ld.so.conf also contains /usr/contrib/lib and
11.8478 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11.8479 + # libtool to hard-code these into programs
11.8480 + ;;
11.8481 +
11.8482 +cygwin* | mingw* | pw32*)
11.8483 + version_type=windows
11.8484 + shrext_cmds=".dll"
11.8485 + need_version=no
11.8486 + need_lib_prefix=no
11.8487 +
11.8488 + case $GCC,$host_os in
11.8489 + yes,cygwin* | yes,mingw* | yes,pw32*)
11.8490 + library_names_spec='$libname.dll.a'
11.8491 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
11.8492 + postinstall_cmds='base_file=`basename \${file}`~
11.8493 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11.8494 + dldir=$destdir/`dirname \$dlpath`~
11.8495 + test -d \$dldir || mkdir -p \$dldir~
11.8496 + $install_prog $dir/$dlname \$dldir/$dlname'
11.8497 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11.8498 + dlpath=$dir/\$dldll~
11.8499 + $rm \$dlpath'
11.8500 + shlibpath_overrides_runpath=yes
11.8501 +
11.8502 + case $host_os in
11.8503 + cygwin*)
11.8504 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11.8505 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.8506 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11.8507 + ;;
11.8508 + mingw*)
11.8509 + # MinGW DLLs use traditional 'lib' prefix
11.8510 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.8511 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.8512 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11.8513 + # It is most probably a Windows format PATH printed by
11.8514 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
11.8515 + # path with ; separators, and with drive letters. We can handle the
11.8516 + # drive letters (cygwin fileutils understands them), so leave them,
11.8517 + # especially as we might pass files found there to a mingw objdump,
11.8518 + # which wouldn't understand a cygwinified path. Ahh.
11.8519 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.8520 + else
11.8521 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.8522 + fi
11.8523 + ;;
11.8524 + pw32*)
11.8525 + # pw32 DLLs use 'pw' prefix rather than 'lib'
11.8526 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11.8527 + ;;
11.8528 + esac
11.8529 + ;;
11.8530 +
11.8531 + *)
11.8532 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11.8533 + ;;
11.8534 + esac
11.8535 + dynamic_linker='Win32 ld.exe'
11.8536 + # FIXME: first we should search . and the directory the executable is in
11.8537 + shlibpath_var=PATH
11.8538 + ;;
11.8539 +
11.8540 +darwin* | rhapsody*)
11.8541 + dynamic_linker="$host_os dyld"
11.8542 + version_type=darwin
11.8543 + need_lib_prefix=no
11.8544 + need_version=no
11.8545 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11.8546 + soname_spec='${libname}${release}${major}$shared_ext'
11.8547 + shlibpath_overrides_runpath=yes
11.8548 + shlibpath_var=DYLD_LIBRARY_PATH
11.8549 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11.8550 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11.8551 + if test "$GCC" = yes; then
11.8552 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11.8553 + else
11.8554 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11.8555 + fi
11.8556 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11.8557 + ;;
11.8558 +
11.8559 +dgux*)
11.8560 + version_type=linux
11.8561 + need_lib_prefix=no
11.8562 + need_version=no
11.8563 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11.8564 + soname_spec='${libname}${release}${shared_ext}$major'
11.8565 + shlibpath_var=LD_LIBRARY_PATH
11.8566 + ;;
11.8567 +
11.8568 +freebsd1*)
11.8569 + dynamic_linker=no
11.8570 + ;;
11.8571 +
11.8572 +kfreebsd*-gnu)
11.8573 + version_type=linux
11.8574 + need_lib_prefix=no
11.8575 + need_version=no
11.8576 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.8577 + soname_spec='${libname}${release}${shared_ext}$major'
11.8578 + shlibpath_var=LD_LIBRARY_PATH
11.8579 + shlibpath_overrides_runpath=no
11.8580 + hardcode_into_libs=yes
11.8581 + dynamic_linker='GNU ld.so'
11.8582 + ;;
11.8583 +
11.8584 +freebsd*)
11.8585 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11.8586 + version_type=freebsd-$objformat
11.8587 + case $version_type in
11.8588 + freebsd-elf*)
11.8589 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11.8590 + need_version=no
11.8591 + need_lib_prefix=no
11.8592 + ;;
11.8593 + freebsd-*)
11.8594 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11.8595 + need_version=yes
11.8596 + ;;
11.8597 + esac
11.8598 + shlibpath_var=LD_LIBRARY_PATH
11.8599 + case $host_os in
11.8600 + freebsd2*)
11.8601 + shlibpath_overrides_runpath=yes
11.8602 + ;;
11.8603 + freebsd3.01* | freebsdelf3.01*)
11.8604 + shlibpath_overrides_runpath=yes
11.8605 + hardcode_into_libs=yes
11.8606 + ;;
11.8607 + *) # from 3.2 on
11.8608 + shlibpath_overrides_runpath=no
11.8609 + hardcode_into_libs=yes
11.8610 + ;;
11.8611 + esac
11.8612 + ;;
11.8613 +
11.8614 +gnu*)
11.8615 + version_type=linux
11.8616 + need_lib_prefix=no
11.8617 + need_version=no
11.8618 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11.8619 + soname_spec='${libname}${release}${shared_ext}$major'
11.8620 + shlibpath_var=LD_LIBRARY_PATH
11.8621 + hardcode_into_libs=yes
11.8622 + ;;
11.8623 +
11.8624 +hpux9* | hpux10* | hpux11*)
11.8625 + # Give a soname corresponding to the major version so that dld.sl refuses to
11.8626 + # link against other versions.
11.8627 + version_type=sunos
11.8628 + need_lib_prefix=no
11.8629 + need_version=no
11.8630 + case "$host_cpu" in
11.8631 + ia64*)
11.8632 + shrext_cmds='.so'
11.8633 + hardcode_into_libs=yes
11.8634 + dynamic_linker="$host_os dld.so"
11.8635 + shlibpath_var=LD_LIBRARY_PATH
11.8636 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.8637 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8638 + soname_spec='${libname}${release}${shared_ext}$major'
11.8639 + if test "X$HPUX_IA64_MODE" = X32; then
11.8640 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11.8641 + else
11.8642 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11.8643 + fi
11.8644 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.8645 + ;;
11.8646 + hppa*64*)
11.8647 + shrext_cmds='.sl'
11.8648 + hardcode_into_libs=yes
11.8649 + dynamic_linker="$host_os dld.sl"
11.8650 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11.8651 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.8652 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8653 + soname_spec='${libname}${release}${shared_ext}$major'
11.8654 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11.8655 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.8656 + ;;
11.8657 + *)
11.8658 + shrext_cmds='.sl'
11.8659 + dynamic_linker="$host_os dld.sl"
11.8660 + shlibpath_var=SHLIB_PATH
11.8661 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11.8662 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8663 + soname_spec='${libname}${release}${shared_ext}$major'
11.8664 + ;;
11.8665 + esac
11.8666 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
11.8667 + postinstall_cmds='chmod 555 $lib'
11.8668 + ;;
11.8669 +
11.8670 +irix5* | irix6* | nonstopux*)
11.8671 + case $host_os in
11.8672 + nonstopux*) version_type=nonstopux ;;
11.8673 + *)
11.8674 + if test "$lt_cv_prog_gnu_ld" = yes; then
11.8675 + version_type=linux
11.8676 + else
11.8677 + version_type=irix
11.8678 + fi ;;
11.8679 + esac
11.8680 + need_lib_prefix=no
11.8681 + need_version=no
11.8682 + soname_spec='${libname}${release}${shared_ext}$major'
11.8683 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11.8684 + case $host_os in
11.8685 + irix5* | nonstopux*)
11.8686 + libsuff= shlibsuff=
11.8687 + ;;
11.8688 + *)
11.8689 + case $LD in # libtool.m4 will add one of these switches to LD
11.8690 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11.8691 + libsuff= shlibsuff= libmagic=32-bit;;
11.8692 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11.8693 + libsuff=32 shlibsuff=N32 libmagic=N32;;
11.8694 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11.8695 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
11.8696 + *) libsuff= shlibsuff= libmagic=never-match;;
11.8697 + esac
11.8698 + ;;
11.8699 + esac
11.8700 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11.8701 + shlibpath_overrides_runpath=no
11.8702 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11.8703 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11.8704 + hardcode_into_libs=yes
11.8705 + ;;
11.8706 +
11.8707 +# No shared lib support for Linux oldld, aout, or coff.
11.8708 +linux*oldld* | linux*aout* | linux*coff*)
11.8709 + dynamic_linker=no
11.8710 + ;;
11.8711 +
11.8712 +# This must be Linux ELF.
11.8713 +linux*)
11.8714 + version_type=linux
11.8715 + need_lib_prefix=no
11.8716 + need_version=no
11.8717 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8718 + soname_spec='${libname}${release}${shared_ext}$major'
11.8719 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11.8720 + shlibpath_var=LD_LIBRARY_PATH
11.8721 + shlibpath_overrides_runpath=no
11.8722 + # This implies no fast_install, which is unacceptable.
11.8723 + # Some rework will be needed to allow for fast_install
11.8724 + # before this can be enabled.
11.8725 + hardcode_into_libs=yes
11.8726 +
11.8727 + # Append ld.so.conf contents to the search path
11.8728 + if test -f /etc/ld.so.conf; then
11.8729 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11.8730 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11.8731 + fi
11.8732 +
11.8733 + # We used to test for /lib/ld.so.1 and disable shared libraries on
11.8734 + # powerpc, because MkLinux only supported shared libraries with the
11.8735 + # GNU dynamic linker. Since this was broken with cross compilers,
11.8736 + # most powerpc-linux boxes support dynamic linking these days and
11.8737 + # people can always --disable-shared, the test was removed, and we
11.8738 + # assume the GNU/Linux dynamic linker is in use.
11.8739 + dynamic_linker='GNU/Linux ld.so'
11.8740 + ;;
11.8741 +
11.8742 +netbsdelf*-gnu)
11.8743 + version_type=linux
11.8744 + need_lib_prefix=no
11.8745 + need_version=no
11.8746 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.8747 + soname_spec='${libname}${release}${shared_ext}$major'
11.8748 + shlibpath_var=LD_LIBRARY_PATH
11.8749 + shlibpath_overrides_runpath=no
11.8750 + hardcode_into_libs=yes
11.8751 + dynamic_linker='NetBSD ld.elf_so'
11.8752 + ;;
11.8753 +
11.8754 +knetbsd*-gnu)
11.8755 + version_type=linux
11.8756 + need_lib_prefix=no
11.8757 + need_version=no
11.8758 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.8759 + soname_spec='${libname}${release}${shared_ext}$major'
11.8760 + shlibpath_var=LD_LIBRARY_PATH
11.8761 + shlibpath_overrides_runpath=no
11.8762 + hardcode_into_libs=yes
11.8763 + dynamic_linker='GNU ld.so'
11.8764 + ;;
11.8765 +
11.8766 +netbsd*)
11.8767 + version_type=sunos
11.8768 + need_lib_prefix=no
11.8769 + need_version=no
11.8770 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.8771 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.8772 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.8773 + dynamic_linker='NetBSD (a.out) ld.so'
11.8774 + else
11.8775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.8776 + soname_spec='${libname}${release}${shared_ext}$major'
11.8777 + dynamic_linker='NetBSD ld.elf_so'
11.8778 + fi
11.8779 + shlibpath_var=LD_LIBRARY_PATH
11.8780 + shlibpath_overrides_runpath=yes
11.8781 + hardcode_into_libs=yes
11.8782 + ;;
11.8783 +
11.8784 +newsos6)
11.8785 + version_type=linux
11.8786 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8787 + shlibpath_var=LD_LIBRARY_PATH
11.8788 + shlibpath_overrides_runpath=yes
11.8789 + ;;
11.8790 +
11.8791 +nto-qnx*)
11.8792 + version_type=linux
11.8793 + need_lib_prefix=no
11.8794 + need_version=no
11.8795 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8796 + soname_spec='${libname}${release}${shared_ext}$major'
11.8797 + shlibpath_var=LD_LIBRARY_PATH
11.8798 + shlibpath_overrides_runpath=yes
11.8799 + ;;
11.8800 +
11.8801 +openbsd*)
11.8802 + version_type=sunos
11.8803 + need_lib_prefix=no
11.8804 + need_version=yes
11.8805 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.8806 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.8807 + shlibpath_var=LD_LIBRARY_PATH
11.8808 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.8809 + case $host_os in
11.8810 + openbsd2.[89] | openbsd2.[89].*)
11.8811 + shlibpath_overrides_runpath=no
11.8812 + ;;
11.8813 + *)
11.8814 + shlibpath_overrides_runpath=yes
11.8815 + ;;
11.8816 + esac
11.8817 + else
11.8818 + shlibpath_overrides_runpath=yes
11.8819 + fi
11.8820 + ;;
11.8821 +
11.8822 +os2*)
11.8823 + libname_spec='$name'
11.8824 + shrext_cmds=".dll"
11.8825 + need_lib_prefix=no
11.8826 + library_names_spec='$libname${shared_ext} $libname.a'
11.8827 + dynamic_linker='OS/2 ld.exe'
11.8828 + shlibpath_var=LIBPATH
11.8829 + ;;
11.8830 +
11.8831 +osf3* | osf4* | osf5*)
11.8832 + version_type=osf
11.8833 + need_lib_prefix=no
11.8834 + need_version=no
11.8835 + soname_spec='${libname}${release}${shared_ext}$major'
11.8836 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8837 + shlibpath_var=LD_LIBRARY_PATH
11.8838 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11.8839 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11.8840 + ;;
11.8841 +
11.8842 +sco3.2v5*)
11.8843 + version_type=osf
11.8844 + soname_spec='${libname}${release}${shared_ext}$major'
11.8845 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8846 + shlibpath_var=LD_LIBRARY_PATH
11.8847 + ;;
11.8848 +
11.8849 +solaris*)
11.8850 + version_type=linux
11.8851 + need_lib_prefix=no
11.8852 + need_version=no
11.8853 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8854 + soname_spec='${libname}${release}${shared_ext}$major'
11.8855 + shlibpath_var=LD_LIBRARY_PATH
11.8856 + shlibpath_overrides_runpath=yes
11.8857 + hardcode_into_libs=yes
11.8858 + # ldd complains unless libraries are executable
11.8859 + postinstall_cmds='chmod +x $lib'
11.8860 + ;;
11.8861 +
11.8862 +sunos4*)
11.8863 + version_type=sunos
11.8864 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.8865 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11.8866 + shlibpath_var=LD_LIBRARY_PATH
11.8867 + shlibpath_overrides_runpath=yes
11.8868 + if test "$with_gnu_ld" = yes; then
11.8869 + need_lib_prefix=no
11.8870 + fi
11.8871 + need_version=yes
11.8872 + ;;
11.8873 +
11.8874 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.8875 + version_type=linux
11.8876 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8877 + soname_spec='${libname}${release}${shared_ext}$major'
11.8878 + shlibpath_var=LD_LIBRARY_PATH
11.8879 + case $host_vendor in
11.8880 + sni)
11.8881 + shlibpath_overrides_runpath=no
11.8882 + need_lib_prefix=no
11.8883 + export_dynamic_flag_spec='${wl}-Blargedynsym'
11.8884 + runpath_var=LD_RUN_PATH
11.8885 + ;;
11.8886 + siemens)
11.8887 + need_lib_prefix=no
11.8888 + ;;
11.8889 + motorola)
11.8890 + need_lib_prefix=no
11.8891 + need_version=no
11.8892 + shlibpath_overrides_runpath=no
11.8893 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11.8894 + ;;
11.8895 + esac
11.8896 + ;;
11.8897 +
11.8898 +sysv4*MP*)
11.8899 + if test -d /usr/nec ;then
11.8900 + version_type=linux
11.8901 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11.8902 + soname_spec='$libname${shared_ext}.$major'
11.8903 + shlibpath_var=LD_LIBRARY_PATH
11.8904 + fi
11.8905 + ;;
11.8906 +
11.8907 +uts4*)
11.8908 + version_type=linux
11.8909 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.8910 + soname_spec='${libname}${release}${shared_ext}$major'
11.8911 + shlibpath_var=LD_LIBRARY_PATH
11.8912 + ;;
11.8913 +
11.8914 +*)
11.8915 + dynamic_linker=no
11.8916 + ;;
11.8917 +esac
11.8918 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11.8919 +echo "${ECHO_T}$dynamic_linker" >&6; }
11.8920 +test "$dynamic_linker" = no && can_build_shared=no
11.8921 +
11.8922 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11.8923 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11.8924 +hardcode_action=
11.8925 +if test -n "$hardcode_libdir_flag_spec" || \
11.8926 + test -n "$runpath_var " || \
11.8927 + test "X$hardcode_automatic"="Xyes" ; then
11.8928 +
11.8929 + # We can hardcode non-existant directories.
11.8930 + if test "$hardcode_direct" != no &&
11.8931 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
11.8932 + # have to relink, otherwise we might link with an installed library
11.8933 + # when we should be linking with a yet-to-be-installed one
11.8934 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11.8935 + test "$hardcode_minus_L" != no; then
11.8936 + # Linking always hardcodes the temporary library directory.
11.8937 + hardcode_action=relink
11.8938 + else
11.8939 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
11.8940 + hardcode_action=immediate
11.8941 + fi
11.8942 +else
11.8943 + # We cannot hardcode anything, or else we can only hardcode existing
11.8944 + # directories.
11.8945 + hardcode_action=unsupported
11.8946 +fi
11.8947 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11.8948 +echo "${ECHO_T}$hardcode_action" >&6; }
11.8949 +
11.8950 +if test "$hardcode_action" = relink; then
11.8951 + # Fast installation is not supported
11.8952 + enable_fast_install=no
11.8953 +elif test "$shlibpath_overrides_runpath" = yes ||
11.8954 + test "$enable_shared" = no; then
11.8955 + # Fast installation is not necessary
11.8956 + enable_fast_install=needless
11.8957 +fi
11.8958 +
11.8959 +striplib=
11.8960 +old_striplib=
11.8961 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11.8962 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11.8963 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11.8964 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11.8965 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11.8966 + { echo "$as_me:$LINENO: result: yes" >&5
11.8967 +echo "${ECHO_T}yes" >&6; }
11.8968 +else
11.8969 +# FIXME - insert some real tests, host_os isn't really good enough
11.8970 + case $host_os in
11.8971 + darwin*)
11.8972 + if test -n "$STRIP" ; then
11.8973 + striplib="$STRIP -x"
11.8974 + { echo "$as_me:$LINENO: result: yes" >&5
11.8975 +echo "${ECHO_T}yes" >&6; }
11.8976 + else
11.8977 + { echo "$as_me:$LINENO: result: no" >&5
11.8978 +echo "${ECHO_T}no" >&6; }
11.8979 +fi
11.8980 + ;;
11.8981 + *)
11.8982 + { echo "$as_me:$LINENO: result: no" >&5
11.8983 +echo "${ECHO_T}no" >&6; }
11.8984 + ;;
11.8985 + esac
11.8986 +fi
11.8987 +
11.8988 +if test "x$enable_dlopen" != xyes; then
11.8989 + enable_dlopen=unknown
11.8990 + enable_dlopen_self=unknown
11.8991 + enable_dlopen_self_static=unknown
11.8992 +else
11.8993 + lt_cv_dlopen=no
11.8994 + lt_cv_dlopen_libs=
11.8995 +
11.8996 + case $host_os in
11.8997 + beos*)
11.8998 + lt_cv_dlopen="load_add_on"
11.8999 + lt_cv_dlopen_libs=
11.9000 + lt_cv_dlopen_self=yes
11.9001 + ;;
11.9002 +
11.9003 + mingw* | pw32*)
11.9004 + lt_cv_dlopen="LoadLibrary"
11.9005 + lt_cv_dlopen_libs=
11.9006 + ;;
11.9007 +
11.9008 + cygwin*)
11.9009 + lt_cv_dlopen="dlopen"
11.9010 + lt_cv_dlopen_libs=
11.9011 + ;;
11.9012 +
11.9013 + darwin*)
11.9014 + # if libdl is installed we need to link against it
11.9015 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11.9016 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11.9017 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11.9018 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9019 +else
11.9020 + ac_check_lib_save_LIBS=$LIBS
11.9021 +LIBS="-ldl $LIBS"
11.9022 +cat >conftest.$ac_ext <<_ACEOF
11.9023 +/* confdefs.h. */
11.9024 +_ACEOF
11.9025 +cat confdefs.h >>conftest.$ac_ext
11.9026 +cat >>conftest.$ac_ext <<_ACEOF
11.9027 +/* end confdefs.h. */
11.9028 +
11.9029 +/* Override any GCC internal prototype to avoid an error.
11.9030 + Use char because int might match the return type of a GCC
11.9031 + builtin and then its argument prototype would still apply. */
11.9032 +#ifdef __cplusplus
11.9033 +extern "C"
11.9034 +#endif
11.9035 +char dlopen ();
11.9036 +int
11.9037 +main ()
11.9038 +{
11.9039 +return dlopen ();
11.9040 + ;
11.9041 + return 0;
11.9042 +}
11.9043 +_ACEOF
11.9044 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9045 +if { (ac_try="$ac_link"
11.9046 +case "(($ac_try" in
11.9047 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9048 + *) ac_try_echo=$ac_try;;
11.9049 +esac
11.9050 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9051 + (eval "$ac_link") 2>conftest.er1
11.9052 + ac_status=$?
11.9053 + grep -v '^ *+' conftest.er1 >conftest.err
11.9054 + rm -f conftest.er1
11.9055 + cat conftest.err >&5
11.9056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9057 + (exit $ac_status); } && {
11.9058 + test -z "$ac_c_werror_flag" ||
11.9059 + test ! -s conftest.err
11.9060 + } && test -s conftest$ac_exeext &&
11.9061 + $as_test_x conftest$ac_exeext; then
11.9062 + ac_cv_lib_dl_dlopen=yes
11.9063 +else
11.9064 + echo "$as_me: failed program was:" >&5
11.9065 +sed 's/^/| /' conftest.$ac_ext >&5
11.9066 +
11.9067 + ac_cv_lib_dl_dlopen=no
11.9068 +fi
11.9069 +
11.9070 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9071 + conftest$ac_exeext conftest.$ac_ext
11.9072 +LIBS=$ac_check_lib_save_LIBS
11.9073 +fi
11.9074 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11.9075 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11.9076 +if test $ac_cv_lib_dl_dlopen = yes; then
11.9077 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11.9078 +else
11.9079 +
11.9080 + lt_cv_dlopen="dyld"
11.9081 + lt_cv_dlopen_libs=
11.9082 + lt_cv_dlopen_self=yes
11.9083 +
11.9084 +fi
11.9085 +
11.9086 + ;;
11.9087 +
11.9088 + *)
11.9089 + { echo "$as_me:$LINENO: checking for shl_load" >&5
11.9090 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11.9091 +if test "${ac_cv_func_shl_load+set}" = set; then
11.9092 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9093 +else
11.9094 + cat >conftest.$ac_ext <<_ACEOF
11.9095 +/* confdefs.h. */
11.9096 +_ACEOF
11.9097 +cat confdefs.h >>conftest.$ac_ext
11.9098 +cat >>conftest.$ac_ext <<_ACEOF
11.9099 +/* end confdefs.h. */
11.9100 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11.9101 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11.9102 +#define shl_load innocuous_shl_load
11.9103 +
11.9104 +/* System header to define __stub macros and hopefully few prototypes,
11.9105 + which can conflict with char shl_load (); below.
11.9106 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.9107 + <limits.h> exists even on freestanding compilers. */
11.9108 +
11.9109 +#ifdef __STDC__
11.9110 +# include <limits.h>
11.9111 +#else
11.9112 +# include <assert.h>
11.9113 +#endif
11.9114 +
11.9115 +#undef shl_load
11.9116 +
11.9117 +/* Override any GCC internal prototype to avoid an error.
11.9118 + Use char because int might match the return type of a GCC
11.9119 + builtin and then its argument prototype would still apply. */
11.9120 +#ifdef __cplusplus
11.9121 +extern "C"
11.9122 +#endif
11.9123 +char shl_load ();
11.9124 +/* The GNU C library defines this for functions which it implements
11.9125 + to always fail with ENOSYS. Some functions are actually named
11.9126 + something starting with __ and the normal name is an alias. */
11.9127 +#if defined __stub_shl_load || defined __stub___shl_load
11.9128 +choke me
11.9129 +#endif
11.9130 +
11.9131 +int
11.9132 +main ()
11.9133 +{
11.9134 +return shl_load ();
11.9135 + ;
11.9136 + return 0;
11.9137 +}
11.9138 +_ACEOF
11.9139 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9140 +if { (ac_try="$ac_link"
11.9141 +case "(($ac_try" in
11.9142 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9143 + *) ac_try_echo=$ac_try;;
11.9144 +esac
11.9145 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9146 + (eval "$ac_link") 2>conftest.er1
11.9147 + ac_status=$?
11.9148 + grep -v '^ *+' conftest.er1 >conftest.err
11.9149 + rm -f conftest.er1
11.9150 + cat conftest.err >&5
11.9151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9152 + (exit $ac_status); } && {
11.9153 + test -z "$ac_c_werror_flag" ||
11.9154 + test ! -s conftest.err
11.9155 + } && test -s conftest$ac_exeext &&
11.9156 + $as_test_x conftest$ac_exeext; then
11.9157 + ac_cv_func_shl_load=yes
11.9158 +else
11.9159 + echo "$as_me: failed program was:" >&5
11.9160 +sed 's/^/| /' conftest.$ac_ext >&5
11.9161 +
11.9162 + ac_cv_func_shl_load=no
11.9163 +fi
11.9164 +
11.9165 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9166 + conftest$ac_exeext conftest.$ac_ext
11.9167 +fi
11.9168 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11.9169 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11.9170 +if test $ac_cv_func_shl_load = yes; then
11.9171 + lt_cv_dlopen="shl_load"
11.9172 +else
11.9173 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11.9174 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11.9175 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11.9176 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9177 +else
11.9178 + ac_check_lib_save_LIBS=$LIBS
11.9179 +LIBS="-ldld $LIBS"
11.9180 +cat >conftest.$ac_ext <<_ACEOF
11.9181 +/* confdefs.h. */
11.9182 +_ACEOF
11.9183 +cat confdefs.h >>conftest.$ac_ext
11.9184 +cat >>conftest.$ac_ext <<_ACEOF
11.9185 +/* end confdefs.h. */
11.9186 +
11.9187 +/* Override any GCC internal prototype to avoid an error.
11.9188 + Use char because int might match the return type of a GCC
11.9189 + builtin and then its argument prototype would still apply. */
11.9190 +#ifdef __cplusplus
11.9191 +extern "C"
11.9192 +#endif
11.9193 +char shl_load ();
11.9194 +int
11.9195 +main ()
11.9196 +{
11.9197 +return shl_load ();
11.9198 + ;
11.9199 + return 0;
11.9200 +}
11.9201 +_ACEOF
11.9202 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9203 +if { (ac_try="$ac_link"
11.9204 +case "(($ac_try" in
11.9205 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9206 + *) ac_try_echo=$ac_try;;
11.9207 +esac
11.9208 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9209 + (eval "$ac_link") 2>conftest.er1
11.9210 + ac_status=$?
11.9211 + grep -v '^ *+' conftest.er1 >conftest.err
11.9212 + rm -f conftest.er1
11.9213 + cat conftest.err >&5
11.9214 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9215 + (exit $ac_status); } && {
11.9216 + test -z "$ac_c_werror_flag" ||
11.9217 + test ! -s conftest.err
11.9218 + } && test -s conftest$ac_exeext &&
11.9219 + $as_test_x conftest$ac_exeext; then
11.9220 + ac_cv_lib_dld_shl_load=yes
11.9221 +else
11.9222 + echo "$as_me: failed program was:" >&5
11.9223 +sed 's/^/| /' conftest.$ac_ext >&5
11.9224 +
11.9225 + ac_cv_lib_dld_shl_load=no
11.9226 +fi
11.9227 +
11.9228 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9229 + conftest$ac_exeext conftest.$ac_ext
11.9230 +LIBS=$ac_check_lib_save_LIBS
11.9231 +fi
11.9232 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11.9233 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11.9234 +if test $ac_cv_lib_dld_shl_load = yes; then
11.9235 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11.9236 +else
11.9237 + { echo "$as_me:$LINENO: checking for dlopen" >&5
11.9238 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11.9239 +if test "${ac_cv_func_dlopen+set}" = set; then
11.9240 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9241 +else
11.9242 + cat >conftest.$ac_ext <<_ACEOF
11.9243 +/* confdefs.h. */
11.9244 +_ACEOF
11.9245 +cat confdefs.h >>conftest.$ac_ext
11.9246 +cat >>conftest.$ac_ext <<_ACEOF
11.9247 +/* end confdefs.h. */
11.9248 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11.9249 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11.9250 +#define dlopen innocuous_dlopen
11.9251 +
11.9252 +/* System header to define __stub macros and hopefully few prototypes,
11.9253 + which can conflict with char dlopen (); below.
11.9254 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.9255 + <limits.h> exists even on freestanding compilers. */
11.9256 +
11.9257 +#ifdef __STDC__
11.9258 +# include <limits.h>
11.9259 +#else
11.9260 +# include <assert.h>
11.9261 +#endif
11.9262 +
11.9263 +#undef dlopen
11.9264 +
11.9265 +/* Override any GCC internal prototype to avoid an error.
11.9266 + Use char because int might match the return type of a GCC
11.9267 + builtin and then its argument prototype would still apply. */
11.9268 +#ifdef __cplusplus
11.9269 +extern "C"
11.9270 +#endif
11.9271 +char dlopen ();
11.9272 +/* The GNU C library defines this for functions which it implements
11.9273 + to always fail with ENOSYS. Some functions are actually named
11.9274 + something starting with __ and the normal name is an alias. */
11.9275 +#if defined __stub_dlopen || defined __stub___dlopen
11.9276 +choke me
11.9277 +#endif
11.9278 +
11.9279 +int
11.9280 +main ()
11.9281 +{
11.9282 +return dlopen ();
11.9283 + ;
11.9284 + return 0;
11.9285 +}
11.9286 +_ACEOF
11.9287 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9288 +if { (ac_try="$ac_link"
11.9289 +case "(($ac_try" in
11.9290 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9291 + *) ac_try_echo=$ac_try;;
11.9292 +esac
11.9293 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9294 + (eval "$ac_link") 2>conftest.er1
11.9295 + ac_status=$?
11.9296 + grep -v '^ *+' conftest.er1 >conftest.err
11.9297 + rm -f conftest.er1
11.9298 + cat conftest.err >&5
11.9299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9300 + (exit $ac_status); } && {
11.9301 + test -z "$ac_c_werror_flag" ||
11.9302 + test ! -s conftest.err
11.9303 + } && test -s conftest$ac_exeext &&
11.9304 + $as_test_x conftest$ac_exeext; then
11.9305 + ac_cv_func_dlopen=yes
11.9306 +else
11.9307 + echo "$as_me: failed program was:" >&5
11.9308 +sed 's/^/| /' conftest.$ac_ext >&5
11.9309 +
11.9310 + ac_cv_func_dlopen=no
11.9311 +fi
11.9312 +
11.9313 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9314 + conftest$ac_exeext conftest.$ac_ext
11.9315 +fi
11.9316 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11.9317 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11.9318 +if test $ac_cv_func_dlopen = yes; then
11.9319 + lt_cv_dlopen="dlopen"
11.9320 +else
11.9321 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11.9322 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11.9323 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11.9324 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9325 +else
11.9326 + ac_check_lib_save_LIBS=$LIBS
11.9327 +LIBS="-ldl $LIBS"
11.9328 +cat >conftest.$ac_ext <<_ACEOF
11.9329 +/* confdefs.h. */
11.9330 +_ACEOF
11.9331 +cat confdefs.h >>conftest.$ac_ext
11.9332 +cat >>conftest.$ac_ext <<_ACEOF
11.9333 +/* end confdefs.h. */
11.9334 +
11.9335 +/* Override any GCC internal prototype to avoid an error.
11.9336 + Use char because int might match the return type of a GCC
11.9337 + builtin and then its argument prototype would still apply. */
11.9338 +#ifdef __cplusplus
11.9339 +extern "C"
11.9340 +#endif
11.9341 +char dlopen ();
11.9342 +int
11.9343 +main ()
11.9344 +{
11.9345 +return dlopen ();
11.9346 + ;
11.9347 + return 0;
11.9348 +}
11.9349 +_ACEOF
11.9350 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9351 +if { (ac_try="$ac_link"
11.9352 +case "(($ac_try" in
11.9353 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9354 + *) ac_try_echo=$ac_try;;
11.9355 +esac
11.9356 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9357 + (eval "$ac_link") 2>conftest.er1
11.9358 + ac_status=$?
11.9359 + grep -v '^ *+' conftest.er1 >conftest.err
11.9360 + rm -f conftest.er1
11.9361 + cat conftest.err >&5
11.9362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9363 + (exit $ac_status); } && {
11.9364 + test -z "$ac_c_werror_flag" ||
11.9365 + test ! -s conftest.err
11.9366 + } && test -s conftest$ac_exeext &&
11.9367 + $as_test_x conftest$ac_exeext; then
11.9368 + ac_cv_lib_dl_dlopen=yes
11.9369 +else
11.9370 + echo "$as_me: failed program was:" >&5
11.9371 +sed 's/^/| /' conftest.$ac_ext >&5
11.9372 +
11.9373 + ac_cv_lib_dl_dlopen=no
11.9374 +fi
11.9375 +
11.9376 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9377 + conftest$ac_exeext conftest.$ac_ext
11.9378 +LIBS=$ac_check_lib_save_LIBS
11.9379 +fi
11.9380 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11.9381 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11.9382 +if test $ac_cv_lib_dl_dlopen = yes; then
11.9383 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11.9384 +else
11.9385 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11.9386 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11.9387 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11.9388 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9389 +else
11.9390 + ac_check_lib_save_LIBS=$LIBS
11.9391 +LIBS="-lsvld $LIBS"
11.9392 +cat >conftest.$ac_ext <<_ACEOF
11.9393 +/* confdefs.h. */
11.9394 +_ACEOF
11.9395 +cat confdefs.h >>conftest.$ac_ext
11.9396 +cat >>conftest.$ac_ext <<_ACEOF
11.9397 +/* end confdefs.h. */
11.9398 +
11.9399 +/* Override any GCC internal prototype to avoid an error.
11.9400 + Use char because int might match the return type of a GCC
11.9401 + builtin and then its argument prototype would still apply. */
11.9402 +#ifdef __cplusplus
11.9403 +extern "C"
11.9404 +#endif
11.9405 +char dlopen ();
11.9406 +int
11.9407 +main ()
11.9408 +{
11.9409 +return dlopen ();
11.9410 + ;
11.9411 + return 0;
11.9412 +}
11.9413 +_ACEOF
11.9414 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9415 +if { (ac_try="$ac_link"
11.9416 +case "(($ac_try" in
11.9417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9418 + *) ac_try_echo=$ac_try;;
11.9419 +esac
11.9420 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9421 + (eval "$ac_link") 2>conftest.er1
11.9422 + ac_status=$?
11.9423 + grep -v '^ *+' conftest.er1 >conftest.err
11.9424 + rm -f conftest.er1
11.9425 + cat conftest.err >&5
11.9426 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9427 + (exit $ac_status); } && {
11.9428 + test -z "$ac_c_werror_flag" ||
11.9429 + test ! -s conftest.err
11.9430 + } && test -s conftest$ac_exeext &&
11.9431 + $as_test_x conftest$ac_exeext; then
11.9432 + ac_cv_lib_svld_dlopen=yes
11.9433 +else
11.9434 + echo "$as_me: failed program was:" >&5
11.9435 +sed 's/^/| /' conftest.$ac_ext >&5
11.9436 +
11.9437 + ac_cv_lib_svld_dlopen=no
11.9438 +fi
11.9439 +
11.9440 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9441 + conftest$ac_exeext conftest.$ac_ext
11.9442 +LIBS=$ac_check_lib_save_LIBS
11.9443 +fi
11.9444 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11.9445 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11.9446 +if test $ac_cv_lib_svld_dlopen = yes; then
11.9447 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11.9448 +else
11.9449 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11.9450 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11.9451 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11.9452 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9453 +else
11.9454 + ac_check_lib_save_LIBS=$LIBS
11.9455 +LIBS="-ldld $LIBS"
11.9456 +cat >conftest.$ac_ext <<_ACEOF
11.9457 +/* confdefs.h. */
11.9458 +_ACEOF
11.9459 +cat confdefs.h >>conftest.$ac_ext
11.9460 +cat >>conftest.$ac_ext <<_ACEOF
11.9461 +/* end confdefs.h. */
11.9462 +
11.9463 +/* Override any GCC internal prototype to avoid an error.
11.9464 + Use char because int might match the return type of a GCC
11.9465 + builtin and then its argument prototype would still apply. */
11.9466 +#ifdef __cplusplus
11.9467 +extern "C"
11.9468 +#endif
11.9469 +char dld_link ();
11.9470 +int
11.9471 +main ()
11.9472 +{
11.9473 +return dld_link ();
11.9474 + ;
11.9475 + return 0;
11.9476 +}
11.9477 +_ACEOF
11.9478 +rm -f conftest.$ac_objext conftest$ac_exeext
11.9479 +if { (ac_try="$ac_link"
11.9480 +case "(($ac_try" in
11.9481 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.9482 + *) ac_try_echo=$ac_try;;
11.9483 +esac
11.9484 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.9485 + (eval "$ac_link") 2>conftest.er1
11.9486 + ac_status=$?
11.9487 + grep -v '^ *+' conftest.er1 >conftest.err
11.9488 + rm -f conftest.er1
11.9489 + cat conftest.err >&5
11.9490 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9491 + (exit $ac_status); } && {
11.9492 + test -z "$ac_c_werror_flag" ||
11.9493 + test ! -s conftest.err
11.9494 + } && test -s conftest$ac_exeext &&
11.9495 + $as_test_x conftest$ac_exeext; then
11.9496 + ac_cv_lib_dld_dld_link=yes
11.9497 +else
11.9498 + echo "$as_me: failed program was:" >&5
11.9499 +sed 's/^/| /' conftest.$ac_ext >&5
11.9500 +
11.9501 + ac_cv_lib_dld_dld_link=no
11.9502 +fi
11.9503 +
11.9504 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.9505 + conftest$ac_exeext conftest.$ac_ext
11.9506 +LIBS=$ac_check_lib_save_LIBS
11.9507 +fi
11.9508 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11.9509 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11.9510 +if test $ac_cv_lib_dld_dld_link = yes; then
11.9511 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11.9512 +fi
11.9513 +
11.9514 +
11.9515 +fi
11.9516 +
11.9517 +
11.9518 +fi
11.9519 +
11.9520 +
11.9521 +fi
11.9522 +
11.9523 +
11.9524 +fi
11.9525 +
11.9526 +
11.9527 +fi
11.9528 +
11.9529 + ;;
11.9530 + esac
11.9531 +
11.9532 + if test "x$lt_cv_dlopen" != xno; then
11.9533 + enable_dlopen=yes
11.9534 + else
11.9535 + enable_dlopen=no
11.9536 + fi
11.9537 +
11.9538 + case $lt_cv_dlopen in
11.9539 + dlopen)
11.9540 + save_CPPFLAGS="$CPPFLAGS"
11.9541 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11.9542 +
11.9543 + save_LDFLAGS="$LDFLAGS"
11.9544 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11.9545 +
11.9546 + save_LIBS="$LIBS"
11.9547 + LIBS="$lt_cv_dlopen_libs $LIBS"
11.9548 +
11.9549 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11.9550 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11.9551 +if test "${lt_cv_dlopen_self+set}" = set; then
11.9552 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9553 +else
11.9554 + if test "$cross_compiling" = yes; then :
11.9555 + lt_cv_dlopen_self=cross
11.9556 +else
11.9557 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.9558 + lt_status=$lt_dlunknown
11.9559 + cat > conftest.$ac_ext <<EOF
11.9560 +#line __oline__ "configure"
11.9561 +#include "confdefs.h"
11.9562 +
11.9563 +#if HAVE_DLFCN_H
11.9564 +#include <dlfcn.h>
11.9565 +#endif
11.9566 +
11.9567 +#include <stdio.h>
11.9568 +
11.9569 +#ifdef RTLD_GLOBAL
11.9570 +# define LT_DLGLOBAL RTLD_GLOBAL
11.9571 +#else
11.9572 +# ifdef DL_GLOBAL
11.9573 +# define LT_DLGLOBAL DL_GLOBAL
11.9574 +# else
11.9575 +# define LT_DLGLOBAL 0
11.9576 +# endif
11.9577 +#endif
11.9578 +
11.9579 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.9580 + find out it does not work in some platform. */
11.9581 +#ifndef LT_DLLAZY_OR_NOW
11.9582 +# ifdef RTLD_LAZY
11.9583 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
11.9584 +# else
11.9585 +# ifdef DL_LAZY
11.9586 +# define LT_DLLAZY_OR_NOW DL_LAZY
11.9587 +# else
11.9588 +# ifdef RTLD_NOW
11.9589 +# define LT_DLLAZY_OR_NOW RTLD_NOW
11.9590 +# else
11.9591 +# ifdef DL_NOW
11.9592 +# define LT_DLLAZY_OR_NOW DL_NOW
11.9593 +# else
11.9594 +# define LT_DLLAZY_OR_NOW 0
11.9595 +# endif
11.9596 +# endif
11.9597 +# endif
11.9598 +# endif
11.9599 +#endif
11.9600 +
11.9601 +#ifdef __cplusplus
11.9602 +extern "C" void exit (int);
11.9603 +#endif
11.9604 +
11.9605 +void fnord() { int i=42;}
11.9606 +int main ()
11.9607 +{
11.9608 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.9609 + int status = $lt_dlunknown;
11.9610 +
11.9611 + if (self)
11.9612 + {
11.9613 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11.9614 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.9615 + /* dlclose (self); */
11.9616 + }
11.9617 +
11.9618 + exit (status);
11.9619 +}
11.9620 +EOF
11.9621 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.9622 + (eval $ac_link) 2>&5
11.9623 + ac_status=$?
11.9624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9625 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.9626 + (./conftest; exit; ) 2>/dev/null
11.9627 + lt_status=$?
11.9628 + case x$lt_status in
11.9629 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11.9630 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11.9631 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11.9632 + esac
11.9633 + else :
11.9634 + # compilation failed
11.9635 + lt_cv_dlopen_self=no
11.9636 + fi
11.9637 +fi
11.9638 +rm -fr conftest*
11.9639 +
11.9640 +
11.9641 +fi
11.9642 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11.9643 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11.9644 +
11.9645 + if test "x$lt_cv_dlopen_self" = xyes; then
11.9646 + LDFLAGS="$LDFLAGS $link_static_flag"
11.9647 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11.9648 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11.9649 +if test "${lt_cv_dlopen_self_static+set}" = set; then
11.9650 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.9651 +else
11.9652 + if test "$cross_compiling" = yes; then :
11.9653 + lt_cv_dlopen_self_static=cross
11.9654 +else
11.9655 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.9656 + lt_status=$lt_dlunknown
11.9657 + cat > conftest.$ac_ext <<EOF
11.9658 +#line __oline__ "configure"
11.9659 +#include "confdefs.h"
11.9660 +
11.9661 +#if HAVE_DLFCN_H
11.9662 +#include <dlfcn.h>
11.9663 +#endif
11.9664 +
11.9665 +#include <stdio.h>
11.9666 +
11.9667 +#ifdef RTLD_GLOBAL
11.9668 +# define LT_DLGLOBAL RTLD_GLOBAL
11.9669 +#else
11.9670 +# ifdef DL_GLOBAL
11.9671 +# define LT_DLGLOBAL DL_GLOBAL
11.9672 +# else
11.9673 +# define LT_DLGLOBAL 0
11.9674 +# endif
11.9675 +#endif
11.9676 +
11.9677 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.9678 + find out it does not work in some platform. */
11.9679 +#ifndef LT_DLLAZY_OR_NOW
11.9680 +# ifdef RTLD_LAZY
11.9681 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
11.9682 +# else
11.9683 +# ifdef DL_LAZY
11.9684 +# define LT_DLLAZY_OR_NOW DL_LAZY
11.9685 +# else
11.9686 +# ifdef RTLD_NOW
11.9687 +# define LT_DLLAZY_OR_NOW RTLD_NOW
11.9688 +# else
11.9689 +# ifdef DL_NOW
11.9690 +# define LT_DLLAZY_OR_NOW DL_NOW
11.9691 +# else
11.9692 +# define LT_DLLAZY_OR_NOW 0
11.9693 +# endif
11.9694 +# endif
11.9695 +# endif
11.9696 +# endif
11.9697 +#endif
11.9698 +
11.9699 +#ifdef __cplusplus
11.9700 +extern "C" void exit (int);
11.9701 +#endif
11.9702 +
11.9703 +void fnord() { int i=42;}
11.9704 +int main ()
11.9705 +{
11.9706 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.9707 + int status = $lt_dlunknown;
11.9708 +
11.9709 + if (self)
11.9710 + {
11.9711 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11.9712 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.9713 + /* dlclose (self); */
11.9714 + }
11.9715 +
11.9716 + exit (status);
11.9717 +}
11.9718 +EOF
11.9719 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.9720 + (eval $ac_link) 2>&5
11.9721 + ac_status=$?
11.9722 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.9723 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.9724 + (./conftest; exit; ) 2>/dev/null
11.9725 + lt_status=$?
11.9726 + case x$lt_status in
11.9727 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11.9728 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11.9729 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11.9730 + esac
11.9731 + else :
11.9732 + # compilation failed
11.9733 + lt_cv_dlopen_self_static=no
11.9734 + fi
11.9735 +fi
11.9736 +rm -fr conftest*
11.9737 +
11.9738 +
11.9739 +fi
11.9740 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11.9741 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11.9742 + fi
11.9743 +
11.9744 + CPPFLAGS="$save_CPPFLAGS"
11.9745 + LDFLAGS="$save_LDFLAGS"
11.9746 + LIBS="$save_LIBS"
11.9747 + ;;
11.9748 + esac
11.9749 +
11.9750 + case $lt_cv_dlopen_self in
11.9751 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11.9752 + *) enable_dlopen_self=unknown ;;
11.9753 + esac
11.9754 +
11.9755 + case $lt_cv_dlopen_self_static in
11.9756 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11.9757 + *) enable_dlopen_self_static=unknown ;;
11.9758 + esac
11.9759 +fi
11.9760 +
11.9761 +
11.9762 +# Report which librarie types wil actually be built
11.9763 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11.9764 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11.9765 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11.9766 +echo "${ECHO_T}$can_build_shared" >&6; }
11.9767 +
11.9768 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11.9769 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11.9770 +test "$can_build_shared" = "no" && enable_shared=no
11.9771 +
11.9772 +# On AIX, shared libraries and static libraries use the same namespace, and
11.9773 +# are all built from PIC.
11.9774 +case "$host_os" in
11.9775 +aix3*)
11.9776 + test "$enable_shared" = yes && enable_static=no
11.9777 + if test -n "$RANLIB"; then
11.9778 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
11.9779 + postinstall_cmds='$RANLIB $lib'
11.9780 + fi
11.9781 + ;;
11.9782 +
11.9783 +aix4* | aix5*)
11.9784 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11.9785 + test "$enable_shared" = yes && enable_static=no
11.9786 + fi
11.9787 + ;;
11.9788 + darwin* | rhapsody*)
11.9789 + if test "$GCC" = yes; then
11.9790 + archive_cmds_need_lc=no
11.9791 + case "$host_os" in
11.9792 + rhapsody* | darwin1.[012])
11.9793 + allow_undefined_flag='-undefined suppress'
11.9794 + ;;
11.9795 + *) # Darwin 1.3 on
11.9796 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11.9797 + allow_undefined_flag='-flat_namespace -undefined suppress'
11.9798 + else
11.9799 + case ${MACOSX_DEPLOYMENT_TARGET} in
11.9800 + 10.[012])
11.9801 + allow_undefined_flag='-flat_namespace -undefined suppress'
11.9802 + ;;
11.9803 + 10.*)
11.9804 + allow_undefined_flag='-undefined dynamic_lookup'
11.9805 + ;;
11.9806 + esac
11.9807 + fi
11.9808 + ;;
11.9809 + esac
11.9810 + output_verbose_link_cmd='echo'
11.9811 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
11.9812 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11.9813 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11.9814 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.9815 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.9816 + hardcode_direct=no
11.9817 + hardcode_automatic=yes
11.9818 + hardcode_shlibpath_var=unsupported
11.9819 + whole_archive_flag_spec='-all_load $convenience'
11.9820 + link_all_deplibs=yes
11.9821 + else
11.9822 + ld_shlibs=no
11.9823 + fi
11.9824 + ;;
11.9825 +esac
11.9826 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11.9827 +echo "${ECHO_T}$enable_shared" >&6; }
11.9828 +
11.9829 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11.9830 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11.9831 +# Make sure either enable_shared or enable_static is yes.
11.9832 +test "$enable_shared" = yes || enable_static=yes
11.9833 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
11.9834 +echo "${ECHO_T}$enable_static" >&6; }
11.9835 +
11.9836 +# The else clause should only fire when bootstrapping the
11.9837 +# libtool distribution, otherwise you forgot to ship ltmain.sh
11.9838 +# with your package, and you will get complaints that there are
11.9839 +# no rules to generate ltmain.sh.
11.9840 +if test -f "$ltmain"; then
11.9841 + # See if we are running on zsh, and set the options which allow our commands through
11.9842 + # without removal of \ escapes.
11.9843 + if test -n "${ZSH_VERSION+set}" ; then
11.9844 + setopt NO_GLOB_SUBST
11.9845 + fi
11.9846 + # Now quote all the things that may contain metacharacters while being
11.9847 + # careful not to overquote the AC_SUBSTed values. We take copies of the
11.9848 + # variables and quote the copies for generation of the libtool script.
11.9849 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11.9850 + SED SHELL STRIP \
11.9851 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11.9852 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11.9853 + deplibs_check_method reload_flag reload_cmds need_locks \
11.9854 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11.9855 + lt_cv_sys_global_symbol_to_c_name_address \
11.9856 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11.9857 + old_postinstall_cmds old_postuninstall_cmds \
11.9858 + compiler \
11.9859 + CC \
11.9860 + LD \
11.9861 + lt_prog_compiler_wl \
11.9862 + lt_prog_compiler_pic \
11.9863 + lt_prog_compiler_static \
11.9864 + lt_prog_compiler_no_builtin_flag \
11.9865 + export_dynamic_flag_spec \
11.9866 + thread_safe_flag_spec \
11.9867 + whole_archive_flag_spec \
11.9868 + enable_shared_with_static_runtimes \
11.9869 + old_archive_cmds \
11.9870 + old_archive_from_new_cmds \
11.9871 + predep_objects \
11.9872 + postdep_objects \
11.9873 + predeps \
11.9874 + postdeps \
11.9875 + compiler_lib_search_path \
11.9876 + archive_cmds \
11.9877 + archive_expsym_cmds \
11.9878 + postinstall_cmds \
11.9879 + postuninstall_cmds \
11.9880 + old_archive_from_expsyms_cmds \
11.9881 + allow_undefined_flag \
11.9882 + no_undefined_flag \
11.9883 + export_symbols_cmds \
11.9884 + hardcode_libdir_flag_spec \
11.9885 + hardcode_libdir_flag_spec_ld \
11.9886 + hardcode_libdir_separator \
11.9887 + hardcode_automatic \
11.9888 + module_cmds \
11.9889 + module_expsym_cmds \
11.9890 + lt_cv_prog_compiler_c_o \
11.9891 + exclude_expsyms \
11.9892 + include_expsyms; do
11.9893 +
11.9894 + case $var in
11.9895 + old_archive_cmds | \
11.9896 + old_archive_from_new_cmds | \
11.9897 + archive_cmds | \
11.9898 + archive_expsym_cmds | \
11.9899 + module_cmds | \
11.9900 + module_expsym_cmds | \
11.9901 + old_archive_from_expsyms_cmds | \
11.9902 + export_symbols_cmds | \
11.9903 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
11.9904 + postinstall_cmds | postuninstall_cmds | \
11.9905 + old_postinstall_cmds | old_postuninstall_cmds | \
11.9906 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11.9907 + # Double-quote double-evaled strings.
11.9908 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11.9909 + ;;
11.9910 + *)
11.9911 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11.9912 + ;;
11.9913 + esac
11.9914 + done
11.9915 +
11.9916 + case $lt_echo in
11.9917 + *'\$0 --fallback-echo"')
11.9918 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11.9919 + ;;
11.9920 + esac
11.9921 +
11.9922 +cfgfile="${ofile}T"
11.9923 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11.9924 + $rm -f "$cfgfile"
11.9925 + { echo "$as_me:$LINENO: creating $ofile" >&5
11.9926 +echo "$as_me: creating $ofile" >&6;}
11.9927 +
11.9928 + cat <<__EOF__ >> "$cfgfile"
11.9929 +#! $SHELL
11.9930 +
11.9931 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11.9932 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11.9933 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11.9934 +#
11.9935 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11.9936 +# Free Software Foundation, Inc.
11.9937 +#
11.9938 +# This file is part of GNU Libtool:
11.9939 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11.9940 +#
11.9941 +# This program is free software; you can redistribute it and/or modify
11.9942 +# it under the terms of the GNU General Public License as published by
11.9943 +# the Free Software Foundation; either version 2 of the License, or
11.9944 +# (at your option) any later version.
11.9945 +#
11.9946 +# This program is distributed in the hope that it will be useful, but
11.9947 +# WITHOUT ANY WARRANTY; without even the implied warranty of
11.9948 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11.9949 +# General Public License for more details.
11.9950 +#
11.9951 +# You should have received a copy of the GNU General Public License
11.9952 +# along with this program; if not, write to the Free Software
11.9953 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11.9954 +#
11.9955 +# As a special exception to the GNU General Public License, if you
11.9956 +# distribute this file as part of a program that contains a
11.9957 +# configuration script generated by Autoconf, you may include it under
11.9958 +# the same distribution terms that you use for the rest of that program.
11.9959 +
11.9960 +# A sed program that does not truncate output.
11.9961 +SED=$lt_SED
11.9962 +
11.9963 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11.9964 +Xsed="$SED -e s/^X//"
11.9965 +
11.9966 +# The HP-UX ksh and POSIX shell print the target directory to stdout
11.9967 +# if CDPATH is set.
11.9968 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
11.9969 +
11.9970 +# The names of the tagged configurations supported by this script.
11.9971 +available_tags=
11.9972 +
11.9973 +# ### BEGIN LIBTOOL CONFIG
11.9974 +
11.9975 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11.9976 +
11.9977 +# Shell to use when invoking shell scripts.
11.9978 +SHELL=$lt_SHELL
11.9979 +
11.9980 +# Whether or not to build shared libraries.
11.9981 +build_libtool_libs=$enable_shared
11.9982 +
11.9983 +# Whether or not to build static libraries.
11.9984 +build_old_libs=$enable_static
11.9985 +
11.9986 +# Whether or not to add -lc for building shared libraries.
11.9987 +build_libtool_need_lc=$archive_cmds_need_lc
11.9988 +
11.9989 +# Whether or not to disallow shared libs when runtime libs are static
11.9990 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11.9991 +
11.9992 +# Whether or not to optimize for fast installation.
11.9993 +fast_install=$enable_fast_install
11.9994 +
11.9995 +# The host system.
11.9996 +host_alias=$host_alias
11.9997 +host=$host
11.9998 +
11.9999 +# An echo program that does not interpret backslashes.
11.10000 +echo=$lt_echo
11.10001 +
11.10002 +# The archiver.
11.10003 +AR=$lt_AR
11.10004 +AR_FLAGS=$lt_AR_FLAGS
11.10005 +
11.10006 +# A C compiler.
11.10007 +LTCC=$lt_LTCC
11.10008 +
11.10009 +# A language-specific compiler.
11.10010 +CC=$lt_compiler
11.10011 +
11.10012 +# Is the compiler the GNU C compiler?
11.10013 +with_gcc=$GCC
11.10014 +
11.10015 +# An ERE matcher.
11.10016 +EGREP=$lt_EGREP
11.10017 +
11.10018 +# The linker used to build libraries.
11.10019 +LD=$lt_LD
11.10020 +
11.10021 +# Whether we need hard or soft links.
11.10022 +LN_S=$lt_LN_S
11.10023 +
11.10024 +# A BSD-compatible nm program.
11.10025 +NM=$lt_NM
11.10026 +
11.10027 +# A symbol stripping program
11.10028 +STRIP=$lt_STRIP
11.10029 +
11.10030 +# Used to examine libraries when file_magic_cmd begins "file"
11.10031 +MAGIC_CMD=$MAGIC_CMD
11.10032 +
11.10033 +# Used on cygwin: DLL creation program.
11.10034 +DLLTOOL="$DLLTOOL"
11.10035 +
11.10036 +# Used on cygwin: object dumper.
11.10037 +OBJDUMP="$OBJDUMP"
11.10038 +
11.10039 +# Used on cygwin: assembler.
11.10040 +AS="$AS"
11.10041 +
11.10042 +# The name of the directory that contains temporary libtool files.
11.10043 +objdir=$objdir
11.10044 +
11.10045 +# How to create reloadable object files.
11.10046 +reload_flag=$lt_reload_flag
11.10047 +reload_cmds=$lt_reload_cmds
11.10048 +
11.10049 +# How to pass a linker flag through the compiler.
11.10050 +wl=$lt_lt_prog_compiler_wl
11.10051 +
11.10052 +# Object file suffix (normally "o").
11.10053 +objext="$ac_objext"
11.10054 +
11.10055 +# Old archive suffix (normally "a").
11.10056 +libext="$libext"
11.10057 +
11.10058 +# Shared library suffix (normally ".so").
11.10059 +shrext_cmds='$shrext_cmds'
11.10060 +
11.10061 +# Executable file suffix (normally "").
11.10062 +exeext="$exeext"
11.10063 +
11.10064 +# Additional compiler flags for building library objects.
11.10065 +pic_flag=$lt_lt_prog_compiler_pic
11.10066 +pic_mode=$pic_mode
11.10067 +
11.10068 +# What is the maximum length of a command?
11.10069 +max_cmd_len=$lt_cv_sys_max_cmd_len
11.10070 +
11.10071 +# Does compiler simultaneously support -c and -o options?
11.10072 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11.10073 +
11.10074 +# Must we lock files when doing compilation ?
11.10075 +need_locks=$lt_need_locks
11.10076 +
11.10077 +# Do we need the lib prefix for modules?
11.10078 +need_lib_prefix=$need_lib_prefix
11.10079 +
11.10080 +# Do we need a version for libraries?
11.10081 +need_version=$need_version
11.10082 +
11.10083 +# Whether dlopen is supported.
11.10084 +dlopen_support=$enable_dlopen
11.10085 +
11.10086 +# Whether dlopen of programs is supported.
11.10087 +dlopen_self=$enable_dlopen_self
11.10088 +
11.10089 +# Whether dlopen of statically linked programs is supported.
11.10090 +dlopen_self_static=$enable_dlopen_self_static
11.10091 +
11.10092 +# Compiler flag to prevent dynamic linking.
11.10093 +link_static_flag=$lt_lt_prog_compiler_static
11.10094 +
11.10095 +# Compiler flag to turn off builtin functions.
11.10096 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11.10097 +
11.10098 +# Compiler flag to allow reflexive dlopens.
11.10099 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11.10100 +
11.10101 +# Compiler flag to generate shared objects directly from archives.
11.10102 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
11.10103 +
11.10104 +# Compiler flag to generate thread-safe objects.
11.10105 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
11.10106 +
11.10107 +# Library versioning type.
11.10108 +version_type=$version_type
11.10109 +
11.10110 +# Format of library name prefix.
11.10111 +libname_spec=$lt_libname_spec
11.10112 +
11.10113 +# List of archive names. First name is the real one, the rest are links.
11.10114 +# The last name is the one that the linker finds with -lNAME.
11.10115 +library_names_spec=$lt_library_names_spec
11.10116 +
11.10117 +# The coded name of the library, if different from the real name.
11.10118 +soname_spec=$lt_soname_spec
11.10119 +
11.10120 +# Commands used to build and install an old-style archive.
11.10121 +RANLIB=$lt_RANLIB
11.10122 +old_archive_cmds=$lt_old_archive_cmds
11.10123 +old_postinstall_cmds=$lt_old_postinstall_cmds
11.10124 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
11.10125 +
11.10126 +# Create an old-style archive from a shared archive.
11.10127 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11.10128 +
11.10129 +# Create a temporary old-style archive to link instead of a shared archive.
11.10130 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11.10131 +
11.10132 +# Commands used to build and install a shared archive.
11.10133 +archive_cmds=$lt_archive_cmds
11.10134 +archive_expsym_cmds=$lt_archive_expsym_cmds
11.10135 +postinstall_cmds=$lt_postinstall_cmds
11.10136 +postuninstall_cmds=$lt_postuninstall_cmds
11.10137 +
11.10138 +# Commands used to build a loadable module (assumed same as above if empty)
11.10139 +module_cmds=$lt_module_cmds
11.10140 +module_expsym_cmds=$lt_module_expsym_cmds
11.10141 +
11.10142 +# Commands to strip libraries.
11.10143 +old_striplib=$lt_old_striplib
11.10144 +striplib=$lt_striplib
11.10145 +
11.10146 +# Dependencies to place before the objects being linked to create a
11.10147 +# shared library.
11.10148 +predep_objects=$lt_predep_objects
11.10149 +
11.10150 +# Dependencies to place after the objects being linked to create a
11.10151 +# shared library.
11.10152 +postdep_objects=$lt_postdep_objects
11.10153 +
11.10154 +# Dependencies to place before the objects being linked to create a
11.10155 +# shared library.
11.10156 +predeps=$lt_predeps
11.10157 +
11.10158 +# Dependencies to place after the objects being linked to create a
11.10159 +# shared library.
11.10160 +postdeps=$lt_postdeps
11.10161 +
11.10162 +# The library search path used internally by the compiler when linking
11.10163 +# a shared library.
11.10164 +compiler_lib_search_path=$lt_compiler_lib_search_path
11.10165 +
11.10166 +# Method to check whether dependent libraries are shared objects.
11.10167 +deplibs_check_method=$lt_deplibs_check_method
11.10168 +
11.10169 +# Command to use when deplibs_check_method == file_magic.
11.10170 +file_magic_cmd=$lt_file_magic_cmd
11.10171 +
11.10172 +# Flag that allows shared libraries with undefined symbols to be built.
11.10173 +allow_undefined_flag=$lt_allow_undefined_flag
11.10174 +
11.10175 +# Flag that forces no undefined symbols.
11.10176 +no_undefined_flag=$lt_no_undefined_flag
11.10177 +
11.10178 +# Commands used to finish a libtool library installation in a directory.
11.10179 +finish_cmds=$lt_finish_cmds
11.10180 +
11.10181 +# Same as above, but a single script fragment to be evaled but not shown.
11.10182 +finish_eval=$lt_finish_eval
11.10183 +
11.10184 +# Take the output of nm and produce a listing of raw symbols and C names.
11.10185 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11.10186 +
11.10187 +# Transform the output of nm in a proper C declaration
11.10188 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11.10189 +
11.10190 +# Transform the output of nm in a C name address pair
11.10191 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11.10192 +
11.10193 +# This is the shared library runtime path variable.
11.10194 +runpath_var=$runpath_var
11.10195 +
11.10196 +# This is the shared library path variable.
11.10197 +shlibpath_var=$shlibpath_var
11.10198 +
11.10199 +# Is shlibpath searched before the hard-coded library search path?
11.10200 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11.10201 +
11.10202 +# How to hardcode a shared library path into an executable.
11.10203 +hardcode_action=$hardcode_action
11.10204 +
11.10205 +# Whether we should hardcode library paths into libraries.
11.10206 +hardcode_into_libs=$hardcode_into_libs
11.10207 +
11.10208 +# Flag to hardcode \$libdir into a binary during linking.
11.10209 +# This must work even if \$libdir does not exist.
11.10210 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11.10211 +
11.10212 +# If ld is used when linking, flag to hardcode \$libdir into
11.10213 +# a binary during linking. This must work even if \$libdir does
11.10214 +# not exist.
11.10215 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11.10216 +
11.10217 +# Whether we need a single -rpath flag with a separated argument.
11.10218 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
11.10219 +
11.10220 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11.10221 +# resulting binary.
11.10222 +hardcode_direct=$hardcode_direct
11.10223 +
11.10224 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11.10225 +# resulting binary.
11.10226 +hardcode_minus_L=$hardcode_minus_L
11.10227 +
11.10228 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11.10229 +# the resulting binary.
11.10230 +hardcode_shlibpath_var=$hardcode_shlibpath_var
11.10231 +
11.10232 +# Set to yes if building a shared library automatically hardcodes DIR into the library
11.10233 +# and all subsequent libraries and executables linked against it.
11.10234 +hardcode_automatic=$hardcode_automatic
11.10235 +
11.10236 +# Variables whose values should be saved in libtool wrapper scripts and
11.10237 +# restored at relink time.
11.10238 +variables_saved_for_relink="$variables_saved_for_relink"
11.10239 +
11.10240 +# Whether libtool must link a program against all its dependency libraries.
11.10241 +link_all_deplibs=$link_all_deplibs
11.10242 +
11.10243 +# Compile-time system search path for libraries
11.10244 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11.10245 +
11.10246 +# Run-time system search path for libraries
11.10247 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11.10248 +
11.10249 +# Fix the shell variable \$srcfile for the compiler.
11.10250 +fix_srcfile_path="$fix_srcfile_path"
11.10251 +
11.10252 +# Set to yes if exported symbols are required.
11.10253 +always_export_symbols=$always_export_symbols
11.10254 +
11.10255 +# The commands to list exported symbols.
11.10256 +export_symbols_cmds=$lt_export_symbols_cmds
11.10257 +
11.10258 +# The commands to extract the exported symbol list from a shared archive.
11.10259 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
11.10260 +
11.10261 +# Symbols that should not be listed in the preloaded symbols.
11.10262 +exclude_expsyms=$lt_exclude_expsyms
11.10263 +
11.10264 +# Symbols that must always be exported.
11.10265 +include_expsyms=$lt_include_expsyms
11.10266 +
11.10267 +# ### END LIBTOOL CONFIG
11.10268 +
11.10269 +__EOF__
11.10270 +
11.10271 +
11.10272 + case $host_os in
11.10273 + aix3*)
11.10274 + cat <<\EOF >> "$cfgfile"
11.10275 +
11.10276 +# AIX sometimes has problems with the GCC collect2 program. For some
11.10277 +# reason, if we set the COLLECT_NAMES environment variable, the problems
11.10278 +# vanish in a puff of smoke.
11.10279 +if test "X${COLLECT_NAMES+set}" != Xset; then
11.10280 + COLLECT_NAMES=
11.10281 + export COLLECT_NAMES
11.10282 +fi
11.10283 +EOF
11.10284 + ;;
11.10285 + esac
11.10286 +
11.10287 + # We use sed instead of cat because bash on DJGPP gets confused if
11.10288 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
11.10289 + # text mode, it properly converts lines to CR/LF. This bash problem
11.10290 + # is reportedly fixed, but why not run on old versions too?
11.10291 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11.10292 +
11.10293 + mv -f "$cfgfile" "$ofile" || \
11.10294 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11.10295 + chmod +x "$ofile"
11.10296 +
11.10297 +else
11.10298 + # If there is no Makefile yet, we rely on a make rule to execute
11.10299 + # `config.status --recheck' to rerun these tests and create the
11.10300 + # libtool script then.
11.10301 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11.10302 + if test -f "$ltmain_in"; then
11.10303 + test -f Makefile && make "$ltmain"
11.10304 + fi
11.10305 +fi
11.10306 +
11.10307 +
11.10308 +ac_ext=c
11.10309 +ac_cpp='$CPP $CPPFLAGS'
11.10310 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.10311 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.10312 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.10313 +
11.10314 +CC="$lt_save_CC"
11.10315 +
11.10316 +
11.10317 +# Check whether --with-tags was given.
11.10318 +if test "${with_tags+set}" = set; then
11.10319 + withval=$with_tags; tagnames="$withval"
11.10320 +fi
11.10321 +
11.10322 +
11.10323 +if test -f "$ltmain" && test -n "$tagnames"; then
11.10324 + if test ! -f "${ofile}"; then
11.10325 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11.10326 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11.10327 + fi
11.10328 +
11.10329 + if test -z "$LTCC"; then
11.10330 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11.10331 + if test -z "$LTCC"; then
11.10332 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11.10333 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11.10334 + else
11.10335 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11.10336 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11.10337 + fi
11.10338 + fi
11.10339 +
11.10340 + # Extract list of available tagged configurations in $ofile.
11.10341 + # Note that this assumes the entire list is on one line.
11.10342 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11.10343 +
11.10344 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11.10345 + for tagname in $tagnames; do
11.10346 + IFS="$lt_save_ifs"
11.10347 + # Check whether tagname contains only valid characters
11.10348 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11.10349 + "") ;;
11.10350 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11.10351 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
11.10352 + { (exit 1); exit 1; }; }
11.10353 + ;;
11.10354 + esac
11.10355 +
11.10356 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11.10357 + then
11.10358 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11.10359 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11.10360 + { (exit 1); exit 1; }; }
11.10361 + fi
11.10362 +
11.10363 + # Update the list of available tags.
11.10364 + if test -n "$tagname"; then
11.10365 + echo appending configuration tag \"$tagname\" to $ofile
11.10366 +
11.10367 + case $tagname in
11.10368 + CXX)
11.10369 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
11.10370 + ac_ext=cpp
11.10371 +ac_cpp='$CXXCPP $CPPFLAGS'
11.10372 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.10373 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.10374 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.10375 +
11.10376 +
11.10377 +
11.10378 +
11.10379 +archive_cmds_need_lc_CXX=no
11.10380 +allow_undefined_flag_CXX=
11.10381 +always_export_symbols_CXX=no
11.10382 +archive_expsym_cmds_CXX=
11.10383 +export_dynamic_flag_spec_CXX=
11.10384 +hardcode_direct_CXX=no
11.10385 +hardcode_libdir_flag_spec_CXX=
11.10386 +hardcode_libdir_flag_spec_ld_CXX=
11.10387 +hardcode_libdir_separator_CXX=
11.10388 +hardcode_minus_L_CXX=no
11.10389 +hardcode_automatic_CXX=no
11.10390 +module_cmds_CXX=
11.10391 +module_expsym_cmds_CXX=
11.10392 +link_all_deplibs_CXX=unknown
11.10393 +old_archive_cmds_CXX=$old_archive_cmds
11.10394 +no_undefined_flag_CXX=
11.10395 +whole_archive_flag_spec_CXX=
11.10396 +enable_shared_with_static_runtimes_CXX=no
11.10397 +
11.10398 +# Dependencies to place before and after the object being linked:
11.10399 +predep_objects_CXX=
11.10400 +postdep_objects_CXX=
11.10401 +predeps_CXX=
11.10402 +postdeps_CXX=
11.10403 +compiler_lib_search_path_CXX=
11.10404 +
11.10405 +# Source file extension for C++ test sources.
11.10406 +ac_ext=cc
11.10407 +
11.10408 +# Object file extension for compiled C++ test sources.
11.10409 +objext=o
11.10410 +objext_CXX=$objext
11.10411 +
11.10412 +# Code to be used in simple compile tests
11.10413 +lt_simple_compile_test_code="int some_variable = 0;\n"
11.10414 +
11.10415 +# Code to be used in simple link tests
11.10416 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
11.10417 +
11.10418 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11.10419 +
11.10420 +# If no C compiler was specified, use CC.
11.10421 +LTCC=${LTCC-"$CC"}
11.10422 +
11.10423 +# Allow CC to be a program name with arguments.
11.10424 +compiler=$CC
11.10425 +
11.10426 +
11.10427 +# Allow CC to be a program name with arguments.
11.10428 +lt_save_CC=$CC
11.10429 +lt_save_LD=$LD
11.10430 +lt_save_GCC=$GCC
11.10431 +GCC=$GXX
11.10432 +lt_save_with_gnu_ld=$with_gnu_ld
11.10433 +lt_save_path_LD=$lt_cv_path_LD
11.10434 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11.10435 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11.10436 +else
11.10437 + unset lt_cv_prog_gnu_ld
11.10438 +fi
11.10439 +if test -n "${lt_cv_path_LDCXX+set}"; then
11.10440 + lt_cv_path_LD=$lt_cv_path_LDCXX
11.10441 +else
11.10442 + unset lt_cv_path_LD
11.10443 +fi
11.10444 +test -z "${LDCXX+set}" || LD=$LDCXX
11.10445 +CC=${CXX-"c++"}
11.10446 +compiler=$CC
11.10447 +compiler_CXX=$CC
11.10448 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11.10449 +
11.10450 +# We don't want -fno-exception wen compiling C++ code, so set the
11.10451 +# no_builtin_flag separately
11.10452 +if test "$GXX" = yes; then
11.10453 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11.10454 +else
11.10455 + lt_prog_compiler_no_builtin_flag_CXX=
11.10456 +fi
11.10457 +
11.10458 +if test "$GXX" = yes; then
11.10459 + # Set up default GNU C++ configuration
11.10460 +
11.10461 +
11.10462 +# Check whether --with-gnu-ld was given.
11.10463 +if test "${with_gnu_ld+set}" = set; then
11.10464 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11.10465 +else
11.10466 + with_gnu_ld=no
11.10467 +fi
11.10468 +
11.10469 +ac_prog=ld
11.10470 +if test "$GCC" = yes; then
11.10471 + # Check if gcc -print-prog-name=ld gives a path.
11.10472 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11.10473 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11.10474 + case $host in
11.10475 + *-*-mingw*)
11.10476 + # gcc leaves a trailing carriage return which upsets mingw
11.10477 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11.10478 + *)
11.10479 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11.10480 + esac
11.10481 + case $ac_prog in
11.10482 + # Accept absolute paths.
11.10483 + [\\/]* | ?:[\\/]*)
11.10484 + re_direlt='/[^/][^/]*/\.\./'
11.10485 + # Canonicalize the pathname of ld
11.10486 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11.10487 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11.10488 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11.10489 + done
11.10490 + test -z "$LD" && LD="$ac_prog"
11.10491 + ;;
11.10492 + "")
11.10493 + # If it fails, then pretend we aren't using GCC.
11.10494 + ac_prog=ld
11.10495 + ;;
11.10496 + *)
11.10497 + # If it is relative, then search for the first ld in PATH.
11.10498 + with_gnu_ld=unknown
11.10499 + ;;
11.10500 + esac
11.10501 +elif test "$with_gnu_ld" = yes; then
11.10502 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
11.10503 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11.10504 +else
11.10505 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11.10506 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11.10507 +fi
11.10508 +if test "${lt_cv_path_LD+set}" = set; then
11.10509 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.10510 +else
11.10511 + if test -z "$LD"; then
11.10512 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11.10513 + for ac_dir in $PATH; do
11.10514 + IFS="$lt_save_ifs"
11.10515 + test -z "$ac_dir" && ac_dir=.
11.10516 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11.10517 + lt_cv_path_LD="$ac_dir/$ac_prog"
11.10518 + # Check to see if the program is GNU ld. I'd rather use --version,
11.10519 + # but apparently some GNU ld's only accept -v.
11.10520 + # Break only if it was the GNU/non-GNU ld that we prefer.
11.10521 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11.10522 + *GNU* | *'with BFD'*)
11.10523 + test "$with_gnu_ld" != no && break
11.10524 + ;;
11.10525 + *)
11.10526 + test "$with_gnu_ld" != yes && break
11.10527 + ;;
11.10528 + esac
11.10529 + fi
11.10530 + done
11.10531 + IFS="$lt_save_ifs"
11.10532 +else
11.10533 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
11.10534 +fi
11.10535 +fi
11.10536 +
11.10537 +LD="$lt_cv_path_LD"
11.10538 +if test -n "$LD"; then
11.10539 + { echo "$as_me:$LINENO: result: $LD" >&5
11.10540 +echo "${ECHO_T}$LD" >&6; }
11.10541 +else
11.10542 + { echo "$as_me:$LINENO: result: no" >&5
11.10543 +echo "${ECHO_T}no" >&6; }
11.10544 +fi
11.10545 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11.10546 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11.10547 + { (exit 1); exit 1; }; }
11.10548 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11.10549 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11.10550 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
11.10551 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.10552 +else
11.10553 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11.10554 +case `$LD -v 2>&1 </dev/null` in
11.10555 +*GNU* | *'with BFD'*)
11.10556 + lt_cv_prog_gnu_ld=yes
11.10557 + ;;
11.10558 +*)
11.10559 + lt_cv_prog_gnu_ld=no
11.10560 + ;;
11.10561 +esac
11.10562 +fi
11.10563 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11.10564 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11.10565 +with_gnu_ld=$lt_cv_prog_gnu_ld
11.10566 +
11.10567 +
11.10568 +
11.10569 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
11.10570 + # archiving commands below assume that GNU ld is being used.
11.10571 + if test "$with_gnu_ld" = yes; then
11.10572 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.10573 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.10574 +
11.10575 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11.10576 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11.10577 +
11.10578 + # If archive_cmds runs LD, not CC, wlarc should be empty
11.10579 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11.10580 + # investigate it a little bit more. (MM)
11.10581 + wlarc='${wl}'
11.10582 +
11.10583 + # ancient GNU ld didn't support --whole-archive et. al.
11.10584 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11.10585 + grep 'no-whole-archive' > /dev/null; then
11.10586 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11.10587 + else
11.10588 + whole_archive_flag_spec_CXX=
11.10589 + fi
11.10590 + else
11.10591 + with_gnu_ld=no
11.10592 + wlarc=
11.10593 +
11.10594 + # A generic and very simple default shared library creation
11.10595 + # command for GNU C++ for the case where it uses the native
11.10596 + # linker, instead of GNU ld. If possible, this setting should
11.10597 + # overridden to take advantage of the native linker features on
11.10598 + # the platform it is being used on.
11.10599 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11.10600 + fi
11.10601 +
11.10602 + # Commands to make compiler produce verbose output that lists
11.10603 + # what "hidden" libraries, object files and flags are used when
11.10604 + # linking a shared library.
11.10605 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11.10606 +
11.10607 +else
11.10608 + GXX=no
11.10609 + with_gnu_ld=no
11.10610 + wlarc=
11.10611 +fi
11.10612 +
11.10613 +# PORTME: fill in a description of your system's C++ link characteristics
11.10614 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11.10615 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11.10616 +ld_shlibs_CXX=yes
11.10617 +case $host_os in
11.10618 + aix3*)
11.10619 + # FIXME: insert proper C++ library support
11.10620 + ld_shlibs_CXX=no
11.10621 + ;;
11.10622 + aix4* | aix5*)
11.10623 + if test "$host_cpu" = ia64; then
11.10624 + # On IA64, the linker does run time linking by default, so we don't
11.10625 + # have to do anything special.
11.10626 + aix_use_runtimelinking=no
11.10627 + exp_sym_flag='-Bexport'
11.10628 + no_entry_flag=""
11.10629 + else
11.10630 + aix_use_runtimelinking=no
11.10631 +
11.10632 + # Test if we are trying to use run time linking or normal
11.10633 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11.10634 + # need to do runtime linking.
11.10635 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11.10636 + for ld_flag in $LDFLAGS; do
11.10637 + case $ld_flag in
11.10638 + *-brtl*)
11.10639 + aix_use_runtimelinking=yes
11.10640 + break
11.10641 + ;;
11.10642 + esac
11.10643 + done
11.10644 + esac
11.10645 +
11.10646 + exp_sym_flag='-bexport'
11.10647 + no_entry_flag='-bnoentry'
11.10648 + fi
11.10649 +
11.10650 + # When large executables or shared objects are built, AIX ld can
11.10651 + # have problems creating the table of contents. If linking a library
11.10652 + # or program results in "error TOC overflow" add -mminimal-toc to
11.10653 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11.10654 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11.10655 +
11.10656 + archive_cmds_CXX=''
11.10657 + hardcode_direct_CXX=yes
11.10658 + hardcode_libdir_separator_CXX=':'
11.10659 + link_all_deplibs_CXX=yes
11.10660 +
11.10661 + if test "$GXX" = yes; then
11.10662 + case $host_os in aix4.012|aix4.012.*)
11.10663 + # We only want to do this on AIX 4.2 and lower, the check
11.10664 + # below for broken collect2 doesn't work under 4.3+
11.10665 + collect2name=`${CC} -print-prog-name=collect2`
11.10666 + if test -f "$collect2name" && \
11.10667 + strings "$collect2name" | grep resolve_lib_name >/dev/null
11.10668 + then
11.10669 + # We have reworked collect2
11.10670 + hardcode_direct_CXX=yes
11.10671 + else
11.10672 + # We have old collect2
11.10673 + hardcode_direct_CXX=unsupported
11.10674 + # It fails to find uninstalled libraries when the uninstalled
11.10675 + # path is not listed in the libpath. Setting hardcode_minus_L
11.10676 + # to unsupported forces relinking
11.10677 + hardcode_minus_L_CXX=yes
11.10678 + hardcode_libdir_flag_spec_CXX='-L$libdir'
11.10679 + hardcode_libdir_separator_CXX=
11.10680 + fi
11.10681 + esac
11.10682 + shared_flag='-shared'
11.10683 + else
11.10684 + # not using gcc
11.10685 + if test "$host_cpu" = ia64; then
11.10686 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11.10687 + # chokes on -Wl,-G. The following line is correct:
11.10688 + shared_flag='-G'
11.10689 + else
11.10690 + if test "$aix_use_runtimelinking" = yes; then
11.10691 + shared_flag='${wl}-G'
11.10692 + else
11.10693 + shared_flag='${wl}-bM:SRE'
11.10694 + fi
11.10695 + fi
11.10696 + fi
11.10697 +
11.10698 + # It seems that -bexpall does not export symbols beginning with
11.10699 + # underscore (_), so it is better to generate a list of symbols to export.
11.10700 + always_export_symbols_CXX=yes
11.10701 + if test "$aix_use_runtimelinking" = yes; then
11.10702 + # Warning - without using the other runtime loading flags (-brtl),
11.10703 + # -berok will link without error, but may produce a broken library.
11.10704 + allow_undefined_flag_CXX='-berok'
11.10705 + # Determine the default libpath from the value encoded in an empty executable.
11.10706 + cat >conftest.$ac_ext <<_ACEOF
11.10707 +/* confdefs.h. */
11.10708 +_ACEOF
11.10709 +cat confdefs.h >>conftest.$ac_ext
11.10710 +cat >>conftest.$ac_ext <<_ACEOF
11.10711 +/* end confdefs.h. */
11.10712 +
11.10713 +int
11.10714 +main ()
11.10715 +{
11.10716 +
11.10717 + ;
11.10718 + return 0;
11.10719 +}
11.10720 +_ACEOF
11.10721 +rm -f conftest.$ac_objext conftest$ac_exeext
11.10722 +if { (ac_try="$ac_link"
11.10723 +case "(($ac_try" in
11.10724 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.10725 + *) ac_try_echo=$ac_try;;
11.10726 +esac
11.10727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.10728 + (eval "$ac_link") 2>conftest.er1
11.10729 + ac_status=$?
11.10730 + grep -v '^ *+' conftest.er1 >conftest.err
11.10731 + rm -f conftest.er1
11.10732 + cat conftest.err >&5
11.10733 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10734 + (exit $ac_status); } && {
11.10735 + test -z "$ac_cxx_werror_flag" ||
11.10736 + test ! -s conftest.err
11.10737 + } && test -s conftest$ac_exeext &&
11.10738 + $as_test_x conftest$ac_exeext; then
11.10739 +
11.10740 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.10741 +}'`
11.10742 +# Check for a 64-bit object if we didn't find anything.
11.10743 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.10744 +}'`; fi
11.10745 +else
11.10746 + echo "$as_me: failed program was:" >&5
11.10747 +sed 's/^/| /' conftest.$ac_ext >&5
11.10748 +
11.10749 +
11.10750 +fi
11.10751 +
11.10752 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.10753 + conftest$ac_exeext conftest.$ac_ext
11.10754 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.10755 +
11.10756 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11.10757 +
11.10758 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11.10759 + else
11.10760 + if test "$host_cpu" = ia64; then
11.10761 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11.10762 + allow_undefined_flag_CXX="-z nodefs"
11.10763 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
11.10764 + else
11.10765 + # Determine the default libpath from the value encoded in an empty executable.
11.10766 + cat >conftest.$ac_ext <<_ACEOF
11.10767 +/* confdefs.h. */
11.10768 +_ACEOF
11.10769 +cat confdefs.h >>conftest.$ac_ext
11.10770 +cat >>conftest.$ac_ext <<_ACEOF
11.10771 +/* end confdefs.h. */
11.10772 +
11.10773 +int
11.10774 +main ()
11.10775 +{
11.10776 +
11.10777 + ;
11.10778 + return 0;
11.10779 +}
11.10780 +_ACEOF
11.10781 +rm -f conftest.$ac_objext conftest$ac_exeext
11.10782 +if { (ac_try="$ac_link"
11.10783 +case "(($ac_try" in
11.10784 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.10785 + *) ac_try_echo=$ac_try;;
11.10786 +esac
11.10787 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.10788 + (eval "$ac_link") 2>conftest.er1
11.10789 + ac_status=$?
11.10790 + grep -v '^ *+' conftest.er1 >conftest.err
11.10791 + rm -f conftest.er1
11.10792 + cat conftest.err >&5
11.10793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10794 + (exit $ac_status); } && {
11.10795 + test -z "$ac_cxx_werror_flag" ||
11.10796 + test ! -s conftest.err
11.10797 + } && test -s conftest$ac_exeext &&
11.10798 + $as_test_x conftest$ac_exeext; then
11.10799 +
11.10800 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.10801 +}'`
11.10802 +# Check for a 64-bit object if we didn't find anything.
11.10803 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.10804 +}'`; fi
11.10805 +else
11.10806 + echo "$as_me: failed program was:" >&5
11.10807 +sed 's/^/| /' conftest.$ac_ext >&5
11.10808 +
11.10809 +
11.10810 +fi
11.10811 +
11.10812 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.10813 + conftest$ac_exeext conftest.$ac_ext
11.10814 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.10815 +
11.10816 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11.10817 + # Warning - without using the other run time loading flags,
11.10818 + # -berok will link without error, but may produce a broken library.
11.10819 + no_undefined_flag_CXX=' ${wl}-bernotok'
11.10820 + allow_undefined_flag_CXX=' ${wl}-berok'
11.10821 + # -bexpall does not export symbols beginning with underscore (_)
11.10822 + always_export_symbols_CXX=yes
11.10823 + # Exported symbols can be pulled into shared objects from archives
11.10824 + whole_archive_flag_spec_CXX=' '
11.10825 + archive_cmds_need_lc_CXX=yes
11.10826 + # This is similar to how AIX traditionally builds it's shared libraries.
11.10827 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11.10828 + fi
11.10829 + fi
11.10830 + ;;
11.10831 + chorus*)
11.10832 + case $cc_basename in
11.10833 + *)
11.10834 + # FIXME: insert proper C++ library support
11.10835 + ld_shlibs_CXX=no
11.10836 + ;;
11.10837 + esac
11.10838 + ;;
11.10839 +
11.10840 + cygwin* | mingw* | pw32*)
11.10841 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11.10842 + # as there is no search path for DLLs.
11.10843 + hardcode_libdir_flag_spec_CXX='-L$libdir'
11.10844 + allow_undefined_flag_CXX=unsupported
11.10845 + always_export_symbols_CXX=no
11.10846 + enable_shared_with_static_runtimes_CXX=yes
11.10847 +
11.10848 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11.10849 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.10850 + # If the export-symbols file already is a .def file (1st line
11.10851 + # is EXPORTS), use it as is; otherwise, prepend...
11.10852 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11.10853 + cp $export_symbols $output_objdir/$soname.def;
11.10854 + else
11.10855 + echo EXPORTS > $output_objdir/$soname.def;
11.10856 + cat $export_symbols >> $output_objdir/$soname.def;
11.10857 + fi~
11.10858 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.10859 + else
11.10860 + ld_shlibs_CXX=no
11.10861 + fi
11.10862 + ;;
11.10863 +
11.10864 + darwin* | rhapsody*)
11.10865 + if test "$GXX" = yes; then
11.10866 + archive_cmds_need_lc_CXX=no
11.10867 + case "$host_os" in
11.10868 + rhapsody* | darwin1.[012])
11.10869 + allow_undefined_flag_CXX='-undefined suppress'
11.10870 + ;;
11.10871 + *) # Darwin 1.3 on
11.10872 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11.10873 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
11.10874 + else
11.10875 + case ${MACOSX_DEPLOYMENT_TARGET} in
11.10876 + 10.[012])
11.10877 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
11.10878 + ;;
11.10879 + 10.*)
11.10880 + allow_undefined_flag_CXX='-undefined dynamic_lookup'
11.10881 + ;;
11.10882 + esac
11.10883 + fi
11.10884 + ;;
11.10885 + esac
11.10886 + lt_int_apple_cc_single_mod=no
11.10887 + output_verbose_link_cmd='echo'
11.10888 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11.10889 + lt_int_apple_cc_single_mod=yes
11.10890 + fi
11.10891 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.10892 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.10893 + else
11.10894 + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.10895 + fi
11.10896 + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11.10897 +
11.10898 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11.10899 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.10900 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.10901 + else
11.10902 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.10903 + fi
11.10904 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.10905 + hardcode_direct_CXX=no
11.10906 + hardcode_automatic_CXX=yes
11.10907 + hardcode_shlibpath_var_CXX=unsupported
11.10908 + whole_archive_flag_spec_CXX='-all_load $convenience'
11.10909 + link_all_deplibs_CXX=yes
11.10910 + else
11.10911 + ld_shlibs_CXX=no
11.10912 + fi
11.10913 + ;;
11.10914 +
11.10915 + dgux*)
11.10916 + case $cc_basename in
11.10917 + ec++)
11.10918 + # FIXME: insert proper C++ library support
11.10919 + ld_shlibs_CXX=no
11.10920 + ;;
11.10921 + ghcx)
11.10922 + # Green Hills C++ Compiler
11.10923 + # FIXME: insert proper C++ library support
11.10924 + ld_shlibs_CXX=no
11.10925 + ;;
11.10926 + *)
11.10927 + # FIXME: insert proper C++ library support
11.10928 + ld_shlibs_CXX=no
11.10929 + ;;
11.10930 + esac
11.10931 + ;;
11.10932 + freebsd12*)
11.10933 + # C++ shared libraries reported to be fairly broken before switch to ELF
11.10934 + ld_shlibs_CXX=no
11.10935 + ;;
11.10936 + freebsd-elf*)
11.10937 + archive_cmds_need_lc_CXX=no
11.10938 + ;;
11.10939 + freebsd* | kfreebsd*-gnu)
11.10940 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11.10941 + # conventions
11.10942 + ld_shlibs_CXX=yes
11.10943 + ;;
11.10944 + gnu*)
11.10945 + ;;
11.10946 + hpux9*)
11.10947 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11.10948 + hardcode_libdir_separator_CXX=:
11.10949 + export_dynamic_flag_spec_CXX='${wl}-E'
11.10950 + hardcode_direct_CXX=yes
11.10951 + hardcode_minus_L_CXX=yes # Not in the search PATH,
11.10952 + # but as the default
11.10953 + # location of the library.
11.10954 +
11.10955 + case $cc_basename in
11.10956 + CC)
11.10957 + # FIXME: insert proper C++ library support
11.10958 + ld_shlibs_CXX=no
11.10959 + ;;
11.10960 + aCC)
11.10961 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.10962 + # Commands to make compiler produce verbose output that lists
11.10963 + # what "hidden" libraries, object files and flags are used when
11.10964 + # linking a shared library.
11.10965 + #
11.10966 + # There doesn't appear to be a way to prevent this compiler from
11.10967 + # explicitly linking system object files so we need to strip them
11.10968 + # from the output so that they don't get included in the library
11.10969 + # dependencies.
11.10970 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.10971 + ;;
11.10972 + *)
11.10973 + if test "$GXX" = yes; then
11.10974 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.10975 + else
11.10976 + # FIXME: insert proper C++ library support
11.10977 + ld_shlibs_CXX=no
11.10978 + fi
11.10979 + ;;
11.10980 + esac
11.10981 + ;;
11.10982 + hpux10*|hpux11*)
11.10983 + if test $with_gnu_ld = no; then
11.10984 + case "$host_cpu" in
11.10985 + hppa*64*)
11.10986 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11.10987 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11.10988 + hardcode_libdir_separator_CXX=:
11.10989 + ;;
11.10990 + ia64*)
11.10991 + hardcode_libdir_flag_spec_CXX='-L$libdir'
11.10992 + ;;
11.10993 + *)
11.10994 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11.10995 + hardcode_libdir_separator_CXX=:
11.10996 + export_dynamic_flag_spec_CXX='${wl}-E'
11.10997 + ;;
11.10998 + esac
11.10999 + fi
11.11000 + case "$host_cpu" in
11.11001 + hppa*64*)
11.11002 + hardcode_direct_CXX=no
11.11003 + hardcode_shlibpath_var_CXX=no
11.11004 + ;;
11.11005 + ia64*)
11.11006 + hardcode_direct_CXX=no
11.11007 + hardcode_shlibpath_var_CXX=no
11.11008 + hardcode_minus_L_CXX=yes # Not in the search PATH,
11.11009 + # but as the default
11.11010 + # location of the library.
11.11011 + ;;
11.11012 + *)
11.11013 + hardcode_direct_CXX=yes
11.11014 + hardcode_minus_L_CXX=yes # Not in the search PATH,
11.11015 + # but as the default
11.11016 + # location of the library.
11.11017 + ;;
11.11018 + esac
11.11019 +
11.11020 + case $cc_basename in
11.11021 + CC)
11.11022 + # FIXME: insert proper C++ library support
11.11023 + ld_shlibs_CXX=no
11.11024 + ;;
11.11025 + aCC)
11.11026 + case "$host_cpu" in
11.11027 + hppa*64*|ia64*)
11.11028 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11.11029 + ;;
11.11030 + *)
11.11031 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11.11032 + ;;
11.11033 + esac
11.11034 + # Commands to make compiler produce verbose output that lists
11.11035 + # what "hidden" libraries, object files and flags are used when
11.11036 + # linking a shared library.
11.11037 + #
11.11038 + # There doesn't appear to be a way to prevent this compiler from
11.11039 + # explicitly linking system object files so we need to strip them
11.11040 + # from the output so that they don't get included in the library
11.11041 + # dependencies.
11.11042 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.11043 + ;;
11.11044 + *)
11.11045 + if test "$GXX" = yes; then
11.11046 + if test $with_gnu_ld = no; then
11.11047 + case "$host_cpu" in
11.11048 + ia64*|hppa*64*)
11.11049 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11.11050 + ;;
11.11051 + *)
11.11052 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11.11053 + ;;
11.11054 + esac
11.11055 + fi
11.11056 + else
11.11057 + # FIXME: insert proper C++ library support
11.11058 + ld_shlibs_CXX=no
11.11059 + fi
11.11060 + ;;
11.11061 + esac
11.11062 + ;;
11.11063 + irix5* | irix6*)
11.11064 + case $cc_basename in
11.11065 + CC)
11.11066 + # SGI C++
11.11067 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11.11068 +
11.11069 + # Archives containing C++ object files must be created using
11.11070 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11.11071 + # necessary to make sure instantiated templates are included
11.11072 + # in the archive.
11.11073 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11.11074 + ;;
11.11075 + *)
11.11076 + if test "$GXX" = yes; then
11.11077 + if test "$with_gnu_ld" = no; then
11.11078 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11.11079 + else
11.11080 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11.11081 + fi
11.11082 + fi
11.11083 + link_all_deplibs_CXX=yes
11.11084 + ;;
11.11085 + esac
11.11086 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11.11087 + hardcode_libdir_separator_CXX=:
11.11088 + ;;
11.11089 + linux*)
11.11090 + case $cc_basename in
11.11091 + KCC)
11.11092 + # Kuck and Associates, Inc. (KAI) C++ Compiler
11.11093 +
11.11094 + # KCC will only create a shared library if the output file
11.11095 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
11.11096 + # to its proper name (with version) after linking.
11.11097 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11.11098 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11.11099 + # Commands to make compiler produce verbose output that lists
11.11100 + # what "hidden" libraries, object files and flags are used when
11.11101 + # linking a shared library.
11.11102 + #
11.11103 + # There doesn't appear to be a way to prevent this compiler from
11.11104 + # explicitly linking system object files so we need to strip them
11.11105 + # from the output so that they don't get included in the library
11.11106 + # dependencies.
11.11107 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.11108 +
11.11109 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11.11110 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11.11111 +
11.11112 + # Archives containing C++ object files must be created using
11.11113 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11.11114 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11.11115 + ;;
11.11116 + icpc)
11.11117 + # Intel C++
11.11118 + with_gnu_ld=yes
11.11119 + archive_cmds_need_lc_CXX=no
11.11120 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.11121 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.11122 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11.11123 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11.11124 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11.11125 + ;;
11.11126 + cxx)
11.11127 + # Compaq C++
11.11128 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.11129 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11.11130 +
11.11131 + runpath_var=LD_RUN_PATH
11.11132 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11.11133 + hardcode_libdir_separator_CXX=:
11.11134 +
11.11135 + # Commands to make compiler produce verbose output that lists
11.11136 + # what "hidden" libraries, object files and flags are used when
11.11137 + # linking a shared library.
11.11138 + #
11.11139 + # There doesn't appear to be a way to prevent this compiler from
11.11140 + # explicitly linking system object files so we need to strip them
11.11141 + # from the output so that they don't get included in the library
11.11142 + # dependencies.
11.11143 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.11144 + ;;
11.11145 + esac
11.11146 + ;;
11.11147 + lynxos*)
11.11148 + # FIXME: insert proper C++ library support
11.11149 + ld_shlibs_CXX=no
11.11150 + ;;
11.11151 + m88k*)
11.11152 + # FIXME: insert proper C++ library support
11.11153 + ld_shlibs_CXX=no
11.11154 + ;;
11.11155 + mvs*)
11.11156 + case $cc_basename in
11.11157 + cxx)
11.11158 + # FIXME: insert proper C++ library support
11.11159 + ld_shlibs_CXX=no
11.11160 + ;;
11.11161 + *)
11.11162 + # FIXME: insert proper C++ library support
11.11163 + ld_shlibs_CXX=no
11.11164 + ;;
11.11165 + esac
11.11166 + ;;
11.11167 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.11168 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.11169 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11.11170 + wlarc=
11.11171 + hardcode_libdir_flag_spec_CXX='-R$libdir'
11.11172 + hardcode_direct_CXX=yes
11.11173 + hardcode_shlibpath_var_CXX=no
11.11174 + fi
11.11175 + # Workaround some broken pre-1.5 toolchains
11.11176 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11.11177 + ;;
11.11178 + osf3*)
11.11179 + case $cc_basename in
11.11180 + KCC)
11.11181 + # Kuck and Associates, Inc. (KAI) C++ Compiler
11.11182 +
11.11183 + # KCC will only create a shared library if the output file
11.11184 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
11.11185 + # to its proper name (with version) after linking.
11.11186 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11.11187 +
11.11188 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11.11189 + hardcode_libdir_separator_CXX=:
11.11190 +
11.11191 + # Archives containing C++ object files must be created using
11.11192 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11.11193 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11.11194 +
11.11195 + ;;
11.11196 + RCC)
11.11197 + # Rational C++ 2.4.1
11.11198 + # FIXME: insert proper C++ library support
11.11199 + ld_shlibs_CXX=no
11.11200 + ;;
11.11201 + cxx)
11.11202 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11.11203 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11.11204 +
11.11205 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11.11206 + hardcode_libdir_separator_CXX=:
11.11207 +
11.11208 + # Commands to make compiler produce verbose output that lists
11.11209 + # what "hidden" libraries, object files and flags are used when
11.11210 + # linking a shared library.
11.11211 + #
11.11212 + # There doesn't appear to be a way to prevent this compiler from
11.11213 + # explicitly linking system object files so we need to strip them
11.11214 + # from the output so that they don't get included in the library
11.11215 + # dependencies.
11.11216 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.11217 + ;;
11.11218 + *)
11.11219 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11.11220 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11.11221 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11.11222 +
11.11223 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11.11224 + hardcode_libdir_separator_CXX=:
11.11225 +
11.11226 + # Commands to make compiler produce verbose output that lists
11.11227 + # what "hidden" libraries, object files and flags are used when
11.11228 + # linking a shared library.
11.11229 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11.11230 +
11.11231 + else
11.11232 + # FIXME: insert proper C++ library support
11.11233 + ld_shlibs_CXX=no
11.11234 + fi
11.11235 + ;;
11.11236 + esac
11.11237 + ;;
11.11238 + osf4* | osf5*)
11.11239 + case $cc_basename in
11.11240 + KCC)
11.11241 + # Kuck and Associates, Inc. (KAI) C++ Compiler
11.11242 +
11.11243 + # KCC will only create a shared library if the output file
11.11244 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
11.11245 + # to its proper name (with version) after linking.
11.11246 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11.11247 +
11.11248 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11.11249 + hardcode_libdir_separator_CXX=:
11.11250 +
11.11251 + # Archives containing C++ object files must be created using
11.11252 + # the KAI C++ compiler.
11.11253 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11.11254 + ;;
11.11255 + RCC)
11.11256 + # Rational C++ 2.4.1
11.11257 + # FIXME: insert proper C++ library support
11.11258 + ld_shlibs_CXX=no
11.11259 + ;;
11.11260 + cxx)
11.11261 + allow_undefined_flag_CXX=' -expect_unresolved \*'
11.11262 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11.11263 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11.11264 + echo "-hidden">> $lib.exp~
11.11265 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
11.11266 + $rm $lib.exp'
11.11267 +
11.11268 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11.11269 + hardcode_libdir_separator_CXX=:
11.11270 +
11.11271 + # Commands to make compiler produce verbose output that lists
11.11272 + # what "hidden" libraries, object files and flags are used when
11.11273 + # linking a shared library.
11.11274 + #
11.11275 + # There doesn't appear to be a way to prevent this compiler from
11.11276 + # explicitly linking system object files so we need to strip them
11.11277 + # from the output so that they don't get included in the library
11.11278 + # dependencies.
11.11279 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.11280 + ;;
11.11281 + *)
11.11282 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11.11283 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11.11284 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11.11285 +
11.11286 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11.11287 + hardcode_libdir_separator_CXX=:
11.11288 +
11.11289 + # Commands to make compiler produce verbose output that lists
11.11290 + # what "hidden" libraries, object files and flags are used when
11.11291 + # linking a shared library.
11.11292 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11.11293 +
11.11294 + else
11.11295 + # FIXME: insert proper C++ library support
11.11296 + ld_shlibs_CXX=no
11.11297 + fi
11.11298 + ;;
11.11299 + esac
11.11300 + ;;
11.11301 + psos*)
11.11302 + # FIXME: insert proper C++ library support
11.11303 + ld_shlibs_CXX=no
11.11304 + ;;
11.11305 + sco*)
11.11306 + archive_cmds_need_lc_CXX=no
11.11307 + case $cc_basename in
11.11308 + CC)
11.11309 + # FIXME: insert proper C++ library support
11.11310 + ld_shlibs_CXX=no
11.11311 + ;;
11.11312 + *)
11.11313 + # FIXME: insert proper C++ library support
11.11314 + ld_shlibs_CXX=no
11.11315 + ;;
11.11316 + esac
11.11317 + ;;
11.11318 + sunos4*)
11.11319 + case $cc_basename in
11.11320 + CC)
11.11321 + # Sun C++ 4.x
11.11322 + # FIXME: insert proper C++ library support
11.11323 + ld_shlibs_CXX=no
11.11324 + ;;
11.11325 + lcc)
11.11326 + # Lucid
11.11327 + # FIXME: insert proper C++ library support
11.11328 + ld_shlibs_CXX=no
11.11329 + ;;
11.11330 + *)
11.11331 + # FIXME: insert proper C++ library support
11.11332 + ld_shlibs_CXX=no
11.11333 + ;;
11.11334 + esac
11.11335 + ;;
11.11336 + solaris*)
11.11337 + case $cc_basename in
11.11338 + CC)
11.11339 + # Sun C++ 4.2, 5.x and Centerline C++
11.11340 + no_undefined_flag_CXX=' -zdefs'
11.11341 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11.11342 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.11343 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11.11344 +
11.11345 + hardcode_libdir_flag_spec_CXX='-R$libdir'
11.11346 + hardcode_shlibpath_var_CXX=no
11.11347 + case $host_os in
11.11348 + solaris2.0-5 | solaris2.0-5.*) ;;
11.11349 + *)
11.11350 + # The C++ compiler is used as linker so we must use $wl
11.11351 + # flag to pass the commands to the underlying system
11.11352 + # linker.
11.11353 + # Supported since Solaris 2.6 (maybe 2.5.1?)
11.11354 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11.11355 + ;;
11.11356 + esac
11.11357 + link_all_deplibs_CXX=yes
11.11358 +
11.11359 + # Commands to make compiler produce verbose output that lists
11.11360 + # what "hidden" libraries, object files and flags are used when
11.11361 + # linking a shared library.
11.11362 + #
11.11363 + # There doesn't appear to be a way to prevent this compiler from
11.11364 + # explicitly linking system object files so we need to strip them
11.11365 + # from the output so that they don't get included in the library
11.11366 + # dependencies.
11.11367 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11.11368 +
11.11369 + # Archives containing C++ object files must be created using
11.11370 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
11.11371 + # necessary to make sure instantiated templates are included
11.11372 + # in the archive.
11.11373 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11.11374 + ;;
11.11375 + gcx)
11.11376 + # Green Hills C++ Compiler
11.11377 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11.11378 +
11.11379 + # The C++ compiler must be used to create the archive.
11.11380 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11.11381 + ;;
11.11382 + *)
11.11383 + # GNU C++ compiler with Solaris linker
11.11384 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11.11385 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11.11386 + if $CC --version | grep -v '^2\.7' > /dev/null; then
11.11387 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11.11388 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.11389 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11.11390 +
11.11391 + # Commands to make compiler produce verbose output that lists
11.11392 + # what "hidden" libraries, object files and flags are used when
11.11393 + # linking a shared library.
11.11394 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11.11395 + else
11.11396 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
11.11397 + # platform.
11.11398 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11.11399 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.11400 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11.11401 +
11.11402 + # Commands to make compiler produce verbose output that lists
11.11403 + # what "hidden" libraries, object files and flags are used when
11.11404 + # linking a shared library.
11.11405 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11.11406 + fi
11.11407 +
11.11408 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11.11409 + fi
11.11410 + ;;
11.11411 + esac
11.11412 + ;;
11.11413 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11.11414 + archive_cmds_need_lc_CXX=no
11.11415 + ;;
11.11416 + tandem*)
11.11417 + case $cc_basename in
11.11418 + NCC)
11.11419 + # NonStop-UX NCC 3.20
11.11420 + # FIXME: insert proper C++ library support
11.11421 + ld_shlibs_CXX=no
11.11422 + ;;
11.11423 + *)
11.11424 + # FIXME: insert proper C++ library support
11.11425 + ld_shlibs_CXX=no
11.11426 + ;;
11.11427 + esac
11.11428 + ;;
11.11429 + vxworks*)
11.11430 + # FIXME: insert proper C++ library support
11.11431 + ld_shlibs_CXX=no
11.11432 + ;;
11.11433 + *)
11.11434 + # FIXME: insert proper C++ library support
11.11435 + ld_shlibs_CXX=no
11.11436 + ;;
11.11437 +esac
11.11438 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11.11439 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11.11440 +test "$ld_shlibs_CXX" = no && can_build_shared=no
11.11441 +
11.11442 +GCC_CXX="$GXX"
11.11443 +LD_CXX="$LD"
11.11444 +
11.11445 +## CAVEAT EMPTOR:
11.11446 +## There is no encapsulation within the following macros, do not change
11.11447 +## the running order or otherwise move them around unless you know exactly
11.11448 +## what you are doing...
11.11449 +
11.11450 +cat > conftest.$ac_ext <<EOF
11.11451 +class Foo
11.11452 +{
11.11453 +public:
11.11454 + Foo (void) { a = 0; }
11.11455 +private:
11.11456 + int a;
11.11457 +};
11.11458 +EOF
11.11459 +
11.11460 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.11461 + (eval $ac_compile) 2>&5
11.11462 + ac_status=$?
11.11463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11464 + (exit $ac_status); }; then
11.11465 + # Parse the compiler output and extract the necessary
11.11466 + # objects, libraries and library flags.
11.11467 +
11.11468 + # Sentinel used to keep track of whether or not we are before
11.11469 + # the conftest object file.
11.11470 + pre_test_object_deps_done=no
11.11471 +
11.11472 + # The `*' in the case matches for architectures that use `case' in
11.11473 + # $output_verbose_cmd can trigger glob expansion during the loop
11.11474 + # eval without this substitution.
11.11475 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11.11476 +
11.11477 + for p in `eval $output_verbose_link_cmd`; do
11.11478 + case $p in
11.11479 +
11.11480 + -L* | -R* | -l*)
11.11481 + # Some compilers place space between "-{L,R}" and the path.
11.11482 + # Remove the space.
11.11483 + if test $p = "-L" \
11.11484 + || test $p = "-R"; then
11.11485 + prev=$p
11.11486 + continue
11.11487 + else
11.11488 + prev=
11.11489 + fi
11.11490 +
11.11491 + if test "$pre_test_object_deps_done" = no; then
11.11492 + case $p in
11.11493 + -L* | -R*)
11.11494 + # Internal compiler library paths should come after those
11.11495 + # provided the user. The postdeps already come after the
11.11496 + # user supplied libs so there is no need to process them.
11.11497 + if test -z "$compiler_lib_search_path_CXX"; then
11.11498 + compiler_lib_search_path_CXX="${prev}${p}"
11.11499 + else
11.11500 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11.11501 + fi
11.11502 + ;;
11.11503 + # The "-l" case would never come before the object being
11.11504 + # linked, so don't bother handling this case.
11.11505 + esac
11.11506 + else
11.11507 + if test -z "$postdeps_CXX"; then
11.11508 + postdeps_CXX="${prev}${p}"
11.11509 + else
11.11510 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11.11511 + fi
11.11512 + fi
11.11513 + ;;
11.11514 +
11.11515 + *.$objext)
11.11516 + # This assumes that the test object file only shows up
11.11517 + # once in the compiler output.
11.11518 + if test "$p" = "conftest.$objext"; then
11.11519 + pre_test_object_deps_done=yes
11.11520 + continue
11.11521 + fi
11.11522 +
11.11523 + if test "$pre_test_object_deps_done" = no; then
11.11524 + if test -z "$predep_objects_CXX"; then
11.11525 + predep_objects_CXX="$p"
11.11526 + else
11.11527 + predep_objects_CXX="$predep_objects_CXX $p"
11.11528 + fi
11.11529 + else
11.11530 + if test -z "$postdep_objects_CXX"; then
11.11531 + postdep_objects_CXX="$p"
11.11532 + else
11.11533 + postdep_objects_CXX="$postdep_objects_CXX $p"
11.11534 + fi
11.11535 + fi
11.11536 + ;;
11.11537 +
11.11538 + *) ;; # Ignore the rest.
11.11539 +
11.11540 + esac
11.11541 + done
11.11542 +
11.11543 + # Clean up.
11.11544 + rm -f a.out a.exe
11.11545 +else
11.11546 + echo "libtool.m4: error: problem compiling CXX test program"
11.11547 +fi
11.11548 +
11.11549 +$rm -f confest.$objext
11.11550 +
11.11551 +case " $postdeps_CXX " in
11.11552 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11.11553 +esac
11.11554 +
11.11555 +lt_prog_compiler_wl_CXX=
11.11556 +lt_prog_compiler_pic_CXX=
11.11557 +lt_prog_compiler_static_CXX=
11.11558 +
11.11559 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11.11560 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11.11561 +
11.11562 + # C++ specific cases for pic, static, wl, etc.
11.11563 + if test "$GXX" = yes; then
11.11564 + lt_prog_compiler_wl_CXX='-Wl,'
11.11565 + lt_prog_compiler_static_CXX='-static'
11.11566 +
11.11567 + case $host_os in
11.11568 + aix*)
11.11569 + # All AIX code is PIC.
11.11570 + if test "$host_cpu" = ia64; then
11.11571 + # AIX 5 now supports IA64 processor
11.11572 + lt_prog_compiler_static_CXX='-Bstatic'
11.11573 + fi
11.11574 + ;;
11.11575 + amigaos*)
11.11576 + # FIXME: we need at least 68020 code to build shared libraries, but
11.11577 + # adding the `-m68020' flag to GCC prevents building anything better,
11.11578 + # like `-m68040'.
11.11579 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11.11580 + ;;
11.11581 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11.11582 + # PIC is the default for these OSes.
11.11583 + ;;
11.11584 + mingw* | os2* | pw32*)
11.11585 + # This hack is so that the source file can tell whether it is being
11.11586 + # built for inclusion in a dll (and should export symbols for example).
11.11587 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11.11588 + ;;
11.11589 + darwin* | rhapsody*)
11.11590 + # PIC is the default on this platform
11.11591 + # Common symbols not allowed in MH_DYLIB files
11.11592 + lt_prog_compiler_pic_CXX='-fno-common'
11.11593 + ;;
11.11594 + *djgpp*)
11.11595 + # DJGPP does not support shared libraries at all
11.11596 + lt_prog_compiler_pic_CXX=
11.11597 + ;;
11.11598 + sysv4*MP*)
11.11599 + if test -d /usr/nec; then
11.11600 + lt_prog_compiler_pic_CXX=-Kconform_pic
11.11601 + fi
11.11602 + ;;
11.11603 + hpux*)
11.11604 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.11605 + # not for PA HP-UX.
11.11606 + case "$host_cpu" in
11.11607 + hppa*64*|ia64*)
11.11608 + ;;
11.11609 + *)
11.11610 + lt_prog_compiler_pic_CXX='-fPIC'
11.11611 + ;;
11.11612 + esac
11.11613 + ;;
11.11614 + *)
11.11615 + lt_prog_compiler_pic_CXX='-fPIC'
11.11616 + ;;
11.11617 + esac
11.11618 + else
11.11619 + case $host_os in
11.11620 + aix4* | aix5*)
11.11621 + # All AIX code is PIC.
11.11622 + if test "$host_cpu" = ia64; then
11.11623 + # AIX 5 now supports IA64 processor
11.11624 + lt_prog_compiler_static_CXX='-Bstatic'
11.11625 + else
11.11626 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
11.11627 + fi
11.11628 + ;;
11.11629 + chorus*)
11.11630 + case $cc_basename in
11.11631 + cxch68)
11.11632 + # Green Hills C++ Compiler
11.11633 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11.11634 + ;;
11.11635 + esac
11.11636 + ;;
11.11637 + dgux*)
11.11638 + case $cc_basename in
11.11639 + ec++)
11.11640 + lt_prog_compiler_pic_CXX='-KPIC'
11.11641 + ;;
11.11642 + ghcx)
11.11643 + # Green Hills C++ Compiler
11.11644 + lt_prog_compiler_pic_CXX='-pic'
11.11645 + ;;
11.11646 + *)
11.11647 + ;;
11.11648 + esac
11.11649 + ;;
11.11650 + freebsd* | kfreebsd*-gnu)
11.11651 + # FreeBSD uses GNU C++
11.11652 + ;;
11.11653 + hpux9* | hpux10* | hpux11*)
11.11654 + case $cc_basename in
11.11655 + CC)
11.11656 + lt_prog_compiler_wl_CXX='-Wl,'
11.11657 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11.11658 + if test "$host_cpu" != ia64; then
11.11659 + lt_prog_compiler_pic_CXX='+Z'
11.11660 + fi
11.11661 + ;;
11.11662 + aCC)
11.11663 + lt_prog_compiler_wl_CXX='-Wl,'
11.11664 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11.11665 + case "$host_cpu" in
11.11666 + hppa*64*|ia64*)
11.11667 + # +Z the default
11.11668 + ;;
11.11669 + *)
11.11670 + lt_prog_compiler_pic_CXX='+Z'
11.11671 + ;;
11.11672 + esac
11.11673 + ;;
11.11674 + *)
11.11675 + ;;
11.11676 + esac
11.11677 + ;;
11.11678 + irix5* | irix6* | nonstopux*)
11.11679 + case $cc_basename in
11.11680 + CC)
11.11681 + lt_prog_compiler_wl_CXX='-Wl,'
11.11682 + lt_prog_compiler_static_CXX='-non_shared'
11.11683 + # CC pic flag -KPIC is the default.
11.11684 + ;;
11.11685 + *)
11.11686 + ;;
11.11687 + esac
11.11688 + ;;
11.11689 + linux*)
11.11690 + case $cc_basename in
11.11691 + KCC)
11.11692 + # KAI C++ Compiler
11.11693 + lt_prog_compiler_wl_CXX='--backend -Wl,'
11.11694 + lt_prog_compiler_pic_CXX='-fPIC'
11.11695 + ;;
11.11696 + icpc)
11.11697 + # Intel C++
11.11698 + lt_prog_compiler_wl_CXX='-Wl,'
11.11699 + lt_prog_compiler_pic_CXX='-KPIC'
11.11700 + lt_prog_compiler_static_CXX='-static'
11.11701 + ;;
11.11702 + cxx)
11.11703 + # Compaq C++
11.11704 + # Make sure the PIC flag is empty. It appears that all Alpha
11.11705 + # Linux and Compaq Tru64 Unix objects are PIC.
11.11706 + lt_prog_compiler_pic_CXX=
11.11707 + lt_prog_compiler_static_CXX='-non_shared'
11.11708 + ;;
11.11709 + *)
11.11710 + ;;
11.11711 + esac
11.11712 + ;;
11.11713 + lynxos*)
11.11714 + ;;
11.11715 + m88k*)
11.11716 + ;;
11.11717 + mvs*)
11.11718 + case $cc_basename in
11.11719 + cxx)
11.11720 + lt_prog_compiler_pic_CXX='-W c,exportall'
11.11721 + ;;
11.11722 + *)
11.11723 + ;;
11.11724 + esac
11.11725 + ;;
11.11726 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.11727 + ;;
11.11728 + osf3* | osf4* | osf5*)
11.11729 + case $cc_basename in
11.11730 + KCC)
11.11731 + lt_prog_compiler_wl_CXX='--backend -Wl,'
11.11732 + ;;
11.11733 + RCC)
11.11734 + # Rational C++ 2.4.1
11.11735 + lt_prog_compiler_pic_CXX='-pic'
11.11736 + ;;
11.11737 + cxx)
11.11738 + # Digital/Compaq C++
11.11739 + lt_prog_compiler_wl_CXX='-Wl,'
11.11740 + # Make sure the PIC flag is empty. It appears that all Alpha
11.11741 + # Linux and Compaq Tru64 Unix objects are PIC.
11.11742 + lt_prog_compiler_pic_CXX=
11.11743 + lt_prog_compiler_static_CXX='-non_shared'
11.11744 + ;;
11.11745 + *)
11.11746 + ;;
11.11747 + esac
11.11748 + ;;
11.11749 + psos*)
11.11750 + ;;
11.11751 + sco*)
11.11752 + case $cc_basename in
11.11753 + CC)
11.11754 + lt_prog_compiler_pic_CXX='-fPIC'
11.11755 + ;;
11.11756 + *)
11.11757 + ;;
11.11758 + esac
11.11759 + ;;
11.11760 + solaris*)
11.11761 + case $cc_basename in
11.11762 + CC)
11.11763 + # Sun C++ 4.2, 5.x and Centerline C++
11.11764 + lt_prog_compiler_pic_CXX='-KPIC'
11.11765 + lt_prog_compiler_static_CXX='-Bstatic'
11.11766 + lt_prog_compiler_wl_CXX='-Qoption ld '
11.11767 + ;;
11.11768 + gcx)
11.11769 + # Green Hills C++ Compiler
11.11770 + lt_prog_compiler_pic_CXX='-PIC'
11.11771 + ;;
11.11772 + *)
11.11773 + ;;
11.11774 + esac
11.11775 + ;;
11.11776 + sunos4*)
11.11777 + case $cc_basename in
11.11778 + CC)
11.11779 + # Sun C++ 4.x
11.11780 + lt_prog_compiler_pic_CXX='-pic'
11.11781 + lt_prog_compiler_static_CXX='-Bstatic'
11.11782 + ;;
11.11783 + lcc)
11.11784 + # Lucid
11.11785 + lt_prog_compiler_pic_CXX='-pic'
11.11786 + ;;
11.11787 + *)
11.11788 + ;;
11.11789 + esac
11.11790 + ;;
11.11791 + tandem*)
11.11792 + case $cc_basename in
11.11793 + NCC)
11.11794 + # NonStop-UX NCC 3.20
11.11795 + lt_prog_compiler_pic_CXX='-KPIC'
11.11796 + ;;
11.11797 + *)
11.11798 + ;;
11.11799 + esac
11.11800 + ;;
11.11801 + unixware*)
11.11802 + ;;
11.11803 + vxworks*)
11.11804 + ;;
11.11805 + *)
11.11806 + lt_prog_compiler_can_build_shared_CXX=no
11.11807 + ;;
11.11808 + esac
11.11809 + fi
11.11810 +
11.11811 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11.11812 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11.11813 +
11.11814 +#
11.11815 +# Check to make sure the PIC flag actually works.
11.11816 +#
11.11817 +if test -n "$lt_prog_compiler_pic_CXX"; then
11.11818 +
11.11819 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11.11820 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11.11821 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11.11822 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.11823 +else
11.11824 + lt_prog_compiler_pic_works_CXX=no
11.11825 + ac_outfile=conftest.$ac_objext
11.11826 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.11827 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11.11828 + # Insert the option either (1) after the last *FLAGS variable, or
11.11829 + # (2) before a word containing "conftest.", or (3) at the end.
11.11830 + # Note that $ac_compile itself does not contain backslashes and begins
11.11831 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.11832 + # The option is referenced via a variable to avoid confusing sed.
11.11833 + lt_compile=`echo "$ac_compile" | $SED \
11.11834 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.11835 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.11836 + -e 's:$: $lt_compiler_flag:'`
11.11837 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.11838 + (eval "$lt_compile" 2>conftest.err)
11.11839 + ac_status=$?
11.11840 + cat conftest.err >&5
11.11841 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.11842 + if (exit $ac_status) && test -s "$ac_outfile"; then
11.11843 + # The compiler can only warn and ignore the option if not recognized
11.11844 + # So say no if there are warnings
11.11845 + if test ! -s conftest.err; then
11.11846 + lt_prog_compiler_pic_works_CXX=yes
11.11847 + fi
11.11848 + fi
11.11849 + $rm conftest*
11.11850 +
11.11851 +fi
11.11852 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11.11853 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11.11854 +
11.11855 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11.11856 + case $lt_prog_compiler_pic_CXX in
11.11857 + "" | " "*) ;;
11.11858 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11.11859 + esac
11.11860 +else
11.11861 + lt_prog_compiler_pic_CXX=
11.11862 + lt_prog_compiler_can_build_shared_CXX=no
11.11863 +fi
11.11864 +
11.11865 +fi
11.11866 +case "$host_os" in
11.11867 + # For platforms which do not support PIC, -DPIC is meaningless:
11.11868 + *djgpp*)
11.11869 + lt_prog_compiler_pic_CXX=
11.11870 + ;;
11.11871 + *)
11.11872 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11.11873 + ;;
11.11874 +esac
11.11875 +
11.11876 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11.11877 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11.11878 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11.11879 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.11880 +else
11.11881 + lt_cv_prog_compiler_c_o_CXX=no
11.11882 + $rm -r conftest 2>/dev/null
11.11883 + mkdir conftest
11.11884 + cd conftest
11.11885 + mkdir out
11.11886 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.11887 +
11.11888 + lt_compiler_flag="-o out/conftest2.$ac_objext"
11.11889 + # Insert the option either (1) after the last *FLAGS variable, or
11.11890 + # (2) before a word containing "conftest.", or (3) at the end.
11.11891 + # Note that $ac_compile itself does not contain backslashes and begins
11.11892 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.11893 + lt_compile=`echo "$ac_compile" | $SED \
11.11894 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.11895 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.11896 + -e 's:$: $lt_compiler_flag:'`
11.11897 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.11898 + (eval "$lt_compile" 2>out/conftest.err)
11.11899 + ac_status=$?
11.11900 + cat out/conftest.err >&5
11.11901 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.11902 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
11.11903 + then
11.11904 + # The compiler can only warn and ignore the option if not recognized
11.11905 + # So say no if there are warnings
11.11906 + if test ! -s out/conftest.err; then
11.11907 + lt_cv_prog_compiler_c_o_CXX=yes
11.11908 + fi
11.11909 + fi
11.11910 + chmod u+w .
11.11911 + $rm conftest*
11.11912 + # SGI C++ compiler will create directory out/ii_files/ for
11.11913 + # template instantiation
11.11914 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11.11915 + $rm out/* && rmdir out
11.11916 + cd ..
11.11917 + rmdir conftest
11.11918 + $rm conftest*
11.11919 +
11.11920 +fi
11.11921 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11.11922 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11.11923 +
11.11924 +
11.11925 +hard_links="nottested"
11.11926 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11.11927 + # do not overwrite the value of need_locks provided by the user
11.11928 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11.11929 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11.11930 + hard_links=yes
11.11931 + $rm conftest*
11.11932 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.11933 + touch conftest.a
11.11934 + ln conftest.a conftest.b 2>&5 || hard_links=no
11.11935 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.11936 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11.11937 +echo "${ECHO_T}$hard_links" >&6; }
11.11938 + if test "$hard_links" = no; then
11.11939 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11.11940 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11.11941 + need_locks=warn
11.11942 + fi
11.11943 +else
11.11944 + need_locks=no
11.11945 +fi
11.11946 +
11.11947 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11.11948 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11.11949 +
11.11950 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11.11951 + case $host_os in
11.11952 + aix4* | aix5*)
11.11953 + # If we're using GNU nm, then we don't want the "-C" option.
11.11954 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
11.11955 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11.11956 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.11957 + else
11.11958 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.11959 + fi
11.11960 + ;;
11.11961 + pw32*)
11.11962 + export_symbols_cmds_CXX="$ltdll_cmds"
11.11963 + ;;
11.11964 + cygwin* | mingw*)
11.11965 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11.11966 + ;;
11.11967 + linux*)
11.11968 + link_all_deplibs_CXX=no
11.11969 + ;;
11.11970 + *)
11.11971 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11.11972 + ;;
11.11973 + esac
11.11974 +
11.11975 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11.11976 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11.11977 +test "$ld_shlibs_CXX" = no && can_build_shared=no
11.11978 +
11.11979 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11.11980 +if test "$GCC" = yes; then
11.11981 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11.11982 +fi
11.11983 +
11.11984 +#
11.11985 +# Do we need to explicitly link libc?
11.11986 +#
11.11987 +case "x$archive_cmds_need_lc_CXX" in
11.11988 +x|xyes)
11.11989 + # Assume -lc should be added
11.11990 + archive_cmds_need_lc_CXX=yes
11.11991 +
11.11992 + if test "$enable_shared" = yes && test "$GCC" = yes; then
11.11993 + case $archive_cmds_CXX in
11.11994 + *'~'*)
11.11995 + # FIXME: we may have to deal with multi-command sequences.
11.11996 + ;;
11.11997 + '$CC '*)
11.11998 + # Test whether the compiler implicitly links with -lc since on some
11.11999 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
11.12000 + # to ld, don't add -lc before -lgcc.
11.12001 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11.12002 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11.12003 + $rm conftest*
11.12004 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.12005 +
11.12006 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12007 + (eval $ac_compile) 2>&5
11.12008 + ac_status=$?
11.12009 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12010 + (exit $ac_status); } 2>conftest.err; then
11.12011 + soname=conftest
11.12012 + lib=conftest
11.12013 + libobjs=conftest.$ac_objext
11.12014 + deplibs=
11.12015 + wl=$lt_prog_compiler_wl_CXX
11.12016 + compiler_flags=-v
11.12017 + linker_flags=-v
11.12018 + verstring=
11.12019 + output_objdir=.
11.12020 + libname=conftest
11.12021 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11.12022 + allow_undefined_flag_CXX=
11.12023 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11.12024 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11.12025 + ac_status=$?
11.12026 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12027 + (exit $ac_status); }
11.12028 + then
11.12029 + archive_cmds_need_lc_CXX=no
11.12030 + else
11.12031 + archive_cmds_need_lc_CXX=yes
11.12032 + fi
11.12033 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11.12034 + else
11.12035 + cat conftest.err 1>&5
11.12036 + fi
11.12037 + $rm conftest*
11.12038 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11.12039 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11.12040 + ;;
11.12041 + esac
11.12042 + fi
11.12043 + ;;
11.12044 +esac
11.12045 +
11.12046 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11.12047 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11.12048 +library_names_spec=
11.12049 +libname_spec='lib$name'
11.12050 +soname_spec=
11.12051 +shrext_cmds=".so"
11.12052 +postinstall_cmds=
11.12053 +postuninstall_cmds=
11.12054 +finish_cmds=
11.12055 +finish_eval=
11.12056 +shlibpath_var=
11.12057 +shlibpath_overrides_runpath=unknown
11.12058 +version_type=none
11.12059 +dynamic_linker="$host_os ld.so"
11.12060 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
11.12061 +if test "$GCC" = yes; then
11.12062 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.12063 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11.12064 + # if the path contains ";" then we assume it to be the separator
11.12065 + # otherwise default to the standard path separator (i.e. ":") - it is
11.12066 + # assumed that no part of a normal pathname contains ";" but that should
11.12067 + # okay in the real world where ";" in dirpaths is itself problematic.
11.12068 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.12069 + else
11.12070 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.12071 + fi
11.12072 +else
11.12073 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11.12074 +fi
11.12075 +need_lib_prefix=unknown
11.12076 +hardcode_into_libs=no
11.12077 +
11.12078 +# when you set need_version to no, make sure it does not cause -set_version
11.12079 +# flags to be left without arguments
11.12080 +need_version=unknown
11.12081 +
11.12082 +case $host_os in
11.12083 +aix3*)
11.12084 + version_type=linux
11.12085 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11.12086 + shlibpath_var=LIBPATH
11.12087 +
11.12088 + # AIX 3 has no versioning support, so we append a major version to the name.
11.12089 + soname_spec='${libname}${release}${shared_ext}$major'
11.12090 + ;;
11.12091 +
11.12092 +aix4* | aix5*)
11.12093 + version_type=linux
11.12094 + need_lib_prefix=no
11.12095 + need_version=no
11.12096 + hardcode_into_libs=yes
11.12097 + if test "$host_cpu" = ia64; then
11.12098 + # AIX 5 supports IA64
11.12099 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11.12100 + shlibpath_var=LD_LIBRARY_PATH
11.12101 + else
11.12102 + # With GCC up to 2.95.x, collect2 would create an import file
11.12103 + # for dependence libraries. The import file would start with
11.12104 + # the line `#! .'. This would cause the generated library to
11.12105 + # depend on `.', always an invalid library. This was fixed in
11.12106 + # development snapshots of GCC prior to 3.0.
11.12107 + case $host_os in
11.12108 + aix4 | aix4.[01] | aix4.[01].*)
11.12109 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11.12110 + echo ' yes '
11.12111 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11.12112 + :
11.12113 + else
11.12114 + can_build_shared=no
11.12115 + fi
11.12116 + ;;
11.12117 + esac
11.12118 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11.12119 + # soname into executable. Probably we can add versioning support to
11.12120 + # collect2, so additional links can be useful in future.
11.12121 + if test "$aix_use_runtimelinking" = yes; then
11.12122 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11.12123 + # instead of lib<name>.a to let people know that these are not
11.12124 + # typical AIX shared libraries.
11.12125 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12126 + else
11.12127 + # We preserve .a as extension for shared libraries through AIX4.2
11.12128 + # and later when we are not doing run time linking.
11.12129 + library_names_spec='${libname}${release}.a $libname.a'
11.12130 + soname_spec='${libname}${release}${shared_ext}$major'
11.12131 + fi
11.12132 + shlibpath_var=LIBPATH
11.12133 + fi
11.12134 + ;;
11.12135 +
11.12136 +amigaos*)
11.12137 + library_names_spec='$libname.ixlibrary $libname.a'
11.12138 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
11.12139 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11.12140 + ;;
11.12141 +
11.12142 +beos*)
11.12143 + library_names_spec='${libname}${shared_ext}'
11.12144 + dynamic_linker="$host_os ld.so"
11.12145 + shlibpath_var=LIBRARY_PATH
11.12146 + ;;
11.12147 +
11.12148 +bsdi4*)
11.12149 + version_type=linux
11.12150 + need_version=no
11.12151 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12152 + soname_spec='${libname}${release}${shared_ext}$major'
11.12153 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11.12154 + shlibpath_var=LD_LIBRARY_PATH
11.12155 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11.12156 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11.12157 + # the default ld.so.conf also contains /usr/contrib/lib and
11.12158 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11.12159 + # libtool to hard-code these into programs
11.12160 + ;;
11.12161 +
11.12162 +cygwin* | mingw* | pw32*)
11.12163 + version_type=windows
11.12164 + shrext_cmds=".dll"
11.12165 + need_version=no
11.12166 + need_lib_prefix=no
11.12167 +
11.12168 + case $GCC,$host_os in
11.12169 + yes,cygwin* | yes,mingw* | yes,pw32*)
11.12170 + library_names_spec='$libname.dll.a'
11.12171 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
11.12172 + postinstall_cmds='base_file=`basename \${file}`~
11.12173 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11.12174 + dldir=$destdir/`dirname \$dlpath`~
11.12175 + test -d \$dldir || mkdir -p \$dldir~
11.12176 + $install_prog $dir/$dlname \$dldir/$dlname'
11.12177 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11.12178 + dlpath=$dir/\$dldll~
11.12179 + $rm \$dlpath'
11.12180 + shlibpath_overrides_runpath=yes
11.12181 +
11.12182 + case $host_os in
11.12183 + cygwin*)
11.12184 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11.12185 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.12186 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11.12187 + ;;
11.12188 + mingw*)
11.12189 + # MinGW DLLs use traditional 'lib' prefix
11.12190 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.12191 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.12192 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11.12193 + # It is most probably a Windows format PATH printed by
11.12194 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
11.12195 + # path with ; separators, and with drive letters. We can handle the
11.12196 + # drive letters (cygwin fileutils understands them), so leave them,
11.12197 + # especially as we might pass files found there to a mingw objdump,
11.12198 + # which wouldn't understand a cygwinified path. Ahh.
11.12199 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.12200 + else
11.12201 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.12202 + fi
11.12203 + ;;
11.12204 + pw32*)
11.12205 + # pw32 DLLs use 'pw' prefix rather than 'lib'
11.12206 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11.12207 + ;;
11.12208 + esac
11.12209 + ;;
11.12210 +
11.12211 + *)
11.12212 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11.12213 + ;;
11.12214 + esac
11.12215 + dynamic_linker='Win32 ld.exe'
11.12216 + # FIXME: first we should search . and the directory the executable is in
11.12217 + shlibpath_var=PATH
11.12218 + ;;
11.12219 +
11.12220 +darwin* | rhapsody*)
11.12221 + dynamic_linker="$host_os dyld"
11.12222 + version_type=darwin
11.12223 + need_lib_prefix=no
11.12224 + need_version=no
11.12225 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11.12226 + soname_spec='${libname}${release}${major}$shared_ext'
11.12227 + shlibpath_overrides_runpath=yes
11.12228 + shlibpath_var=DYLD_LIBRARY_PATH
11.12229 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11.12230 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11.12231 + if test "$GCC" = yes; then
11.12232 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11.12233 + else
11.12234 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11.12235 + fi
11.12236 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11.12237 + ;;
11.12238 +
11.12239 +dgux*)
11.12240 + version_type=linux
11.12241 + need_lib_prefix=no
11.12242 + need_version=no
11.12243 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11.12244 + soname_spec='${libname}${release}${shared_ext}$major'
11.12245 + shlibpath_var=LD_LIBRARY_PATH
11.12246 + ;;
11.12247 +
11.12248 +freebsd1*)
11.12249 + dynamic_linker=no
11.12250 + ;;
11.12251 +
11.12252 +kfreebsd*-gnu)
11.12253 + version_type=linux
11.12254 + need_lib_prefix=no
11.12255 + need_version=no
11.12256 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.12257 + soname_spec='${libname}${release}${shared_ext}$major'
11.12258 + shlibpath_var=LD_LIBRARY_PATH
11.12259 + shlibpath_overrides_runpath=no
11.12260 + hardcode_into_libs=yes
11.12261 + dynamic_linker='GNU ld.so'
11.12262 + ;;
11.12263 +
11.12264 +freebsd*)
11.12265 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11.12266 + version_type=freebsd-$objformat
11.12267 + case $version_type in
11.12268 + freebsd-elf*)
11.12269 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11.12270 + need_version=no
11.12271 + need_lib_prefix=no
11.12272 + ;;
11.12273 + freebsd-*)
11.12274 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11.12275 + need_version=yes
11.12276 + ;;
11.12277 + esac
11.12278 + shlibpath_var=LD_LIBRARY_PATH
11.12279 + case $host_os in
11.12280 + freebsd2*)
11.12281 + shlibpath_overrides_runpath=yes
11.12282 + ;;
11.12283 + freebsd3.01* | freebsdelf3.01*)
11.12284 + shlibpath_overrides_runpath=yes
11.12285 + hardcode_into_libs=yes
11.12286 + ;;
11.12287 + *) # from 3.2 on
11.12288 + shlibpath_overrides_runpath=no
11.12289 + hardcode_into_libs=yes
11.12290 + ;;
11.12291 + esac
11.12292 + ;;
11.12293 +
11.12294 +gnu*)
11.12295 + version_type=linux
11.12296 + need_lib_prefix=no
11.12297 + need_version=no
11.12298 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11.12299 + soname_spec='${libname}${release}${shared_ext}$major'
11.12300 + shlibpath_var=LD_LIBRARY_PATH
11.12301 + hardcode_into_libs=yes
11.12302 + ;;
11.12303 +
11.12304 +hpux9* | hpux10* | hpux11*)
11.12305 + # Give a soname corresponding to the major version so that dld.sl refuses to
11.12306 + # link against other versions.
11.12307 + version_type=sunos
11.12308 + need_lib_prefix=no
11.12309 + need_version=no
11.12310 + case "$host_cpu" in
11.12311 + ia64*)
11.12312 + shrext_cmds='.so'
11.12313 + hardcode_into_libs=yes
11.12314 + dynamic_linker="$host_os dld.so"
11.12315 + shlibpath_var=LD_LIBRARY_PATH
11.12316 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.12317 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12318 + soname_spec='${libname}${release}${shared_ext}$major'
11.12319 + if test "X$HPUX_IA64_MODE" = X32; then
11.12320 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11.12321 + else
11.12322 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11.12323 + fi
11.12324 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.12325 + ;;
11.12326 + hppa*64*)
11.12327 + shrext_cmds='.sl'
11.12328 + hardcode_into_libs=yes
11.12329 + dynamic_linker="$host_os dld.sl"
11.12330 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11.12331 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.12332 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12333 + soname_spec='${libname}${release}${shared_ext}$major'
11.12334 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11.12335 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.12336 + ;;
11.12337 + *)
11.12338 + shrext_cmds='.sl'
11.12339 + dynamic_linker="$host_os dld.sl"
11.12340 + shlibpath_var=SHLIB_PATH
11.12341 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11.12342 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12343 + soname_spec='${libname}${release}${shared_ext}$major'
11.12344 + ;;
11.12345 + esac
11.12346 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
11.12347 + postinstall_cmds='chmod 555 $lib'
11.12348 + ;;
11.12349 +
11.12350 +irix5* | irix6* | nonstopux*)
11.12351 + case $host_os in
11.12352 + nonstopux*) version_type=nonstopux ;;
11.12353 + *)
11.12354 + if test "$lt_cv_prog_gnu_ld" = yes; then
11.12355 + version_type=linux
11.12356 + else
11.12357 + version_type=irix
11.12358 + fi ;;
11.12359 + esac
11.12360 + need_lib_prefix=no
11.12361 + need_version=no
11.12362 + soname_spec='${libname}${release}${shared_ext}$major'
11.12363 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11.12364 + case $host_os in
11.12365 + irix5* | nonstopux*)
11.12366 + libsuff= shlibsuff=
11.12367 + ;;
11.12368 + *)
11.12369 + case $LD in # libtool.m4 will add one of these switches to LD
11.12370 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11.12371 + libsuff= shlibsuff= libmagic=32-bit;;
11.12372 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11.12373 + libsuff=32 shlibsuff=N32 libmagic=N32;;
11.12374 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11.12375 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
11.12376 + *) libsuff= shlibsuff= libmagic=never-match;;
11.12377 + esac
11.12378 + ;;
11.12379 + esac
11.12380 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11.12381 + shlibpath_overrides_runpath=no
11.12382 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11.12383 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11.12384 + hardcode_into_libs=yes
11.12385 + ;;
11.12386 +
11.12387 +# No shared lib support for Linux oldld, aout, or coff.
11.12388 +linux*oldld* | linux*aout* | linux*coff*)
11.12389 + dynamic_linker=no
11.12390 + ;;
11.12391 +
11.12392 +# This must be Linux ELF.
11.12393 +linux*)
11.12394 + version_type=linux
11.12395 + need_lib_prefix=no
11.12396 + need_version=no
11.12397 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12398 + soname_spec='${libname}${release}${shared_ext}$major'
11.12399 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11.12400 + shlibpath_var=LD_LIBRARY_PATH
11.12401 + shlibpath_overrides_runpath=no
11.12402 + # This implies no fast_install, which is unacceptable.
11.12403 + # Some rework will be needed to allow for fast_install
11.12404 + # before this can be enabled.
11.12405 + hardcode_into_libs=yes
11.12406 +
11.12407 + # Append ld.so.conf contents to the search path
11.12408 + if test -f /etc/ld.so.conf; then
11.12409 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11.12410 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11.12411 + fi
11.12412 +
11.12413 + # We used to test for /lib/ld.so.1 and disable shared libraries on
11.12414 + # powerpc, because MkLinux only supported shared libraries with the
11.12415 + # GNU dynamic linker. Since this was broken with cross compilers,
11.12416 + # most powerpc-linux boxes support dynamic linking these days and
11.12417 + # people can always --disable-shared, the test was removed, and we
11.12418 + # assume the GNU/Linux dynamic linker is in use.
11.12419 + dynamic_linker='GNU/Linux ld.so'
11.12420 + ;;
11.12421 +
11.12422 +netbsdelf*-gnu)
11.12423 + version_type=linux
11.12424 + need_lib_prefix=no
11.12425 + need_version=no
11.12426 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.12427 + soname_spec='${libname}${release}${shared_ext}$major'
11.12428 + shlibpath_var=LD_LIBRARY_PATH
11.12429 + shlibpath_overrides_runpath=no
11.12430 + hardcode_into_libs=yes
11.12431 + dynamic_linker='NetBSD ld.elf_so'
11.12432 + ;;
11.12433 +
11.12434 +knetbsd*-gnu)
11.12435 + version_type=linux
11.12436 + need_lib_prefix=no
11.12437 + need_version=no
11.12438 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.12439 + soname_spec='${libname}${release}${shared_ext}$major'
11.12440 + shlibpath_var=LD_LIBRARY_PATH
11.12441 + shlibpath_overrides_runpath=no
11.12442 + hardcode_into_libs=yes
11.12443 + dynamic_linker='GNU ld.so'
11.12444 + ;;
11.12445 +
11.12446 +netbsd*)
11.12447 + version_type=sunos
11.12448 + need_lib_prefix=no
11.12449 + need_version=no
11.12450 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.12451 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.12452 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.12453 + dynamic_linker='NetBSD (a.out) ld.so'
11.12454 + else
11.12455 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.12456 + soname_spec='${libname}${release}${shared_ext}$major'
11.12457 + dynamic_linker='NetBSD ld.elf_so'
11.12458 + fi
11.12459 + shlibpath_var=LD_LIBRARY_PATH
11.12460 + shlibpath_overrides_runpath=yes
11.12461 + hardcode_into_libs=yes
11.12462 + ;;
11.12463 +
11.12464 +newsos6)
11.12465 + version_type=linux
11.12466 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12467 + shlibpath_var=LD_LIBRARY_PATH
11.12468 + shlibpath_overrides_runpath=yes
11.12469 + ;;
11.12470 +
11.12471 +nto-qnx*)
11.12472 + version_type=linux
11.12473 + need_lib_prefix=no
11.12474 + need_version=no
11.12475 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12476 + soname_spec='${libname}${release}${shared_ext}$major'
11.12477 + shlibpath_var=LD_LIBRARY_PATH
11.12478 + shlibpath_overrides_runpath=yes
11.12479 + ;;
11.12480 +
11.12481 +openbsd*)
11.12482 + version_type=sunos
11.12483 + need_lib_prefix=no
11.12484 + need_version=yes
11.12485 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.12486 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.12487 + shlibpath_var=LD_LIBRARY_PATH
11.12488 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.12489 + case $host_os in
11.12490 + openbsd2.[89] | openbsd2.[89].*)
11.12491 + shlibpath_overrides_runpath=no
11.12492 + ;;
11.12493 + *)
11.12494 + shlibpath_overrides_runpath=yes
11.12495 + ;;
11.12496 + esac
11.12497 + else
11.12498 + shlibpath_overrides_runpath=yes
11.12499 + fi
11.12500 + ;;
11.12501 +
11.12502 +os2*)
11.12503 + libname_spec='$name'
11.12504 + shrext_cmds=".dll"
11.12505 + need_lib_prefix=no
11.12506 + library_names_spec='$libname${shared_ext} $libname.a'
11.12507 + dynamic_linker='OS/2 ld.exe'
11.12508 + shlibpath_var=LIBPATH
11.12509 + ;;
11.12510 +
11.12511 +osf3* | osf4* | osf5*)
11.12512 + version_type=osf
11.12513 + need_lib_prefix=no
11.12514 + need_version=no
11.12515 + soname_spec='${libname}${release}${shared_ext}$major'
11.12516 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12517 + shlibpath_var=LD_LIBRARY_PATH
11.12518 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11.12519 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11.12520 + ;;
11.12521 +
11.12522 +sco3.2v5*)
11.12523 + version_type=osf
11.12524 + soname_spec='${libname}${release}${shared_ext}$major'
11.12525 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12526 + shlibpath_var=LD_LIBRARY_PATH
11.12527 + ;;
11.12528 +
11.12529 +solaris*)
11.12530 + version_type=linux
11.12531 + need_lib_prefix=no
11.12532 + need_version=no
11.12533 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12534 + soname_spec='${libname}${release}${shared_ext}$major'
11.12535 + shlibpath_var=LD_LIBRARY_PATH
11.12536 + shlibpath_overrides_runpath=yes
11.12537 + hardcode_into_libs=yes
11.12538 + # ldd complains unless libraries are executable
11.12539 + postinstall_cmds='chmod +x $lib'
11.12540 + ;;
11.12541 +
11.12542 +sunos4*)
11.12543 + version_type=sunos
11.12544 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.12545 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11.12546 + shlibpath_var=LD_LIBRARY_PATH
11.12547 + shlibpath_overrides_runpath=yes
11.12548 + if test "$with_gnu_ld" = yes; then
11.12549 + need_lib_prefix=no
11.12550 + fi
11.12551 + need_version=yes
11.12552 + ;;
11.12553 +
11.12554 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.12555 + version_type=linux
11.12556 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12557 + soname_spec='${libname}${release}${shared_ext}$major'
11.12558 + shlibpath_var=LD_LIBRARY_PATH
11.12559 + case $host_vendor in
11.12560 + sni)
11.12561 + shlibpath_overrides_runpath=no
11.12562 + need_lib_prefix=no
11.12563 + export_dynamic_flag_spec='${wl}-Blargedynsym'
11.12564 + runpath_var=LD_RUN_PATH
11.12565 + ;;
11.12566 + siemens)
11.12567 + need_lib_prefix=no
11.12568 + ;;
11.12569 + motorola)
11.12570 + need_lib_prefix=no
11.12571 + need_version=no
11.12572 + shlibpath_overrides_runpath=no
11.12573 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11.12574 + ;;
11.12575 + esac
11.12576 + ;;
11.12577 +
11.12578 +sysv4*MP*)
11.12579 + if test -d /usr/nec ;then
11.12580 + version_type=linux
11.12581 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11.12582 + soname_spec='$libname${shared_ext}.$major'
11.12583 + shlibpath_var=LD_LIBRARY_PATH
11.12584 + fi
11.12585 + ;;
11.12586 +
11.12587 +uts4*)
11.12588 + version_type=linux
11.12589 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.12590 + soname_spec='${libname}${release}${shared_ext}$major'
11.12591 + shlibpath_var=LD_LIBRARY_PATH
11.12592 + ;;
11.12593 +
11.12594 +*)
11.12595 + dynamic_linker=no
11.12596 + ;;
11.12597 +esac
11.12598 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11.12599 +echo "${ECHO_T}$dynamic_linker" >&6; }
11.12600 +test "$dynamic_linker" = no && can_build_shared=no
11.12601 +
11.12602 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11.12603 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11.12604 +hardcode_action_CXX=
11.12605 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
11.12606 + test -n "$runpath_var CXX" || \
11.12607 + test "X$hardcode_automatic_CXX"="Xyes" ; then
11.12608 +
11.12609 + # We can hardcode non-existant directories.
11.12610 + if test "$hardcode_direct_CXX" != no &&
11.12611 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
11.12612 + # have to relink, otherwise we might link with an installed library
11.12613 + # when we should be linking with a yet-to-be-installed one
11.12614 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11.12615 + test "$hardcode_minus_L_CXX" != no; then
11.12616 + # Linking always hardcodes the temporary library directory.
11.12617 + hardcode_action_CXX=relink
11.12618 + else
11.12619 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
11.12620 + hardcode_action_CXX=immediate
11.12621 + fi
11.12622 +else
11.12623 + # We cannot hardcode anything, or else we can only hardcode existing
11.12624 + # directories.
11.12625 + hardcode_action_CXX=unsupported
11.12626 +fi
11.12627 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11.12628 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
11.12629 +
11.12630 +if test "$hardcode_action_CXX" = relink; then
11.12631 + # Fast installation is not supported
11.12632 + enable_fast_install=no
11.12633 +elif test "$shlibpath_overrides_runpath" = yes ||
11.12634 + test "$enable_shared" = no; then
11.12635 + # Fast installation is not necessary
11.12636 + enable_fast_install=needless
11.12637 +fi
11.12638 +
11.12639 +striplib=
11.12640 +old_striplib=
11.12641 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11.12642 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11.12643 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11.12644 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11.12645 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11.12646 + { echo "$as_me:$LINENO: result: yes" >&5
11.12647 +echo "${ECHO_T}yes" >&6; }
11.12648 +else
11.12649 +# FIXME - insert some real tests, host_os isn't really good enough
11.12650 + case $host_os in
11.12651 + darwin*)
11.12652 + if test -n "$STRIP" ; then
11.12653 + striplib="$STRIP -x"
11.12654 + { echo "$as_me:$LINENO: result: yes" >&5
11.12655 +echo "${ECHO_T}yes" >&6; }
11.12656 + else
11.12657 + { echo "$as_me:$LINENO: result: no" >&5
11.12658 +echo "${ECHO_T}no" >&6; }
11.12659 +fi
11.12660 + ;;
11.12661 + *)
11.12662 + { echo "$as_me:$LINENO: result: no" >&5
11.12663 +echo "${ECHO_T}no" >&6; }
11.12664 + ;;
11.12665 + esac
11.12666 +fi
11.12667 +
11.12668 +if test "x$enable_dlopen" != xyes; then
11.12669 + enable_dlopen=unknown
11.12670 + enable_dlopen_self=unknown
11.12671 + enable_dlopen_self_static=unknown
11.12672 +else
11.12673 + lt_cv_dlopen=no
11.12674 + lt_cv_dlopen_libs=
11.12675 +
11.12676 + case $host_os in
11.12677 + beos*)
11.12678 + lt_cv_dlopen="load_add_on"
11.12679 + lt_cv_dlopen_libs=
11.12680 + lt_cv_dlopen_self=yes
11.12681 + ;;
11.12682 +
11.12683 + mingw* | pw32*)
11.12684 + lt_cv_dlopen="LoadLibrary"
11.12685 + lt_cv_dlopen_libs=
11.12686 + ;;
11.12687 +
11.12688 + cygwin*)
11.12689 + lt_cv_dlopen="dlopen"
11.12690 + lt_cv_dlopen_libs=
11.12691 + ;;
11.12692 +
11.12693 + darwin*)
11.12694 + # if libdl is installed we need to link against it
11.12695 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11.12696 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11.12697 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11.12698 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.12699 +else
11.12700 + ac_check_lib_save_LIBS=$LIBS
11.12701 +LIBS="-ldl $LIBS"
11.12702 +cat >conftest.$ac_ext <<_ACEOF
11.12703 +/* confdefs.h. */
11.12704 +_ACEOF
11.12705 +cat confdefs.h >>conftest.$ac_ext
11.12706 +cat >>conftest.$ac_ext <<_ACEOF
11.12707 +/* end confdefs.h. */
11.12708 +
11.12709 +/* Override any GCC internal prototype to avoid an error.
11.12710 + Use char because int might match the return type of a GCC
11.12711 + builtin and then its argument prototype would still apply. */
11.12712 +#ifdef __cplusplus
11.12713 +extern "C"
11.12714 +#endif
11.12715 +char dlopen ();
11.12716 +int
11.12717 +main ()
11.12718 +{
11.12719 +return dlopen ();
11.12720 + ;
11.12721 + return 0;
11.12722 +}
11.12723 +_ACEOF
11.12724 +rm -f conftest.$ac_objext conftest$ac_exeext
11.12725 +if { (ac_try="$ac_link"
11.12726 +case "(($ac_try" in
11.12727 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.12728 + *) ac_try_echo=$ac_try;;
11.12729 +esac
11.12730 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.12731 + (eval "$ac_link") 2>conftest.er1
11.12732 + ac_status=$?
11.12733 + grep -v '^ *+' conftest.er1 >conftest.err
11.12734 + rm -f conftest.er1
11.12735 + cat conftest.err >&5
11.12736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12737 + (exit $ac_status); } && {
11.12738 + test -z "$ac_cxx_werror_flag" ||
11.12739 + test ! -s conftest.err
11.12740 + } && test -s conftest$ac_exeext &&
11.12741 + $as_test_x conftest$ac_exeext; then
11.12742 + ac_cv_lib_dl_dlopen=yes
11.12743 +else
11.12744 + echo "$as_me: failed program was:" >&5
11.12745 +sed 's/^/| /' conftest.$ac_ext >&5
11.12746 +
11.12747 + ac_cv_lib_dl_dlopen=no
11.12748 +fi
11.12749 +
11.12750 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.12751 + conftest$ac_exeext conftest.$ac_ext
11.12752 +LIBS=$ac_check_lib_save_LIBS
11.12753 +fi
11.12754 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11.12755 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11.12756 +if test $ac_cv_lib_dl_dlopen = yes; then
11.12757 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11.12758 +else
11.12759 +
11.12760 + lt_cv_dlopen="dyld"
11.12761 + lt_cv_dlopen_libs=
11.12762 + lt_cv_dlopen_self=yes
11.12763 +
11.12764 +fi
11.12765 +
11.12766 + ;;
11.12767 +
11.12768 + *)
11.12769 + { echo "$as_me:$LINENO: checking for shl_load" >&5
11.12770 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11.12771 +if test "${ac_cv_func_shl_load+set}" = set; then
11.12772 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.12773 +else
11.12774 + cat >conftest.$ac_ext <<_ACEOF
11.12775 +/* confdefs.h. */
11.12776 +_ACEOF
11.12777 +cat confdefs.h >>conftest.$ac_ext
11.12778 +cat >>conftest.$ac_ext <<_ACEOF
11.12779 +/* end confdefs.h. */
11.12780 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11.12781 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11.12782 +#define shl_load innocuous_shl_load
11.12783 +
11.12784 +/* System header to define __stub macros and hopefully few prototypes,
11.12785 + which can conflict with char shl_load (); below.
11.12786 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.12787 + <limits.h> exists even on freestanding compilers. */
11.12788 +
11.12789 +#ifdef __STDC__
11.12790 +# include <limits.h>
11.12791 +#else
11.12792 +# include <assert.h>
11.12793 +#endif
11.12794 +
11.12795 +#undef shl_load
11.12796 +
11.12797 +/* Override any GCC internal prototype to avoid an error.
11.12798 + Use char because int might match the return type of a GCC
11.12799 + builtin and then its argument prototype would still apply. */
11.12800 +#ifdef __cplusplus
11.12801 +extern "C"
11.12802 +#endif
11.12803 +char shl_load ();
11.12804 +/* The GNU C library defines this for functions which it implements
11.12805 + to always fail with ENOSYS. Some functions are actually named
11.12806 + something starting with __ and the normal name is an alias. */
11.12807 +#if defined __stub_shl_load || defined __stub___shl_load
11.12808 +choke me
11.12809 +#endif
11.12810 +
11.12811 +int
11.12812 +main ()
11.12813 +{
11.12814 +return shl_load ();
11.12815 + ;
11.12816 + return 0;
11.12817 +}
11.12818 +_ACEOF
11.12819 +rm -f conftest.$ac_objext conftest$ac_exeext
11.12820 +if { (ac_try="$ac_link"
11.12821 +case "(($ac_try" in
11.12822 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.12823 + *) ac_try_echo=$ac_try;;
11.12824 +esac
11.12825 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.12826 + (eval "$ac_link") 2>conftest.er1
11.12827 + ac_status=$?
11.12828 + grep -v '^ *+' conftest.er1 >conftest.err
11.12829 + rm -f conftest.er1
11.12830 + cat conftest.err >&5
11.12831 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12832 + (exit $ac_status); } && {
11.12833 + test -z "$ac_cxx_werror_flag" ||
11.12834 + test ! -s conftest.err
11.12835 + } && test -s conftest$ac_exeext &&
11.12836 + $as_test_x conftest$ac_exeext; then
11.12837 + ac_cv_func_shl_load=yes
11.12838 +else
11.12839 + echo "$as_me: failed program was:" >&5
11.12840 +sed 's/^/| /' conftest.$ac_ext >&5
11.12841 +
11.12842 + ac_cv_func_shl_load=no
11.12843 +fi
11.12844 +
11.12845 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.12846 + conftest$ac_exeext conftest.$ac_ext
11.12847 +fi
11.12848 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11.12849 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11.12850 +if test $ac_cv_func_shl_load = yes; then
11.12851 + lt_cv_dlopen="shl_load"
11.12852 +else
11.12853 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11.12854 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11.12855 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11.12856 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.12857 +else
11.12858 + ac_check_lib_save_LIBS=$LIBS
11.12859 +LIBS="-ldld $LIBS"
11.12860 +cat >conftest.$ac_ext <<_ACEOF
11.12861 +/* confdefs.h. */
11.12862 +_ACEOF
11.12863 +cat confdefs.h >>conftest.$ac_ext
11.12864 +cat >>conftest.$ac_ext <<_ACEOF
11.12865 +/* end confdefs.h. */
11.12866 +
11.12867 +/* Override any GCC internal prototype to avoid an error.
11.12868 + Use char because int might match the return type of a GCC
11.12869 + builtin and then its argument prototype would still apply. */
11.12870 +#ifdef __cplusplus
11.12871 +extern "C"
11.12872 +#endif
11.12873 +char shl_load ();
11.12874 +int
11.12875 +main ()
11.12876 +{
11.12877 +return shl_load ();
11.12878 + ;
11.12879 + return 0;
11.12880 +}
11.12881 +_ACEOF
11.12882 +rm -f conftest.$ac_objext conftest$ac_exeext
11.12883 +if { (ac_try="$ac_link"
11.12884 +case "(($ac_try" in
11.12885 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.12886 + *) ac_try_echo=$ac_try;;
11.12887 +esac
11.12888 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.12889 + (eval "$ac_link") 2>conftest.er1
11.12890 + ac_status=$?
11.12891 + grep -v '^ *+' conftest.er1 >conftest.err
11.12892 + rm -f conftest.er1
11.12893 + cat conftest.err >&5
11.12894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12895 + (exit $ac_status); } && {
11.12896 + test -z "$ac_cxx_werror_flag" ||
11.12897 + test ! -s conftest.err
11.12898 + } && test -s conftest$ac_exeext &&
11.12899 + $as_test_x conftest$ac_exeext; then
11.12900 + ac_cv_lib_dld_shl_load=yes
11.12901 +else
11.12902 + echo "$as_me: failed program was:" >&5
11.12903 +sed 's/^/| /' conftest.$ac_ext >&5
11.12904 +
11.12905 + ac_cv_lib_dld_shl_load=no
11.12906 +fi
11.12907 +
11.12908 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.12909 + conftest$ac_exeext conftest.$ac_ext
11.12910 +LIBS=$ac_check_lib_save_LIBS
11.12911 +fi
11.12912 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11.12913 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11.12914 +if test $ac_cv_lib_dld_shl_load = yes; then
11.12915 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11.12916 +else
11.12917 + { echo "$as_me:$LINENO: checking for dlopen" >&5
11.12918 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11.12919 +if test "${ac_cv_func_dlopen+set}" = set; then
11.12920 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.12921 +else
11.12922 + cat >conftest.$ac_ext <<_ACEOF
11.12923 +/* confdefs.h. */
11.12924 +_ACEOF
11.12925 +cat confdefs.h >>conftest.$ac_ext
11.12926 +cat >>conftest.$ac_ext <<_ACEOF
11.12927 +/* end confdefs.h. */
11.12928 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11.12929 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11.12930 +#define dlopen innocuous_dlopen
11.12931 +
11.12932 +/* System header to define __stub macros and hopefully few prototypes,
11.12933 + which can conflict with char dlopen (); below.
11.12934 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.12935 + <limits.h> exists even on freestanding compilers. */
11.12936 +
11.12937 +#ifdef __STDC__
11.12938 +# include <limits.h>
11.12939 +#else
11.12940 +# include <assert.h>
11.12941 +#endif
11.12942 +
11.12943 +#undef dlopen
11.12944 +
11.12945 +/* Override any GCC internal prototype to avoid an error.
11.12946 + Use char because int might match the return type of a GCC
11.12947 + builtin and then its argument prototype would still apply. */
11.12948 +#ifdef __cplusplus
11.12949 +extern "C"
11.12950 +#endif
11.12951 +char dlopen ();
11.12952 +/* The GNU C library defines this for functions which it implements
11.12953 + to always fail with ENOSYS. Some functions are actually named
11.12954 + something starting with __ and the normal name is an alias. */
11.12955 +#if defined __stub_dlopen || defined __stub___dlopen
11.12956 +choke me
11.12957 +#endif
11.12958 +
11.12959 +int
11.12960 +main ()
11.12961 +{
11.12962 +return dlopen ();
11.12963 + ;
11.12964 + return 0;
11.12965 +}
11.12966 +_ACEOF
11.12967 +rm -f conftest.$ac_objext conftest$ac_exeext
11.12968 +if { (ac_try="$ac_link"
11.12969 +case "(($ac_try" in
11.12970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.12971 + *) ac_try_echo=$ac_try;;
11.12972 +esac
11.12973 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.12974 + (eval "$ac_link") 2>conftest.er1
11.12975 + ac_status=$?
11.12976 + grep -v '^ *+' conftest.er1 >conftest.err
11.12977 + rm -f conftest.er1
11.12978 + cat conftest.err >&5
11.12979 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12980 + (exit $ac_status); } && {
11.12981 + test -z "$ac_cxx_werror_flag" ||
11.12982 + test ! -s conftest.err
11.12983 + } && test -s conftest$ac_exeext &&
11.12984 + $as_test_x conftest$ac_exeext; then
11.12985 + ac_cv_func_dlopen=yes
11.12986 +else
11.12987 + echo "$as_me: failed program was:" >&5
11.12988 +sed 's/^/| /' conftest.$ac_ext >&5
11.12989 +
11.12990 + ac_cv_func_dlopen=no
11.12991 +fi
11.12992 +
11.12993 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.12994 + conftest$ac_exeext conftest.$ac_ext
11.12995 +fi
11.12996 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11.12997 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11.12998 +if test $ac_cv_func_dlopen = yes; then
11.12999 + lt_cv_dlopen="dlopen"
11.13000 +else
11.13001 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11.13002 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11.13003 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11.13004 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.13005 +else
11.13006 + ac_check_lib_save_LIBS=$LIBS
11.13007 +LIBS="-ldl $LIBS"
11.13008 +cat >conftest.$ac_ext <<_ACEOF
11.13009 +/* confdefs.h. */
11.13010 +_ACEOF
11.13011 +cat confdefs.h >>conftest.$ac_ext
11.13012 +cat >>conftest.$ac_ext <<_ACEOF
11.13013 +/* end confdefs.h. */
11.13014 +
11.13015 +/* Override any GCC internal prototype to avoid an error.
11.13016 + Use char because int might match the return type of a GCC
11.13017 + builtin and then its argument prototype would still apply. */
11.13018 +#ifdef __cplusplus
11.13019 +extern "C"
11.13020 +#endif
11.13021 +char dlopen ();
11.13022 +int
11.13023 +main ()
11.13024 +{
11.13025 +return dlopen ();
11.13026 + ;
11.13027 + return 0;
11.13028 +}
11.13029 +_ACEOF
11.13030 +rm -f conftest.$ac_objext conftest$ac_exeext
11.13031 +if { (ac_try="$ac_link"
11.13032 +case "(($ac_try" in
11.13033 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.13034 + *) ac_try_echo=$ac_try;;
11.13035 +esac
11.13036 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.13037 + (eval "$ac_link") 2>conftest.er1
11.13038 + ac_status=$?
11.13039 + grep -v '^ *+' conftest.er1 >conftest.err
11.13040 + rm -f conftest.er1
11.13041 + cat conftest.err >&5
11.13042 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13043 + (exit $ac_status); } && {
11.13044 + test -z "$ac_cxx_werror_flag" ||
11.13045 + test ! -s conftest.err
11.13046 + } && test -s conftest$ac_exeext &&
11.13047 + $as_test_x conftest$ac_exeext; then
11.13048 + ac_cv_lib_dl_dlopen=yes
11.13049 +else
11.13050 + echo "$as_me: failed program was:" >&5
11.13051 +sed 's/^/| /' conftest.$ac_ext >&5
11.13052 +
11.13053 + ac_cv_lib_dl_dlopen=no
11.13054 +fi
11.13055 +
11.13056 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.13057 + conftest$ac_exeext conftest.$ac_ext
11.13058 +LIBS=$ac_check_lib_save_LIBS
11.13059 +fi
11.13060 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11.13061 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11.13062 +if test $ac_cv_lib_dl_dlopen = yes; then
11.13063 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11.13064 +else
11.13065 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11.13066 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11.13067 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11.13068 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.13069 +else
11.13070 + ac_check_lib_save_LIBS=$LIBS
11.13071 +LIBS="-lsvld $LIBS"
11.13072 +cat >conftest.$ac_ext <<_ACEOF
11.13073 +/* confdefs.h. */
11.13074 +_ACEOF
11.13075 +cat confdefs.h >>conftest.$ac_ext
11.13076 +cat >>conftest.$ac_ext <<_ACEOF
11.13077 +/* end confdefs.h. */
11.13078 +
11.13079 +/* Override any GCC internal prototype to avoid an error.
11.13080 + Use char because int might match the return type of a GCC
11.13081 + builtin and then its argument prototype would still apply. */
11.13082 +#ifdef __cplusplus
11.13083 +extern "C"
11.13084 +#endif
11.13085 +char dlopen ();
11.13086 +int
11.13087 +main ()
11.13088 +{
11.13089 +return dlopen ();
11.13090 + ;
11.13091 + return 0;
11.13092 +}
11.13093 +_ACEOF
11.13094 +rm -f conftest.$ac_objext conftest$ac_exeext
11.13095 +if { (ac_try="$ac_link"
11.13096 +case "(($ac_try" in
11.13097 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.13098 + *) ac_try_echo=$ac_try;;
11.13099 +esac
11.13100 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.13101 + (eval "$ac_link") 2>conftest.er1
11.13102 + ac_status=$?
11.13103 + grep -v '^ *+' conftest.er1 >conftest.err
11.13104 + rm -f conftest.er1
11.13105 + cat conftest.err >&5
11.13106 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13107 + (exit $ac_status); } && {
11.13108 + test -z "$ac_cxx_werror_flag" ||
11.13109 + test ! -s conftest.err
11.13110 + } && test -s conftest$ac_exeext &&
11.13111 + $as_test_x conftest$ac_exeext; then
11.13112 + ac_cv_lib_svld_dlopen=yes
11.13113 +else
11.13114 + echo "$as_me: failed program was:" >&5
11.13115 +sed 's/^/| /' conftest.$ac_ext >&5
11.13116 +
11.13117 + ac_cv_lib_svld_dlopen=no
11.13118 +fi
11.13119 +
11.13120 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.13121 + conftest$ac_exeext conftest.$ac_ext
11.13122 +LIBS=$ac_check_lib_save_LIBS
11.13123 +fi
11.13124 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11.13125 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11.13126 +if test $ac_cv_lib_svld_dlopen = yes; then
11.13127 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11.13128 +else
11.13129 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11.13130 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11.13131 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11.13132 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.13133 +else
11.13134 + ac_check_lib_save_LIBS=$LIBS
11.13135 +LIBS="-ldld $LIBS"
11.13136 +cat >conftest.$ac_ext <<_ACEOF
11.13137 +/* confdefs.h. */
11.13138 +_ACEOF
11.13139 +cat confdefs.h >>conftest.$ac_ext
11.13140 +cat >>conftest.$ac_ext <<_ACEOF
11.13141 +/* end confdefs.h. */
11.13142 +
11.13143 +/* Override any GCC internal prototype to avoid an error.
11.13144 + Use char because int might match the return type of a GCC
11.13145 + builtin and then its argument prototype would still apply. */
11.13146 +#ifdef __cplusplus
11.13147 +extern "C"
11.13148 +#endif
11.13149 +char dld_link ();
11.13150 +int
11.13151 +main ()
11.13152 +{
11.13153 +return dld_link ();
11.13154 + ;
11.13155 + return 0;
11.13156 +}
11.13157 +_ACEOF
11.13158 +rm -f conftest.$ac_objext conftest$ac_exeext
11.13159 +if { (ac_try="$ac_link"
11.13160 +case "(($ac_try" in
11.13161 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.13162 + *) ac_try_echo=$ac_try;;
11.13163 +esac
11.13164 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.13165 + (eval "$ac_link") 2>conftest.er1
11.13166 + ac_status=$?
11.13167 + grep -v '^ *+' conftest.er1 >conftest.err
11.13168 + rm -f conftest.er1
11.13169 + cat conftest.err >&5
11.13170 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13171 + (exit $ac_status); } && {
11.13172 + test -z "$ac_cxx_werror_flag" ||
11.13173 + test ! -s conftest.err
11.13174 + } && test -s conftest$ac_exeext &&
11.13175 + $as_test_x conftest$ac_exeext; then
11.13176 + ac_cv_lib_dld_dld_link=yes
11.13177 +else
11.13178 + echo "$as_me: failed program was:" >&5
11.13179 +sed 's/^/| /' conftest.$ac_ext >&5
11.13180 +
11.13181 + ac_cv_lib_dld_dld_link=no
11.13182 +fi
11.13183 +
11.13184 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.13185 + conftest$ac_exeext conftest.$ac_ext
11.13186 +LIBS=$ac_check_lib_save_LIBS
11.13187 +fi
11.13188 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11.13189 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11.13190 +if test $ac_cv_lib_dld_dld_link = yes; then
11.13191 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11.13192 +fi
11.13193 +
11.13194 +
11.13195 +fi
11.13196 +
11.13197 +
11.13198 +fi
11.13199 +
11.13200 +
11.13201 +fi
11.13202 +
11.13203 +
11.13204 +fi
11.13205 +
11.13206 +
11.13207 +fi
11.13208 +
11.13209 + ;;
11.13210 + esac
11.13211 +
11.13212 + if test "x$lt_cv_dlopen" != xno; then
11.13213 + enable_dlopen=yes
11.13214 + else
11.13215 + enable_dlopen=no
11.13216 + fi
11.13217 +
11.13218 + case $lt_cv_dlopen in
11.13219 + dlopen)
11.13220 + save_CPPFLAGS="$CPPFLAGS"
11.13221 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11.13222 +
11.13223 + save_LDFLAGS="$LDFLAGS"
11.13224 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11.13225 +
11.13226 + save_LIBS="$LIBS"
11.13227 + LIBS="$lt_cv_dlopen_libs $LIBS"
11.13228 +
11.13229 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11.13230 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11.13231 +if test "${lt_cv_dlopen_self+set}" = set; then
11.13232 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.13233 +else
11.13234 + if test "$cross_compiling" = yes; then :
11.13235 + lt_cv_dlopen_self=cross
11.13236 +else
11.13237 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.13238 + lt_status=$lt_dlunknown
11.13239 + cat > conftest.$ac_ext <<EOF
11.13240 +#line __oline__ "configure"
11.13241 +#include "confdefs.h"
11.13242 +
11.13243 +#if HAVE_DLFCN_H
11.13244 +#include <dlfcn.h>
11.13245 +#endif
11.13246 +
11.13247 +#include <stdio.h>
11.13248 +
11.13249 +#ifdef RTLD_GLOBAL
11.13250 +# define LT_DLGLOBAL RTLD_GLOBAL
11.13251 +#else
11.13252 +# ifdef DL_GLOBAL
11.13253 +# define LT_DLGLOBAL DL_GLOBAL
11.13254 +# else
11.13255 +# define LT_DLGLOBAL 0
11.13256 +# endif
11.13257 +#endif
11.13258 +
11.13259 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.13260 + find out it does not work in some platform. */
11.13261 +#ifndef LT_DLLAZY_OR_NOW
11.13262 +# ifdef RTLD_LAZY
11.13263 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
11.13264 +# else
11.13265 +# ifdef DL_LAZY
11.13266 +# define LT_DLLAZY_OR_NOW DL_LAZY
11.13267 +# else
11.13268 +# ifdef RTLD_NOW
11.13269 +# define LT_DLLAZY_OR_NOW RTLD_NOW
11.13270 +# else
11.13271 +# ifdef DL_NOW
11.13272 +# define LT_DLLAZY_OR_NOW DL_NOW
11.13273 +# else
11.13274 +# define LT_DLLAZY_OR_NOW 0
11.13275 +# endif
11.13276 +# endif
11.13277 +# endif
11.13278 +# endif
11.13279 +#endif
11.13280 +
11.13281 +#ifdef __cplusplus
11.13282 +extern "C" void exit (int);
11.13283 +#endif
11.13284 +
11.13285 +void fnord() { int i=42;}
11.13286 +int main ()
11.13287 +{
11.13288 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.13289 + int status = $lt_dlunknown;
11.13290 +
11.13291 + if (self)
11.13292 + {
11.13293 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11.13294 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.13295 + /* dlclose (self); */
11.13296 + }
11.13297 +
11.13298 + exit (status);
11.13299 +}
11.13300 +EOF
11.13301 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.13302 + (eval $ac_link) 2>&5
11.13303 + ac_status=$?
11.13304 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13305 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.13306 + (./conftest; exit; ) 2>/dev/null
11.13307 + lt_status=$?
11.13308 + case x$lt_status in
11.13309 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11.13310 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11.13311 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11.13312 + esac
11.13313 + else :
11.13314 + # compilation failed
11.13315 + lt_cv_dlopen_self=no
11.13316 + fi
11.13317 +fi
11.13318 +rm -fr conftest*
11.13319 +
11.13320 +
11.13321 +fi
11.13322 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11.13323 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11.13324 +
11.13325 + if test "x$lt_cv_dlopen_self" = xyes; then
11.13326 + LDFLAGS="$LDFLAGS $link_static_flag"
11.13327 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11.13328 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11.13329 +if test "${lt_cv_dlopen_self_static+set}" = set; then
11.13330 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.13331 +else
11.13332 + if test "$cross_compiling" = yes; then :
11.13333 + lt_cv_dlopen_self_static=cross
11.13334 +else
11.13335 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.13336 + lt_status=$lt_dlunknown
11.13337 + cat > conftest.$ac_ext <<EOF
11.13338 +#line __oline__ "configure"
11.13339 +#include "confdefs.h"
11.13340 +
11.13341 +#if HAVE_DLFCN_H
11.13342 +#include <dlfcn.h>
11.13343 +#endif
11.13344 +
11.13345 +#include <stdio.h>
11.13346 +
11.13347 +#ifdef RTLD_GLOBAL
11.13348 +# define LT_DLGLOBAL RTLD_GLOBAL
11.13349 +#else
11.13350 +# ifdef DL_GLOBAL
11.13351 +# define LT_DLGLOBAL DL_GLOBAL
11.13352 +# else
11.13353 +# define LT_DLGLOBAL 0
11.13354 +# endif
11.13355 +#endif
11.13356 +
11.13357 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.13358 + find out it does not work in some platform. */
11.13359 +#ifndef LT_DLLAZY_OR_NOW
11.13360 +# ifdef RTLD_LAZY
11.13361 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
11.13362 +# else
11.13363 +# ifdef DL_LAZY
11.13364 +# define LT_DLLAZY_OR_NOW DL_LAZY
11.13365 +# else
11.13366 +# ifdef RTLD_NOW
11.13367 +# define LT_DLLAZY_OR_NOW RTLD_NOW
11.13368 +# else
11.13369 +# ifdef DL_NOW
11.13370 +# define LT_DLLAZY_OR_NOW DL_NOW
11.13371 +# else
11.13372 +# define LT_DLLAZY_OR_NOW 0
11.13373 +# endif
11.13374 +# endif
11.13375 +# endif
11.13376 +# endif
11.13377 +#endif
11.13378 +
11.13379 +#ifdef __cplusplus
11.13380 +extern "C" void exit (int);
11.13381 +#endif
11.13382 +
11.13383 +void fnord() { int i=42;}
11.13384 +int main ()
11.13385 +{
11.13386 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.13387 + int status = $lt_dlunknown;
11.13388 +
11.13389 + if (self)
11.13390 + {
11.13391 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11.13392 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.13393 + /* dlclose (self); */
11.13394 + }
11.13395 +
11.13396 + exit (status);
11.13397 +}
11.13398 +EOF
11.13399 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.13400 + (eval $ac_link) 2>&5
11.13401 + ac_status=$?
11.13402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13403 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.13404 + (./conftest; exit; ) 2>/dev/null
11.13405 + lt_status=$?
11.13406 + case x$lt_status in
11.13407 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11.13408 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11.13409 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11.13410 + esac
11.13411 + else :
11.13412 + # compilation failed
11.13413 + lt_cv_dlopen_self_static=no
11.13414 + fi
11.13415 +fi
11.13416 +rm -fr conftest*
11.13417 +
11.13418 +
11.13419 +fi
11.13420 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11.13421 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11.13422 + fi
11.13423 +
11.13424 + CPPFLAGS="$save_CPPFLAGS"
11.13425 + LDFLAGS="$save_LDFLAGS"
11.13426 + LIBS="$save_LIBS"
11.13427 + ;;
11.13428 + esac
11.13429 +
11.13430 + case $lt_cv_dlopen_self in
11.13431 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11.13432 + *) enable_dlopen_self=unknown ;;
11.13433 + esac
11.13434 +
11.13435 + case $lt_cv_dlopen_self_static in
11.13436 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11.13437 + *) enable_dlopen_self_static=unknown ;;
11.13438 + esac
11.13439 +fi
11.13440 +
11.13441 +
11.13442 +# The else clause should only fire when bootstrapping the
11.13443 +# libtool distribution, otherwise you forgot to ship ltmain.sh
11.13444 +# with your package, and you will get complaints that there are
11.13445 +# no rules to generate ltmain.sh.
11.13446 +if test -f "$ltmain"; then
11.13447 + # See if we are running on zsh, and set the options which allow our commands through
11.13448 + # without removal of \ escapes.
11.13449 + if test -n "${ZSH_VERSION+set}" ; then
11.13450 + setopt NO_GLOB_SUBST
11.13451 + fi
11.13452 + # Now quote all the things that may contain metacharacters while being
11.13453 + # careful not to overquote the AC_SUBSTed values. We take copies of the
11.13454 + # variables and quote the copies for generation of the libtool script.
11.13455 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11.13456 + SED SHELL STRIP \
11.13457 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11.13458 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11.13459 + deplibs_check_method reload_flag reload_cmds need_locks \
11.13460 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11.13461 + lt_cv_sys_global_symbol_to_c_name_address \
11.13462 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11.13463 + old_postinstall_cmds old_postuninstall_cmds \
11.13464 + compiler_CXX \
11.13465 + CC_CXX \
11.13466 + LD_CXX \
11.13467 + lt_prog_compiler_wl_CXX \
11.13468 + lt_prog_compiler_pic_CXX \
11.13469 + lt_prog_compiler_static_CXX \
11.13470 + lt_prog_compiler_no_builtin_flag_CXX \
11.13471 + export_dynamic_flag_spec_CXX \
11.13472 + thread_safe_flag_spec_CXX \
11.13473 + whole_archive_flag_spec_CXX \
11.13474 + enable_shared_with_static_runtimes_CXX \
11.13475 + old_archive_cmds_CXX \
11.13476 + old_archive_from_new_cmds_CXX \
11.13477 + predep_objects_CXX \
11.13478 + postdep_objects_CXX \
11.13479 + predeps_CXX \
11.13480 + postdeps_CXX \
11.13481 + compiler_lib_search_path_CXX \
11.13482 + archive_cmds_CXX \
11.13483 + archive_expsym_cmds_CXX \
11.13484 + postinstall_cmds_CXX \
11.13485 + postuninstall_cmds_CXX \
11.13486 + old_archive_from_expsyms_cmds_CXX \
11.13487 + allow_undefined_flag_CXX \
11.13488 + no_undefined_flag_CXX \
11.13489 + export_symbols_cmds_CXX \
11.13490 + hardcode_libdir_flag_spec_CXX \
11.13491 + hardcode_libdir_flag_spec_ld_CXX \
11.13492 + hardcode_libdir_separator_CXX \
11.13493 + hardcode_automatic_CXX \
11.13494 + module_cmds_CXX \
11.13495 + module_expsym_cmds_CXX \
11.13496 + lt_cv_prog_compiler_c_o_CXX \
11.13497 + exclude_expsyms_CXX \
11.13498 + include_expsyms_CXX; do
11.13499 +
11.13500 + case $var in
11.13501 + old_archive_cmds_CXX | \
11.13502 + old_archive_from_new_cmds_CXX | \
11.13503 + archive_cmds_CXX | \
11.13504 + archive_expsym_cmds_CXX | \
11.13505 + module_cmds_CXX | \
11.13506 + module_expsym_cmds_CXX | \
11.13507 + old_archive_from_expsyms_cmds_CXX | \
11.13508 + export_symbols_cmds_CXX | \
11.13509 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
11.13510 + postinstall_cmds | postuninstall_cmds | \
11.13511 + old_postinstall_cmds | old_postuninstall_cmds | \
11.13512 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11.13513 + # Double-quote double-evaled strings.
11.13514 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11.13515 + ;;
11.13516 + *)
11.13517 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11.13518 + ;;
11.13519 + esac
11.13520 + done
11.13521 +
11.13522 + case $lt_echo in
11.13523 + *'\$0 --fallback-echo"')
11.13524 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11.13525 + ;;
11.13526 + esac
11.13527 +
11.13528 +cfgfile="$ofile"
11.13529 +
11.13530 + cat <<__EOF__ >> "$cfgfile"
11.13531 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
11.13532 +
11.13533 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11.13534 +
11.13535 +# Shell to use when invoking shell scripts.
11.13536 +SHELL=$lt_SHELL
11.13537 +
11.13538 +# Whether or not to build shared libraries.
11.13539 +build_libtool_libs=$enable_shared
11.13540 +
11.13541 +# Whether or not to build static libraries.
11.13542 +build_old_libs=$enable_static
11.13543 +
11.13544 +# Whether or not to add -lc for building shared libraries.
11.13545 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
11.13546 +
11.13547 +# Whether or not to disallow shared libs when runtime libs are static
11.13548 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
11.13549 +
11.13550 +# Whether or not to optimize for fast installation.
11.13551 +fast_install=$enable_fast_install
11.13552 +
11.13553 +# The host system.
11.13554 +host_alias=$host_alias
11.13555 +host=$host
11.13556 +
11.13557 +# An echo program that does not interpret backslashes.
11.13558 +echo=$lt_echo
11.13559 +
11.13560 +# The archiver.
11.13561 +AR=$lt_AR
11.13562 +AR_FLAGS=$lt_AR_FLAGS
11.13563 +
11.13564 +# A C compiler.
11.13565 +LTCC=$lt_LTCC
11.13566 +
11.13567 +# A language-specific compiler.
11.13568 +CC=$lt_compiler_CXX
11.13569 +
11.13570 +# Is the compiler the GNU C compiler?
11.13571 +with_gcc=$GCC_CXX
11.13572 +
11.13573 +# An ERE matcher.
11.13574 +EGREP=$lt_EGREP
11.13575 +
11.13576 +# The linker used to build libraries.
11.13577 +LD=$lt_LD_CXX
11.13578 +
11.13579 +# Whether we need hard or soft links.
11.13580 +LN_S=$lt_LN_S
11.13581 +
11.13582 +# A BSD-compatible nm program.
11.13583 +NM=$lt_NM
11.13584 +
11.13585 +# A symbol stripping program
11.13586 +STRIP=$lt_STRIP
11.13587 +
11.13588 +# Used to examine libraries when file_magic_cmd begins "file"
11.13589 +MAGIC_CMD=$MAGIC_CMD
11.13590 +
11.13591 +# Used on cygwin: DLL creation program.
11.13592 +DLLTOOL="$DLLTOOL"
11.13593 +
11.13594 +# Used on cygwin: object dumper.
11.13595 +OBJDUMP="$OBJDUMP"
11.13596 +
11.13597 +# Used on cygwin: assembler.
11.13598 +AS="$AS"
11.13599 +
11.13600 +# The name of the directory that contains temporary libtool files.
11.13601 +objdir=$objdir
11.13602 +
11.13603 +# How to create reloadable object files.
11.13604 +reload_flag=$lt_reload_flag
11.13605 +reload_cmds=$lt_reload_cmds
11.13606 +
11.13607 +# How to pass a linker flag through the compiler.
11.13608 +wl=$lt_lt_prog_compiler_wl_CXX
11.13609 +
11.13610 +# Object file suffix (normally "o").
11.13611 +objext="$ac_objext"
11.13612 +
11.13613 +# Old archive suffix (normally "a").
11.13614 +libext="$libext"
11.13615 +
11.13616 +# Shared library suffix (normally ".so").
11.13617 +shrext_cmds='$shrext_cmds'
11.13618 +
11.13619 +# Executable file suffix (normally "").
11.13620 +exeext="$exeext"
11.13621 +
11.13622 +# Additional compiler flags for building library objects.
11.13623 +pic_flag=$lt_lt_prog_compiler_pic_CXX
11.13624 +pic_mode=$pic_mode
11.13625 +
11.13626 +# What is the maximum length of a command?
11.13627 +max_cmd_len=$lt_cv_sys_max_cmd_len
11.13628 +
11.13629 +# Does compiler simultaneously support -c and -o options?
11.13630 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
11.13631 +
11.13632 +# Must we lock files when doing compilation ?
11.13633 +need_locks=$lt_need_locks
11.13634 +
11.13635 +# Do we need the lib prefix for modules?
11.13636 +need_lib_prefix=$need_lib_prefix
11.13637 +
11.13638 +# Do we need a version for libraries?
11.13639 +need_version=$need_version
11.13640 +
11.13641 +# Whether dlopen is supported.
11.13642 +dlopen_support=$enable_dlopen
11.13643 +
11.13644 +# Whether dlopen of programs is supported.
11.13645 +dlopen_self=$enable_dlopen_self
11.13646 +
11.13647 +# Whether dlopen of statically linked programs is supported.
11.13648 +dlopen_self_static=$enable_dlopen_self_static
11.13649 +
11.13650 +# Compiler flag to prevent dynamic linking.
11.13651 +link_static_flag=$lt_lt_prog_compiler_static_CXX
11.13652 +
11.13653 +# Compiler flag to turn off builtin functions.
11.13654 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
11.13655 +
11.13656 +# Compiler flag to allow reflexive dlopens.
11.13657 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
11.13658 +
11.13659 +# Compiler flag to generate shared objects directly from archives.
11.13660 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
11.13661 +
11.13662 +# Compiler flag to generate thread-safe objects.
11.13663 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
11.13664 +
11.13665 +# Library versioning type.
11.13666 +version_type=$version_type
11.13667 +
11.13668 +# Format of library name prefix.
11.13669 +libname_spec=$lt_libname_spec
11.13670 +
11.13671 +# List of archive names. First name is the real one, the rest are links.
11.13672 +# The last name is the one that the linker finds with -lNAME.
11.13673 +library_names_spec=$lt_library_names_spec
11.13674 +
11.13675 +# The coded name of the library, if different from the real name.
11.13676 +soname_spec=$lt_soname_spec
11.13677 +
11.13678 +# Commands used to build and install an old-style archive.
11.13679 +RANLIB=$lt_RANLIB
11.13680 +old_archive_cmds=$lt_old_archive_cmds_CXX
11.13681 +old_postinstall_cmds=$lt_old_postinstall_cmds
11.13682 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
11.13683 +
11.13684 +# Create an old-style archive from a shared archive.
11.13685 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
11.13686 +
11.13687 +# Create a temporary old-style archive to link instead of a shared archive.
11.13688 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
11.13689 +
11.13690 +# Commands used to build and install a shared archive.
11.13691 +archive_cmds=$lt_archive_cmds_CXX
11.13692 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
11.13693 +postinstall_cmds=$lt_postinstall_cmds
11.13694 +postuninstall_cmds=$lt_postuninstall_cmds
11.13695 +
11.13696 +# Commands used to build a loadable module (assumed same as above if empty)
11.13697 +module_cmds=$lt_module_cmds_CXX
11.13698 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
11.13699 +
11.13700 +# Commands to strip libraries.
11.13701 +old_striplib=$lt_old_striplib
11.13702 +striplib=$lt_striplib
11.13703 +
11.13704 +# Dependencies to place before the objects being linked to create a
11.13705 +# shared library.
11.13706 +predep_objects=$lt_predep_objects_CXX
11.13707 +
11.13708 +# Dependencies to place after the objects being linked to create a
11.13709 +# shared library.
11.13710 +postdep_objects=$lt_postdep_objects_CXX
11.13711 +
11.13712 +# Dependencies to place before the objects being linked to create a
11.13713 +# shared library.
11.13714 +predeps=$lt_predeps_CXX
11.13715 +
11.13716 +# Dependencies to place after the objects being linked to create a
11.13717 +# shared library.
11.13718 +postdeps=$lt_postdeps_CXX
11.13719 +
11.13720 +# The library search path used internally by the compiler when linking
11.13721 +# a shared library.
11.13722 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
11.13723 +
11.13724 +# Method to check whether dependent libraries are shared objects.
11.13725 +deplibs_check_method=$lt_deplibs_check_method
11.13726 +
11.13727 +# Command to use when deplibs_check_method == file_magic.
11.13728 +file_magic_cmd=$lt_file_magic_cmd
11.13729 +
11.13730 +# Flag that allows shared libraries with undefined symbols to be built.
11.13731 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
11.13732 +
11.13733 +# Flag that forces no undefined symbols.
11.13734 +no_undefined_flag=$lt_no_undefined_flag_CXX
11.13735 +
11.13736 +# Commands used to finish a libtool library installation in a directory.
11.13737 +finish_cmds=$lt_finish_cmds
11.13738 +
11.13739 +# Same as above, but a single script fragment to be evaled but not shown.
11.13740 +finish_eval=$lt_finish_eval
11.13741 +
11.13742 +# Take the output of nm and produce a listing of raw symbols and C names.
11.13743 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11.13744 +
11.13745 +# Transform the output of nm in a proper C declaration
11.13746 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11.13747 +
11.13748 +# Transform the output of nm in a C name address pair
11.13749 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11.13750 +
11.13751 +# This is the shared library runtime path variable.
11.13752 +runpath_var=$runpath_var
11.13753 +
11.13754 +# This is the shared library path variable.
11.13755 +shlibpath_var=$shlibpath_var
11.13756 +
11.13757 +# Is shlibpath searched before the hard-coded library search path?
11.13758 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11.13759 +
11.13760 +# How to hardcode a shared library path into an executable.
11.13761 +hardcode_action=$hardcode_action_CXX
11.13762 +
11.13763 +# Whether we should hardcode library paths into libraries.
11.13764 +hardcode_into_libs=$hardcode_into_libs
11.13765 +
11.13766 +# Flag to hardcode \$libdir into a binary during linking.
11.13767 +# This must work even if \$libdir does not exist.
11.13768 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
11.13769 +
11.13770 +# If ld is used when linking, flag to hardcode \$libdir into
11.13771 +# a binary during linking. This must work even if \$libdir does
11.13772 +# not exist.
11.13773 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
11.13774 +
11.13775 +# Whether we need a single -rpath flag with a separated argument.
11.13776 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
11.13777 +
11.13778 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11.13779 +# resulting binary.
11.13780 +hardcode_direct=$hardcode_direct_CXX
11.13781 +
11.13782 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11.13783 +# resulting binary.
11.13784 +hardcode_minus_L=$hardcode_minus_L_CXX
11.13785 +
11.13786 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11.13787 +# the resulting binary.
11.13788 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
11.13789 +
11.13790 +# Set to yes if building a shared library automatically hardcodes DIR into the library
11.13791 +# and all subsequent libraries and executables linked against it.
11.13792 +hardcode_automatic=$hardcode_automatic_CXX
11.13793 +
11.13794 +# Variables whose values should be saved in libtool wrapper scripts and
11.13795 +# restored at relink time.
11.13796 +variables_saved_for_relink="$variables_saved_for_relink"
11.13797 +
11.13798 +# Whether libtool must link a program against all its dependency libraries.
11.13799 +link_all_deplibs=$link_all_deplibs_CXX
11.13800 +
11.13801 +# Compile-time system search path for libraries
11.13802 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11.13803 +
11.13804 +# Run-time system search path for libraries
11.13805 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11.13806 +
11.13807 +# Fix the shell variable \$srcfile for the compiler.
11.13808 +fix_srcfile_path="$fix_srcfile_path_CXX"
11.13809 +
11.13810 +# Set to yes if exported symbols are required.
11.13811 +always_export_symbols=$always_export_symbols_CXX
11.13812 +
11.13813 +# The commands to list exported symbols.
11.13814 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
11.13815 +
11.13816 +# The commands to extract the exported symbol list from a shared archive.
11.13817 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
11.13818 +
11.13819 +# Symbols that should not be listed in the preloaded symbols.
11.13820 +exclude_expsyms=$lt_exclude_expsyms_CXX
11.13821 +
11.13822 +# Symbols that must always be exported.
11.13823 +include_expsyms=$lt_include_expsyms_CXX
11.13824 +
11.13825 +# ### END LIBTOOL TAG CONFIG: $tagname
11.13826 +
11.13827 +__EOF__
11.13828 +
11.13829 +
11.13830 +else
11.13831 + # If there is no Makefile yet, we rely on a make rule to execute
11.13832 + # `config.status --recheck' to rerun these tests and create the
11.13833 + # libtool script then.
11.13834 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11.13835 + if test -f "$ltmain_in"; then
11.13836 + test -f Makefile && make "$ltmain"
11.13837 + fi
11.13838 +fi
11.13839 +
11.13840 +
11.13841 +ac_ext=c
11.13842 +ac_cpp='$CPP $CPPFLAGS'
11.13843 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.13844 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.13845 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.13846 +
11.13847 +CC=$lt_save_CC
11.13848 +LDCXX=$LD
11.13849 +LD=$lt_save_LD
11.13850 +GCC=$lt_save_GCC
11.13851 +with_gnu_ldcxx=$with_gnu_ld
11.13852 +with_gnu_ld=$lt_save_with_gnu_ld
11.13853 +lt_cv_path_LDCXX=$lt_cv_path_LD
11.13854 +lt_cv_path_LD=$lt_save_path_LD
11.13855 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
11.13856 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
11.13857 +
11.13858 + else
11.13859 + tagname=""
11.13860 + fi
11.13861 + ;;
11.13862 +
11.13863 + F77)
11.13864 + if test -n "$F77" && test "X$F77" != "Xno"; then
11.13865 +
11.13866 +ac_ext=f
11.13867 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11.13868 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.13869 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11.13870 +
11.13871 +
11.13872 +archive_cmds_need_lc_F77=no
11.13873 +allow_undefined_flag_F77=
11.13874 +always_export_symbols_F77=no
11.13875 +archive_expsym_cmds_F77=
11.13876 +export_dynamic_flag_spec_F77=
11.13877 +hardcode_direct_F77=no
11.13878 +hardcode_libdir_flag_spec_F77=
11.13879 +hardcode_libdir_flag_spec_ld_F77=
11.13880 +hardcode_libdir_separator_F77=
11.13881 +hardcode_minus_L_F77=no
11.13882 +hardcode_automatic_F77=no
11.13883 +module_cmds_F77=
11.13884 +module_expsym_cmds_F77=
11.13885 +link_all_deplibs_F77=unknown
11.13886 +old_archive_cmds_F77=$old_archive_cmds
11.13887 +no_undefined_flag_F77=
11.13888 +whole_archive_flag_spec_F77=
11.13889 +enable_shared_with_static_runtimes_F77=no
11.13890 +
11.13891 +# Source file extension for f77 test sources.
11.13892 +ac_ext=f
11.13893 +
11.13894 +# Object file extension for compiled f77 test sources.
11.13895 +objext=o
11.13896 +objext_F77=$objext
11.13897 +
11.13898 +# Code to be used in simple compile tests
11.13899 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
11.13900 +
11.13901 +# Code to be used in simple link tests
11.13902 +lt_simple_link_test_code=" program t\n end\n"
11.13903 +
11.13904 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11.13905 +
11.13906 +# If no C compiler was specified, use CC.
11.13907 +LTCC=${LTCC-"$CC"}
11.13908 +
11.13909 +# Allow CC to be a program name with arguments.
11.13910 +compiler=$CC
11.13911 +
11.13912 +
11.13913 +# Allow CC to be a program name with arguments.
11.13914 +lt_save_CC="$CC"
11.13915 +CC=${F77-"f77"}
11.13916 +compiler=$CC
11.13917 +compiler_F77=$CC
11.13918 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11.13919 +
11.13920 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11.13921 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11.13922 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11.13923 +echo "${ECHO_T}$can_build_shared" >&6; }
11.13924 +
11.13925 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11.13926 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11.13927 +test "$can_build_shared" = "no" && enable_shared=no
11.13928 +
11.13929 +# On AIX, shared libraries and static libraries use the same namespace, and
11.13930 +# are all built from PIC.
11.13931 +case "$host_os" in
11.13932 +aix3*)
11.13933 + test "$enable_shared" = yes && enable_static=no
11.13934 + if test -n "$RANLIB"; then
11.13935 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
11.13936 + postinstall_cmds='$RANLIB $lib'
11.13937 + fi
11.13938 + ;;
11.13939 +aix4* | aix5*)
11.13940 + test "$enable_shared" = yes && enable_static=no
11.13941 + ;;
11.13942 +esac
11.13943 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11.13944 +echo "${ECHO_T}$enable_shared" >&6; }
11.13945 +
11.13946 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11.13947 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11.13948 +# Make sure either enable_shared or enable_static is yes.
11.13949 +test "$enable_shared" = yes || enable_static=yes
11.13950 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
11.13951 +echo "${ECHO_T}$enable_static" >&6; }
11.13952 +
11.13953 +test "$ld_shlibs_F77" = no && can_build_shared=no
11.13954 +
11.13955 +GCC_F77="$G77"
11.13956 +LD_F77="$LD"
11.13957 +
11.13958 +lt_prog_compiler_wl_F77=
11.13959 +lt_prog_compiler_pic_F77=
11.13960 +lt_prog_compiler_static_F77=
11.13961 +
11.13962 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11.13963 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11.13964 +
11.13965 + if test "$GCC" = yes; then
11.13966 + lt_prog_compiler_wl_F77='-Wl,'
11.13967 + lt_prog_compiler_static_F77='-static'
11.13968 +
11.13969 + case $host_os in
11.13970 + aix*)
11.13971 + # All AIX code is PIC.
11.13972 + if test "$host_cpu" = ia64; then
11.13973 + # AIX 5 now supports IA64 processor
11.13974 + lt_prog_compiler_static_F77='-Bstatic'
11.13975 + fi
11.13976 + ;;
11.13977 +
11.13978 + amigaos*)
11.13979 + # FIXME: we need at least 68020 code to build shared libraries, but
11.13980 + # adding the `-m68020' flag to GCC prevents building anything better,
11.13981 + # like `-m68040'.
11.13982 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
11.13983 + ;;
11.13984 +
11.13985 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11.13986 + # PIC is the default for these OSes.
11.13987 + ;;
11.13988 +
11.13989 + mingw* | pw32* | os2*)
11.13990 + # This hack is so that the source file can tell whether it is being
11.13991 + # built for inclusion in a dll (and should export symbols for example).
11.13992 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
11.13993 + ;;
11.13994 +
11.13995 + darwin* | rhapsody*)
11.13996 + # PIC is the default on this platform
11.13997 + # Common symbols not allowed in MH_DYLIB files
11.13998 + lt_prog_compiler_pic_F77='-fno-common'
11.13999 + ;;
11.14000 +
11.14001 + msdosdjgpp*)
11.14002 + # Just because we use GCC doesn't mean we suddenly get shared libraries
11.14003 + # on systems that don't support them.
11.14004 + lt_prog_compiler_can_build_shared_F77=no
11.14005 + enable_shared=no
11.14006 + ;;
11.14007 +
11.14008 + sysv4*MP*)
11.14009 + if test -d /usr/nec; then
11.14010 + lt_prog_compiler_pic_F77=-Kconform_pic
11.14011 + fi
11.14012 + ;;
11.14013 +
11.14014 + hpux*)
11.14015 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.14016 + # not for PA HP-UX.
11.14017 + case "$host_cpu" in
11.14018 + hppa*64*|ia64*)
11.14019 + # +Z the default
11.14020 + ;;
11.14021 + *)
11.14022 + lt_prog_compiler_pic_F77='-fPIC'
11.14023 + ;;
11.14024 + esac
11.14025 + ;;
11.14026 +
11.14027 + *)
11.14028 + lt_prog_compiler_pic_F77='-fPIC'
11.14029 + ;;
11.14030 + esac
11.14031 + else
11.14032 + # PORTME Check for flag to pass linker flags through the system compiler.
11.14033 + case $host_os in
11.14034 + aix*)
11.14035 + lt_prog_compiler_wl_F77='-Wl,'
11.14036 + if test "$host_cpu" = ia64; then
11.14037 + # AIX 5 now supports IA64 processor
11.14038 + lt_prog_compiler_static_F77='-Bstatic'
11.14039 + else
11.14040 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
11.14041 + fi
11.14042 + ;;
11.14043 +
11.14044 + mingw* | pw32* | os2*)
11.14045 + # This hack is so that the source file can tell whether it is being
11.14046 + # built for inclusion in a dll (and should export symbols for example).
11.14047 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
11.14048 + ;;
11.14049 +
11.14050 + hpux9* | hpux10* | hpux11*)
11.14051 + lt_prog_compiler_wl_F77='-Wl,'
11.14052 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.14053 + # not for PA HP-UX.
11.14054 + case "$host_cpu" in
11.14055 + hppa*64*|ia64*)
11.14056 + # +Z the default
11.14057 + ;;
11.14058 + *)
11.14059 + lt_prog_compiler_pic_F77='+Z'
11.14060 + ;;
11.14061 + esac
11.14062 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
11.14063 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
11.14064 + ;;
11.14065 +
11.14066 + irix5* | irix6* | nonstopux*)
11.14067 + lt_prog_compiler_wl_F77='-Wl,'
11.14068 + # PIC (with -KPIC) is the default.
11.14069 + lt_prog_compiler_static_F77='-non_shared'
11.14070 + ;;
11.14071 +
11.14072 + newsos6)
11.14073 + lt_prog_compiler_pic_F77='-KPIC'
11.14074 + lt_prog_compiler_static_F77='-Bstatic'
11.14075 + ;;
11.14076 +
11.14077 + linux*)
11.14078 + case $CC in
11.14079 + icc* | ecc*)
11.14080 + lt_prog_compiler_wl_F77='-Wl,'
11.14081 + lt_prog_compiler_pic_F77='-KPIC'
11.14082 + lt_prog_compiler_static_F77='-static'
11.14083 + ;;
11.14084 + ccc*)
11.14085 + lt_prog_compiler_wl_F77='-Wl,'
11.14086 + # All Alpha code is PIC.
11.14087 + lt_prog_compiler_static_F77='-non_shared'
11.14088 + ;;
11.14089 + esac
11.14090 + ;;
11.14091 +
11.14092 + osf3* | osf4* | osf5*)
11.14093 + lt_prog_compiler_wl_F77='-Wl,'
11.14094 + # All OSF/1 code is PIC.
11.14095 + lt_prog_compiler_static_F77='-non_shared'
11.14096 + ;;
11.14097 +
11.14098 + sco3.2v5*)
11.14099 + lt_prog_compiler_pic_F77='-Kpic'
11.14100 + lt_prog_compiler_static_F77='-dn'
11.14101 + ;;
11.14102 +
11.14103 + solaris*)
11.14104 + lt_prog_compiler_wl_F77='-Wl,'
11.14105 + lt_prog_compiler_pic_F77='-KPIC'
11.14106 + lt_prog_compiler_static_F77='-Bstatic'
11.14107 + ;;
11.14108 +
11.14109 + sunos4*)
11.14110 + lt_prog_compiler_wl_F77='-Qoption ld '
11.14111 + lt_prog_compiler_pic_F77='-PIC'
11.14112 + lt_prog_compiler_static_F77='-Bstatic'
11.14113 + ;;
11.14114 +
11.14115 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.14116 + lt_prog_compiler_wl_F77='-Wl,'
11.14117 + lt_prog_compiler_pic_F77='-KPIC'
11.14118 + lt_prog_compiler_static_F77='-Bstatic'
11.14119 + ;;
11.14120 +
11.14121 + sysv4*MP*)
11.14122 + if test -d /usr/nec ;then
11.14123 + lt_prog_compiler_pic_F77='-Kconform_pic'
11.14124 + lt_prog_compiler_static_F77='-Bstatic'
11.14125 + fi
11.14126 + ;;
11.14127 +
11.14128 + uts4*)
11.14129 + lt_prog_compiler_pic_F77='-pic'
11.14130 + lt_prog_compiler_static_F77='-Bstatic'
11.14131 + ;;
11.14132 +
11.14133 + *)
11.14134 + lt_prog_compiler_can_build_shared_F77=no
11.14135 + ;;
11.14136 + esac
11.14137 + fi
11.14138 +
11.14139 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
11.14140 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
11.14141 +
11.14142 +#
11.14143 +# Check to make sure the PIC flag actually works.
11.14144 +#
11.14145 +if test -n "$lt_prog_compiler_pic_F77"; then
11.14146 +
11.14147 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
11.14148 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
11.14149 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
11.14150 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.14151 +else
11.14152 + lt_prog_compiler_pic_works_F77=no
11.14153 + ac_outfile=conftest.$ac_objext
11.14154 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.14155 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
11.14156 + # Insert the option either (1) after the last *FLAGS variable, or
11.14157 + # (2) before a word containing "conftest.", or (3) at the end.
11.14158 + # Note that $ac_compile itself does not contain backslashes and begins
11.14159 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.14160 + # The option is referenced via a variable to avoid confusing sed.
11.14161 + lt_compile=`echo "$ac_compile" | $SED \
11.14162 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.14163 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.14164 + -e 's:$: $lt_compiler_flag:'`
11.14165 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.14166 + (eval "$lt_compile" 2>conftest.err)
11.14167 + ac_status=$?
11.14168 + cat conftest.err >&5
11.14169 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.14170 + if (exit $ac_status) && test -s "$ac_outfile"; then
11.14171 + # The compiler can only warn and ignore the option if not recognized
11.14172 + # So say no if there are warnings
11.14173 + if test ! -s conftest.err; then
11.14174 + lt_prog_compiler_pic_works_F77=yes
11.14175 + fi
11.14176 + fi
11.14177 + $rm conftest*
11.14178 +
11.14179 +fi
11.14180 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
11.14181 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
11.14182 +
11.14183 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
11.14184 + case $lt_prog_compiler_pic_F77 in
11.14185 + "" | " "*) ;;
11.14186 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
11.14187 + esac
11.14188 +else
11.14189 + lt_prog_compiler_pic_F77=
11.14190 + lt_prog_compiler_can_build_shared_F77=no
11.14191 +fi
11.14192 +
11.14193 +fi
11.14194 +case "$host_os" in
11.14195 + # For platforms which do not support PIC, -DPIC is meaningless:
11.14196 + *djgpp*)
11.14197 + lt_prog_compiler_pic_F77=
11.14198 + ;;
11.14199 + *)
11.14200 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
11.14201 + ;;
11.14202 +esac
11.14203 +
11.14204 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11.14205 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11.14206 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
11.14207 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.14208 +else
11.14209 + lt_cv_prog_compiler_c_o_F77=no
11.14210 + $rm -r conftest 2>/dev/null
11.14211 + mkdir conftest
11.14212 + cd conftest
11.14213 + mkdir out
11.14214 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.14215 +
11.14216 + lt_compiler_flag="-o out/conftest2.$ac_objext"
11.14217 + # Insert the option either (1) after the last *FLAGS variable, or
11.14218 + # (2) before a word containing "conftest.", or (3) at the end.
11.14219 + # Note that $ac_compile itself does not contain backslashes and begins
11.14220 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.14221 + lt_compile=`echo "$ac_compile" | $SED \
11.14222 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.14223 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.14224 + -e 's:$: $lt_compiler_flag:'`
11.14225 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.14226 + (eval "$lt_compile" 2>out/conftest.err)
11.14227 + ac_status=$?
11.14228 + cat out/conftest.err >&5
11.14229 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.14230 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
11.14231 + then
11.14232 + # The compiler can only warn and ignore the option if not recognized
11.14233 + # So say no if there are warnings
11.14234 + if test ! -s out/conftest.err; then
11.14235 + lt_cv_prog_compiler_c_o_F77=yes
11.14236 + fi
11.14237 + fi
11.14238 + chmod u+w .
11.14239 + $rm conftest*
11.14240 + # SGI C++ compiler will create directory out/ii_files/ for
11.14241 + # template instantiation
11.14242 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11.14243 + $rm out/* && rmdir out
11.14244 + cd ..
11.14245 + rmdir conftest
11.14246 + $rm conftest*
11.14247 +
11.14248 +fi
11.14249 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
11.14250 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
11.14251 +
11.14252 +
11.14253 +hard_links="nottested"
11.14254 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
11.14255 + # do not overwrite the value of need_locks provided by the user
11.14256 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11.14257 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11.14258 + hard_links=yes
11.14259 + $rm conftest*
11.14260 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.14261 + touch conftest.a
11.14262 + ln conftest.a conftest.b 2>&5 || hard_links=no
11.14263 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.14264 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11.14265 +echo "${ECHO_T}$hard_links" >&6; }
11.14266 + if test "$hard_links" = no; then
11.14267 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11.14268 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11.14269 + need_locks=warn
11.14270 + fi
11.14271 +else
11.14272 + need_locks=no
11.14273 +fi
11.14274 +
11.14275 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11.14276 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11.14277 +
11.14278 + runpath_var=
11.14279 + allow_undefined_flag_F77=
11.14280 + enable_shared_with_static_runtimes_F77=no
11.14281 + archive_cmds_F77=
11.14282 + archive_expsym_cmds_F77=
11.14283 + old_archive_From_new_cmds_F77=
11.14284 + old_archive_from_expsyms_cmds_F77=
11.14285 + export_dynamic_flag_spec_F77=
11.14286 + whole_archive_flag_spec_F77=
11.14287 + thread_safe_flag_spec_F77=
11.14288 + hardcode_libdir_flag_spec_F77=
11.14289 + hardcode_libdir_flag_spec_ld_F77=
11.14290 + hardcode_libdir_separator_F77=
11.14291 + hardcode_direct_F77=no
11.14292 + hardcode_minus_L_F77=no
11.14293 + hardcode_shlibpath_var_F77=unsupported
11.14294 + link_all_deplibs_F77=unknown
11.14295 + hardcode_automatic_F77=no
11.14296 + module_cmds_F77=
11.14297 + module_expsym_cmds_F77=
11.14298 + always_export_symbols_F77=no
11.14299 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11.14300 + # include_expsyms should be a list of space-separated symbols to be *always*
11.14301 + # included in the symbol list
11.14302 + include_expsyms_F77=
11.14303 + # exclude_expsyms can be an extended regexp of symbols to exclude
11.14304 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
11.14305 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11.14306 + # as well as any symbol that contains `d'.
11.14307 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
11.14308 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11.14309 + # platforms (ab)use it in PIC code, but their linkers get confused if
11.14310 + # the symbol is explicitly referenced. Since portable code cannot
11.14311 + # rely on this symbol name, it's probably fine to never include it in
11.14312 + # preloaded symbol tables.
11.14313 + extract_expsyms_cmds=
11.14314 +
11.14315 + case $host_os in
11.14316 + cygwin* | mingw* | pw32*)
11.14317 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
11.14318 + # When not using gcc, we currently assume that we are using
11.14319 + # Microsoft Visual C++.
11.14320 + if test "$GCC" != yes; then
11.14321 + with_gnu_ld=no
11.14322 + fi
11.14323 + ;;
11.14324 + openbsd*)
11.14325 + with_gnu_ld=no
11.14326 + ;;
11.14327 + esac
11.14328 +
11.14329 + ld_shlibs_F77=yes
11.14330 + if test "$with_gnu_ld" = yes; then
11.14331 + # If archive_cmds runs LD, not CC, wlarc should be empty
11.14332 + wlarc='${wl}'
11.14333 +
11.14334 + # See if GNU ld supports shared libraries.
11.14335 + case $host_os in
11.14336 + aix3* | aix4* | aix5*)
11.14337 + # On AIX/PPC, the GNU linker is very broken
11.14338 + if test "$host_cpu" != ia64; then
11.14339 + ld_shlibs_F77=no
11.14340 + cat <<EOF 1>&2
11.14341 +
11.14342 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11.14343 +*** to be unable to reliably create shared libraries on AIX.
11.14344 +*** Therefore, libtool is disabling shared libraries support. If you
11.14345 +*** really care for shared libraries, you may want to modify your PATH
11.14346 +*** so that a non-GNU linker is found, and then restart.
11.14347 +
11.14348 +EOF
11.14349 + fi
11.14350 + ;;
11.14351 +
11.14352 + amigaos*)
11.14353 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11.14354 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14355 + hardcode_minus_L_F77=yes
11.14356 +
11.14357 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11.14358 + # that the semantics of dynamic libraries on AmigaOS, at least up
11.14359 + # to version 4, is to share data among multiple programs linked
11.14360 + # with the same dynamic library. Since this doesn't match the
11.14361 + # behavior of shared libraries on other platforms, we can't use
11.14362 + # them.
11.14363 + ld_shlibs_F77=no
11.14364 + ;;
11.14365 +
11.14366 + beos*)
11.14367 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.14368 + allow_undefined_flag_F77=unsupported
11.14369 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11.14370 + # support --undefined. This deserves some investigation. FIXME
11.14371 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.14372 + else
11.14373 + ld_shlibs_F77=no
11.14374 + fi
11.14375 + ;;
11.14376 +
11.14377 + cygwin* | mingw* | pw32*)
11.14378 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
11.14379 + # as there is no search path for DLLs.
11.14380 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14381 + allow_undefined_flag_F77=unsupported
11.14382 + always_export_symbols_F77=no
11.14383 + enable_shared_with_static_runtimes_F77=yes
11.14384 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11.14385 +
11.14386 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11.14387 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.14388 + # If the export-symbols file already is a .def file (1st line
11.14389 + # is EXPORTS), use it as is; otherwise, prepend...
11.14390 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11.14391 + cp $export_symbols $output_objdir/$soname.def;
11.14392 + else
11.14393 + echo EXPORTS > $output_objdir/$soname.def;
11.14394 + cat $export_symbols >> $output_objdir/$soname.def;
11.14395 + fi~
11.14396 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.14397 + else
11.14398 + ld_shlibs=no
11.14399 + fi
11.14400 + ;;
11.14401 +
11.14402 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.14403 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.14404 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11.14405 + wlarc=
11.14406 + else
11.14407 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.14408 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.14409 + fi
11.14410 + ;;
11.14411 +
11.14412 + solaris* | sysv5*)
11.14413 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
11.14414 + ld_shlibs_F77=no
11.14415 + cat <<EOF 1>&2
11.14416 +
11.14417 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11.14418 +*** create shared libraries on Solaris systems. Therefore, libtool
11.14419 +*** is disabling shared libraries support. We urge you to upgrade GNU
11.14420 +*** binutils to release 2.9.1 or newer. Another option is to modify
11.14421 +*** your PATH or compiler configuration so that the native linker is
11.14422 +*** used, and then restart.
11.14423 +
11.14424 +EOF
11.14425 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.14426 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.14427 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.14428 + else
11.14429 + ld_shlibs_F77=no
11.14430 + fi
11.14431 + ;;
11.14432 +
11.14433 + sunos4*)
11.14434 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.14435 + wlarc=
11.14436 + hardcode_direct_F77=yes
11.14437 + hardcode_shlibpath_var_F77=no
11.14438 + ;;
11.14439 +
11.14440 + linux*)
11.14441 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.14442 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.14443 + archive_cmds_F77="$tmp_archive_cmds"
11.14444 + supports_anon_versioning=no
11.14445 + case `$LD -v 2>/dev/null` in
11.14446 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11.14447 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11.14448 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11.14449 + *\ 2.11.*) ;; # other 2.11 versions
11.14450 + *) supports_anon_versioning=yes ;;
11.14451 + esac
11.14452 + if test $supports_anon_versioning = yes; then
11.14453 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
11.14454 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11.14455 +$echo "local: *; };" >> $output_objdir/$libname.ver~
11.14456 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11.14457 + else
11.14458 + archive_expsym_cmds_F77="$tmp_archive_cmds"
11.14459 + fi
11.14460 + link_all_deplibs_F77=no
11.14461 + else
11.14462 + ld_shlibs_F77=no
11.14463 + fi
11.14464 + ;;
11.14465 +
11.14466 + *)
11.14467 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.14468 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.14469 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.14470 + else
11.14471 + ld_shlibs_F77=no
11.14472 + fi
11.14473 + ;;
11.14474 + esac
11.14475 +
11.14476 + if test "$ld_shlibs_F77" = yes; then
11.14477 + runpath_var=LD_RUN_PATH
11.14478 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
11.14479 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
11.14480 + # ancient GNU ld didn't support --whole-archive et. al.
11.14481 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
11.14482 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11.14483 + else
11.14484 + whole_archive_flag_spec_F77=
11.14485 + fi
11.14486 + fi
11.14487 + else
11.14488 + # PORTME fill in a description of your system's linker (not GNU ld)
11.14489 + case $host_os in
11.14490 + aix3*)
11.14491 + allow_undefined_flag_F77=unsupported
11.14492 + always_export_symbols_F77=yes
11.14493 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11.14494 + # Note: this linker hardcodes the directories in LIBPATH if there
11.14495 + # are no directories specified by -L.
11.14496 + hardcode_minus_L_F77=yes
11.14497 + if test "$GCC" = yes && test -z "$link_static_flag"; then
11.14498 + # Neither direct hardcoding nor static linking is supported with a
11.14499 + # broken collect2.
11.14500 + hardcode_direct_F77=unsupported
11.14501 + fi
11.14502 + ;;
11.14503 +
11.14504 + aix4* | aix5*)
11.14505 + if test "$host_cpu" = ia64; then
11.14506 + # On IA64, the linker does run time linking by default, so we don't
11.14507 + # have to do anything special.
11.14508 + aix_use_runtimelinking=no
11.14509 + exp_sym_flag='-Bexport'
11.14510 + no_entry_flag=""
11.14511 + else
11.14512 + # If we're using GNU nm, then we don't want the "-C" option.
11.14513 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
11.14514 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11.14515 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.14516 + else
11.14517 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.14518 + fi
11.14519 + aix_use_runtimelinking=no
11.14520 +
11.14521 + # Test if we are trying to use run time linking or normal
11.14522 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11.14523 + # need to do runtime linking.
11.14524 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11.14525 + for ld_flag in $LDFLAGS; do
11.14526 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11.14527 + aix_use_runtimelinking=yes
11.14528 + break
11.14529 + fi
11.14530 + done
11.14531 + esac
11.14532 +
11.14533 + exp_sym_flag='-bexport'
11.14534 + no_entry_flag='-bnoentry'
11.14535 + fi
11.14536 +
11.14537 + # When large executables or shared objects are built, AIX ld can
11.14538 + # have problems creating the table of contents. If linking a library
11.14539 + # or program results in "error TOC overflow" add -mminimal-toc to
11.14540 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11.14541 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11.14542 +
11.14543 + archive_cmds_F77=''
11.14544 + hardcode_direct_F77=yes
11.14545 + hardcode_libdir_separator_F77=':'
11.14546 + link_all_deplibs_F77=yes
11.14547 +
11.14548 + if test "$GCC" = yes; then
11.14549 + case $host_os in aix4.012|aix4.012.*)
11.14550 + # We only want to do this on AIX 4.2 and lower, the check
11.14551 + # below for broken collect2 doesn't work under 4.3+
11.14552 + collect2name=`${CC} -print-prog-name=collect2`
11.14553 + if test -f "$collect2name" && \
11.14554 + strings "$collect2name" | grep resolve_lib_name >/dev/null
11.14555 + then
11.14556 + # We have reworked collect2
11.14557 + hardcode_direct_F77=yes
11.14558 + else
11.14559 + # We have old collect2
11.14560 + hardcode_direct_F77=unsupported
11.14561 + # It fails to find uninstalled libraries when the uninstalled
11.14562 + # path is not listed in the libpath. Setting hardcode_minus_L
11.14563 + # to unsupported forces relinking
11.14564 + hardcode_minus_L_F77=yes
11.14565 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14566 + hardcode_libdir_separator_F77=
11.14567 + fi
11.14568 + esac
11.14569 + shared_flag='-shared'
11.14570 + else
11.14571 + # not using gcc
11.14572 + if test "$host_cpu" = ia64; then
11.14573 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11.14574 + # chokes on -Wl,-G. The following line is correct:
11.14575 + shared_flag='-G'
11.14576 + else
11.14577 + if test "$aix_use_runtimelinking" = yes; then
11.14578 + shared_flag='${wl}-G'
11.14579 + else
11.14580 + shared_flag='${wl}-bM:SRE'
11.14581 + fi
11.14582 + fi
11.14583 + fi
11.14584 +
11.14585 + # It seems that -bexpall does not export symbols beginning with
11.14586 + # underscore (_), so it is better to generate a list of symbols to export.
11.14587 + always_export_symbols_F77=yes
11.14588 + if test "$aix_use_runtimelinking" = yes; then
11.14589 + # Warning - without using the other runtime loading flags (-brtl),
11.14590 + # -berok will link without error, but may produce a broken library.
11.14591 + allow_undefined_flag_F77='-berok'
11.14592 + # Determine the default libpath from the value encoded in an empty executable.
11.14593 + cat >conftest.$ac_ext <<_ACEOF
11.14594 + program main
11.14595 +
11.14596 + end
11.14597 +_ACEOF
11.14598 +rm -f conftest.$ac_objext conftest$ac_exeext
11.14599 +if { (ac_try="$ac_link"
11.14600 +case "(($ac_try" in
11.14601 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.14602 + *) ac_try_echo=$ac_try;;
11.14603 +esac
11.14604 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.14605 + (eval "$ac_link") 2>conftest.er1
11.14606 + ac_status=$?
11.14607 + grep -v '^ *+' conftest.er1 >conftest.err
11.14608 + rm -f conftest.er1
11.14609 + cat conftest.err >&5
11.14610 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14611 + (exit $ac_status); } && {
11.14612 + test -z "$ac_f77_werror_flag" ||
11.14613 + test ! -s conftest.err
11.14614 + } && test -s conftest$ac_exeext &&
11.14615 + $as_test_x conftest$ac_exeext; then
11.14616 +
11.14617 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.14618 +}'`
11.14619 +# Check for a 64-bit object if we didn't find anything.
11.14620 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.14621 +}'`; fi
11.14622 +else
11.14623 + echo "$as_me: failed program was:" >&5
11.14624 +sed 's/^/| /' conftest.$ac_ext >&5
11.14625 +
11.14626 +
11.14627 +fi
11.14628 +
11.14629 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.14630 + conftest$ac_exeext conftest.$ac_ext
11.14631 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.14632 +
11.14633 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
11.14634 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11.14635 + else
11.14636 + if test "$host_cpu" = ia64; then
11.14637 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
11.14638 + allow_undefined_flag_F77="-z nodefs"
11.14639 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
11.14640 + else
11.14641 + # Determine the default libpath from the value encoded in an empty executable.
11.14642 + cat >conftest.$ac_ext <<_ACEOF
11.14643 + program main
11.14644 +
11.14645 + end
11.14646 +_ACEOF
11.14647 +rm -f conftest.$ac_objext conftest$ac_exeext
11.14648 +if { (ac_try="$ac_link"
11.14649 +case "(($ac_try" in
11.14650 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.14651 + *) ac_try_echo=$ac_try;;
11.14652 +esac
11.14653 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.14654 + (eval "$ac_link") 2>conftest.er1
11.14655 + ac_status=$?
11.14656 + grep -v '^ *+' conftest.er1 >conftest.err
11.14657 + rm -f conftest.er1
11.14658 + cat conftest.err >&5
11.14659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14660 + (exit $ac_status); } && {
11.14661 + test -z "$ac_f77_werror_flag" ||
11.14662 + test ! -s conftest.err
11.14663 + } && test -s conftest$ac_exeext &&
11.14664 + $as_test_x conftest$ac_exeext; then
11.14665 +
11.14666 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.14667 +}'`
11.14668 +# Check for a 64-bit object if we didn't find anything.
11.14669 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.14670 +}'`; fi
11.14671 +else
11.14672 + echo "$as_me: failed program was:" >&5
11.14673 +sed 's/^/| /' conftest.$ac_ext >&5
11.14674 +
11.14675 +
11.14676 +fi
11.14677 +
11.14678 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.14679 + conftest$ac_exeext conftest.$ac_ext
11.14680 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.14681 +
11.14682 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
11.14683 + # Warning - without using the other run time loading flags,
11.14684 + # -berok will link without error, but may produce a broken library.
11.14685 + no_undefined_flag_F77=' ${wl}-bernotok'
11.14686 + allow_undefined_flag_F77=' ${wl}-berok'
11.14687 + # -bexpall does not export symbols beginning with underscore (_)
11.14688 + always_export_symbols_F77=yes
11.14689 + # Exported symbols can be pulled into shared objects from archives
11.14690 + whole_archive_flag_spec_F77=' '
11.14691 + archive_cmds_need_lc_F77=yes
11.14692 + # This is similar to how AIX traditionally builds it's shared libraries.
11.14693 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11.14694 + fi
11.14695 + fi
11.14696 + ;;
11.14697 +
11.14698 + amigaos*)
11.14699 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11.14700 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14701 + hardcode_minus_L_F77=yes
11.14702 + # see comment about different semantics on the GNU ld section
11.14703 + ld_shlibs_F77=no
11.14704 + ;;
11.14705 +
11.14706 + bsdi4*)
11.14707 + export_dynamic_flag_spec_F77=-rdynamic
11.14708 + ;;
11.14709 +
11.14710 + cygwin* | mingw* | pw32*)
11.14711 + # When not using gcc, we currently assume that we are using
11.14712 + # Microsoft Visual C++.
11.14713 + # hardcode_libdir_flag_spec is actually meaningless, as there is
11.14714 + # no search path for DLLs.
11.14715 + hardcode_libdir_flag_spec_F77=' '
11.14716 + allow_undefined_flag_F77=unsupported
11.14717 + # Tell ltmain to make .lib files, not .a files.
11.14718 + libext=lib
11.14719 + # Tell ltmain to make .dll files, not .so files.
11.14720 + shrext_cmds=".dll"
11.14721 + # FIXME: Setting linknames here is a bad hack.
11.14722 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11.14723 + # The linker will automatically build a .lib file if we build a DLL.
11.14724 + old_archive_From_new_cmds_F77='true'
11.14725 + # FIXME: Should let the user specify the lib program.
11.14726 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
11.14727 + fix_srcfile_path='`cygpath -w "$srcfile"`'
11.14728 + enable_shared_with_static_runtimes_F77=yes
11.14729 + ;;
11.14730 +
11.14731 + darwin* | rhapsody*)
11.14732 + if test "$GXX" = yes ; then
11.14733 + archive_cmds_need_lc_F77=no
11.14734 + case "$host_os" in
11.14735 + rhapsody* | darwin1.[012])
11.14736 + allow_undefined_flag_F77='-undefined suppress'
11.14737 + ;;
11.14738 + *) # Darwin 1.3 on
11.14739 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11.14740 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
11.14741 + else
11.14742 + case ${MACOSX_DEPLOYMENT_TARGET} in
11.14743 + 10.[012])
11.14744 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
11.14745 + ;;
11.14746 + 10.*)
11.14747 + allow_undefined_flag_F77='-undefined dynamic_lookup'
11.14748 + ;;
11.14749 + esac
11.14750 + fi
11.14751 + ;;
11.14752 + esac
11.14753 + lt_int_apple_cc_single_mod=no
11.14754 + output_verbose_link_cmd='echo'
11.14755 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11.14756 + lt_int_apple_cc_single_mod=yes
11.14757 + fi
11.14758 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.14759 + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.14760 + else
11.14761 + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.14762 + fi
11.14763 + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11.14764 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11.14765 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.14766 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.14767 + else
11.14768 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.14769 + fi
11.14770 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.14771 + hardcode_direct_F77=no
11.14772 + hardcode_automatic_F77=yes
11.14773 + hardcode_shlibpath_var_F77=unsupported
11.14774 + whole_archive_flag_spec_F77='-all_load $convenience'
11.14775 + link_all_deplibs_F77=yes
11.14776 + else
11.14777 + ld_shlibs_F77=no
11.14778 + fi
11.14779 + ;;
11.14780 +
11.14781 + dgux*)
11.14782 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.14783 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14784 + hardcode_shlibpath_var_F77=no
11.14785 + ;;
11.14786 +
11.14787 + freebsd1*)
11.14788 + ld_shlibs_F77=no
11.14789 + ;;
11.14790 +
11.14791 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11.14792 + # support. Future versions do this automatically, but an explicit c++rt0.o
11.14793 + # does not break anything, and helps significantly (at the cost of a little
11.14794 + # extra space).
11.14795 + freebsd2.2*)
11.14796 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11.14797 + hardcode_libdir_flag_spec_F77='-R$libdir'
11.14798 + hardcode_direct_F77=yes
11.14799 + hardcode_shlibpath_var_F77=no
11.14800 + ;;
11.14801 +
11.14802 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11.14803 + freebsd2*)
11.14804 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.14805 + hardcode_direct_F77=yes
11.14806 + hardcode_minus_L_F77=yes
11.14807 + hardcode_shlibpath_var_F77=no
11.14808 + ;;
11.14809 +
11.14810 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11.14811 + freebsd* | kfreebsd*-gnu)
11.14812 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11.14813 + hardcode_libdir_flag_spec_F77='-R$libdir'
11.14814 + hardcode_direct_F77=yes
11.14815 + hardcode_shlibpath_var_F77=no
11.14816 + ;;
11.14817 +
11.14818 + hpux9*)
11.14819 + if test "$GCC" = yes; then
11.14820 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.14821 + else
11.14822 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.14823 + fi
11.14824 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
11.14825 + hardcode_libdir_separator_F77=:
11.14826 + hardcode_direct_F77=yes
11.14827 +
11.14828 + # hardcode_minus_L: Not really in the search PATH,
11.14829 + # but as the default location of the library.
11.14830 + hardcode_minus_L_F77=yes
11.14831 + export_dynamic_flag_spec_F77='${wl}-E'
11.14832 + ;;
11.14833 +
11.14834 + hpux10* | hpux11*)
11.14835 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11.14836 + case "$host_cpu" in
11.14837 + hppa*64*|ia64*)
11.14838 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.14839 + ;;
11.14840 + *)
11.14841 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11.14842 + ;;
11.14843 + esac
11.14844 + else
11.14845 + case "$host_cpu" in
11.14846 + hppa*64*|ia64*)
11.14847 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11.14848 + ;;
11.14849 + *)
11.14850 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11.14851 + ;;
11.14852 + esac
11.14853 + fi
11.14854 + if test "$with_gnu_ld" = no; then
11.14855 + case "$host_cpu" in
11.14856 + hppa*64*)
11.14857 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
11.14858 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
11.14859 + hardcode_libdir_separator_F77=:
11.14860 + hardcode_direct_F77=no
11.14861 + hardcode_shlibpath_var_F77=no
11.14862 + ;;
11.14863 + ia64*)
11.14864 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14865 + hardcode_direct_F77=no
11.14866 + hardcode_shlibpath_var_F77=no
11.14867 +
11.14868 + # hardcode_minus_L: Not really in the search PATH,
11.14869 + # but as the default location of the library.
11.14870 + hardcode_minus_L_F77=yes
11.14871 + ;;
11.14872 + *)
11.14873 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
11.14874 + hardcode_libdir_separator_F77=:
11.14875 + hardcode_direct_F77=yes
11.14876 + export_dynamic_flag_spec_F77='${wl}-E'
11.14877 +
11.14878 + # hardcode_minus_L: Not really in the search PATH,
11.14879 + # but as the default location of the library.
11.14880 + hardcode_minus_L_F77=yes
11.14881 + ;;
11.14882 + esac
11.14883 + fi
11.14884 + ;;
11.14885 +
11.14886 + irix5* | irix6* | nonstopux*)
11.14887 + if test "$GCC" = yes; then
11.14888 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.14889 + else
11.14890 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.14891 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
11.14892 + fi
11.14893 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
11.14894 + hardcode_libdir_separator_F77=:
11.14895 + link_all_deplibs_F77=yes
11.14896 + ;;
11.14897 +
11.14898 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.14899 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.14900 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11.14901 + else
11.14902 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11.14903 + fi
11.14904 + hardcode_libdir_flag_spec_F77='-R$libdir'
11.14905 + hardcode_direct_F77=yes
11.14906 + hardcode_shlibpath_var_F77=no
11.14907 + ;;
11.14908 +
11.14909 + newsos6)
11.14910 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.14911 + hardcode_direct_F77=yes
11.14912 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
11.14913 + hardcode_libdir_separator_F77=:
11.14914 + hardcode_shlibpath_var_F77=no
11.14915 + ;;
11.14916 +
11.14917 + openbsd*)
11.14918 + hardcode_direct_F77=yes
11.14919 + hardcode_shlibpath_var_F77=no
11.14920 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.14921 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11.14922 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
11.14923 + export_dynamic_flag_spec_F77='${wl}-E'
11.14924 + else
11.14925 + case $host_os in
11.14926 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11.14927 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.14928 + hardcode_libdir_flag_spec_F77='-R$libdir'
11.14929 + ;;
11.14930 + *)
11.14931 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11.14932 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
11.14933 + ;;
11.14934 + esac
11.14935 + fi
11.14936 + ;;
11.14937 +
11.14938 + os2*)
11.14939 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.14940 + hardcode_minus_L_F77=yes
11.14941 + allow_undefined_flag_F77=unsupported
11.14942 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11.14943 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11.14944 + ;;
11.14945 +
11.14946 + osf3*)
11.14947 + if test "$GCC" = yes; then
11.14948 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
11.14949 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.14950 + else
11.14951 + allow_undefined_flag_F77=' -expect_unresolved \*'
11.14952 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.14953 + fi
11.14954 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
11.14955 + hardcode_libdir_separator_F77=:
11.14956 + ;;
11.14957 +
11.14958 + osf4* | osf5*) # as osf3* with the addition of -msym flag
11.14959 + if test "$GCC" = yes; then
11.14960 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
11.14961 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.14962 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
11.14963 + else
11.14964 + allow_undefined_flag_F77=' -expect_unresolved \*'
11.14965 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.14966 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11.14967 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
11.14968 +
11.14969 + # Both c and cxx compiler support -rpath directly
11.14970 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
11.14971 + fi
11.14972 + hardcode_libdir_separator_F77=:
11.14973 + ;;
11.14974 +
11.14975 + sco3.2v5*)
11.14976 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.14977 + hardcode_shlibpath_var_F77=no
11.14978 + export_dynamic_flag_spec_F77='${wl}-Bexport'
11.14979 + runpath_var=LD_RUN_PATH
11.14980 + hardcode_runpath_var=yes
11.14981 + ;;
11.14982 +
11.14983 + solaris*)
11.14984 + no_undefined_flag_F77=' -z text'
11.14985 + if test "$GCC" = yes; then
11.14986 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.14987 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.14988 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11.14989 + else
11.14990 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.14991 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.14992 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11.14993 + fi
11.14994 + hardcode_libdir_flag_spec_F77='-R$libdir'
11.14995 + hardcode_shlibpath_var_F77=no
11.14996 + case $host_os in
11.14997 + solaris2.[0-5] | solaris2.[0-5].*) ;;
11.14998 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11.14999 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
11.15000 + esac
11.15001 + link_all_deplibs_F77=yes
11.15002 + ;;
11.15003 +
11.15004 + sunos4*)
11.15005 + if test "x$host_vendor" = xsequent; then
11.15006 + # Use $CC to link under sequent, because it throws in some extra .o
11.15007 + # files that make .init and .fini sections work.
11.15008 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11.15009 + else
11.15010 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11.15011 + fi
11.15012 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.15013 + hardcode_direct_F77=yes
11.15014 + hardcode_minus_L_F77=yes
11.15015 + hardcode_shlibpath_var_F77=no
11.15016 + ;;
11.15017 +
11.15018 + sysv4)
11.15019 + case $host_vendor in
11.15020 + sni)
11.15021 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.15022 + hardcode_direct_F77=yes # is this really true???
11.15023 + ;;
11.15024 + siemens)
11.15025 + ## LD is ld it makes a PLAMLIB
11.15026 + ## CC just makes a GrossModule.
11.15027 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11.15028 + reload_cmds_F77='$CC -r -o $output$reload_objs'
11.15029 + hardcode_direct_F77=no
11.15030 + ;;
11.15031 + motorola)
11.15032 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.15033 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
11.15034 + ;;
11.15035 + esac
11.15036 + runpath_var='LD_RUN_PATH'
11.15037 + hardcode_shlibpath_var_F77=no
11.15038 + ;;
11.15039 +
11.15040 + sysv4.3*)
11.15041 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.15042 + hardcode_shlibpath_var_F77=no
11.15043 + export_dynamic_flag_spec_F77='-Bexport'
11.15044 + ;;
11.15045 +
11.15046 + sysv4*MP*)
11.15047 + if test -d /usr/nec; then
11.15048 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.15049 + hardcode_shlibpath_var_F77=no
11.15050 + runpath_var=LD_RUN_PATH
11.15051 + hardcode_runpath_var=yes
11.15052 + ld_shlibs_F77=yes
11.15053 + fi
11.15054 + ;;
11.15055 +
11.15056 + sysv4.2uw2*)
11.15057 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11.15058 + hardcode_direct_F77=yes
11.15059 + hardcode_minus_L_F77=no
11.15060 + hardcode_shlibpath_var_F77=no
11.15061 + hardcode_runpath_var=yes
11.15062 + runpath_var=LD_RUN_PATH
11.15063 + ;;
11.15064 +
11.15065 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11.15066 + no_undefined_flag_F77='${wl}-z ${wl}text'
11.15067 + if test "$GCC" = yes; then
11.15068 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.15069 + else
11.15070 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.15071 + fi
11.15072 + runpath_var='LD_RUN_PATH'
11.15073 + hardcode_shlibpath_var_F77=no
11.15074 + ;;
11.15075 +
11.15076 + sysv5*)
11.15077 + no_undefined_flag_F77=' -z text'
11.15078 + # $CC -shared without GNU ld will not create a library from C++
11.15079 + # object files and a static libstdc++, better avoid it by now
11.15080 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.15081 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.15082 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11.15083 + hardcode_libdir_flag_spec_F77=
11.15084 + hardcode_shlibpath_var_F77=no
11.15085 + runpath_var='LD_RUN_PATH'
11.15086 + ;;
11.15087 +
11.15088 + uts4*)
11.15089 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.15090 + hardcode_libdir_flag_spec_F77='-L$libdir'
11.15091 + hardcode_shlibpath_var_F77=no
11.15092 + ;;
11.15093 +
11.15094 + *)
11.15095 + ld_shlibs_F77=no
11.15096 + ;;
11.15097 + esac
11.15098 + fi
11.15099 +
11.15100 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
11.15101 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
11.15102 +test "$ld_shlibs_F77" = no && can_build_shared=no
11.15103 +
11.15104 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11.15105 +if test "$GCC" = yes; then
11.15106 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11.15107 +fi
11.15108 +
11.15109 +#
11.15110 +# Do we need to explicitly link libc?
11.15111 +#
11.15112 +case "x$archive_cmds_need_lc_F77" in
11.15113 +x|xyes)
11.15114 + # Assume -lc should be added
11.15115 + archive_cmds_need_lc_F77=yes
11.15116 +
11.15117 + if test "$enable_shared" = yes && test "$GCC" = yes; then
11.15118 + case $archive_cmds_F77 in
11.15119 + *'~'*)
11.15120 + # FIXME: we may have to deal with multi-command sequences.
11.15121 + ;;
11.15122 + '$CC '*)
11.15123 + # Test whether the compiler implicitly links with -lc since on some
11.15124 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
11.15125 + # to ld, don't add -lc before -lgcc.
11.15126 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11.15127 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11.15128 + $rm conftest*
11.15129 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.15130 +
11.15131 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.15132 + (eval $ac_compile) 2>&5
11.15133 + ac_status=$?
11.15134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.15135 + (exit $ac_status); } 2>conftest.err; then
11.15136 + soname=conftest
11.15137 + lib=conftest
11.15138 + libobjs=conftest.$ac_objext
11.15139 + deplibs=
11.15140 + wl=$lt_prog_compiler_wl_F77
11.15141 + compiler_flags=-v
11.15142 + linker_flags=-v
11.15143 + verstring=
11.15144 + output_objdir=.
11.15145 + libname=conftest
11.15146 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
11.15147 + allow_undefined_flag_F77=
11.15148 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11.15149 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11.15150 + ac_status=$?
11.15151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.15152 + (exit $ac_status); }
11.15153 + then
11.15154 + archive_cmds_need_lc_F77=no
11.15155 + else
11.15156 + archive_cmds_need_lc_F77=yes
11.15157 + fi
11.15158 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
11.15159 + else
11.15160 + cat conftest.err 1>&5
11.15161 + fi
11.15162 + $rm conftest*
11.15163 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
11.15164 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
11.15165 + ;;
11.15166 + esac
11.15167 + fi
11.15168 + ;;
11.15169 +esac
11.15170 +
11.15171 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11.15172 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11.15173 +library_names_spec=
11.15174 +libname_spec='lib$name'
11.15175 +soname_spec=
11.15176 +shrext_cmds=".so"
11.15177 +postinstall_cmds=
11.15178 +postuninstall_cmds=
11.15179 +finish_cmds=
11.15180 +finish_eval=
11.15181 +shlibpath_var=
11.15182 +shlibpath_overrides_runpath=unknown
11.15183 +version_type=none
11.15184 +dynamic_linker="$host_os ld.so"
11.15185 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
11.15186 +if test "$GCC" = yes; then
11.15187 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.15188 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11.15189 + # if the path contains ";" then we assume it to be the separator
11.15190 + # otherwise default to the standard path separator (i.e. ":") - it is
11.15191 + # assumed that no part of a normal pathname contains ";" but that should
11.15192 + # okay in the real world where ";" in dirpaths is itself problematic.
11.15193 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.15194 + else
11.15195 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.15196 + fi
11.15197 +else
11.15198 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11.15199 +fi
11.15200 +need_lib_prefix=unknown
11.15201 +hardcode_into_libs=no
11.15202 +
11.15203 +# when you set need_version to no, make sure it does not cause -set_version
11.15204 +# flags to be left without arguments
11.15205 +need_version=unknown
11.15206 +
11.15207 +case $host_os in
11.15208 +aix3*)
11.15209 + version_type=linux
11.15210 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11.15211 + shlibpath_var=LIBPATH
11.15212 +
11.15213 + # AIX 3 has no versioning support, so we append a major version to the name.
11.15214 + soname_spec='${libname}${release}${shared_ext}$major'
11.15215 + ;;
11.15216 +
11.15217 +aix4* | aix5*)
11.15218 + version_type=linux
11.15219 + need_lib_prefix=no
11.15220 + need_version=no
11.15221 + hardcode_into_libs=yes
11.15222 + if test "$host_cpu" = ia64; then
11.15223 + # AIX 5 supports IA64
11.15224 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11.15225 + shlibpath_var=LD_LIBRARY_PATH
11.15226 + else
11.15227 + # With GCC up to 2.95.x, collect2 would create an import file
11.15228 + # for dependence libraries. The import file would start with
11.15229 + # the line `#! .'. This would cause the generated library to
11.15230 + # depend on `.', always an invalid library. This was fixed in
11.15231 + # development snapshots of GCC prior to 3.0.
11.15232 + case $host_os in
11.15233 + aix4 | aix4.[01] | aix4.[01].*)
11.15234 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11.15235 + echo ' yes '
11.15236 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11.15237 + :
11.15238 + else
11.15239 + can_build_shared=no
11.15240 + fi
11.15241 + ;;
11.15242 + esac
11.15243 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11.15244 + # soname into executable. Probably we can add versioning support to
11.15245 + # collect2, so additional links can be useful in future.
11.15246 + if test "$aix_use_runtimelinking" = yes; then
11.15247 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11.15248 + # instead of lib<name>.a to let people know that these are not
11.15249 + # typical AIX shared libraries.
11.15250 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15251 + else
11.15252 + # We preserve .a as extension for shared libraries through AIX4.2
11.15253 + # and later when we are not doing run time linking.
11.15254 + library_names_spec='${libname}${release}.a $libname.a'
11.15255 + soname_spec='${libname}${release}${shared_ext}$major'
11.15256 + fi
11.15257 + shlibpath_var=LIBPATH
11.15258 + fi
11.15259 + ;;
11.15260 +
11.15261 +amigaos*)
11.15262 + library_names_spec='$libname.ixlibrary $libname.a'
11.15263 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
11.15264 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11.15265 + ;;
11.15266 +
11.15267 +beos*)
11.15268 + library_names_spec='${libname}${shared_ext}'
11.15269 + dynamic_linker="$host_os ld.so"
11.15270 + shlibpath_var=LIBRARY_PATH
11.15271 + ;;
11.15272 +
11.15273 +bsdi4*)
11.15274 + version_type=linux
11.15275 + need_version=no
11.15276 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15277 + soname_spec='${libname}${release}${shared_ext}$major'
11.15278 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11.15279 + shlibpath_var=LD_LIBRARY_PATH
11.15280 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11.15281 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11.15282 + # the default ld.so.conf also contains /usr/contrib/lib and
11.15283 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11.15284 + # libtool to hard-code these into programs
11.15285 + ;;
11.15286 +
11.15287 +cygwin* | mingw* | pw32*)
11.15288 + version_type=windows
11.15289 + shrext_cmds=".dll"
11.15290 + need_version=no
11.15291 + need_lib_prefix=no
11.15292 +
11.15293 + case $GCC,$host_os in
11.15294 + yes,cygwin* | yes,mingw* | yes,pw32*)
11.15295 + library_names_spec='$libname.dll.a'
11.15296 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
11.15297 + postinstall_cmds='base_file=`basename \${file}`~
11.15298 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11.15299 + dldir=$destdir/`dirname \$dlpath`~
11.15300 + test -d \$dldir || mkdir -p \$dldir~
11.15301 + $install_prog $dir/$dlname \$dldir/$dlname'
11.15302 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11.15303 + dlpath=$dir/\$dldll~
11.15304 + $rm \$dlpath'
11.15305 + shlibpath_overrides_runpath=yes
11.15306 +
11.15307 + case $host_os in
11.15308 + cygwin*)
11.15309 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11.15310 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.15311 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11.15312 + ;;
11.15313 + mingw*)
11.15314 + # MinGW DLLs use traditional 'lib' prefix
11.15315 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.15316 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.15317 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11.15318 + # It is most probably a Windows format PATH printed by
11.15319 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
11.15320 + # path with ; separators, and with drive letters. We can handle the
11.15321 + # drive letters (cygwin fileutils understands them), so leave them,
11.15322 + # especially as we might pass files found there to a mingw objdump,
11.15323 + # which wouldn't understand a cygwinified path. Ahh.
11.15324 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.15325 + else
11.15326 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.15327 + fi
11.15328 + ;;
11.15329 + pw32*)
11.15330 + # pw32 DLLs use 'pw' prefix rather than 'lib'
11.15331 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11.15332 + ;;
11.15333 + esac
11.15334 + ;;
11.15335 +
11.15336 + *)
11.15337 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11.15338 + ;;
11.15339 + esac
11.15340 + dynamic_linker='Win32 ld.exe'
11.15341 + # FIXME: first we should search . and the directory the executable is in
11.15342 + shlibpath_var=PATH
11.15343 + ;;
11.15344 +
11.15345 +darwin* | rhapsody*)
11.15346 + dynamic_linker="$host_os dyld"
11.15347 + version_type=darwin
11.15348 + need_lib_prefix=no
11.15349 + need_version=no
11.15350 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11.15351 + soname_spec='${libname}${release}${major}$shared_ext'
11.15352 + shlibpath_overrides_runpath=yes
11.15353 + shlibpath_var=DYLD_LIBRARY_PATH
11.15354 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11.15355 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11.15356 + if test "$GCC" = yes; then
11.15357 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11.15358 + else
11.15359 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11.15360 + fi
11.15361 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11.15362 + ;;
11.15363 +
11.15364 +dgux*)
11.15365 + version_type=linux
11.15366 + need_lib_prefix=no
11.15367 + need_version=no
11.15368 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11.15369 + soname_spec='${libname}${release}${shared_ext}$major'
11.15370 + shlibpath_var=LD_LIBRARY_PATH
11.15371 + ;;
11.15372 +
11.15373 +freebsd1*)
11.15374 + dynamic_linker=no
11.15375 + ;;
11.15376 +
11.15377 +kfreebsd*-gnu)
11.15378 + version_type=linux
11.15379 + need_lib_prefix=no
11.15380 + need_version=no
11.15381 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.15382 + soname_spec='${libname}${release}${shared_ext}$major'
11.15383 + shlibpath_var=LD_LIBRARY_PATH
11.15384 + shlibpath_overrides_runpath=no
11.15385 + hardcode_into_libs=yes
11.15386 + dynamic_linker='GNU ld.so'
11.15387 + ;;
11.15388 +
11.15389 +freebsd*)
11.15390 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11.15391 + version_type=freebsd-$objformat
11.15392 + case $version_type in
11.15393 + freebsd-elf*)
11.15394 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11.15395 + need_version=no
11.15396 + need_lib_prefix=no
11.15397 + ;;
11.15398 + freebsd-*)
11.15399 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11.15400 + need_version=yes
11.15401 + ;;
11.15402 + esac
11.15403 + shlibpath_var=LD_LIBRARY_PATH
11.15404 + case $host_os in
11.15405 + freebsd2*)
11.15406 + shlibpath_overrides_runpath=yes
11.15407 + ;;
11.15408 + freebsd3.01* | freebsdelf3.01*)
11.15409 + shlibpath_overrides_runpath=yes
11.15410 + hardcode_into_libs=yes
11.15411 + ;;
11.15412 + *) # from 3.2 on
11.15413 + shlibpath_overrides_runpath=no
11.15414 + hardcode_into_libs=yes
11.15415 + ;;
11.15416 + esac
11.15417 + ;;
11.15418 +
11.15419 +gnu*)
11.15420 + version_type=linux
11.15421 + need_lib_prefix=no
11.15422 + need_version=no
11.15423 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11.15424 + soname_spec='${libname}${release}${shared_ext}$major'
11.15425 + shlibpath_var=LD_LIBRARY_PATH
11.15426 + hardcode_into_libs=yes
11.15427 + ;;
11.15428 +
11.15429 +hpux9* | hpux10* | hpux11*)
11.15430 + # Give a soname corresponding to the major version so that dld.sl refuses to
11.15431 + # link against other versions.
11.15432 + version_type=sunos
11.15433 + need_lib_prefix=no
11.15434 + need_version=no
11.15435 + case "$host_cpu" in
11.15436 + ia64*)
11.15437 + shrext_cmds='.so'
11.15438 + hardcode_into_libs=yes
11.15439 + dynamic_linker="$host_os dld.so"
11.15440 + shlibpath_var=LD_LIBRARY_PATH
11.15441 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.15442 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15443 + soname_spec='${libname}${release}${shared_ext}$major'
11.15444 + if test "X$HPUX_IA64_MODE" = X32; then
11.15445 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11.15446 + else
11.15447 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11.15448 + fi
11.15449 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.15450 + ;;
11.15451 + hppa*64*)
11.15452 + shrext_cmds='.sl'
11.15453 + hardcode_into_libs=yes
11.15454 + dynamic_linker="$host_os dld.sl"
11.15455 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11.15456 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.15457 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15458 + soname_spec='${libname}${release}${shared_ext}$major'
11.15459 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11.15460 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.15461 + ;;
11.15462 + *)
11.15463 + shrext_cmds='.sl'
11.15464 + dynamic_linker="$host_os dld.sl"
11.15465 + shlibpath_var=SHLIB_PATH
11.15466 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11.15467 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15468 + soname_spec='${libname}${release}${shared_ext}$major'
11.15469 + ;;
11.15470 + esac
11.15471 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
11.15472 + postinstall_cmds='chmod 555 $lib'
11.15473 + ;;
11.15474 +
11.15475 +irix5* | irix6* | nonstopux*)
11.15476 + case $host_os in
11.15477 + nonstopux*) version_type=nonstopux ;;
11.15478 + *)
11.15479 + if test "$lt_cv_prog_gnu_ld" = yes; then
11.15480 + version_type=linux
11.15481 + else
11.15482 + version_type=irix
11.15483 + fi ;;
11.15484 + esac
11.15485 + need_lib_prefix=no
11.15486 + need_version=no
11.15487 + soname_spec='${libname}${release}${shared_ext}$major'
11.15488 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11.15489 + case $host_os in
11.15490 + irix5* | nonstopux*)
11.15491 + libsuff= shlibsuff=
11.15492 + ;;
11.15493 + *)
11.15494 + case $LD in # libtool.m4 will add one of these switches to LD
11.15495 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11.15496 + libsuff= shlibsuff= libmagic=32-bit;;
11.15497 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11.15498 + libsuff=32 shlibsuff=N32 libmagic=N32;;
11.15499 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11.15500 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
11.15501 + *) libsuff= shlibsuff= libmagic=never-match;;
11.15502 + esac
11.15503 + ;;
11.15504 + esac
11.15505 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11.15506 + shlibpath_overrides_runpath=no
11.15507 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11.15508 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11.15509 + hardcode_into_libs=yes
11.15510 + ;;
11.15511 +
11.15512 +# No shared lib support for Linux oldld, aout, or coff.
11.15513 +linux*oldld* | linux*aout* | linux*coff*)
11.15514 + dynamic_linker=no
11.15515 + ;;
11.15516 +
11.15517 +# This must be Linux ELF.
11.15518 +linux*)
11.15519 + version_type=linux
11.15520 + need_lib_prefix=no
11.15521 + need_version=no
11.15522 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15523 + soname_spec='${libname}${release}${shared_ext}$major'
11.15524 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11.15525 + shlibpath_var=LD_LIBRARY_PATH
11.15526 + shlibpath_overrides_runpath=no
11.15527 + # This implies no fast_install, which is unacceptable.
11.15528 + # Some rework will be needed to allow for fast_install
11.15529 + # before this can be enabled.
11.15530 + hardcode_into_libs=yes
11.15531 +
11.15532 + # Append ld.so.conf contents to the search path
11.15533 + if test -f /etc/ld.so.conf; then
11.15534 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11.15535 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11.15536 + fi
11.15537 +
11.15538 + # We used to test for /lib/ld.so.1 and disable shared libraries on
11.15539 + # powerpc, because MkLinux only supported shared libraries with the
11.15540 + # GNU dynamic linker. Since this was broken with cross compilers,
11.15541 + # most powerpc-linux boxes support dynamic linking these days and
11.15542 + # people can always --disable-shared, the test was removed, and we
11.15543 + # assume the GNU/Linux dynamic linker is in use.
11.15544 + dynamic_linker='GNU/Linux ld.so'
11.15545 + ;;
11.15546 +
11.15547 +netbsdelf*-gnu)
11.15548 + version_type=linux
11.15549 + need_lib_prefix=no
11.15550 + need_version=no
11.15551 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.15552 + soname_spec='${libname}${release}${shared_ext}$major'
11.15553 + shlibpath_var=LD_LIBRARY_PATH
11.15554 + shlibpath_overrides_runpath=no
11.15555 + hardcode_into_libs=yes
11.15556 + dynamic_linker='NetBSD ld.elf_so'
11.15557 + ;;
11.15558 +
11.15559 +knetbsd*-gnu)
11.15560 + version_type=linux
11.15561 + need_lib_prefix=no
11.15562 + need_version=no
11.15563 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.15564 + soname_spec='${libname}${release}${shared_ext}$major'
11.15565 + shlibpath_var=LD_LIBRARY_PATH
11.15566 + shlibpath_overrides_runpath=no
11.15567 + hardcode_into_libs=yes
11.15568 + dynamic_linker='GNU ld.so'
11.15569 + ;;
11.15570 +
11.15571 +netbsd*)
11.15572 + version_type=sunos
11.15573 + need_lib_prefix=no
11.15574 + need_version=no
11.15575 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.15576 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.15577 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.15578 + dynamic_linker='NetBSD (a.out) ld.so'
11.15579 + else
11.15580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.15581 + soname_spec='${libname}${release}${shared_ext}$major'
11.15582 + dynamic_linker='NetBSD ld.elf_so'
11.15583 + fi
11.15584 + shlibpath_var=LD_LIBRARY_PATH
11.15585 + shlibpath_overrides_runpath=yes
11.15586 + hardcode_into_libs=yes
11.15587 + ;;
11.15588 +
11.15589 +newsos6)
11.15590 + version_type=linux
11.15591 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15592 + shlibpath_var=LD_LIBRARY_PATH
11.15593 + shlibpath_overrides_runpath=yes
11.15594 + ;;
11.15595 +
11.15596 +nto-qnx*)
11.15597 + version_type=linux
11.15598 + need_lib_prefix=no
11.15599 + need_version=no
11.15600 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15601 + soname_spec='${libname}${release}${shared_ext}$major'
11.15602 + shlibpath_var=LD_LIBRARY_PATH
11.15603 + shlibpath_overrides_runpath=yes
11.15604 + ;;
11.15605 +
11.15606 +openbsd*)
11.15607 + version_type=sunos
11.15608 + need_lib_prefix=no
11.15609 + need_version=yes
11.15610 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.15611 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.15612 + shlibpath_var=LD_LIBRARY_PATH
11.15613 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.15614 + case $host_os in
11.15615 + openbsd2.[89] | openbsd2.[89].*)
11.15616 + shlibpath_overrides_runpath=no
11.15617 + ;;
11.15618 + *)
11.15619 + shlibpath_overrides_runpath=yes
11.15620 + ;;
11.15621 + esac
11.15622 + else
11.15623 + shlibpath_overrides_runpath=yes
11.15624 + fi
11.15625 + ;;
11.15626 +
11.15627 +os2*)
11.15628 + libname_spec='$name'
11.15629 + shrext_cmds=".dll"
11.15630 + need_lib_prefix=no
11.15631 + library_names_spec='$libname${shared_ext} $libname.a'
11.15632 + dynamic_linker='OS/2 ld.exe'
11.15633 + shlibpath_var=LIBPATH
11.15634 + ;;
11.15635 +
11.15636 +osf3* | osf4* | osf5*)
11.15637 + version_type=osf
11.15638 + need_lib_prefix=no
11.15639 + need_version=no
11.15640 + soname_spec='${libname}${release}${shared_ext}$major'
11.15641 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15642 + shlibpath_var=LD_LIBRARY_PATH
11.15643 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11.15644 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11.15645 + ;;
11.15646 +
11.15647 +sco3.2v5*)
11.15648 + version_type=osf
11.15649 + soname_spec='${libname}${release}${shared_ext}$major'
11.15650 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15651 + shlibpath_var=LD_LIBRARY_PATH
11.15652 + ;;
11.15653 +
11.15654 +solaris*)
11.15655 + version_type=linux
11.15656 + need_lib_prefix=no
11.15657 + need_version=no
11.15658 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15659 + soname_spec='${libname}${release}${shared_ext}$major'
11.15660 + shlibpath_var=LD_LIBRARY_PATH
11.15661 + shlibpath_overrides_runpath=yes
11.15662 + hardcode_into_libs=yes
11.15663 + # ldd complains unless libraries are executable
11.15664 + postinstall_cmds='chmod +x $lib'
11.15665 + ;;
11.15666 +
11.15667 +sunos4*)
11.15668 + version_type=sunos
11.15669 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.15670 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11.15671 + shlibpath_var=LD_LIBRARY_PATH
11.15672 + shlibpath_overrides_runpath=yes
11.15673 + if test "$with_gnu_ld" = yes; then
11.15674 + need_lib_prefix=no
11.15675 + fi
11.15676 + need_version=yes
11.15677 + ;;
11.15678 +
11.15679 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.15680 + version_type=linux
11.15681 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15682 + soname_spec='${libname}${release}${shared_ext}$major'
11.15683 + shlibpath_var=LD_LIBRARY_PATH
11.15684 + case $host_vendor in
11.15685 + sni)
11.15686 + shlibpath_overrides_runpath=no
11.15687 + need_lib_prefix=no
11.15688 + export_dynamic_flag_spec='${wl}-Blargedynsym'
11.15689 + runpath_var=LD_RUN_PATH
11.15690 + ;;
11.15691 + siemens)
11.15692 + need_lib_prefix=no
11.15693 + ;;
11.15694 + motorola)
11.15695 + need_lib_prefix=no
11.15696 + need_version=no
11.15697 + shlibpath_overrides_runpath=no
11.15698 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11.15699 + ;;
11.15700 + esac
11.15701 + ;;
11.15702 +
11.15703 +sysv4*MP*)
11.15704 + if test -d /usr/nec ;then
11.15705 + version_type=linux
11.15706 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11.15707 + soname_spec='$libname${shared_ext}.$major'
11.15708 + shlibpath_var=LD_LIBRARY_PATH
11.15709 + fi
11.15710 + ;;
11.15711 +
11.15712 +uts4*)
11.15713 + version_type=linux
11.15714 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.15715 + soname_spec='${libname}${release}${shared_ext}$major'
11.15716 + shlibpath_var=LD_LIBRARY_PATH
11.15717 + ;;
11.15718 +
11.15719 +*)
11.15720 + dynamic_linker=no
11.15721 + ;;
11.15722 +esac
11.15723 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11.15724 +echo "${ECHO_T}$dynamic_linker" >&6; }
11.15725 +test "$dynamic_linker" = no && can_build_shared=no
11.15726 +
11.15727 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11.15728 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11.15729 +hardcode_action_F77=
11.15730 +if test -n "$hardcode_libdir_flag_spec_F77" || \
11.15731 + test -n "$runpath_var F77" || \
11.15732 + test "X$hardcode_automatic_F77"="Xyes" ; then
11.15733 +
11.15734 + # We can hardcode non-existant directories.
11.15735 + if test "$hardcode_direct_F77" != no &&
11.15736 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
11.15737 + # have to relink, otherwise we might link with an installed library
11.15738 + # when we should be linking with a yet-to-be-installed one
11.15739 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
11.15740 + test "$hardcode_minus_L_F77" != no; then
11.15741 + # Linking always hardcodes the temporary library directory.
11.15742 + hardcode_action_F77=relink
11.15743 + else
11.15744 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
11.15745 + hardcode_action_F77=immediate
11.15746 + fi
11.15747 +else
11.15748 + # We cannot hardcode anything, or else we can only hardcode existing
11.15749 + # directories.
11.15750 + hardcode_action_F77=unsupported
11.15751 +fi
11.15752 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
11.15753 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
11.15754 +
11.15755 +if test "$hardcode_action_F77" = relink; then
11.15756 + # Fast installation is not supported
11.15757 + enable_fast_install=no
11.15758 +elif test "$shlibpath_overrides_runpath" = yes ||
11.15759 + test "$enable_shared" = no; then
11.15760 + # Fast installation is not necessary
11.15761 + enable_fast_install=needless
11.15762 +fi
11.15763 +
11.15764 +striplib=
11.15765 +old_striplib=
11.15766 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11.15767 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11.15768 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11.15769 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11.15770 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11.15771 + { echo "$as_me:$LINENO: result: yes" >&5
11.15772 +echo "${ECHO_T}yes" >&6; }
11.15773 +else
11.15774 +# FIXME - insert some real tests, host_os isn't really good enough
11.15775 + case $host_os in
11.15776 + darwin*)
11.15777 + if test -n "$STRIP" ; then
11.15778 + striplib="$STRIP -x"
11.15779 + { echo "$as_me:$LINENO: result: yes" >&5
11.15780 +echo "${ECHO_T}yes" >&6; }
11.15781 + else
11.15782 + { echo "$as_me:$LINENO: result: no" >&5
11.15783 +echo "${ECHO_T}no" >&6; }
11.15784 +fi
11.15785 + ;;
11.15786 + *)
11.15787 + { echo "$as_me:$LINENO: result: no" >&5
11.15788 +echo "${ECHO_T}no" >&6; }
11.15789 + ;;
11.15790 + esac
11.15791 +fi
11.15792 +
11.15793 +
11.15794 +
11.15795 +# The else clause should only fire when bootstrapping the
11.15796 +# libtool distribution, otherwise you forgot to ship ltmain.sh
11.15797 +# with your package, and you will get complaints that there are
11.15798 +# no rules to generate ltmain.sh.
11.15799 +if test -f "$ltmain"; then
11.15800 + # See if we are running on zsh, and set the options which allow our commands through
11.15801 + # without removal of \ escapes.
11.15802 + if test -n "${ZSH_VERSION+set}" ; then
11.15803 + setopt NO_GLOB_SUBST
11.15804 + fi
11.15805 + # Now quote all the things that may contain metacharacters while being
11.15806 + # careful not to overquote the AC_SUBSTed values. We take copies of the
11.15807 + # variables and quote the copies for generation of the libtool script.
11.15808 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11.15809 + SED SHELL STRIP \
11.15810 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11.15811 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11.15812 + deplibs_check_method reload_flag reload_cmds need_locks \
11.15813 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11.15814 + lt_cv_sys_global_symbol_to_c_name_address \
11.15815 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11.15816 + old_postinstall_cmds old_postuninstall_cmds \
11.15817 + compiler_F77 \
11.15818 + CC_F77 \
11.15819 + LD_F77 \
11.15820 + lt_prog_compiler_wl_F77 \
11.15821 + lt_prog_compiler_pic_F77 \
11.15822 + lt_prog_compiler_static_F77 \
11.15823 + lt_prog_compiler_no_builtin_flag_F77 \
11.15824 + export_dynamic_flag_spec_F77 \
11.15825 + thread_safe_flag_spec_F77 \
11.15826 + whole_archive_flag_spec_F77 \
11.15827 + enable_shared_with_static_runtimes_F77 \
11.15828 + old_archive_cmds_F77 \
11.15829 + old_archive_from_new_cmds_F77 \
11.15830 + predep_objects_F77 \
11.15831 + postdep_objects_F77 \
11.15832 + predeps_F77 \
11.15833 + postdeps_F77 \
11.15834 + compiler_lib_search_path_F77 \
11.15835 + archive_cmds_F77 \
11.15836 + archive_expsym_cmds_F77 \
11.15837 + postinstall_cmds_F77 \
11.15838 + postuninstall_cmds_F77 \
11.15839 + old_archive_from_expsyms_cmds_F77 \
11.15840 + allow_undefined_flag_F77 \
11.15841 + no_undefined_flag_F77 \
11.15842 + export_symbols_cmds_F77 \
11.15843 + hardcode_libdir_flag_spec_F77 \
11.15844 + hardcode_libdir_flag_spec_ld_F77 \
11.15845 + hardcode_libdir_separator_F77 \
11.15846 + hardcode_automatic_F77 \
11.15847 + module_cmds_F77 \
11.15848 + module_expsym_cmds_F77 \
11.15849 + lt_cv_prog_compiler_c_o_F77 \
11.15850 + exclude_expsyms_F77 \
11.15851 + include_expsyms_F77; do
11.15852 +
11.15853 + case $var in
11.15854 + old_archive_cmds_F77 | \
11.15855 + old_archive_from_new_cmds_F77 | \
11.15856 + archive_cmds_F77 | \
11.15857 + archive_expsym_cmds_F77 | \
11.15858 + module_cmds_F77 | \
11.15859 + module_expsym_cmds_F77 | \
11.15860 + old_archive_from_expsyms_cmds_F77 | \
11.15861 + export_symbols_cmds_F77 | \
11.15862 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
11.15863 + postinstall_cmds | postuninstall_cmds | \
11.15864 + old_postinstall_cmds | old_postuninstall_cmds | \
11.15865 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11.15866 + # Double-quote double-evaled strings.
11.15867 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11.15868 + ;;
11.15869 + *)
11.15870 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11.15871 + ;;
11.15872 + esac
11.15873 + done
11.15874 +
11.15875 + case $lt_echo in
11.15876 + *'\$0 --fallback-echo"')
11.15877 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11.15878 + ;;
11.15879 + esac
11.15880 +
11.15881 +cfgfile="$ofile"
11.15882 +
11.15883 + cat <<__EOF__ >> "$cfgfile"
11.15884 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
11.15885 +
11.15886 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11.15887 +
11.15888 +# Shell to use when invoking shell scripts.
11.15889 +SHELL=$lt_SHELL
11.15890 +
11.15891 +# Whether or not to build shared libraries.
11.15892 +build_libtool_libs=$enable_shared
11.15893 +
11.15894 +# Whether or not to build static libraries.
11.15895 +build_old_libs=$enable_static
11.15896 +
11.15897 +# Whether or not to add -lc for building shared libraries.
11.15898 +build_libtool_need_lc=$archive_cmds_need_lc_F77
11.15899 +
11.15900 +# Whether or not to disallow shared libs when runtime libs are static
11.15901 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
11.15902 +
11.15903 +# Whether or not to optimize for fast installation.
11.15904 +fast_install=$enable_fast_install
11.15905 +
11.15906 +# The host system.
11.15907 +host_alias=$host_alias
11.15908 +host=$host
11.15909 +
11.15910 +# An echo program that does not interpret backslashes.
11.15911 +echo=$lt_echo
11.15912 +
11.15913 +# The archiver.
11.15914 +AR=$lt_AR
11.15915 +AR_FLAGS=$lt_AR_FLAGS
11.15916 +
11.15917 +# A C compiler.
11.15918 +LTCC=$lt_LTCC
11.15919 +
11.15920 +# A language-specific compiler.
11.15921 +CC=$lt_compiler_F77
11.15922 +
11.15923 +# Is the compiler the GNU C compiler?
11.15924 +with_gcc=$GCC_F77
11.15925 +
11.15926 +# An ERE matcher.
11.15927 +EGREP=$lt_EGREP
11.15928 +
11.15929 +# The linker used to build libraries.
11.15930 +LD=$lt_LD_F77
11.15931 +
11.15932 +# Whether we need hard or soft links.
11.15933 +LN_S=$lt_LN_S
11.15934 +
11.15935 +# A BSD-compatible nm program.
11.15936 +NM=$lt_NM
11.15937 +
11.15938 +# A symbol stripping program
11.15939 +STRIP=$lt_STRIP
11.15940 +
11.15941 +# Used to examine libraries when file_magic_cmd begins "file"
11.15942 +MAGIC_CMD=$MAGIC_CMD
11.15943 +
11.15944 +# Used on cygwin: DLL creation program.
11.15945 +DLLTOOL="$DLLTOOL"
11.15946 +
11.15947 +# Used on cygwin: object dumper.
11.15948 +OBJDUMP="$OBJDUMP"
11.15949 +
11.15950 +# Used on cygwin: assembler.
11.15951 +AS="$AS"
11.15952 +
11.15953 +# The name of the directory that contains temporary libtool files.
11.15954 +objdir=$objdir
11.15955 +
11.15956 +# How to create reloadable object files.
11.15957 +reload_flag=$lt_reload_flag
11.15958 +reload_cmds=$lt_reload_cmds
11.15959 +
11.15960 +# How to pass a linker flag through the compiler.
11.15961 +wl=$lt_lt_prog_compiler_wl_F77
11.15962 +
11.15963 +# Object file suffix (normally "o").
11.15964 +objext="$ac_objext"
11.15965 +
11.15966 +# Old archive suffix (normally "a").
11.15967 +libext="$libext"
11.15968 +
11.15969 +# Shared library suffix (normally ".so").
11.15970 +shrext_cmds='$shrext_cmds'
11.15971 +
11.15972 +# Executable file suffix (normally "").
11.15973 +exeext="$exeext"
11.15974 +
11.15975 +# Additional compiler flags for building library objects.
11.15976 +pic_flag=$lt_lt_prog_compiler_pic_F77
11.15977 +pic_mode=$pic_mode
11.15978 +
11.15979 +# What is the maximum length of a command?
11.15980 +max_cmd_len=$lt_cv_sys_max_cmd_len
11.15981 +
11.15982 +# Does compiler simultaneously support -c and -o options?
11.15983 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
11.15984 +
11.15985 +# Must we lock files when doing compilation ?
11.15986 +need_locks=$lt_need_locks
11.15987 +
11.15988 +# Do we need the lib prefix for modules?
11.15989 +need_lib_prefix=$need_lib_prefix
11.15990 +
11.15991 +# Do we need a version for libraries?
11.15992 +need_version=$need_version
11.15993 +
11.15994 +# Whether dlopen is supported.
11.15995 +dlopen_support=$enable_dlopen
11.15996 +
11.15997 +# Whether dlopen of programs is supported.
11.15998 +dlopen_self=$enable_dlopen_self
11.15999 +
11.16000 +# Whether dlopen of statically linked programs is supported.
11.16001 +dlopen_self_static=$enable_dlopen_self_static
11.16002 +
11.16003 +# Compiler flag to prevent dynamic linking.
11.16004 +link_static_flag=$lt_lt_prog_compiler_static_F77
11.16005 +
11.16006 +# Compiler flag to turn off builtin functions.
11.16007 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
11.16008 +
11.16009 +# Compiler flag to allow reflexive dlopens.
11.16010 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
11.16011 +
11.16012 +# Compiler flag to generate shared objects directly from archives.
11.16013 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
11.16014 +
11.16015 +# Compiler flag to generate thread-safe objects.
11.16016 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
11.16017 +
11.16018 +# Library versioning type.
11.16019 +version_type=$version_type
11.16020 +
11.16021 +# Format of library name prefix.
11.16022 +libname_spec=$lt_libname_spec
11.16023 +
11.16024 +# List of archive names. First name is the real one, the rest are links.
11.16025 +# The last name is the one that the linker finds with -lNAME.
11.16026 +library_names_spec=$lt_library_names_spec
11.16027 +
11.16028 +# The coded name of the library, if different from the real name.
11.16029 +soname_spec=$lt_soname_spec
11.16030 +
11.16031 +# Commands used to build and install an old-style archive.
11.16032 +RANLIB=$lt_RANLIB
11.16033 +old_archive_cmds=$lt_old_archive_cmds_F77
11.16034 +old_postinstall_cmds=$lt_old_postinstall_cmds
11.16035 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
11.16036 +
11.16037 +# Create an old-style archive from a shared archive.
11.16038 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
11.16039 +
11.16040 +# Create a temporary old-style archive to link instead of a shared archive.
11.16041 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
11.16042 +
11.16043 +# Commands used to build and install a shared archive.
11.16044 +archive_cmds=$lt_archive_cmds_F77
11.16045 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
11.16046 +postinstall_cmds=$lt_postinstall_cmds
11.16047 +postuninstall_cmds=$lt_postuninstall_cmds
11.16048 +
11.16049 +# Commands used to build a loadable module (assumed same as above if empty)
11.16050 +module_cmds=$lt_module_cmds_F77
11.16051 +module_expsym_cmds=$lt_module_expsym_cmds_F77
11.16052 +
11.16053 +# Commands to strip libraries.
11.16054 +old_striplib=$lt_old_striplib
11.16055 +striplib=$lt_striplib
11.16056 +
11.16057 +# Dependencies to place before the objects being linked to create a
11.16058 +# shared library.
11.16059 +predep_objects=$lt_predep_objects_F77
11.16060 +
11.16061 +# Dependencies to place after the objects being linked to create a
11.16062 +# shared library.
11.16063 +postdep_objects=$lt_postdep_objects_F77
11.16064 +
11.16065 +# Dependencies to place before the objects being linked to create a
11.16066 +# shared library.
11.16067 +predeps=$lt_predeps_F77
11.16068 +
11.16069 +# Dependencies to place after the objects being linked to create a
11.16070 +# shared library.
11.16071 +postdeps=$lt_postdeps_F77
11.16072 +
11.16073 +# The library search path used internally by the compiler when linking
11.16074 +# a shared library.
11.16075 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
11.16076 +
11.16077 +# Method to check whether dependent libraries are shared objects.
11.16078 +deplibs_check_method=$lt_deplibs_check_method
11.16079 +
11.16080 +# Command to use when deplibs_check_method == file_magic.
11.16081 +file_magic_cmd=$lt_file_magic_cmd
11.16082 +
11.16083 +# Flag that allows shared libraries with undefined symbols to be built.
11.16084 +allow_undefined_flag=$lt_allow_undefined_flag_F77
11.16085 +
11.16086 +# Flag that forces no undefined symbols.
11.16087 +no_undefined_flag=$lt_no_undefined_flag_F77
11.16088 +
11.16089 +# Commands used to finish a libtool library installation in a directory.
11.16090 +finish_cmds=$lt_finish_cmds
11.16091 +
11.16092 +# Same as above, but a single script fragment to be evaled but not shown.
11.16093 +finish_eval=$lt_finish_eval
11.16094 +
11.16095 +# Take the output of nm and produce a listing of raw symbols and C names.
11.16096 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11.16097 +
11.16098 +# Transform the output of nm in a proper C declaration
11.16099 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11.16100 +
11.16101 +# Transform the output of nm in a C name address pair
11.16102 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11.16103 +
11.16104 +# This is the shared library runtime path variable.
11.16105 +runpath_var=$runpath_var
11.16106 +
11.16107 +# This is the shared library path variable.
11.16108 +shlibpath_var=$shlibpath_var
11.16109 +
11.16110 +# Is shlibpath searched before the hard-coded library search path?
11.16111 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11.16112 +
11.16113 +# How to hardcode a shared library path into an executable.
11.16114 +hardcode_action=$hardcode_action_F77
11.16115 +
11.16116 +# Whether we should hardcode library paths into libraries.
11.16117 +hardcode_into_libs=$hardcode_into_libs
11.16118 +
11.16119 +# Flag to hardcode \$libdir into a binary during linking.
11.16120 +# This must work even if \$libdir does not exist.
11.16121 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
11.16122 +
11.16123 +# If ld is used when linking, flag to hardcode \$libdir into
11.16124 +# a binary during linking. This must work even if \$libdir does
11.16125 +# not exist.
11.16126 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
11.16127 +
11.16128 +# Whether we need a single -rpath flag with a separated argument.
11.16129 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
11.16130 +
11.16131 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11.16132 +# resulting binary.
11.16133 +hardcode_direct=$hardcode_direct_F77
11.16134 +
11.16135 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11.16136 +# resulting binary.
11.16137 +hardcode_minus_L=$hardcode_minus_L_F77
11.16138 +
11.16139 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11.16140 +# the resulting binary.
11.16141 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
11.16142 +
11.16143 +# Set to yes if building a shared library automatically hardcodes DIR into the library
11.16144 +# and all subsequent libraries and executables linked against it.
11.16145 +hardcode_automatic=$hardcode_automatic_F77
11.16146 +
11.16147 +# Variables whose values should be saved in libtool wrapper scripts and
11.16148 +# restored at relink time.
11.16149 +variables_saved_for_relink="$variables_saved_for_relink"
11.16150 +
11.16151 +# Whether libtool must link a program against all its dependency libraries.
11.16152 +link_all_deplibs=$link_all_deplibs_F77
11.16153 +
11.16154 +# Compile-time system search path for libraries
11.16155 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11.16156 +
11.16157 +# Run-time system search path for libraries
11.16158 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11.16159 +
11.16160 +# Fix the shell variable \$srcfile for the compiler.
11.16161 +fix_srcfile_path="$fix_srcfile_path_F77"
11.16162 +
11.16163 +# Set to yes if exported symbols are required.
11.16164 +always_export_symbols=$always_export_symbols_F77
11.16165 +
11.16166 +# The commands to list exported symbols.
11.16167 +export_symbols_cmds=$lt_export_symbols_cmds_F77
11.16168 +
11.16169 +# The commands to extract the exported symbol list from a shared archive.
11.16170 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
11.16171 +
11.16172 +# Symbols that should not be listed in the preloaded symbols.
11.16173 +exclude_expsyms=$lt_exclude_expsyms_F77
11.16174 +
11.16175 +# Symbols that must always be exported.
11.16176 +include_expsyms=$lt_include_expsyms_F77
11.16177 +
11.16178 +# ### END LIBTOOL TAG CONFIG: $tagname
11.16179 +
11.16180 +__EOF__
11.16181 +
11.16182 +
11.16183 +else
11.16184 + # If there is no Makefile yet, we rely on a make rule to execute
11.16185 + # `config.status --recheck' to rerun these tests and create the
11.16186 + # libtool script then.
11.16187 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11.16188 + if test -f "$ltmain_in"; then
11.16189 + test -f Makefile && make "$ltmain"
11.16190 + fi
11.16191 +fi
11.16192 +
11.16193 +
11.16194 +ac_ext=c
11.16195 +ac_cpp='$CPP $CPPFLAGS'
11.16196 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.16197 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.16198 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.16199 +
11.16200 +CC="$lt_save_CC"
11.16201 +
11.16202 + else
11.16203 + tagname=""
11.16204 + fi
11.16205 + ;;
11.16206 +
11.16207 + GCJ)
11.16208 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
11.16209 +
11.16210 +
11.16211 +# Source file extension for Java test sources.
11.16212 +ac_ext=java
11.16213 +
11.16214 +# Object file extension for compiled Java test sources.
11.16215 +objext=o
11.16216 +objext_GCJ=$objext
11.16217 +
11.16218 +# Code to be used in simple compile tests
11.16219 +lt_simple_compile_test_code="class foo {}\n"
11.16220 +
11.16221 +# Code to be used in simple link tests
11.16222 +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
11.16223 +
11.16224 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11.16225 +
11.16226 +# If no C compiler was specified, use CC.
11.16227 +LTCC=${LTCC-"$CC"}
11.16228 +
11.16229 +# Allow CC to be a program name with arguments.
11.16230 +compiler=$CC
11.16231 +
11.16232 +
11.16233 +# Allow CC to be a program name with arguments.
11.16234 +lt_save_CC="$CC"
11.16235 +CC=${GCJ-"gcj"}
11.16236 +compiler=$CC
11.16237 +compiler_GCJ=$CC
11.16238 +
11.16239 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
11.16240 +archive_cmds_need_lc_GCJ=no
11.16241 +
11.16242 +## CAVEAT EMPTOR:
11.16243 +## There is no encapsulation within the following macros, do not change
11.16244 +## the running order or otherwise move them around unless you know exactly
11.16245 +## what you are doing...
11.16246 +
11.16247 +lt_prog_compiler_no_builtin_flag_GCJ=
11.16248 +
11.16249 +if test "$GCC" = yes; then
11.16250 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
11.16251 +
11.16252 +
11.16253 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11.16254 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
11.16255 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11.16256 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.16257 +else
11.16258 + lt_cv_prog_compiler_rtti_exceptions=no
11.16259 + ac_outfile=conftest.$ac_objext
11.16260 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.16261 + lt_compiler_flag="-fno-rtti -fno-exceptions"
11.16262 + # Insert the option either (1) after the last *FLAGS variable, or
11.16263 + # (2) before a word containing "conftest.", or (3) at the end.
11.16264 + # Note that $ac_compile itself does not contain backslashes and begins
11.16265 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.16266 + # The option is referenced via a variable to avoid confusing sed.
11.16267 + lt_compile=`echo "$ac_compile" | $SED \
11.16268 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.16269 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.16270 + -e 's:$: $lt_compiler_flag:'`
11.16271 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.16272 + (eval "$lt_compile" 2>conftest.err)
11.16273 + ac_status=$?
11.16274 + cat conftest.err >&5
11.16275 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.16276 + if (exit $ac_status) && test -s "$ac_outfile"; then
11.16277 + # The compiler can only warn and ignore the option if not recognized
11.16278 + # So say no if there are warnings
11.16279 + if test ! -s conftest.err; then
11.16280 + lt_cv_prog_compiler_rtti_exceptions=yes
11.16281 + fi
11.16282 + fi
11.16283 + $rm conftest*
11.16284 +
11.16285 +fi
11.16286 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11.16287 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11.16288 +
11.16289 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11.16290 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
11.16291 +else
11.16292 + :
11.16293 +fi
11.16294 +
11.16295 +fi
11.16296 +
11.16297 +lt_prog_compiler_wl_GCJ=
11.16298 +lt_prog_compiler_pic_GCJ=
11.16299 +lt_prog_compiler_static_GCJ=
11.16300 +
11.16301 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11.16302 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11.16303 +
11.16304 + if test "$GCC" = yes; then
11.16305 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16306 + lt_prog_compiler_static_GCJ='-static'
11.16307 +
11.16308 + case $host_os in
11.16309 + aix*)
11.16310 + # All AIX code is PIC.
11.16311 + if test "$host_cpu" = ia64; then
11.16312 + # AIX 5 now supports IA64 processor
11.16313 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16314 + fi
11.16315 + ;;
11.16316 +
11.16317 + amigaos*)
11.16318 + # FIXME: we need at least 68020 code to build shared libraries, but
11.16319 + # adding the `-m68020' flag to GCC prevents building anything better,
11.16320 + # like `-m68040'.
11.16321 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
11.16322 + ;;
11.16323 +
11.16324 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11.16325 + # PIC is the default for these OSes.
11.16326 + ;;
11.16327 +
11.16328 + mingw* | pw32* | os2*)
11.16329 + # This hack is so that the source file can tell whether it is being
11.16330 + # built for inclusion in a dll (and should export symbols for example).
11.16331 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
11.16332 + ;;
11.16333 +
11.16334 + darwin* | rhapsody*)
11.16335 + # PIC is the default on this platform
11.16336 + # Common symbols not allowed in MH_DYLIB files
11.16337 + lt_prog_compiler_pic_GCJ='-fno-common'
11.16338 + ;;
11.16339 +
11.16340 + msdosdjgpp*)
11.16341 + # Just because we use GCC doesn't mean we suddenly get shared libraries
11.16342 + # on systems that don't support them.
11.16343 + lt_prog_compiler_can_build_shared_GCJ=no
11.16344 + enable_shared=no
11.16345 + ;;
11.16346 +
11.16347 + sysv4*MP*)
11.16348 + if test -d /usr/nec; then
11.16349 + lt_prog_compiler_pic_GCJ=-Kconform_pic
11.16350 + fi
11.16351 + ;;
11.16352 +
11.16353 + hpux*)
11.16354 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.16355 + # not for PA HP-UX.
11.16356 + case "$host_cpu" in
11.16357 + hppa*64*|ia64*)
11.16358 + # +Z the default
11.16359 + ;;
11.16360 + *)
11.16361 + lt_prog_compiler_pic_GCJ='-fPIC'
11.16362 + ;;
11.16363 + esac
11.16364 + ;;
11.16365 +
11.16366 + *)
11.16367 + lt_prog_compiler_pic_GCJ='-fPIC'
11.16368 + ;;
11.16369 + esac
11.16370 + else
11.16371 + # PORTME Check for flag to pass linker flags through the system compiler.
11.16372 + case $host_os in
11.16373 + aix*)
11.16374 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16375 + if test "$host_cpu" = ia64; then
11.16376 + # AIX 5 now supports IA64 processor
11.16377 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16378 + else
11.16379 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
11.16380 + fi
11.16381 + ;;
11.16382 +
11.16383 + mingw* | pw32* | os2*)
11.16384 + # This hack is so that the source file can tell whether it is being
11.16385 + # built for inclusion in a dll (and should export symbols for example).
11.16386 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
11.16387 + ;;
11.16388 +
11.16389 + hpux9* | hpux10* | hpux11*)
11.16390 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16391 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11.16392 + # not for PA HP-UX.
11.16393 + case "$host_cpu" in
11.16394 + hppa*64*|ia64*)
11.16395 + # +Z the default
11.16396 + ;;
11.16397 + *)
11.16398 + lt_prog_compiler_pic_GCJ='+Z'
11.16399 + ;;
11.16400 + esac
11.16401 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
11.16402 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
11.16403 + ;;
11.16404 +
11.16405 + irix5* | irix6* | nonstopux*)
11.16406 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16407 + # PIC (with -KPIC) is the default.
11.16408 + lt_prog_compiler_static_GCJ='-non_shared'
11.16409 + ;;
11.16410 +
11.16411 + newsos6)
11.16412 + lt_prog_compiler_pic_GCJ='-KPIC'
11.16413 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16414 + ;;
11.16415 +
11.16416 + linux*)
11.16417 + case $CC in
11.16418 + icc* | ecc*)
11.16419 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16420 + lt_prog_compiler_pic_GCJ='-KPIC'
11.16421 + lt_prog_compiler_static_GCJ='-static'
11.16422 + ;;
11.16423 + ccc*)
11.16424 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16425 + # All Alpha code is PIC.
11.16426 + lt_prog_compiler_static_GCJ='-non_shared'
11.16427 + ;;
11.16428 + esac
11.16429 + ;;
11.16430 +
11.16431 + osf3* | osf4* | osf5*)
11.16432 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16433 + # All OSF/1 code is PIC.
11.16434 + lt_prog_compiler_static_GCJ='-non_shared'
11.16435 + ;;
11.16436 +
11.16437 + sco3.2v5*)
11.16438 + lt_prog_compiler_pic_GCJ='-Kpic'
11.16439 + lt_prog_compiler_static_GCJ='-dn'
11.16440 + ;;
11.16441 +
11.16442 + solaris*)
11.16443 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16444 + lt_prog_compiler_pic_GCJ='-KPIC'
11.16445 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16446 + ;;
11.16447 +
11.16448 + sunos4*)
11.16449 + lt_prog_compiler_wl_GCJ='-Qoption ld '
11.16450 + lt_prog_compiler_pic_GCJ='-PIC'
11.16451 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16452 + ;;
11.16453 +
11.16454 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.16455 + lt_prog_compiler_wl_GCJ='-Wl,'
11.16456 + lt_prog_compiler_pic_GCJ='-KPIC'
11.16457 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16458 + ;;
11.16459 +
11.16460 + sysv4*MP*)
11.16461 + if test -d /usr/nec ;then
11.16462 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
11.16463 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16464 + fi
11.16465 + ;;
11.16466 +
11.16467 + uts4*)
11.16468 + lt_prog_compiler_pic_GCJ='-pic'
11.16469 + lt_prog_compiler_static_GCJ='-Bstatic'
11.16470 + ;;
11.16471 +
11.16472 + *)
11.16473 + lt_prog_compiler_can_build_shared_GCJ=no
11.16474 + ;;
11.16475 + esac
11.16476 + fi
11.16477 +
11.16478 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
11.16479 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
11.16480 +
11.16481 +#
11.16482 +# Check to make sure the PIC flag actually works.
11.16483 +#
11.16484 +if test -n "$lt_prog_compiler_pic_GCJ"; then
11.16485 +
11.16486 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
11.16487 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
11.16488 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
11.16489 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.16490 +else
11.16491 + lt_prog_compiler_pic_works_GCJ=no
11.16492 + ac_outfile=conftest.$ac_objext
11.16493 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.16494 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
11.16495 + # Insert the option either (1) after the last *FLAGS variable, or
11.16496 + # (2) before a word containing "conftest.", or (3) at the end.
11.16497 + # Note that $ac_compile itself does not contain backslashes and begins
11.16498 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.16499 + # The option is referenced via a variable to avoid confusing sed.
11.16500 + lt_compile=`echo "$ac_compile" | $SED \
11.16501 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.16502 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.16503 + -e 's:$: $lt_compiler_flag:'`
11.16504 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.16505 + (eval "$lt_compile" 2>conftest.err)
11.16506 + ac_status=$?
11.16507 + cat conftest.err >&5
11.16508 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.16509 + if (exit $ac_status) && test -s "$ac_outfile"; then
11.16510 + # The compiler can only warn and ignore the option if not recognized
11.16511 + # So say no if there are warnings
11.16512 + if test ! -s conftest.err; then
11.16513 + lt_prog_compiler_pic_works_GCJ=yes
11.16514 + fi
11.16515 + fi
11.16516 + $rm conftest*
11.16517 +
11.16518 +fi
11.16519 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
11.16520 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
11.16521 +
11.16522 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
11.16523 + case $lt_prog_compiler_pic_GCJ in
11.16524 + "" | " "*) ;;
11.16525 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
11.16526 + esac
11.16527 +else
11.16528 + lt_prog_compiler_pic_GCJ=
11.16529 + lt_prog_compiler_can_build_shared_GCJ=no
11.16530 +fi
11.16531 +
11.16532 +fi
11.16533 +case "$host_os" in
11.16534 + # For platforms which do not support PIC, -DPIC is meaningless:
11.16535 + *djgpp*)
11.16536 + lt_prog_compiler_pic_GCJ=
11.16537 + ;;
11.16538 + *)
11.16539 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
11.16540 + ;;
11.16541 +esac
11.16542 +
11.16543 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11.16544 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11.16545 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
11.16546 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.16547 +else
11.16548 + lt_cv_prog_compiler_c_o_GCJ=no
11.16549 + $rm -r conftest 2>/dev/null
11.16550 + mkdir conftest
11.16551 + cd conftest
11.16552 + mkdir out
11.16553 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.16554 +
11.16555 + lt_compiler_flag="-o out/conftest2.$ac_objext"
11.16556 + # Insert the option either (1) after the last *FLAGS variable, or
11.16557 + # (2) before a word containing "conftest.", or (3) at the end.
11.16558 + # Note that $ac_compile itself does not contain backslashes and begins
11.16559 + # with a dollar sign (not a hyphen), so the echo should work correctly.
11.16560 + lt_compile=`echo "$ac_compile" | $SED \
11.16561 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11.16562 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11.16563 + -e 's:$: $lt_compiler_flag:'`
11.16564 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11.16565 + (eval "$lt_compile" 2>out/conftest.err)
11.16566 + ac_status=$?
11.16567 + cat out/conftest.err >&5
11.16568 + echo "$as_me:__oline__: \$? = $ac_status" >&5
11.16569 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
11.16570 + then
11.16571 + # The compiler can only warn and ignore the option if not recognized
11.16572 + # So say no if there are warnings
11.16573 + if test ! -s out/conftest.err; then
11.16574 + lt_cv_prog_compiler_c_o_GCJ=yes
11.16575 + fi
11.16576 + fi
11.16577 + chmod u+w .
11.16578 + $rm conftest*
11.16579 + # SGI C++ compiler will create directory out/ii_files/ for
11.16580 + # template instantiation
11.16581 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11.16582 + $rm out/* && rmdir out
11.16583 + cd ..
11.16584 + rmdir conftest
11.16585 + $rm conftest*
11.16586 +
11.16587 +fi
11.16588 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
11.16589 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
11.16590 +
11.16591 +
11.16592 +hard_links="nottested"
11.16593 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
11.16594 + # do not overwrite the value of need_locks provided by the user
11.16595 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11.16596 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11.16597 + hard_links=yes
11.16598 + $rm conftest*
11.16599 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.16600 + touch conftest.a
11.16601 + ln conftest.a conftest.b 2>&5 || hard_links=no
11.16602 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
11.16603 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11.16604 +echo "${ECHO_T}$hard_links" >&6; }
11.16605 + if test "$hard_links" = no; then
11.16606 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11.16607 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11.16608 + need_locks=warn
11.16609 + fi
11.16610 +else
11.16611 + need_locks=no
11.16612 +fi
11.16613 +
11.16614 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11.16615 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11.16616 +
11.16617 + runpath_var=
11.16618 + allow_undefined_flag_GCJ=
11.16619 + enable_shared_with_static_runtimes_GCJ=no
11.16620 + archive_cmds_GCJ=
11.16621 + archive_expsym_cmds_GCJ=
11.16622 + old_archive_From_new_cmds_GCJ=
11.16623 + old_archive_from_expsyms_cmds_GCJ=
11.16624 + export_dynamic_flag_spec_GCJ=
11.16625 + whole_archive_flag_spec_GCJ=
11.16626 + thread_safe_flag_spec_GCJ=
11.16627 + hardcode_libdir_flag_spec_GCJ=
11.16628 + hardcode_libdir_flag_spec_ld_GCJ=
11.16629 + hardcode_libdir_separator_GCJ=
11.16630 + hardcode_direct_GCJ=no
11.16631 + hardcode_minus_L_GCJ=no
11.16632 + hardcode_shlibpath_var_GCJ=unsupported
11.16633 + link_all_deplibs_GCJ=unknown
11.16634 + hardcode_automatic_GCJ=no
11.16635 + module_cmds_GCJ=
11.16636 + module_expsym_cmds_GCJ=
11.16637 + always_export_symbols_GCJ=no
11.16638 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11.16639 + # include_expsyms should be a list of space-separated symbols to be *always*
11.16640 + # included in the symbol list
11.16641 + include_expsyms_GCJ=
11.16642 + # exclude_expsyms can be an extended regexp of symbols to exclude
11.16643 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
11.16644 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11.16645 + # as well as any symbol that contains `d'.
11.16646 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
11.16647 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11.16648 + # platforms (ab)use it in PIC code, but their linkers get confused if
11.16649 + # the symbol is explicitly referenced. Since portable code cannot
11.16650 + # rely on this symbol name, it's probably fine to never include it in
11.16651 + # preloaded symbol tables.
11.16652 + extract_expsyms_cmds=
11.16653 +
11.16654 + case $host_os in
11.16655 + cygwin* | mingw* | pw32*)
11.16656 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
11.16657 + # When not using gcc, we currently assume that we are using
11.16658 + # Microsoft Visual C++.
11.16659 + if test "$GCC" != yes; then
11.16660 + with_gnu_ld=no
11.16661 + fi
11.16662 + ;;
11.16663 + openbsd*)
11.16664 + with_gnu_ld=no
11.16665 + ;;
11.16666 + esac
11.16667 +
11.16668 + ld_shlibs_GCJ=yes
11.16669 + if test "$with_gnu_ld" = yes; then
11.16670 + # If archive_cmds runs LD, not CC, wlarc should be empty
11.16671 + wlarc='${wl}'
11.16672 +
11.16673 + # See if GNU ld supports shared libraries.
11.16674 + case $host_os in
11.16675 + aix3* | aix4* | aix5*)
11.16676 + # On AIX/PPC, the GNU linker is very broken
11.16677 + if test "$host_cpu" != ia64; then
11.16678 + ld_shlibs_GCJ=no
11.16679 + cat <<EOF 1>&2
11.16680 +
11.16681 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11.16682 +*** to be unable to reliably create shared libraries on AIX.
11.16683 +*** Therefore, libtool is disabling shared libraries support. If you
11.16684 +*** really care for shared libraries, you may want to modify your PATH
11.16685 +*** so that a non-GNU linker is found, and then restart.
11.16686 +
11.16687 +EOF
11.16688 + fi
11.16689 + ;;
11.16690 +
11.16691 + amigaos*)
11.16692 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11.16693 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.16694 + hardcode_minus_L_GCJ=yes
11.16695 +
11.16696 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11.16697 + # that the semantics of dynamic libraries on AmigaOS, at least up
11.16698 + # to version 4, is to share data among multiple programs linked
11.16699 + # with the same dynamic library. Since this doesn't match the
11.16700 + # behavior of shared libraries on other platforms, we can't use
11.16701 + # them.
11.16702 + ld_shlibs_GCJ=no
11.16703 + ;;
11.16704 +
11.16705 + beos*)
11.16706 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.16707 + allow_undefined_flag_GCJ=unsupported
11.16708 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11.16709 + # support --undefined. This deserves some investigation. FIXME
11.16710 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.16711 + else
11.16712 + ld_shlibs_GCJ=no
11.16713 + fi
11.16714 + ;;
11.16715 +
11.16716 + cygwin* | mingw* | pw32*)
11.16717 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
11.16718 + # as there is no search path for DLLs.
11.16719 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.16720 + allow_undefined_flag_GCJ=unsupported
11.16721 + always_export_symbols_GCJ=no
11.16722 + enable_shared_with_static_runtimes_GCJ=yes
11.16723 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11.16724 +
11.16725 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11.16726 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.16727 + # If the export-symbols file already is a .def file (1st line
11.16728 + # is EXPORTS), use it as is; otherwise, prepend...
11.16729 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11.16730 + cp $export_symbols $output_objdir/$soname.def;
11.16731 + else
11.16732 + echo EXPORTS > $output_objdir/$soname.def;
11.16733 + cat $export_symbols >> $output_objdir/$soname.def;
11.16734 + fi~
11.16735 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11.16736 + else
11.16737 + ld_shlibs=no
11.16738 + fi
11.16739 + ;;
11.16740 +
11.16741 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.16742 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.16743 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11.16744 + wlarc=
11.16745 + else
11.16746 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.16747 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.16748 + fi
11.16749 + ;;
11.16750 +
11.16751 + solaris* | sysv5*)
11.16752 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
11.16753 + ld_shlibs_GCJ=no
11.16754 + cat <<EOF 1>&2
11.16755 +
11.16756 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11.16757 +*** create shared libraries on Solaris systems. Therefore, libtool
11.16758 +*** is disabling shared libraries support. We urge you to upgrade GNU
11.16759 +*** binutils to release 2.9.1 or newer. Another option is to modify
11.16760 +*** your PATH or compiler configuration so that the native linker is
11.16761 +*** used, and then restart.
11.16762 +
11.16763 +EOF
11.16764 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.16765 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.16766 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.16767 + else
11.16768 + ld_shlibs_GCJ=no
11.16769 + fi
11.16770 + ;;
11.16771 +
11.16772 + sunos4*)
11.16773 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.16774 + wlarc=
11.16775 + hardcode_direct_GCJ=yes
11.16776 + hardcode_shlibpath_var_GCJ=no
11.16777 + ;;
11.16778 +
11.16779 + linux*)
11.16780 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.16781 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.16782 + archive_cmds_GCJ="$tmp_archive_cmds"
11.16783 + supports_anon_versioning=no
11.16784 + case `$LD -v 2>/dev/null` in
11.16785 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11.16786 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11.16787 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11.16788 + *\ 2.11.*) ;; # other 2.11 versions
11.16789 + *) supports_anon_versioning=yes ;;
11.16790 + esac
11.16791 + if test $supports_anon_versioning = yes; then
11.16792 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
11.16793 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11.16794 +$echo "local: *; };" >> $output_objdir/$libname.ver~
11.16795 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11.16796 + else
11.16797 + archive_expsym_cmds_GCJ="$tmp_archive_cmds"
11.16798 + fi
11.16799 + link_all_deplibs_GCJ=no
11.16800 + else
11.16801 + ld_shlibs_GCJ=no
11.16802 + fi
11.16803 + ;;
11.16804 +
11.16805 + *)
11.16806 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11.16807 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11.16808 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11.16809 + else
11.16810 + ld_shlibs_GCJ=no
11.16811 + fi
11.16812 + ;;
11.16813 + esac
11.16814 +
11.16815 + if test "$ld_shlibs_GCJ" = yes; then
11.16816 + runpath_var=LD_RUN_PATH
11.16817 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
11.16818 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
11.16819 + # ancient GNU ld didn't support --whole-archive et. al.
11.16820 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
11.16821 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11.16822 + else
11.16823 + whole_archive_flag_spec_GCJ=
11.16824 + fi
11.16825 + fi
11.16826 + else
11.16827 + # PORTME fill in a description of your system's linker (not GNU ld)
11.16828 + case $host_os in
11.16829 + aix3*)
11.16830 + allow_undefined_flag_GCJ=unsupported
11.16831 + always_export_symbols_GCJ=yes
11.16832 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11.16833 + # Note: this linker hardcodes the directories in LIBPATH if there
11.16834 + # are no directories specified by -L.
11.16835 + hardcode_minus_L_GCJ=yes
11.16836 + if test "$GCC" = yes && test -z "$link_static_flag"; then
11.16837 + # Neither direct hardcoding nor static linking is supported with a
11.16838 + # broken collect2.
11.16839 + hardcode_direct_GCJ=unsupported
11.16840 + fi
11.16841 + ;;
11.16842 +
11.16843 + aix4* | aix5*)
11.16844 + if test "$host_cpu" = ia64; then
11.16845 + # On IA64, the linker does run time linking by default, so we don't
11.16846 + # have to do anything special.
11.16847 + aix_use_runtimelinking=no
11.16848 + exp_sym_flag='-Bexport'
11.16849 + no_entry_flag=""
11.16850 + else
11.16851 + # If we're using GNU nm, then we don't want the "-C" option.
11.16852 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
11.16853 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11.16854 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.16855 + else
11.16856 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11.16857 + fi
11.16858 + aix_use_runtimelinking=no
11.16859 +
11.16860 + # Test if we are trying to use run time linking or normal
11.16861 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11.16862 + # need to do runtime linking.
11.16863 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11.16864 + for ld_flag in $LDFLAGS; do
11.16865 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11.16866 + aix_use_runtimelinking=yes
11.16867 + break
11.16868 + fi
11.16869 + done
11.16870 + esac
11.16871 +
11.16872 + exp_sym_flag='-bexport'
11.16873 + no_entry_flag='-bnoentry'
11.16874 + fi
11.16875 +
11.16876 + # When large executables or shared objects are built, AIX ld can
11.16877 + # have problems creating the table of contents. If linking a library
11.16878 + # or program results in "error TOC overflow" add -mminimal-toc to
11.16879 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11.16880 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11.16881 +
11.16882 + archive_cmds_GCJ=''
11.16883 + hardcode_direct_GCJ=yes
11.16884 + hardcode_libdir_separator_GCJ=':'
11.16885 + link_all_deplibs_GCJ=yes
11.16886 +
11.16887 + if test "$GCC" = yes; then
11.16888 + case $host_os in aix4.012|aix4.012.*)
11.16889 + # We only want to do this on AIX 4.2 and lower, the check
11.16890 + # below for broken collect2 doesn't work under 4.3+
11.16891 + collect2name=`${CC} -print-prog-name=collect2`
11.16892 + if test -f "$collect2name" && \
11.16893 + strings "$collect2name" | grep resolve_lib_name >/dev/null
11.16894 + then
11.16895 + # We have reworked collect2
11.16896 + hardcode_direct_GCJ=yes
11.16897 + else
11.16898 + # We have old collect2
11.16899 + hardcode_direct_GCJ=unsupported
11.16900 + # It fails to find uninstalled libraries when the uninstalled
11.16901 + # path is not listed in the libpath. Setting hardcode_minus_L
11.16902 + # to unsupported forces relinking
11.16903 + hardcode_minus_L_GCJ=yes
11.16904 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.16905 + hardcode_libdir_separator_GCJ=
11.16906 + fi
11.16907 + esac
11.16908 + shared_flag='-shared'
11.16909 + else
11.16910 + # not using gcc
11.16911 + if test "$host_cpu" = ia64; then
11.16912 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11.16913 + # chokes on -Wl,-G. The following line is correct:
11.16914 + shared_flag='-G'
11.16915 + else
11.16916 + if test "$aix_use_runtimelinking" = yes; then
11.16917 + shared_flag='${wl}-G'
11.16918 + else
11.16919 + shared_flag='${wl}-bM:SRE'
11.16920 + fi
11.16921 + fi
11.16922 + fi
11.16923 +
11.16924 + # It seems that -bexpall does not export symbols beginning with
11.16925 + # underscore (_), so it is better to generate a list of symbols to export.
11.16926 + always_export_symbols_GCJ=yes
11.16927 + if test "$aix_use_runtimelinking" = yes; then
11.16928 + # Warning - without using the other runtime loading flags (-brtl),
11.16929 + # -berok will link without error, but may produce a broken library.
11.16930 + allow_undefined_flag_GCJ='-berok'
11.16931 + # Determine the default libpath from the value encoded in an empty executable.
11.16932 + cat >conftest.$ac_ext <<_ACEOF
11.16933 +/* confdefs.h. */
11.16934 +_ACEOF
11.16935 +cat confdefs.h >>conftest.$ac_ext
11.16936 +cat >>conftest.$ac_ext <<_ACEOF
11.16937 +/* end confdefs.h. */
11.16938 +
11.16939 +int
11.16940 +main ()
11.16941 +{
11.16942 +
11.16943 + ;
11.16944 + return 0;
11.16945 +}
11.16946 +_ACEOF
11.16947 +rm -f conftest.$ac_objext conftest$ac_exeext
11.16948 +if { (ac_try="$ac_link"
11.16949 +case "(($ac_try" in
11.16950 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.16951 + *) ac_try_echo=$ac_try;;
11.16952 +esac
11.16953 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.16954 + (eval "$ac_link") 2>conftest.er1
11.16955 + ac_status=$?
11.16956 + grep -v '^ *+' conftest.er1 >conftest.err
11.16957 + rm -f conftest.er1
11.16958 + cat conftest.err >&5
11.16959 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.16960 + (exit $ac_status); } && {
11.16961 + test -z "$ac_c_werror_flag" ||
11.16962 + test ! -s conftest.err
11.16963 + } && test -s conftest$ac_exeext &&
11.16964 + $as_test_x conftest$ac_exeext; then
11.16965 +
11.16966 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.16967 +}'`
11.16968 +# Check for a 64-bit object if we didn't find anything.
11.16969 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.16970 +}'`; fi
11.16971 +else
11.16972 + echo "$as_me: failed program was:" >&5
11.16973 +sed 's/^/| /' conftest.$ac_ext >&5
11.16974 +
11.16975 +
11.16976 +fi
11.16977 +
11.16978 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.16979 + conftest$ac_exeext conftest.$ac_ext
11.16980 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.16981 +
11.16982 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
11.16983 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11.16984 + else
11.16985 + if test "$host_cpu" = ia64; then
11.16986 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
11.16987 + allow_undefined_flag_GCJ="-z nodefs"
11.16988 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
11.16989 + else
11.16990 + # Determine the default libpath from the value encoded in an empty executable.
11.16991 + cat >conftest.$ac_ext <<_ACEOF
11.16992 +/* confdefs.h. */
11.16993 +_ACEOF
11.16994 +cat confdefs.h >>conftest.$ac_ext
11.16995 +cat >>conftest.$ac_ext <<_ACEOF
11.16996 +/* end confdefs.h. */
11.16997 +
11.16998 +int
11.16999 +main ()
11.17000 +{
11.17001 +
11.17002 + ;
11.17003 + return 0;
11.17004 +}
11.17005 +_ACEOF
11.17006 +rm -f conftest.$ac_objext conftest$ac_exeext
11.17007 +if { (ac_try="$ac_link"
11.17008 +case "(($ac_try" in
11.17009 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.17010 + *) ac_try_echo=$ac_try;;
11.17011 +esac
11.17012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.17013 + (eval "$ac_link") 2>conftest.er1
11.17014 + ac_status=$?
11.17015 + grep -v '^ *+' conftest.er1 >conftest.err
11.17016 + rm -f conftest.er1
11.17017 + cat conftest.err >&5
11.17018 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.17019 + (exit $ac_status); } && {
11.17020 + test -z "$ac_c_werror_flag" ||
11.17021 + test ! -s conftest.err
11.17022 + } && test -s conftest$ac_exeext &&
11.17023 + $as_test_x conftest$ac_exeext; then
11.17024 +
11.17025 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.17026 +}'`
11.17027 +# Check for a 64-bit object if we didn't find anything.
11.17028 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11.17029 +}'`; fi
11.17030 +else
11.17031 + echo "$as_me: failed program was:" >&5
11.17032 +sed 's/^/| /' conftest.$ac_ext >&5
11.17033 +
11.17034 +
11.17035 +fi
11.17036 +
11.17037 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.17038 + conftest$ac_exeext conftest.$ac_ext
11.17039 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11.17040 +
11.17041 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
11.17042 + # Warning - without using the other run time loading flags,
11.17043 + # -berok will link without error, but may produce a broken library.
11.17044 + no_undefined_flag_GCJ=' ${wl}-bernotok'
11.17045 + allow_undefined_flag_GCJ=' ${wl}-berok'
11.17046 + # -bexpall does not export symbols beginning with underscore (_)
11.17047 + always_export_symbols_GCJ=yes
11.17048 + # Exported symbols can be pulled into shared objects from archives
11.17049 + whole_archive_flag_spec_GCJ=' '
11.17050 + archive_cmds_need_lc_GCJ=yes
11.17051 + # This is similar to how AIX traditionally builds it's shared libraries.
11.17052 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11.17053 + fi
11.17054 + fi
11.17055 + ;;
11.17056 +
11.17057 + amigaos*)
11.17058 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11.17059 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.17060 + hardcode_minus_L_GCJ=yes
11.17061 + # see comment about different semantics on the GNU ld section
11.17062 + ld_shlibs_GCJ=no
11.17063 + ;;
11.17064 +
11.17065 + bsdi4*)
11.17066 + export_dynamic_flag_spec_GCJ=-rdynamic
11.17067 + ;;
11.17068 +
11.17069 + cygwin* | mingw* | pw32*)
11.17070 + # When not using gcc, we currently assume that we are using
11.17071 + # Microsoft Visual C++.
11.17072 + # hardcode_libdir_flag_spec is actually meaningless, as there is
11.17073 + # no search path for DLLs.
11.17074 + hardcode_libdir_flag_spec_GCJ=' '
11.17075 + allow_undefined_flag_GCJ=unsupported
11.17076 + # Tell ltmain to make .lib files, not .a files.
11.17077 + libext=lib
11.17078 + # Tell ltmain to make .dll files, not .so files.
11.17079 + shrext_cmds=".dll"
11.17080 + # FIXME: Setting linknames here is a bad hack.
11.17081 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11.17082 + # The linker will automatically build a .lib file if we build a DLL.
11.17083 + old_archive_From_new_cmds_GCJ='true'
11.17084 + # FIXME: Should let the user specify the lib program.
11.17085 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
11.17086 + fix_srcfile_path='`cygpath -w "$srcfile"`'
11.17087 + enable_shared_with_static_runtimes_GCJ=yes
11.17088 + ;;
11.17089 +
11.17090 + darwin* | rhapsody*)
11.17091 + if test "$GXX" = yes ; then
11.17092 + archive_cmds_need_lc_GCJ=no
11.17093 + case "$host_os" in
11.17094 + rhapsody* | darwin1.[012])
11.17095 + allow_undefined_flag_GCJ='-undefined suppress'
11.17096 + ;;
11.17097 + *) # Darwin 1.3 on
11.17098 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11.17099 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
11.17100 + else
11.17101 + case ${MACOSX_DEPLOYMENT_TARGET} in
11.17102 + 10.[012])
11.17103 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
11.17104 + ;;
11.17105 + 10.*)
11.17106 + allow_undefined_flag_GCJ='-undefined dynamic_lookup'
11.17107 + ;;
11.17108 + esac
11.17109 + fi
11.17110 + ;;
11.17111 + esac
11.17112 + lt_int_apple_cc_single_mod=no
11.17113 + output_verbose_link_cmd='echo'
11.17114 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11.17115 + lt_int_apple_cc_single_mod=yes
11.17116 + fi
11.17117 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.17118 + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.17119 + else
11.17120 + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11.17121 + fi
11.17122 + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11.17123 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11.17124 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11.17125 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.17126 + else
11.17127 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.17128 + fi
11.17129 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11.17130 + hardcode_direct_GCJ=no
11.17131 + hardcode_automatic_GCJ=yes
11.17132 + hardcode_shlibpath_var_GCJ=unsupported
11.17133 + whole_archive_flag_spec_GCJ='-all_load $convenience'
11.17134 + link_all_deplibs_GCJ=yes
11.17135 + else
11.17136 + ld_shlibs_GCJ=no
11.17137 + fi
11.17138 + ;;
11.17139 +
11.17140 + dgux*)
11.17141 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17142 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.17143 + hardcode_shlibpath_var_GCJ=no
11.17144 + ;;
11.17145 +
11.17146 + freebsd1*)
11.17147 + ld_shlibs_GCJ=no
11.17148 + ;;
11.17149 +
11.17150 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11.17151 + # support. Future versions do this automatically, but an explicit c++rt0.o
11.17152 + # does not break anything, and helps significantly (at the cost of a little
11.17153 + # extra space).
11.17154 + freebsd2.2*)
11.17155 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11.17156 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
11.17157 + hardcode_direct_GCJ=yes
11.17158 + hardcode_shlibpath_var_GCJ=no
11.17159 + ;;
11.17160 +
11.17161 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11.17162 + freebsd2*)
11.17163 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.17164 + hardcode_direct_GCJ=yes
11.17165 + hardcode_minus_L_GCJ=yes
11.17166 + hardcode_shlibpath_var_GCJ=no
11.17167 + ;;
11.17168 +
11.17169 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11.17170 + freebsd* | kfreebsd*-gnu)
11.17171 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11.17172 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
11.17173 + hardcode_direct_GCJ=yes
11.17174 + hardcode_shlibpath_var_GCJ=no
11.17175 + ;;
11.17176 +
11.17177 + hpux9*)
11.17178 + if test "$GCC" = yes; then
11.17179 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.17180 + else
11.17181 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11.17182 + fi
11.17183 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
11.17184 + hardcode_libdir_separator_GCJ=:
11.17185 + hardcode_direct_GCJ=yes
11.17186 +
11.17187 + # hardcode_minus_L: Not really in the search PATH,
11.17188 + # but as the default location of the library.
11.17189 + hardcode_minus_L_GCJ=yes
11.17190 + export_dynamic_flag_spec_GCJ='${wl}-E'
11.17191 + ;;
11.17192 +
11.17193 + hpux10* | hpux11*)
11.17194 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11.17195 + case "$host_cpu" in
11.17196 + hppa*64*|ia64*)
11.17197 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.17198 + ;;
11.17199 + *)
11.17200 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11.17201 + ;;
11.17202 + esac
11.17203 + else
11.17204 + case "$host_cpu" in
11.17205 + hppa*64*|ia64*)
11.17206 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17207 + ;;
11.17208 + *)
11.17209 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11.17210 + ;;
11.17211 + esac
11.17212 + fi
11.17213 + if test "$with_gnu_ld" = no; then
11.17214 + case "$host_cpu" in
11.17215 + hppa*64*)
11.17216 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
11.17217 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
11.17218 + hardcode_libdir_separator_GCJ=:
11.17219 + hardcode_direct_GCJ=no
11.17220 + hardcode_shlibpath_var_GCJ=no
11.17221 + ;;
11.17222 + ia64*)
11.17223 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.17224 + hardcode_direct_GCJ=no
11.17225 + hardcode_shlibpath_var_GCJ=no
11.17226 +
11.17227 + # hardcode_minus_L: Not really in the search PATH,
11.17228 + # but as the default location of the library.
11.17229 + hardcode_minus_L_GCJ=yes
11.17230 + ;;
11.17231 + *)
11.17232 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
11.17233 + hardcode_libdir_separator_GCJ=:
11.17234 + hardcode_direct_GCJ=yes
11.17235 + export_dynamic_flag_spec_GCJ='${wl}-E'
11.17236 +
11.17237 + # hardcode_minus_L: Not really in the search PATH,
11.17238 + # but as the default location of the library.
11.17239 + hardcode_minus_L_GCJ=yes
11.17240 + ;;
11.17241 + esac
11.17242 + fi
11.17243 + ;;
11.17244 +
11.17245 + irix5* | irix6* | nonstopux*)
11.17246 + if test "$GCC" = yes; then
11.17247 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.17248 + else
11.17249 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.17250 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
11.17251 + fi
11.17252 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
11.17253 + hardcode_libdir_separator_GCJ=:
11.17254 + link_all_deplibs_GCJ=yes
11.17255 + ;;
11.17256 +
11.17257 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11.17258 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.17259 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11.17260 + else
11.17261 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11.17262 + fi
11.17263 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
11.17264 + hardcode_direct_GCJ=yes
11.17265 + hardcode_shlibpath_var_GCJ=no
11.17266 + ;;
11.17267 +
11.17268 + newsos6)
11.17269 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17270 + hardcode_direct_GCJ=yes
11.17271 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
11.17272 + hardcode_libdir_separator_GCJ=:
11.17273 + hardcode_shlibpath_var_GCJ=no
11.17274 + ;;
11.17275 +
11.17276 + openbsd*)
11.17277 + hardcode_direct_GCJ=yes
11.17278 + hardcode_shlibpath_var_GCJ=no
11.17279 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.17280 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11.17281 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
11.17282 + export_dynamic_flag_spec_GCJ='${wl}-E'
11.17283 + else
11.17284 + case $host_os in
11.17285 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11.17286 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11.17287 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
11.17288 + ;;
11.17289 + *)
11.17290 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11.17291 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
11.17292 + ;;
11.17293 + esac
11.17294 + fi
11.17295 + ;;
11.17296 +
11.17297 + os2*)
11.17298 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.17299 + hardcode_minus_L_GCJ=yes
11.17300 + allow_undefined_flag_GCJ=unsupported
11.17301 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11.17302 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11.17303 + ;;
11.17304 +
11.17305 + osf3*)
11.17306 + if test "$GCC" = yes; then
11.17307 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
11.17308 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.17309 + else
11.17310 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
11.17311 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.17312 + fi
11.17313 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
11.17314 + hardcode_libdir_separator_GCJ=:
11.17315 + ;;
11.17316 +
11.17317 + osf4* | osf5*) # as osf3* with the addition of -msym flag
11.17318 + if test "$GCC" = yes; then
11.17319 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
11.17320 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11.17321 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
11.17322 + else
11.17323 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
11.17324 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11.17325 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11.17326 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
11.17327 +
11.17328 + # Both c and cxx compiler support -rpath directly
11.17329 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
11.17330 + fi
11.17331 + hardcode_libdir_separator_GCJ=:
11.17332 + ;;
11.17333 +
11.17334 + sco3.2v5*)
11.17335 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17336 + hardcode_shlibpath_var_GCJ=no
11.17337 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
11.17338 + runpath_var=LD_RUN_PATH
11.17339 + hardcode_runpath_var=yes
11.17340 + ;;
11.17341 +
11.17342 + solaris*)
11.17343 + no_undefined_flag_GCJ=' -z text'
11.17344 + if test "$GCC" = yes; then
11.17345 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.17346 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.17347 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11.17348 + else
11.17349 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17350 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.17351 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11.17352 + fi
11.17353 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
11.17354 + hardcode_shlibpath_var_GCJ=no
11.17355 + case $host_os in
11.17356 + solaris2.[0-5] | solaris2.[0-5].*) ;;
11.17357 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11.17358 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
11.17359 + esac
11.17360 + link_all_deplibs_GCJ=yes
11.17361 + ;;
11.17362 +
11.17363 + sunos4*)
11.17364 + if test "x$host_vendor" = xsequent; then
11.17365 + # Use $CC to link under sequent, because it throws in some extra .o
11.17366 + # files that make .init and .fini sections work.
11.17367 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11.17368 + else
11.17369 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11.17370 + fi
11.17371 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.17372 + hardcode_direct_GCJ=yes
11.17373 + hardcode_minus_L_GCJ=yes
11.17374 + hardcode_shlibpath_var_GCJ=no
11.17375 + ;;
11.17376 +
11.17377 + sysv4)
11.17378 + case $host_vendor in
11.17379 + sni)
11.17380 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17381 + hardcode_direct_GCJ=yes # is this really true???
11.17382 + ;;
11.17383 + siemens)
11.17384 + ## LD is ld it makes a PLAMLIB
11.17385 + ## CC just makes a GrossModule.
11.17386 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11.17387 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
11.17388 + hardcode_direct_GCJ=no
11.17389 + ;;
11.17390 + motorola)
11.17391 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17392 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
11.17393 + ;;
11.17394 + esac
11.17395 + runpath_var='LD_RUN_PATH'
11.17396 + hardcode_shlibpath_var_GCJ=no
11.17397 + ;;
11.17398 +
11.17399 + sysv4.3*)
11.17400 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17401 + hardcode_shlibpath_var_GCJ=no
11.17402 + export_dynamic_flag_spec_GCJ='-Bexport'
11.17403 + ;;
11.17404 +
11.17405 + sysv4*MP*)
11.17406 + if test -d /usr/nec; then
11.17407 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17408 + hardcode_shlibpath_var_GCJ=no
11.17409 + runpath_var=LD_RUN_PATH
11.17410 + hardcode_runpath_var=yes
11.17411 + ld_shlibs_GCJ=yes
11.17412 + fi
11.17413 + ;;
11.17414 +
11.17415 + sysv4.2uw2*)
11.17416 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11.17417 + hardcode_direct_GCJ=yes
11.17418 + hardcode_minus_L_GCJ=no
11.17419 + hardcode_shlibpath_var_GCJ=no
11.17420 + hardcode_runpath_var=yes
11.17421 + runpath_var=LD_RUN_PATH
11.17422 + ;;
11.17423 +
11.17424 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11.17425 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
11.17426 + if test "$GCC" = yes; then
11.17427 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.17428 + else
11.17429 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11.17430 + fi
11.17431 + runpath_var='LD_RUN_PATH'
11.17432 + hardcode_shlibpath_var_GCJ=no
11.17433 + ;;
11.17434 +
11.17435 + sysv5*)
11.17436 + no_undefined_flag_GCJ=' -z text'
11.17437 + # $CC -shared without GNU ld will not create a library from C++
11.17438 + # object files and a static libstdc++, better avoid it by now
11.17439 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17440 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11.17441 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11.17442 + hardcode_libdir_flag_spec_GCJ=
11.17443 + hardcode_shlibpath_var_GCJ=no
11.17444 + runpath_var='LD_RUN_PATH'
11.17445 + ;;
11.17446 +
11.17447 + uts4*)
11.17448 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11.17449 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
11.17450 + hardcode_shlibpath_var_GCJ=no
11.17451 + ;;
11.17452 +
11.17453 + *)
11.17454 + ld_shlibs_GCJ=no
11.17455 + ;;
11.17456 + esac
11.17457 + fi
11.17458 +
11.17459 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
11.17460 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
11.17461 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
11.17462 +
11.17463 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11.17464 +if test "$GCC" = yes; then
11.17465 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11.17466 +fi
11.17467 +
11.17468 +#
11.17469 +# Do we need to explicitly link libc?
11.17470 +#
11.17471 +case "x$archive_cmds_need_lc_GCJ" in
11.17472 +x|xyes)
11.17473 + # Assume -lc should be added
11.17474 + archive_cmds_need_lc_GCJ=yes
11.17475 +
11.17476 + if test "$enable_shared" = yes && test "$GCC" = yes; then
11.17477 + case $archive_cmds_GCJ in
11.17478 + *'~'*)
11.17479 + # FIXME: we may have to deal with multi-command sequences.
11.17480 + ;;
11.17481 + '$CC '*)
11.17482 + # Test whether the compiler implicitly links with -lc since on some
11.17483 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
11.17484 + # to ld, don't add -lc before -lgcc.
11.17485 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11.17486 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11.17487 + $rm conftest*
11.17488 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11.17489 +
11.17490 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.17491 + (eval $ac_compile) 2>&5
11.17492 + ac_status=$?
11.17493 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.17494 + (exit $ac_status); } 2>conftest.err; then
11.17495 + soname=conftest
11.17496 + lib=conftest
11.17497 + libobjs=conftest.$ac_objext
11.17498 + deplibs=
11.17499 + wl=$lt_prog_compiler_wl_GCJ
11.17500 + compiler_flags=-v
11.17501 + linker_flags=-v
11.17502 + verstring=
11.17503 + output_objdir=.
11.17504 + libname=conftest
11.17505 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
11.17506 + allow_undefined_flag_GCJ=
11.17507 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11.17508 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11.17509 + ac_status=$?
11.17510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.17511 + (exit $ac_status); }
11.17512 + then
11.17513 + archive_cmds_need_lc_GCJ=no
11.17514 + else
11.17515 + archive_cmds_need_lc_GCJ=yes
11.17516 + fi
11.17517 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
11.17518 + else
11.17519 + cat conftest.err 1>&5
11.17520 + fi
11.17521 + $rm conftest*
11.17522 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
11.17523 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
11.17524 + ;;
11.17525 + esac
11.17526 + fi
11.17527 + ;;
11.17528 +esac
11.17529 +
11.17530 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11.17531 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11.17532 +library_names_spec=
11.17533 +libname_spec='lib$name'
11.17534 +soname_spec=
11.17535 +shrext_cmds=".so"
11.17536 +postinstall_cmds=
11.17537 +postuninstall_cmds=
11.17538 +finish_cmds=
11.17539 +finish_eval=
11.17540 +shlibpath_var=
11.17541 +shlibpath_overrides_runpath=unknown
11.17542 +version_type=none
11.17543 +dynamic_linker="$host_os ld.so"
11.17544 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
11.17545 +if test "$GCC" = yes; then
11.17546 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.17547 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11.17548 + # if the path contains ";" then we assume it to be the separator
11.17549 + # otherwise default to the standard path separator (i.e. ":") - it is
11.17550 + # assumed that no part of a normal pathname contains ";" but that should
11.17551 + # okay in the real world where ";" in dirpaths is itself problematic.
11.17552 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.17553 + else
11.17554 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.17555 + fi
11.17556 +else
11.17557 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11.17558 +fi
11.17559 +need_lib_prefix=unknown
11.17560 +hardcode_into_libs=no
11.17561 +
11.17562 +# when you set need_version to no, make sure it does not cause -set_version
11.17563 +# flags to be left without arguments
11.17564 +need_version=unknown
11.17565 +
11.17566 +case $host_os in
11.17567 +aix3*)
11.17568 + version_type=linux
11.17569 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11.17570 + shlibpath_var=LIBPATH
11.17571 +
11.17572 + # AIX 3 has no versioning support, so we append a major version to the name.
11.17573 + soname_spec='${libname}${release}${shared_ext}$major'
11.17574 + ;;
11.17575 +
11.17576 +aix4* | aix5*)
11.17577 + version_type=linux
11.17578 + need_lib_prefix=no
11.17579 + need_version=no
11.17580 + hardcode_into_libs=yes
11.17581 + if test "$host_cpu" = ia64; then
11.17582 + # AIX 5 supports IA64
11.17583 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11.17584 + shlibpath_var=LD_LIBRARY_PATH
11.17585 + else
11.17586 + # With GCC up to 2.95.x, collect2 would create an import file
11.17587 + # for dependence libraries. The import file would start with
11.17588 + # the line `#! .'. This would cause the generated library to
11.17589 + # depend on `.', always an invalid library. This was fixed in
11.17590 + # development snapshots of GCC prior to 3.0.
11.17591 + case $host_os in
11.17592 + aix4 | aix4.[01] | aix4.[01].*)
11.17593 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11.17594 + echo ' yes '
11.17595 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11.17596 + :
11.17597 + else
11.17598 + can_build_shared=no
11.17599 + fi
11.17600 + ;;
11.17601 + esac
11.17602 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11.17603 + # soname into executable. Probably we can add versioning support to
11.17604 + # collect2, so additional links can be useful in future.
11.17605 + if test "$aix_use_runtimelinking" = yes; then
11.17606 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11.17607 + # instead of lib<name>.a to let people know that these are not
11.17608 + # typical AIX shared libraries.
11.17609 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17610 + else
11.17611 + # We preserve .a as extension for shared libraries through AIX4.2
11.17612 + # and later when we are not doing run time linking.
11.17613 + library_names_spec='${libname}${release}.a $libname.a'
11.17614 + soname_spec='${libname}${release}${shared_ext}$major'
11.17615 + fi
11.17616 + shlibpath_var=LIBPATH
11.17617 + fi
11.17618 + ;;
11.17619 +
11.17620 +amigaos*)
11.17621 + library_names_spec='$libname.ixlibrary $libname.a'
11.17622 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
11.17623 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11.17624 + ;;
11.17625 +
11.17626 +beos*)
11.17627 + library_names_spec='${libname}${shared_ext}'
11.17628 + dynamic_linker="$host_os ld.so"
11.17629 + shlibpath_var=LIBRARY_PATH
11.17630 + ;;
11.17631 +
11.17632 +bsdi4*)
11.17633 + version_type=linux
11.17634 + need_version=no
11.17635 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17636 + soname_spec='${libname}${release}${shared_ext}$major'
11.17637 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11.17638 + shlibpath_var=LD_LIBRARY_PATH
11.17639 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11.17640 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11.17641 + # the default ld.so.conf also contains /usr/contrib/lib and
11.17642 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11.17643 + # libtool to hard-code these into programs
11.17644 + ;;
11.17645 +
11.17646 +cygwin* | mingw* | pw32*)
11.17647 + version_type=windows
11.17648 + shrext_cmds=".dll"
11.17649 + need_version=no
11.17650 + need_lib_prefix=no
11.17651 +
11.17652 + case $GCC,$host_os in
11.17653 + yes,cygwin* | yes,mingw* | yes,pw32*)
11.17654 + library_names_spec='$libname.dll.a'
11.17655 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
11.17656 + postinstall_cmds='base_file=`basename \${file}`~
11.17657 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11.17658 + dldir=$destdir/`dirname \$dlpath`~
11.17659 + test -d \$dldir || mkdir -p \$dldir~
11.17660 + $install_prog $dir/$dlname \$dldir/$dlname'
11.17661 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11.17662 + dlpath=$dir/\$dldll~
11.17663 + $rm \$dlpath'
11.17664 + shlibpath_overrides_runpath=yes
11.17665 +
11.17666 + case $host_os in
11.17667 + cygwin*)
11.17668 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11.17669 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.17670 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11.17671 + ;;
11.17672 + mingw*)
11.17673 + # MinGW DLLs use traditional 'lib' prefix
11.17674 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11.17675 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11.17676 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11.17677 + # It is most probably a Windows format PATH printed by
11.17678 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
11.17679 + # path with ; separators, and with drive letters. We can handle the
11.17680 + # drive letters (cygwin fileutils understands them), so leave them,
11.17681 + # especially as we might pass files found there to a mingw objdump,
11.17682 + # which wouldn't understand a cygwinified path. Ahh.
11.17683 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11.17684 + else
11.17685 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11.17686 + fi
11.17687 + ;;
11.17688 + pw32*)
11.17689 + # pw32 DLLs use 'pw' prefix rather than 'lib'
11.17690 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11.17691 + ;;
11.17692 + esac
11.17693 + ;;
11.17694 +
11.17695 + *)
11.17696 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11.17697 + ;;
11.17698 + esac
11.17699 + dynamic_linker='Win32 ld.exe'
11.17700 + # FIXME: first we should search . and the directory the executable is in
11.17701 + shlibpath_var=PATH
11.17702 + ;;
11.17703 +
11.17704 +darwin* | rhapsody*)
11.17705 + dynamic_linker="$host_os dyld"
11.17706 + version_type=darwin
11.17707 + need_lib_prefix=no
11.17708 + need_version=no
11.17709 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11.17710 + soname_spec='${libname}${release}${major}$shared_ext'
11.17711 + shlibpath_overrides_runpath=yes
11.17712 + shlibpath_var=DYLD_LIBRARY_PATH
11.17713 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11.17714 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11.17715 + if test "$GCC" = yes; then
11.17716 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11.17717 + else
11.17718 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11.17719 + fi
11.17720 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11.17721 + ;;
11.17722 +
11.17723 +dgux*)
11.17724 + version_type=linux
11.17725 + need_lib_prefix=no
11.17726 + need_version=no
11.17727 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11.17728 + soname_spec='${libname}${release}${shared_ext}$major'
11.17729 + shlibpath_var=LD_LIBRARY_PATH
11.17730 + ;;
11.17731 +
11.17732 +freebsd1*)
11.17733 + dynamic_linker=no
11.17734 + ;;
11.17735 +
11.17736 +kfreebsd*-gnu)
11.17737 + version_type=linux
11.17738 + need_lib_prefix=no
11.17739 + need_version=no
11.17740 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.17741 + soname_spec='${libname}${release}${shared_ext}$major'
11.17742 + shlibpath_var=LD_LIBRARY_PATH
11.17743 + shlibpath_overrides_runpath=no
11.17744 + hardcode_into_libs=yes
11.17745 + dynamic_linker='GNU ld.so'
11.17746 + ;;
11.17747 +
11.17748 +freebsd*)
11.17749 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11.17750 + version_type=freebsd-$objformat
11.17751 + case $version_type in
11.17752 + freebsd-elf*)
11.17753 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11.17754 + need_version=no
11.17755 + need_lib_prefix=no
11.17756 + ;;
11.17757 + freebsd-*)
11.17758 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11.17759 + need_version=yes
11.17760 + ;;
11.17761 + esac
11.17762 + shlibpath_var=LD_LIBRARY_PATH
11.17763 + case $host_os in
11.17764 + freebsd2*)
11.17765 + shlibpath_overrides_runpath=yes
11.17766 + ;;
11.17767 + freebsd3.01* | freebsdelf3.01*)
11.17768 + shlibpath_overrides_runpath=yes
11.17769 + hardcode_into_libs=yes
11.17770 + ;;
11.17771 + *) # from 3.2 on
11.17772 + shlibpath_overrides_runpath=no
11.17773 + hardcode_into_libs=yes
11.17774 + ;;
11.17775 + esac
11.17776 + ;;
11.17777 +
11.17778 +gnu*)
11.17779 + version_type=linux
11.17780 + need_lib_prefix=no
11.17781 + need_version=no
11.17782 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11.17783 + soname_spec='${libname}${release}${shared_ext}$major'
11.17784 + shlibpath_var=LD_LIBRARY_PATH
11.17785 + hardcode_into_libs=yes
11.17786 + ;;
11.17787 +
11.17788 +hpux9* | hpux10* | hpux11*)
11.17789 + # Give a soname corresponding to the major version so that dld.sl refuses to
11.17790 + # link against other versions.
11.17791 + version_type=sunos
11.17792 + need_lib_prefix=no
11.17793 + need_version=no
11.17794 + case "$host_cpu" in
11.17795 + ia64*)
11.17796 + shrext_cmds='.so'
11.17797 + hardcode_into_libs=yes
11.17798 + dynamic_linker="$host_os dld.so"
11.17799 + shlibpath_var=LD_LIBRARY_PATH
11.17800 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.17801 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17802 + soname_spec='${libname}${release}${shared_ext}$major'
11.17803 + if test "X$HPUX_IA64_MODE" = X32; then
11.17804 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11.17805 + else
11.17806 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11.17807 + fi
11.17808 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.17809 + ;;
11.17810 + hppa*64*)
11.17811 + shrext_cmds='.sl'
11.17812 + hardcode_into_libs=yes
11.17813 + dynamic_linker="$host_os dld.sl"
11.17814 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11.17815 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11.17816 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17817 + soname_spec='${libname}${release}${shared_ext}$major'
11.17818 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11.17819 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11.17820 + ;;
11.17821 + *)
11.17822 + shrext_cmds='.sl'
11.17823 + dynamic_linker="$host_os dld.sl"
11.17824 + shlibpath_var=SHLIB_PATH
11.17825 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11.17826 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17827 + soname_spec='${libname}${release}${shared_ext}$major'
11.17828 + ;;
11.17829 + esac
11.17830 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
11.17831 + postinstall_cmds='chmod 555 $lib'
11.17832 + ;;
11.17833 +
11.17834 +irix5* | irix6* | nonstopux*)
11.17835 + case $host_os in
11.17836 + nonstopux*) version_type=nonstopux ;;
11.17837 + *)
11.17838 + if test "$lt_cv_prog_gnu_ld" = yes; then
11.17839 + version_type=linux
11.17840 + else
11.17841 + version_type=irix
11.17842 + fi ;;
11.17843 + esac
11.17844 + need_lib_prefix=no
11.17845 + need_version=no
11.17846 + soname_spec='${libname}${release}${shared_ext}$major'
11.17847 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11.17848 + case $host_os in
11.17849 + irix5* | nonstopux*)
11.17850 + libsuff= shlibsuff=
11.17851 + ;;
11.17852 + *)
11.17853 + case $LD in # libtool.m4 will add one of these switches to LD
11.17854 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11.17855 + libsuff= shlibsuff= libmagic=32-bit;;
11.17856 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11.17857 + libsuff=32 shlibsuff=N32 libmagic=N32;;
11.17858 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11.17859 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
11.17860 + *) libsuff= shlibsuff= libmagic=never-match;;
11.17861 + esac
11.17862 + ;;
11.17863 + esac
11.17864 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11.17865 + shlibpath_overrides_runpath=no
11.17866 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11.17867 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11.17868 + hardcode_into_libs=yes
11.17869 + ;;
11.17870 +
11.17871 +# No shared lib support for Linux oldld, aout, or coff.
11.17872 +linux*oldld* | linux*aout* | linux*coff*)
11.17873 + dynamic_linker=no
11.17874 + ;;
11.17875 +
11.17876 +# This must be Linux ELF.
11.17877 +linux*)
11.17878 + version_type=linux
11.17879 + need_lib_prefix=no
11.17880 + need_version=no
11.17881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17882 + soname_spec='${libname}${release}${shared_ext}$major'
11.17883 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11.17884 + shlibpath_var=LD_LIBRARY_PATH
11.17885 + shlibpath_overrides_runpath=no
11.17886 + # This implies no fast_install, which is unacceptable.
11.17887 + # Some rework will be needed to allow for fast_install
11.17888 + # before this can be enabled.
11.17889 + hardcode_into_libs=yes
11.17890 +
11.17891 + # Append ld.so.conf contents to the search path
11.17892 + if test -f /etc/ld.so.conf; then
11.17893 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11.17894 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11.17895 + fi
11.17896 +
11.17897 + # We used to test for /lib/ld.so.1 and disable shared libraries on
11.17898 + # powerpc, because MkLinux only supported shared libraries with the
11.17899 + # GNU dynamic linker. Since this was broken with cross compilers,
11.17900 + # most powerpc-linux boxes support dynamic linking these days and
11.17901 + # people can always --disable-shared, the test was removed, and we
11.17902 + # assume the GNU/Linux dynamic linker is in use.
11.17903 + dynamic_linker='GNU/Linux ld.so'
11.17904 + ;;
11.17905 +
11.17906 +netbsdelf*-gnu)
11.17907 + version_type=linux
11.17908 + need_lib_prefix=no
11.17909 + need_version=no
11.17910 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.17911 + soname_spec='${libname}${release}${shared_ext}$major'
11.17912 + shlibpath_var=LD_LIBRARY_PATH
11.17913 + shlibpath_overrides_runpath=no
11.17914 + hardcode_into_libs=yes
11.17915 + dynamic_linker='NetBSD ld.elf_so'
11.17916 + ;;
11.17917 +
11.17918 +knetbsd*-gnu)
11.17919 + version_type=linux
11.17920 + need_lib_prefix=no
11.17921 + need_version=no
11.17922 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.17923 + soname_spec='${libname}${release}${shared_ext}$major'
11.17924 + shlibpath_var=LD_LIBRARY_PATH
11.17925 + shlibpath_overrides_runpath=no
11.17926 + hardcode_into_libs=yes
11.17927 + dynamic_linker='GNU ld.so'
11.17928 + ;;
11.17929 +
11.17930 +netbsd*)
11.17931 + version_type=sunos
11.17932 + need_lib_prefix=no
11.17933 + need_version=no
11.17934 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11.17935 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.17936 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.17937 + dynamic_linker='NetBSD (a.out) ld.so'
11.17938 + else
11.17939 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11.17940 + soname_spec='${libname}${release}${shared_ext}$major'
11.17941 + dynamic_linker='NetBSD ld.elf_so'
11.17942 + fi
11.17943 + shlibpath_var=LD_LIBRARY_PATH
11.17944 + shlibpath_overrides_runpath=yes
11.17945 + hardcode_into_libs=yes
11.17946 + ;;
11.17947 +
11.17948 +newsos6)
11.17949 + version_type=linux
11.17950 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17951 + shlibpath_var=LD_LIBRARY_PATH
11.17952 + shlibpath_overrides_runpath=yes
11.17953 + ;;
11.17954 +
11.17955 +nto-qnx*)
11.17956 + version_type=linux
11.17957 + need_lib_prefix=no
11.17958 + need_version=no
11.17959 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.17960 + soname_spec='${libname}${release}${shared_ext}$major'
11.17961 + shlibpath_var=LD_LIBRARY_PATH
11.17962 + shlibpath_overrides_runpath=yes
11.17963 + ;;
11.17964 +
11.17965 +openbsd*)
11.17966 + version_type=sunos
11.17967 + need_lib_prefix=no
11.17968 + need_version=yes
11.17969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.17970 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11.17971 + shlibpath_var=LD_LIBRARY_PATH
11.17972 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11.17973 + case $host_os in
11.17974 + openbsd2.[89] | openbsd2.[89].*)
11.17975 + shlibpath_overrides_runpath=no
11.17976 + ;;
11.17977 + *)
11.17978 + shlibpath_overrides_runpath=yes
11.17979 + ;;
11.17980 + esac
11.17981 + else
11.17982 + shlibpath_overrides_runpath=yes
11.17983 + fi
11.17984 + ;;
11.17985 +
11.17986 +os2*)
11.17987 + libname_spec='$name'
11.17988 + shrext_cmds=".dll"
11.17989 + need_lib_prefix=no
11.17990 + library_names_spec='$libname${shared_ext} $libname.a'
11.17991 + dynamic_linker='OS/2 ld.exe'
11.17992 + shlibpath_var=LIBPATH
11.17993 + ;;
11.17994 +
11.17995 +osf3* | osf4* | osf5*)
11.17996 + version_type=osf
11.17997 + need_lib_prefix=no
11.17998 + need_version=no
11.17999 + soname_spec='${libname}${release}${shared_ext}$major'
11.18000 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.18001 + shlibpath_var=LD_LIBRARY_PATH
11.18002 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11.18003 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11.18004 + ;;
11.18005 +
11.18006 +sco3.2v5*)
11.18007 + version_type=osf
11.18008 + soname_spec='${libname}${release}${shared_ext}$major'
11.18009 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.18010 + shlibpath_var=LD_LIBRARY_PATH
11.18011 + ;;
11.18012 +
11.18013 +solaris*)
11.18014 + version_type=linux
11.18015 + need_lib_prefix=no
11.18016 + need_version=no
11.18017 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.18018 + soname_spec='${libname}${release}${shared_ext}$major'
11.18019 + shlibpath_var=LD_LIBRARY_PATH
11.18020 + shlibpath_overrides_runpath=yes
11.18021 + hardcode_into_libs=yes
11.18022 + # ldd complains unless libraries are executable
11.18023 + postinstall_cmds='chmod +x $lib'
11.18024 + ;;
11.18025 +
11.18026 +sunos4*)
11.18027 + version_type=sunos
11.18028 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11.18029 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11.18030 + shlibpath_var=LD_LIBRARY_PATH
11.18031 + shlibpath_overrides_runpath=yes
11.18032 + if test "$with_gnu_ld" = yes; then
11.18033 + need_lib_prefix=no
11.18034 + fi
11.18035 + need_version=yes
11.18036 + ;;
11.18037 +
11.18038 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11.18039 + version_type=linux
11.18040 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.18041 + soname_spec='${libname}${release}${shared_ext}$major'
11.18042 + shlibpath_var=LD_LIBRARY_PATH
11.18043 + case $host_vendor in
11.18044 + sni)
11.18045 + shlibpath_overrides_runpath=no
11.18046 + need_lib_prefix=no
11.18047 + export_dynamic_flag_spec='${wl}-Blargedynsym'
11.18048 + runpath_var=LD_RUN_PATH
11.18049 + ;;
11.18050 + siemens)
11.18051 + need_lib_prefix=no
11.18052 + ;;
11.18053 + motorola)
11.18054 + need_lib_prefix=no
11.18055 + need_version=no
11.18056 + shlibpath_overrides_runpath=no
11.18057 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11.18058 + ;;
11.18059 + esac
11.18060 + ;;
11.18061 +
11.18062 +sysv4*MP*)
11.18063 + if test -d /usr/nec ;then
11.18064 + version_type=linux
11.18065 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11.18066 + soname_spec='$libname${shared_ext}.$major'
11.18067 + shlibpath_var=LD_LIBRARY_PATH
11.18068 + fi
11.18069 + ;;
11.18070 +
11.18071 +uts4*)
11.18072 + version_type=linux
11.18073 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11.18074 + soname_spec='${libname}${release}${shared_ext}$major'
11.18075 + shlibpath_var=LD_LIBRARY_PATH
11.18076 + ;;
11.18077 +
11.18078 +*)
11.18079 + dynamic_linker=no
11.18080 + ;;
11.18081 +esac
11.18082 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11.18083 +echo "${ECHO_T}$dynamic_linker" >&6; }
11.18084 +test "$dynamic_linker" = no && can_build_shared=no
11.18085 +
11.18086 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11.18087 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11.18088 +hardcode_action_GCJ=
11.18089 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
11.18090 + test -n "$runpath_var GCJ" || \
11.18091 + test "X$hardcode_automatic_GCJ"="Xyes" ; then
11.18092 +
11.18093 + # We can hardcode non-existant directories.
11.18094 + if test "$hardcode_direct_GCJ" != no &&
11.18095 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
11.18096 + # have to relink, otherwise we might link with an installed library
11.18097 + # when we should be linking with a yet-to-be-installed one
11.18098 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
11.18099 + test "$hardcode_minus_L_GCJ" != no; then
11.18100 + # Linking always hardcodes the temporary library directory.
11.18101 + hardcode_action_GCJ=relink
11.18102 + else
11.18103 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
11.18104 + hardcode_action_GCJ=immediate
11.18105 + fi
11.18106 +else
11.18107 + # We cannot hardcode anything, or else we can only hardcode existing
11.18108 + # directories.
11.18109 + hardcode_action_GCJ=unsupported
11.18110 +fi
11.18111 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
11.18112 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
11.18113 +
11.18114 +if test "$hardcode_action_GCJ" = relink; then
11.18115 + # Fast installation is not supported
11.18116 + enable_fast_install=no
11.18117 +elif test "$shlibpath_overrides_runpath" = yes ||
11.18118 + test "$enable_shared" = no; then
11.18119 + # Fast installation is not necessary
11.18120 + enable_fast_install=needless
11.18121 +fi
11.18122 +
11.18123 +striplib=
11.18124 +old_striplib=
11.18125 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11.18126 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11.18127 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11.18128 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11.18129 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11.18130 + { echo "$as_me:$LINENO: result: yes" >&5
11.18131 +echo "${ECHO_T}yes" >&6; }
11.18132 +else
11.18133 +# FIXME - insert some real tests, host_os isn't really good enough
11.18134 + case $host_os in
11.18135 + darwin*)
11.18136 + if test -n "$STRIP" ; then
11.18137 + striplib="$STRIP -x"
11.18138 + { echo "$as_me:$LINENO: result: yes" >&5
11.18139 +echo "${ECHO_T}yes" >&6; }
11.18140 + else
11.18141 + { echo "$as_me:$LINENO: result: no" >&5
11.18142 +echo "${ECHO_T}no" >&6; }
11.18143 +fi
11.18144 + ;;
11.18145 + *)
11.18146 + { echo "$as_me:$LINENO: result: no" >&5
11.18147 +echo "${ECHO_T}no" >&6; }
11.18148 + ;;
11.18149 + esac
11.18150 +fi
11.18151 +
11.18152 +if test "x$enable_dlopen" != xyes; then
11.18153 + enable_dlopen=unknown
11.18154 + enable_dlopen_self=unknown
11.18155 + enable_dlopen_self_static=unknown
11.18156 +else
11.18157 + lt_cv_dlopen=no
11.18158 + lt_cv_dlopen_libs=
11.18159 +
11.18160 + case $host_os in
11.18161 + beos*)
11.18162 + lt_cv_dlopen="load_add_on"
11.18163 + lt_cv_dlopen_libs=
11.18164 + lt_cv_dlopen_self=yes
11.18165 + ;;
11.18166 +
11.18167 + mingw* | pw32*)
11.18168 + lt_cv_dlopen="LoadLibrary"
11.18169 + lt_cv_dlopen_libs=
11.18170 + ;;
11.18171 +
11.18172 + cygwin*)
11.18173 + lt_cv_dlopen="dlopen"
11.18174 + lt_cv_dlopen_libs=
11.18175 + ;;
11.18176 +
11.18177 + darwin*)
11.18178 + # if libdl is installed we need to link against it
11.18179 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11.18180 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11.18181 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11.18182 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18183 +else
11.18184 + ac_check_lib_save_LIBS=$LIBS
11.18185 +LIBS="-ldl $LIBS"
11.18186 +cat >conftest.$ac_ext <<_ACEOF
11.18187 +/* confdefs.h. */
11.18188 +_ACEOF
11.18189 +cat confdefs.h >>conftest.$ac_ext
11.18190 +cat >>conftest.$ac_ext <<_ACEOF
11.18191 +/* end confdefs.h. */
11.18192 +
11.18193 +/* Override any GCC internal prototype to avoid an error.
11.18194 + Use char because int might match the return type of a GCC
11.18195 + builtin and then its argument prototype would still apply. */
11.18196 +#ifdef __cplusplus
11.18197 +extern "C"
11.18198 +#endif
11.18199 +char dlopen ();
11.18200 +int
11.18201 +main ()
11.18202 +{
11.18203 +return dlopen ();
11.18204 + ;
11.18205 + return 0;
11.18206 +}
11.18207 +_ACEOF
11.18208 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18209 +if { (ac_try="$ac_link"
11.18210 +case "(($ac_try" in
11.18211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18212 + *) ac_try_echo=$ac_try;;
11.18213 +esac
11.18214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18215 + (eval "$ac_link") 2>conftest.er1
11.18216 + ac_status=$?
11.18217 + grep -v '^ *+' conftest.er1 >conftest.err
11.18218 + rm -f conftest.er1
11.18219 + cat conftest.err >&5
11.18220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18221 + (exit $ac_status); } && {
11.18222 + test -z "$ac_c_werror_flag" ||
11.18223 + test ! -s conftest.err
11.18224 + } && test -s conftest$ac_exeext &&
11.18225 + $as_test_x conftest$ac_exeext; then
11.18226 + ac_cv_lib_dl_dlopen=yes
11.18227 +else
11.18228 + echo "$as_me: failed program was:" >&5
11.18229 +sed 's/^/| /' conftest.$ac_ext >&5
11.18230 +
11.18231 + ac_cv_lib_dl_dlopen=no
11.18232 +fi
11.18233 +
11.18234 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18235 + conftest$ac_exeext conftest.$ac_ext
11.18236 +LIBS=$ac_check_lib_save_LIBS
11.18237 +fi
11.18238 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11.18239 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11.18240 +if test $ac_cv_lib_dl_dlopen = yes; then
11.18241 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11.18242 +else
11.18243 +
11.18244 + lt_cv_dlopen="dyld"
11.18245 + lt_cv_dlopen_libs=
11.18246 + lt_cv_dlopen_self=yes
11.18247 +
11.18248 +fi
11.18249 +
11.18250 + ;;
11.18251 +
11.18252 + *)
11.18253 + { echo "$as_me:$LINENO: checking for shl_load" >&5
11.18254 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11.18255 +if test "${ac_cv_func_shl_load+set}" = set; then
11.18256 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18257 +else
11.18258 + cat >conftest.$ac_ext <<_ACEOF
11.18259 +/* confdefs.h. */
11.18260 +_ACEOF
11.18261 +cat confdefs.h >>conftest.$ac_ext
11.18262 +cat >>conftest.$ac_ext <<_ACEOF
11.18263 +/* end confdefs.h. */
11.18264 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11.18265 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11.18266 +#define shl_load innocuous_shl_load
11.18267 +
11.18268 +/* System header to define __stub macros and hopefully few prototypes,
11.18269 + which can conflict with char shl_load (); below.
11.18270 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.18271 + <limits.h> exists even on freestanding compilers. */
11.18272 +
11.18273 +#ifdef __STDC__
11.18274 +# include <limits.h>
11.18275 +#else
11.18276 +# include <assert.h>
11.18277 +#endif
11.18278 +
11.18279 +#undef shl_load
11.18280 +
11.18281 +/* Override any GCC internal prototype to avoid an error.
11.18282 + Use char because int might match the return type of a GCC
11.18283 + builtin and then its argument prototype would still apply. */
11.18284 +#ifdef __cplusplus
11.18285 +extern "C"
11.18286 +#endif
11.18287 +char shl_load ();
11.18288 +/* The GNU C library defines this for functions which it implements
11.18289 + to always fail with ENOSYS. Some functions are actually named
11.18290 + something starting with __ and the normal name is an alias. */
11.18291 +#if defined __stub_shl_load || defined __stub___shl_load
11.18292 +choke me
11.18293 +#endif
11.18294 +
11.18295 +int
11.18296 +main ()
11.18297 +{
11.18298 +return shl_load ();
11.18299 + ;
11.18300 + return 0;
11.18301 +}
11.18302 +_ACEOF
11.18303 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18304 +if { (ac_try="$ac_link"
11.18305 +case "(($ac_try" in
11.18306 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18307 + *) ac_try_echo=$ac_try;;
11.18308 +esac
11.18309 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18310 + (eval "$ac_link") 2>conftest.er1
11.18311 + ac_status=$?
11.18312 + grep -v '^ *+' conftest.er1 >conftest.err
11.18313 + rm -f conftest.er1
11.18314 + cat conftest.err >&5
11.18315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18316 + (exit $ac_status); } && {
11.18317 + test -z "$ac_c_werror_flag" ||
11.18318 + test ! -s conftest.err
11.18319 + } && test -s conftest$ac_exeext &&
11.18320 + $as_test_x conftest$ac_exeext; then
11.18321 + ac_cv_func_shl_load=yes
11.18322 +else
11.18323 + echo "$as_me: failed program was:" >&5
11.18324 +sed 's/^/| /' conftest.$ac_ext >&5
11.18325 +
11.18326 + ac_cv_func_shl_load=no
11.18327 +fi
11.18328 +
11.18329 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18330 + conftest$ac_exeext conftest.$ac_ext
11.18331 +fi
11.18332 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11.18333 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11.18334 +if test $ac_cv_func_shl_load = yes; then
11.18335 + lt_cv_dlopen="shl_load"
11.18336 +else
11.18337 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11.18338 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11.18339 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11.18340 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18341 +else
11.18342 + ac_check_lib_save_LIBS=$LIBS
11.18343 +LIBS="-ldld $LIBS"
11.18344 +cat >conftest.$ac_ext <<_ACEOF
11.18345 +/* confdefs.h. */
11.18346 +_ACEOF
11.18347 +cat confdefs.h >>conftest.$ac_ext
11.18348 +cat >>conftest.$ac_ext <<_ACEOF
11.18349 +/* end confdefs.h. */
11.18350 +
11.18351 +/* Override any GCC internal prototype to avoid an error.
11.18352 + Use char because int might match the return type of a GCC
11.18353 + builtin and then its argument prototype would still apply. */
11.18354 +#ifdef __cplusplus
11.18355 +extern "C"
11.18356 +#endif
11.18357 +char shl_load ();
11.18358 +int
11.18359 +main ()
11.18360 +{
11.18361 +return shl_load ();
11.18362 + ;
11.18363 + return 0;
11.18364 +}
11.18365 +_ACEOF
11.18366 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18367 +if { (ac_try="$ac_link"
11.18368 +case "(($ac_try" in
11.18369 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18370 + *) ac_try_echo=$ac_try;;
11.18371 +esac
11.18372 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18373 + (eval "$ac_link") 2>conftest.er1
11.18374 + ac_status=$?
11.18375 + grep -v '^ *+' conftest.er1 >conftest.err
11.18376 + rm -f conftest.er1
11.18377 + cat conftest.err >&5
11.18378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18379 + (exit $ac_status); } && {
11.18380 + test -z "$ac_c_werror_flag" ||
11.18381 + test ! -s conftest.err
11.18382 + } && test -s conftest$ac_exeext &&
11.18383 + $as_test_x conftest$ac_exeext; then
11.18384 + ac_cv_lib_dld_shl_load=yes
11.18385 +else
11.18386 + echo "$as_me: failed program was:" >&5
11.18387 +sed 's/^/| /' conftest.$ac_ext >&5
11.18388 +
11.18389 + ac_cv_lib_dld_shl_load=no
11.18390 +fi
11.18391 +
11.18392 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18393 + conftest$ac_exeext conftest.$ac_ext
11.18394 +LIBS=$ac_check_lib_save_LIBS
11.18395 +fi
11.18396 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11.18397 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11.18398 +if test $ac_cv_lib_dld_shl_load = yes; then
11.18399 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11.18400 +else
11.18401 + { echo "$as_me:$LINENO: checking for dlopen" >&5
11.18402 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11.18403 +if test "${ac_cv_func_dlopen+set}" = set; then
11.18404 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18405 +else
11.18406 + cat >conftest.$ac_ext <<_ACEOF
11.18407 +/* confdefs.h. */
11.18408 +_ACEOF
11.18409 +cat confdefs.h >>conftest.$ac_ext
11.18410 +cat >>conftest.$ac_ext <<_ACEOF
11.18411 +/* end confdefs.h. */
11.18412 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11.18413 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
11.18414 +#define dlopen innocuous_dlopen
11.18415 +
11.18416 +/* System header to define __stub macros and hopefully few prototypes,
11.18417 + which can conflict with char dlopen (); below.
11.18418 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.18419 + <limits.h> exists even on freestanding compilers. */
11.18420 +
11.18421 +#ifdef __STDC__
11.18422 +# include <limits.h>
11.18423 +#else
11.18424 +# include <assert.h>
11.18425 +#endif
11.18426 +
11.18427 +#undef dlopen
11.18428 +
11.18429 +/* Override any GCC internal prototype to avoid an error.
11.18430 + Use char because int might match the return type of a GCC
11.18431 + builtin and then its argument prototype would still apply. */
11.18432 +#ifdef __cplusplus
11.18433 +extern "C"
11.18434 +#endif
11.18435 +char dlopen ();
11.18436 +/* The GNU C library defines this for functions which it implements
11.18437 + to always fail with ENOSYS. Some functions are actually named
11.18438 + something starting with __ and the normal name is an alias. */
11.18439 +#if defined __stub_dlopen || defined __stub___dlopen
11.18440 +choke me
11.18441 +#endif
11.18442 +
11.18443 +int
11.18444 +main ()
11.18445 +{
11.18446 +return dlopen ();
11.18447 + ;
11.18448 + return 0;
11.18449 +}
11.18450 +_ACEOF
11.18451 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18452 +if { (ac_try="$ac_link"
11.18453 +case "(($ac_try" in
11.18454 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18455 + *) ac_try_echo=$ac_try;;
11.18456 +esac
11.18457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18458 + (eval "$ac_link") 2>conftest.er1
11.18459 + ac_status=$?
11.18460 + grep -v '^ *+' conftest.er1 >conftest.err
11.18461 + rm -f conftest.er1
11.18462 + cat conftest.err >&5
11.18463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18464 + (exit $ac_status); } && {
11.18465 + test -z "$ac_c_werror_flag" ||
11.18466 + test ! -s conftest.err
11.18467 + } && test -s conftest$ac_exeext &&
11.18468 + $as_test_x conftest$ac_exeext; then
11.18469 + ac_cv_func_dlopen=yes
11.18470 +else
11.18471 + echo "$as_me: failed program was:" >&5
11.18472 +sed 's/^/| /' conftest.$ac_ext >&5
11.18473 +
11.18474 + ac_cv_func_dlopen=no
11.18475 +fi
11.18476 +
11.18477 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18478 + conftest$ac_exeext conftest.$ac_ext
11.18479 +fi
11.18480 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11.18481 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11.18482 +if test $ac_cv_func_dlopen = yes; then
11.18483 + lt_cv_dlopen="dlopen"
11.18484 +else
11.18485 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11.18486 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11.18487 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11.18488 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18489 +else
11.18490 + ac_check_lib_save_LIBS=$LIBS
11.18491 +LIBS="-ldl $LIBS"
11.18492 +cat >conftest.$ac_ext <<_ACEOF
11.18493 +/* confdefs.h. */
11.18494 +_ACEOF
11.18495 +cat confdefs.h >>conftest.$ac_ext
11.18496 +cat >>conftest.$ac_ext <<_ACEOF
11.18497 +/* end confdefs.h. */
11.18498 +
11.18499 +/* Override any GCC internal prototype to avoid an error.
11.18500 + Use char because int might match the return type of a GCC
11.18501 + builtin and then its argument prototype would still apply. */
11.18502 +#ifdef __cplusplus
11.18503 +extern "C"
11.18504 +#endif
11.18505 +char dlopen ();
11.18506 +int
11.18507 +main ()
11.18508 +{
11.18509 +return dlopen ();
11.18510 + ;
11.18511 + return 0;
11.18512 +}
11.18513 +_ACEOF
11.18514 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18515 +if { (ac_try="$ac_link"
11.18516 +case "(($ac_try" in
11.18517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18518 + *) ac_try_echo=$ac_try;;
11.18519 +esac
11.18520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18521 + (eval "$ac_link") 2>conftest.er1
11.18522 + ac_status=$?
11.18523 + grep -v '^ *+' conftest.er1 >conftest.err
11.18524 + rm -f conftest.er1
11.18525 + cat conftest.err >&5
11.18526 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18527 + (exit $ac_status); } && {
11.18528 + test -z "$ac_c_werror_flag" ||
11.18529 + test ! -s conftest.err
11.18530 + } && test -s conftest$ac_exeext &&
11.18531 + $as_test_x conftest$ac_exeext; then
11.18532 + ac_cv_lib_dl_dlopen=yes
11.18533 +else
11.18534 + echo "$as_me: failed program was:" >&5
11.18535 +sed 's/^/| /' conftest.$ac_ext >&5
11.18536 +
11.18537 + ac_cv_lib_dl_dlopen=no
11.18538 +fi
11.18539 +
11.18540 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18541 + conftest$ac_exeext conftest.$ac_ext
11.18542 +LIBS=$ac_check_lib_save_LIBS
11.18543 +fi
11.18544 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11.18545 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11.18546 +if test $ac_cv_lib_dl_dlopen = yes; then
11.18547 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11.18548 +else
11.18549 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11.18550 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11.18551 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11.18552 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18553 +else
11.18554 + ac_check_lib_save_LIBS=$LIBS
11.18555 +LIBS="-lsvld $LIBS"
11.18556 +cat >conftest.$ac_ext <<_ACEOF
11.18557 +/* confdefs.h. */
11.18558 +_ACEOF
11.18559 +cat confdefs.h >>conftest.$ac_ext
11.18560 +cat >>conftest.$ac_ext <<_ACEOF
11.18561 +/* end confdefs.h. */
11.18562 +
11.18563 +/* Override any GCC internal prototype to avoid an error.
11.18564 + Use char because int might match the return type of a GCC
11.18565 + builtin and then its argument prototype would still apply. */
11.18566 +#ifdef __cplusplus
11.18567 +extern "C"
11.18568 +#endif
11.18569 +char dlopen ();
11.18570 +int
11.18571 +main ()
11.18572 +{
11.18573 +return dlopen ();
11.18574 + ;
11.18575 + return 0;
11.18576 +}
11.18577 +_ACEOF
11.18578 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18579 +if { (ac_try="$ac_link"
11.18580 +case "(($ac_try" in
11.18581 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18582 + *) ac_try_echo=$ac_try;;
11.18583 +esac
11.18584 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18585 + (eval "$ac_link") 2>conftest.er1
11.18586 + ac_status=$?
11.18587 + grep -v '^ *+' conftest.er1 >conftest.err
11.18588 + rm -f conftest.er1
11.18589 + cat conftest.err >&5
11.18590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18591 + (exit $ac_status); } && {
11.18592 + test -z "$ac_c_werror_flag" ||
11.18593 + test ! -s conftest.err
11.18594 + } && test -s conftest$ac_exeext &&
11.18595 + $as_test_x conftest$ac_exeext; then
11.18596 + ac_cv_lib_svld_dlopen=yes
11.18597 +else
11.18598 + echo "$as_me: failed program was:" >&5
11.18599 +sed 's/^/| /' conftest.$ac_ext >&5
11.18600 +
11.18601 + ac_cv_lib_svld_dlopen=no
11.18602 +fi
11.18603 +
11.18604 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18605 + conftest$ac_exeext conftest.$ac_ext
11.18606 +LIBS=$ac_check_lib_save_LIBS
11.18607 +fi
11.18608 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11.18609 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11.18610 +if test $ac_cv_lib_svld_dlopen = yes; then
11.18611 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11.18612 +else
11.18613 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11.18614 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11.18615 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11.18616 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18617 +else
11.18618 + ac_check_lib_save_LIBS=$LIBS
11.18619 +LIBS="-ldld $LIBS"
11.18620 +cat >conftest.$ac_ext <<_ACEOF
11.18621 +/* confdefs.h. */
11.18622 +_ACEOF
11.18623 +cat confdefs.h >>conftest.$ac_ext
11.18624 +cat >>conftest.$ac_ext <<_ACEOF
11.18625 +/* end confdefs.h. */
11.18626 +
11.18627 +/* Override any GCC internal prototype to avoid an error.
11.18628 + Use char because int might match the return type of a GCC
11.18629 + builtin and then its argument prototype would still apply. */
11.18630 +#ifdef __cplusplus
11.18631 +extern "C"
11.18632 +#endif
11.18633 +char dld_link ();
11.18634 +int
11.18635 +main ()
11.18636 +{
11.18637 +return dld_link ();
11.18638 + ;
11.18639 + return 0;
11.18640 +}
11.18641 +_ACEOF
11.18642 +rm -f conftest.$ac_objext conftest$ac_exeext
11.18643 +if { (ac_try="$ac_link"
11.18644 +case "(($ac_try" in
11.18645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.18646 + *) ac_try_echo=$ac_try;;
11.18647 +esac
11.18648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.18649 + (eval "$ac_link") 2>conftest.er1
11.18650 + ac_status=$?
11.18651 + grep -v '^ *+' conftest.er1 >conftest.err
11.18652 + rm -f conftest.er1
11.18653 + cat conftest.err >&5
11.18654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18655 + (exit $ac_status); } && {
11.18656 + test -z "$ac_c_werror_flag" ||
11.18657 + test ! -s conftest.err
11.18658 + } && test -s conftest$ac_exeext &&
11.18659 + $as_test_x conftest$ac_exeext; then
11.18660 + ac_cv_lib_dld_dld_link=yes
11.18661 +else
11.18662 + echo "$as_me: failed program was:" >&5
11.18663 +sed 's/^/| /' conftest.$ac_ext >&5
11.18664 +
11.18665 + ac_cv_lib_dld_dld_link=no
11.18666 +fi
11.18667 +
11.18668 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.18669 + conftest$ac_exeext conftest.$ac_ext
11.18670 +LIBS=$ac_check_lib_save_LIBS
11.18671 +fi
11.18672 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11.18673 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11.18674 +if test $ac_cv_lib_dld_dld_link = yes; then
11.18675 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11.18676 +fi
11.18677 +
11.18678 +
11.18679 +fi
11.18680 +
11.18681 +
11.18682 +fi
11.18683 +
11.18684 +
11.18685 +fi
11.18686 +
11.18687 +
11.18688 +fi
11.18689 +
11.18690 +
11.18691 +fi
11.18692 +
11.18693 + ;;
11.18694 + esac
11.18695 +
11.18696 + if test "x$lt_cv_dlopen" != xno; then
11.18697 + enable_dlopen=yes
11.18698 + else
11.18699 + enable_dlopen=no
11.18700 + fi
11.18701 +
11.18702 + case $lt_cv_dlopen in
11.18703 + dlopen)
11.18704 + save_CPPFLAGS="$CPPFLAGS"
11.18705 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11.18706 +
11.18707 + save_LDFLAGS="$LDFLAGS"
11.18708 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11.18709 +
11.18710 + save_LIBS="$LIBS"
11.18711 + LIBS="$lt_cv_dlopen_libs $LIBS"
11.18712 +
11.18713 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11.18714 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11.18715 +if test "${lt_cv_dlopen_self+set}" = set; then
11.18716 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18717 +else
11.18718 + if test "$cross_compiling" = yes; then :
11.18719 + lt_cv_dlopen_self=cross
11.18720 +else
11.18721 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.18722 + lt_status=$lt_dlunknown
11.18723 + cat > conftest.$ac_ext <<EOF
11.18724 +#line __oline__ "configure"
11.18725 +#include "confdefs.h"
11.18726 +
11.18727 +#if HAVE_DLFCN_H
11.18728 +#include <dlfcn.h>
11.18729 +#endif
11.18730 +
11.18731 +#include <stdio.h>
11.18732 +
11.18733 +#ifdef RTLD_GLOBAL
11.18734 +# define LT_DLGLOBAL RTLD_GLOBAL
11.18735 +#else
11.18736 +# ifdef DL_GLOBAL
11.18737 +# define LT_DLGLOBAL DL_GLOBAL
11.18738 +# else
11.18739 +# define LT_DLGLOBAL 0
11.18740 +# endif
11.18741 +#endif
11.18742 +
11.18743 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.18744 + find out it does not work in some platform. */
11.18745 +#ifndef LT_DLLAZY_OR_NOW
11.18746 +# ifdef RTLD_LAZY
11.18747 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
11.18748 +# else
11.18749 +# ifdef DL_LAZY
11.18750 +# define LT_DLLAZY_OR_NOW DL_LAZY
11.18751 +# else
11.18752 +# ifdef RTLD_NOW
11.18753 +# define LT_DLLAZY_OR_NOW RTLD_NOW
11.18754 +# else
11.18755 +# ifdef DL_NOW
11.18756 +# define LT_DLLAZY_OR_NOW DL_NOW
11.18757 +# else
11.18758 +# define LT_DLLAZY_OR_NOW 0
11.18759 +# endif
11.18760 +# endif
11.18761 +# endif
11.18762 +# endif
11.18763 +#endif
11.18764 +
11.18765 +#ifdef __cplusplus
11.18766 +extern "C" void exit (int);
11.18767 +#endif
11.18768 +
11.18769 +void fnord() { int i=42;}
11.18770 +int main ()
11.18771 +{
11.18772 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.18773 + int status = $lt_dlunknown;
11.18774 +
11.18775 + if (self)
11.18776 + {
11.18777 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11.18778 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.18779 + /* dlclose (self); */
11.18780 + }
11.18781 +
11.18782 + exit (status);
11.18783 +}
11.18784 +EOF
11.18785 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.18786 + (eval $ac_link) 2>&5
11.18787 + ac_status=$?
11.18788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18789 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.18790 + (./conftest; exit; ) 2>/dev/null
11.18791 + lt_status=$?
11.18792 + case x$lt_status in
11.18793 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11.18794 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11.18795 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11.18796 + esac
11.18797 + else :
11.18798 + # compilation failed
11.18799 + lt_cv_dlopen_self=no
11.18800 + fi
11.18801 +fi
11.18802 +rm -fr conftest*
11.18803 +
11.18804 +
11.18805 +fi
11.18806 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11.18807 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11.18808 +
11.18809 + if test "x$lt_cv_dlopen_self" = xyes; then
11.18810 + LDFLAGS="$LDFLAGS $link_static_flag"
11.18811 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11.18812 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11.18813 +if test "${lt_cv_dlopen_self_static+set}" = set; then
11.18814 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.18815 +else
11.18816 + if test "$cross_compiling" = yes; then :
11.18817 + lt_cv_dlopen_self_static=cross
11.18818 +else
11.18819 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.18820 + lt_status=$lt_dlunknown
11.18821 + cat > conftest.$ac_ext <<EOF
11.18822 +#line __oline__ "configure"
11.18823 +#include "confdefs.h"
11.18824 +
11.18825 +#if HAVE_DLFCN_H
11.18826 +#include <dlfcn.h>
11.18827 +#endif
11.18828 +
11.18829 +#include <stdio.h>
11.18830 +
11.18831 +#ifdef RTLD_GLOBAL
11.18832 +# define LT_DLGLOBAL RTLD_GLOBAL
11.18833 +#else
11.18834 +# ifdef DL_GLOBAL
11.18835 +# define LT_DLGLOBAL DL_GLOBAL
11.18836 +# else
11.18837 +# define LT_DLGLOBAL 0
11.18838 +# endif
11.18839 +#endif
11.18840 +
11.18841 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.18842 + find out it does not work in some platform. */
11.18843 +#ifndef LT_DLLAZY_OR_NOW
11.18844 +# ifdef RTLD_LAZY
11.18845 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
11.18846 +# else
11.18847 +# ifdef DL_LAZY
11.18848 +# define LT_DLLAZY_OR_NOW DL_LAZY
11.18849 +# else
11.18850 +# ifdef RTLD_NOW
11.18851 +# define LT_DLLAZY_OR_NOW RTLD_NOW
11.18852 +# else
11.18853 +# ifdef DL_NOW
11.18854 +# define LT_DLLAZY_OR_NOW DL_NOW
11.18855 +# else
11.18856 +# define LT_DLLAZY_OR_NOW 0
11.18857 +# endif
11.18858 +# endif
11.18859 +# endif
11.18860 +# endif
11.18861 +#endif
11.18862 +
11.18863 +#ifdef __cplusplus
11.18864 +extern "C" void exit (int);
11.18865 +#endif
11.18866 +
11.18867 +void fnord() { int i=42;}
11.18868 +int main ()
11.18869 +{
11.18870 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.18871 + int status = $lt_dlunknown;
11.18872 +
11.18873 + if (self)
11.18874 + {
11.18875 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11.18876 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.18877 + /* dlclose (self); */
11.18878 + }
11.18879 +
11.18880 + exit (status);
11.18881 +}
11.18882 +EOF
11.18883 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.18884 + (eval $ac_link) 2>&5
11.18885 + ac_status=$?
11.18886 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.18887 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.18888 + (./conftest; exit; ) 2>/dev/null
11.18889 + lt_status=$?
11.18890 + case x$lt_status in
11.18891 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11.18892 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11.18893 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11.18894 + esac
11.18895 + else :
11.18896 + # compilation failed
11.18897 + lt_cv_dlopen_self_static=no
11.18898 + fi
11.18899 +fi
11.18900 +rm -fr conftest*
11.18901 +
11.18902 +
11.18903 +fi
11.18904 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11.18905 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11.18906 + fi
11.18907 +
11.18908 + CPPFLAGS="$save_CPPFLAGS"
11.18909 + LDFLAGS="$save_LDFLAGS"
11.18910 + LIBS="$save_LIBS"
11.18911 + ;;
11.18912 + esac
11.18913 +
11.18914 + case $lt_cv_dlopen_self in
11.18915 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11.18916 + *) enable_dlopen_self=unknown ;;
11.18917 + esac
11.18918 +
11.18919 + case $lt_cv_dlopen_self_static in
11.18920 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11.18921 + *) enable_dlopen_self_static=unknown ;;
11.18922 + esac
11.18923 +fi
11.18924 +
11.18925 +
11.18926 +# The else clause should only fire when bootstrapping the
11.18927 +# libtool distribution, otherwise you forgot to ship ltmain.sh
11.18928 +# with your package, and you will get complaints that there are
11.18929 +# no rules to generate ltmain.sh.
11.18930 +if test -f "$ltmain"; then
11.18931 + # See if we are running on zsh, and set the options which allow our commands through
11.18932 + # without removal of \ escapes.
11.18933 + if test -n "${ZSH_VERSION+set}" ; then
11.18934 + setopt NO_GLOB_SUBST
11.18935 + fi
11.18936 + # Now quote all the things that may contain metacharacters while being
11.18937 + # careful not to overquote the AC_SUBSTed values. We take copies of the
11.18938 + # variables and quote the copies for generation of the libtool script.
11.18939 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11.18940 + SED SHELL STRIP \
11.18941 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11.18942 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11.18943 + deplibs_check_method reload_flag reload_cmds need_locks \
11.18944 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11.18945 + lt_cv_sys_global_symbol_to_c_name_address \
11.18946 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11.18947 + old_postinstall_cmds old_postuninstall_cmds \
11.18948 + compiler_GCJ \
11.18949 + CC_GCJ \
11.18950 + LD_GCJ \
11.18951 + lt_prog_compiler_wl_GCJ \
11.18952 + lt_prog_compiler_pic_GCJ \
11.18953 + lt_prog_compiler_static_GCJ \
11.18954 + lt_prog_compiler_no_builtin_flag_GCJ \
11.18955 + export_dynamic_flag_spec_GCJ \
11.18956 + thread_safe_flag_spec_GCJ \
11.18957 + whole_archive_flag_spec_GCJ \
11.18958 + enable_shared_with_static_runtimes_GCJ \
11.18959 + old_archive_cmds_GCJ \
11.18960 + old_archive_from_new_cmds_GCJ \
11.18961 + predep_objects_GCJ \
11.18962 + postdep_objects_GCJ \
11.18963 + predeps_GCJ \
11.18964 + postdeps_GCJ \
11.18965 + compiler_lib_search_path_GCJ \
11.18966 + archive_cmds_GCJ \
11.18967 + archive_expsym_cmds_GCJ \
11.18968 + postinstall_cmds_GCJ \
11.18969 + postuninstall_cmds_GCJ \
11.18970 + old_archive_from_expsyms_cmds_GCJ \
11.18971 + allow_undefined_flag_GCJ \
11.18972 + no_undefined_flag_GCJ \
11.18973 + export_symbols_cmds_GCJ \
11.18974 + hardcode_libdir_flag_spec_GCJ \
11.18975 + hardcode_libdir_flag_spec_ld_GCJ \
11.18976 + hardcode_libdir_separator_GCJ \
11.18977 + hardcode_automatic_GCJ \
11.18978 + module_cmds_GCJ \
11.18979 + module_expsym_cmds_GCJ \
11.18980 + lt_cv_prog_compiler_c_o_GCJ \
11.18981 + exclude_expsyms_GCJ \
11.18982 + include_expsyms_GCJ; do
11.18983 +
11.18984 + case $var in
11.18985 + old_archive_cmds_GCJ | \
11.18986 + old_archive_from_new_cmds_GCJ | \
11.18987 + archive_cmds_GCJ | \
11.18988 + archive_expsym_cmds_GCJ | \
11.18989 + module_cmds_GCJ | \
11.18990 + module_expsym_cmds_GCJ | \
11.18991 + old_archive_from_expsyms_cmds_GCJ | \
11.18992 + export_symbols_cmds_GCJ | \
11.18993 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
11.18994 + postinstall_cmds | postuninstall_cmds | \
11.18995 + old_postinstall_cmds | old_postuninstall_cmds | \
11.18996 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11.18997 + # Double-quote double-evaled strings.
11.18998 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11.18999 + ;;
11.19000 + *)
11.19001 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11.19002 + ;;
11.19003 + esac
11.19004 + done
11.19005 +
11.19006 + case $lt_echo in
11.19007 + *'\$0 --fallback-echo"')
11.19008 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11.19009 + ;;
11.19010 + esac
11.19011 +
11.19012 +cfgfile="$ofile"
11.19013 +
11.19014 + cat <<__EOF__ >> "$cfgfile"
11.19015 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
11.19016 +
11.19017 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11.19018 +
11.19019 +# Shell to use when invoking shell scripts.
11.19020 +SHELL=$lt_SHELL
11.19021 +
11.19022 +# Whether or not to build shared libraries.
11.19023 +build_libtool_libs=$enable_shared
11.19024 +
11.19025 +# Whether or not to build static libraries.
11.19026 +build_old_libs=$enable_static
11.19027 +
11.19028 +# Whether or not to add -lc for building shared libraries.
11.19029 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
11.19030 +
11.19031 +# Whether or not to disallow shared libs when runtime libs are static
11.19032 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
11.19033 +
11.19034 +# Whether or not to optimize for fast installation.
11.19035 +fast_install=$enable_fast_install
11.19036 +
11.19037 +# The host system.
11.19038 +host_alias=$host_alias
11.19039 +host=$host
11.19040 +
11.19041 +# An echo program that does not interpret backslashes.
11.19042 +echo=$lt_echo
11.19043 +
11.19044 +# The archiver.
11.19045 +AR=$lt_AR
11.19046 +AR_FLAGS=$lt_AR_FLAGS
11.19047 +
11.19048 +# A C compiler.
11.19049 +LTCC=$lt_LTCC
11.19050 +
11.19051 +# A language-specific compiler.
11.19052 +CC=$lt_compiler_GCJ
11.19053 +
11.19054 +# Is the compiler the GNU C compiler?
11.19055 +with_gcc=$GCC_GCJ
11.19056 +
11.19057 +# An ERE matcher.
11.19058 +EGREP=$lt_EGREP
11.19059 +
11.19060 +# The linker used to build libraries.
11.19061 +LD=$lt_LD_GCJ
11.19062 +
11.19063 +# Whether we need hard or soft links.
11.19064 +LN_S=$lt_LN_S
11.19065 +
11.19066 +# A BSD-compatible nm program.
11.19067 +NM=$lt_NM
11.19068 +
11.19069 +# A symbol stripping program
11.19070 +STRIP=$lt_STRIP
11.19071 +
11.19072 +# Used to examine libraries when file_magic_cmd begins "file"
11.19073 +MAGIC_CMD=$MAGIC_CMD
11.19074 +
11.19075 +# Used on cygwin: DLL creation program.
11.19076 +DLLTOOL="$DLLTOOL"
11.19077 +
11.19078 +# Used on cygwin: object dumper.
11.19079 +OBJDUMP="$OBJDUMP"
11.19080 +
11.19081 +# Used on cygwin: assembler.
11.19082 +AS="$AS"
11.19083 +
11.19084 +# The name of the directory that contains temporary libtool files.
11.19085 +objdir=$objdir
11.19086 +
11.19087 +# How to create reloadable object files.
11.19088 +reload_flag=$lt_reload_flag
11.19089 +reload_cmds=$lt_reload_cmds
11.19090 +
11.19091 +# How to pass a linker flag through the compiler.
11.19092 +wl=$lt_lt_prog_compiler_wl_GCJ
11.19093 +
11.19094 +# Object file suffix (normally "o").
11.19095 +objext="$ac_objext"
11.19096 +
11.19097 +# Old archive suffix (normally "a").
11.19098 +libext="$libext"
11.19099 +
11.19100 +# Shared library suffix (normally ".so").
11.19101 +shrext_cmds='$shrext_cmds'
11.19102 +
11.19103 +# Executable file suffix (normally "").
11.19104 +exeext="$exeext"
11.19105 +
11.19106 +# Additional compiler flags for building library objects.
11.19107 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
11.19108 +pic_mode=$pic_mode
11.19109 +
11.19110 +# What is the maximum length of a command?
11.19111 +max_cmd_len=$lt_cv_sys_max_cmd_len
11.19112 +
11.19113 +# Does compiler simultaneously support -c and -o options?
11.19114 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
11.19115 +
11.19116 +# Must we lock files when doing compilation ?
11.19117 +need_locks=$lt_need_locks
11.19118 +
11.19119 +# Do we need the lib prefix for modules?
11.19120 +need_lib_prefix=$need_lib_prefix
11.19121 +
11.19122 +# Do we need a version for libraries?
11.19123 +need_version=$need_version
11.19124 +
11.19125 +# Whether dlopen is supported.
11.19126 +dlopen_support=$enable_dlopen
11.19127 +
11.19128 +# Whether dlopen of programs is supported.
11.19129 +dlopen_self=$enable_dlopen_self
11.19130 +
11.19131 +# Whether dlopen of statically linked programs is supported.
11.19132 +dlopen_self_static=$enable_dlopen_self_static
11.19133 +
11.19134 +# Compiler flag to prevent dynamic linking.
11.19135 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
11.19136 +
11.19137 +# Compiler flag to turn off builtin functions.
11.19138 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
11.19139 +
11.19140 +# Compiler flag to allow reflexive dlopens.
11.19141 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
11.19142 +
11.19143 +# Compiler flag to generate shared objects directly from archives.
11.19144 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
11.19145 +
11.19146 +# Compiler flag to generate thread-safe objects.
11.19147 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
11.19148 +
11.19149 +# Library versioning type.
11.19150 +version_type=$version_type
11.19151 +
11.19152 +# Format of library name prefix.
11.19153 +libname_spec=$lt_libname_spec
11.19154 +
11.19155 +# List of archive names. First name is the real one, the rest are links.
11.19156 +# The last name is the one that the linker finds with -lNAME.
11.19157 +library_names_spec=$lt_library_names_spec
11.19158 +
11.19159 +# The coded name of the library, if different from the real name.
11.19160 +soname_spec=$lt_soname_spec
11.19161 +
11.19162 +# Commands used to build and install an old-style archive.
11.19163 +RANLIB=$lt_RANLIB
11.19164 +old_archive_cmds=$lt_old_archive_cmds_GCJ
11.19165 +old_postinstall_cmds=$lt_old_postinstall_cmds
11.19166 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
11.19167 +
11.19168 +# Create an old-style archive from a shared archive.
11.19169 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
11.19170 +
11.19171 +# Create a temporary old-style archive to link instead of a shared archive.
11.19172 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
11.19173 +
11.19174 +# Commands used to build and install a shared archive.
11.19175 +archive_cmds=$lt_archive_cmds_GCJ
11.19176 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
11.19177 +postinstall_cmds=$lt_postinstall_cmds
11.19178 +postuninstall_cmds=$lt_postuninstall_cmds
11.19179 +
11.19180 +# Commands used to build a loadable module (assumed same as above if empty)
11.19181 +module_cmds=$lt_module_cmds_GCJ
11.19182 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
11.19183 +
11.19184 +# Commands to strip libraries.
11.19185 +old_striplib=$lt_old_striplib
11.19186 +striplib=$lt_striplib
11.19187 +
11.19188 +# Dependencies to place before the objects being linked to create a
11.19189 +# shared library.
11.19190 +predep_objects=$lt_predep_objects_GCJ
11.19191 +
11.19192 +# Dependencies to place after the objects being linked to create a
11.19193 +# shared library.
11.19194 +postdep_objects=$lt_postdep_objects_GCJ
11.19195 +
11.19196 +# Dependencies to place before the objects being linked to create a
11.19197 +# shared library.
11.19198 +predeps=$lt_predeps_GCJ
11.19199 +
11.19200 +# Dependencies to place after the objects being linked to create a
11.19201 +# shared library.
11.19202 +postdeps=$lt_postdeps_GCJ
11.19203 +
11.19204 +# The library search path used internally by the compiler when linking
11.19205 +# a shared library.
11.19206 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
11.19207 +
11.19208 +# Method to check whether dependent libraries are shared objects.
11.19209 +deplibs_check_method=$lt_deplibs_check_method
11.19210 +
11.19211 +# Command to use when deplibs_check_method == file_magic.
11.19212 +file_magic_cmd=$lt_file_magic_cmd
11.19213 +
11.19214 +# Flag that allows shared libraries with undefined symbols to be built.
11.19215 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
11.19216 +
11.19217 +# Flag that forces no undefined symbols.
11.19218 +no_undefined_flag=$lt_no_undefined_flag_GCJ
11.19219 +
11.19220 +# Commands used to finish a libtool library installation in a directory.
11.19221 +finish_cmds=$lt_finish_cmds
11.19222 +
11.19223 +# Same as above, but a single script fragment to be evaled but not shown.
11.19224 +finish_eval=$lt_finish_eval
11.19225 +
11.19226 +# Take the output of nm and produce a listing of raw symbols and C names.
11.19227 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11.19228 +
11.19229 +# Transform the output of nm in a proper C declaration
11.19230 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11.19231 +
11.19232 +# Transform the output of nm in a C name address pair
11.19233 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11.19234 +
11.19235 +# This is the shared library runtime path variable.
11.19236 +runpath_var=$runpath_var
11.19237 +
11.19238 +# This is the shared library path variable.
11.19239 +shlibpath_var=$shlibpath_var
11.19240 +
11.19241 +# Is shlibpath searched before the hard-coded library search path?
11.19242 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11.19243 +
11.19244 +# How to hardcode a shared library path into an executable.
11.19245 +hardcode_action=$hardcode_action_GCJ
11.19246 +
11.19247 +# Whether we should hardcode library paths into libraries.
11.19248 +hardcode_into_libs=$hardcode_into_libs
11.19249 +
11.19250 +# Flag to hardcode \$libdir into a binary during linking.
11.19251 +# This must work even if \$libdir does not exist.
11.19252 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
11.19253 +
11.19254 +# If ld is used when linking, flag to hardcode \$libdir into
11.19255 +# a binary during linking. This must work even if \$libdir does
11.19256 +# not exist.
11.19257 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
11.19258 +
11.19259 +# Whether we need a single -rpath flag with a separated argument.
11.19260 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
11.19261 +
11.19262 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11.19263 +# resulting binary.
11.19264 +hardcode_direct=$hardcode_direct_GCJ
11.19265 +
11.19266 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11.19267 +# resulting binary.
11.19268 +hardcode_minus_L=$hardcode_minus_L_GCJ
11.19269 +
11.19270 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11.19271 +# the resulting binary.
11.19272 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
11.19273 +
11.19274 +# Set to yes if building a shared library automatically hardcodes DIR into the library
11.19275 +# and all subsequent libraries and executables linked against it.
11.19276 +hardcode_automatic=$hardcode_automatic_GCJ
11.19277 +
11.19278 +# Variables whose values should be saved in libtool wrapper scripts and
11.19279 +# restored at relink time.
11.19280 +variables_saved_for_relink="$variables_saved_for_relink"
11.19281 +
11.19282 +# Whether libtool must link a program against all its dependency libraries.
11.19283 +link_all_deplibs=$link_all_deplibs_GCJ
11.19284 +
11.19285 +# Compile-time system search path for libraries
11.19286 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11.19287 +
11.19288 +# Run-time system search path for libraries
11.19289 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11.19290 +
11.19291 +# Fix the shell variable \$srcfile for the compiler.
11.19292 +fix_srcfile_path="$fix_srcfile_path_GCJ"
11.19293 +
11.19294 +# Set to yes if exported symbols are required.
11.19295 +always_export_symbols=$always_export_symbols_GCJ
11.19296 +
11.19297 +# The commands to list exported symbols.
11.19298 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
11.19299 +
11.19300 +# The commands to extract the exported symbol list from a shared archive.
11.19301 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
11.19302 +
11.19303 +# Symbols that should not be listed in the preloaded symbols.
11.19304 +exclude_expsyms=$lt_exclude_expsyms_GCJ
11.19305 +
11.19306 +# Symbols that must always be exported.
11.19307 +include_expsyms=$lt_include_expsyms_GCJ
11.19308 +
11.19309 +# ### END LIBTOOL TAG CONFIG: $tagname
11.19310 +
11.19311 +__EOF__
11.19312 +
11.19313 +
11.19314 +else
11.19315 + # If there is no Makefile yet, we rely on a make rule to execute
11.19316 + # `config.status --recheck' to rerun these tests and create the
11.19317 + # libtool script then.
11.19318 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11.19319 + if test -f "$ltmain_in"; then
11.19320 + test -f Makefile && make "$ltmain"
11.19321 + fi
11.19322 +fi
11.19323 +
11.19324 +
11.19325 +ac_ext=c
11.19326 +ac_cpp='$CPP $CPPFLAGS'
11.19327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.19328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.19329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.19330 +
11.19331 +CC="$lt_save_CC"
11.19332 +
11.19333 + else
11.19334 + tagname=""
11.19335 + fi
11.19336 + ;;
11.19337 +
11.19338 + RC)
11.19339 +
11.19340 +
11.19341 +# Source file extension for RC test sources.
11.19342 +ac_ext=rc
11.19343 +
11.19344 +# Object file extension for compiled RC test sources.
11.19345 +objext=o
11.19346 +objext_RC=$objext
11.19347 +
11.19348 +# Code to be used in simple compile tests
11.19349 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
11.19350 +
11.19351 +# Code to be used in simple link tests
11.19352 +lt_simple_link_test_code="$lt_simple_compile_test_code"
11.19353 +
11.19354 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11.19355 +
11.19356 +# If no C compiler was specified, use CC.
11.19357 +LTCC=${LTCC-"$CC"}
11.19358 +
11.19359 +# Allow CC to be a program name with arguments.
11.19360 +compiler=$CC
11.19361 +
11.19362 +
11.19363 +# Allow CC to be a program name with arguments.
11.19364 +lt_save_CC="$CC"
11.19365 +CC=${RC-"windres"}
11.19366 +compiler=$CC
11.19367 +compiler_RC=$CC
11.19368 +lt_cv_prog_compiler_c_o_RC=yes
11.19369 +
11.19370 +# The else clause should only fire when bootstrapping the
11.19371 +# libtool distribution, otherwise you forgot to ship ltmain.sh
11.19372 +# with your package, and you will get complaints that there are
11.19373 +# no rules to generate ltmain.sh.
11.19374 +if test -f "$ltmain"; then
11.19375 + # See if we are running on zsh, and set the options which allow our commands through
11.19376 + # without removal of \ escapes.
11.19377 + if test -n "${ZSH_VERSION+set}" ; then
11.19378 + setopt NO_GLOB_SUBST
11.19379 + fi
11.19380 + # Now quote all the things that may contain metacharacters while being
11.19381 + # careful not to overquote the AC_SUBSTed values. We take copies of the
11.19382 + # variables and quote the copies for generation of the libtool script.
11.19383 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11.19384 + SED SHELL STRIP \
11.19385 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11.19386 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11.19387 + deplibs_check_method reload_flag reload_cmds need_locks \
11.19388 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11.19389 + lt_cv_sys_global_symbol_to_c_name_address \
11.19390 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11.19391 + old_postinstall_cmds old_postuninstall_cmds \
11.19392 + compiler_RC \
11.19393 + CC_RC \
11.19394 + LD_RC \
11.19395 + lt_prog_compiler_wl_RC \
11.19396 + lt_prog_compiler_pic_RC \
11.19397 + lt_prog_compiler_static_RC \
11.19398 + lt_prog_compiler_no_builtin_flag_RC \
11.19399 + export_dynamic_flag_spec_RC \
11.19400 + thread_safe_flag_spec_RC \
11.19401 + whole_archive_flag_spec_RC \
11.19402 + enable_shared_with_static_runtimes_RC \
11.19403 + old_archive_cmds_RC \
11.19404 + old_archive_from_new_cmds_RC \
11.19405 + predep_objects_RC \
11.19406 + postdep_objects_RC \
11.19407 + predeps_RC \
11.19408 + postdeps_RC \
11.19409 + compiler_lib_search_path_RC \
11.19410 + archive_cmds_RC \
11.19411 + archive_expsym_cmds_RC \
11.19412 + postinstall_cmds_RC \
11.19413 + postuninstall_cmds_RC \
11.19414 + old_archive_from_expsyms_cmds_RC \
11.19415 + allow_undefined_flag_RC \
11.19416 + no_undefined_flag_RC \
11.19417 + export_symbols_cmds_RC \
11.19418 + hardcode_libdir_flag_spec_RC \
11.19419 + hardcode_libdir_flag_spec_ld_RC \
11.19420 + hardcode_libdir_separator_RC \
11.19421 + hardcode_automatic_RC \
11.19422 + module_cmds_RC \
11.19423 + module_expsym_cmds_RC \
11.19424 + lt_cv_prog_compiler_c_o_RC \
11.19425 + exclude_expsyms_RC \
11.19426 + include_expsyms_RC; do
11.19427 +
11.19428 + case $var in
11.19429 + old_archive_cmds_RC | \
11.19430 + old_archive_from_new_cmds_RC | \
11.19431 + archive_cmds_RC | \
11.19432 + archive_expsym_cmds_RC | \
11.19433 + module_cmds_RC | \
11.19434 + module_expsym_cmds_RC | \
11.19435 + old_archive_from_expsyms_cmds_RC | \
11.19436 + export_symbols_cmds_RC | \
11.19437 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
11.19438 + postinstall_cmds | postuninstall_cmds | \
11.19439 + old_postinstall_cmds | old_postuninstall_cmds | \
11.19440 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11.19441 + # Double-quote double-evaled strings.
11.19442 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11.19443 + ;;
11.19444 + *)
11.19445 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11.19446 + ;;
11.19447 + esac
11.19448 + done
11.19449 +
11.19450 + case $lt_echo in
11.19451 + *'\$0 --fallback-echo"')
11.19452 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11.19453 + ;;
11.19454 + esac
11.19455 +
11.19456 +cfgfile="$ofile"
11.19457 +
11.19458 + cat <<__EOF__ >> "$cfgfile"
11.19459 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
11.19460 +
11.19461 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11.19462 +
11.19463 +# Shell to use when invoking shell scripts.
11.19464 +SHELL=$lt_SHELL
11.19465 +
11.19466 +# Whether or not to build shared libraries.
11.19467 +build_libtool_libs=$enable_shared
11.19468 +
11.19469 +# Whether or not to build static libraries.
11.19470 +build_old_libs=$enable_static
11.19471 +
11.19472 +# Whether or not to add -lc for building shared libraries.
11.19473 +build_libtool_need_lc=$archive_cmds_need_lc_RC
11.19474 +
11.19475 +# Whether or not to disallow shared libs when runtime libs are static
11.19476 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
11.19477 +
11.19478 +# Whether or not to optimize for fast installation.
11.19479 +fast_install=$enable_fast_install
11.19480 +
11.19481 +# The host system.
11.19482 +host_alias=$host_alias
11.19483 +host=$host
11.19484 +
11.19485 +# An echo program that does not interpret backslashes.
11.19486 +echo=$lt_echo
11.19487 +
11.19488 +# The archiver.
11.19489 +AR=$lt_AR
11.19490 +AR_FLAGS=$lt_AR_FLAGS
11.19491 +
11.19492 +# A C compiler.
11.19493 +LTCC=$lt_LTCC
11.19494 +
11.19495 +# A language-specific compiler.
11.19496 +CC=$lt_compiler_RC
11.19497 +
11.19498 +# Is the compiler the GNU C compiler?
11.19499 +with_gcc=$GCC_RC
11.19500 +
11.19501 +# An ERE matcher.
11.19502 +EGREP=$lt_EGREP
11.19503 +
11.19504 +# The linker used to build libraries.
11.19505 +LD=$lt_LD_RC
11.19506 +
11.19507 +# Whether we need hard or soft links.
11.19508 +LN_S=$lt_LN_S
11.19509 +
11.19510 +# A BSD-compatible nm program.
11.19511 +NM=$lt_NM
11.19512 +
11.19513 +# A symbol stripping program
11.19514 +STRIP=$lt_STRIP
11.19515 +
11.19516 +# Used to examine libraries when file_magic_cmd begins "file"
11.19517 +MAGIC_CMD=$MAGIC_CMD
11.19518 +
11.19519 +# Used on cygwin: DLL creation program.
11.19520 +DLLTOOL="$DLLTOOL"
11.19521 +
11.19522 +# Used on cygwin: object dumper.
11.19523 +OBJDUMP="$OBJDUMP"
11.19524 +
11.19525 +# Used on cygwin: assembler.
11.19526 +AS="$AS"
11.19527 +
11.19528 +# The name of the directory that contains temporary libtool files.
11.19529 +objdir=$objdir
11.19530 +
11.19531 +# How to create reloadable object files.
11.19532 +reload_flag=$lt_reload_flag
11.19533 +reload_cmds=$lt_reload_cmds
11.19534 +
11.19535 +# How to pass a linker flag through the compiler.
11.19536 +wl=$lt_lt_prog_compiler_wl_RC
11.19537 +
11.19538 +# Object file suffix (normally "o").
11.19539 +objext="$ac_objext"
11.19540 +
11.19541 +# Old archive suffix (normally "a").
11.19542 +libext="$libext"
11.19543 +
11.19544 +# Shared library suffix (normally ".so").
11.19545 +shrext_cmds='$shrext_cmds'
11.19546 +
11.19547 +# Executable file suffix (normally "").
11.19548 +exeext="$exeext"
11.19549 +
11.19550 +# Additional compiler flags for building library objects.
11.19551 +pic_flag=$lt_lt_prog_compiler_pic_RC
11.19552 +pic_mode=$pic_mode
11.19553 +
11.19554 +# What is the maximum length of a command?
11.19555 +max_cmd_len=$lt_cv_sys_max_cmd_len
11.19556 +
11.19557 +# Does compiler simultaneously support -c and -o options?
11.19558 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
11.19559 +
11.19560 +# Must we lock files when doing compilation ?
11.19561 +need_locks=$lt_need_locks
11.19562 +
11.19563 +# Do we need the lib prefix for modules?
11.19564 +need_lib_prefix=$need_lib_prefix
11.19565 +
11.19566 +# Do we need a version for libraries?
11.19567 +need_version=$need_version
11.19568 +
11.19569 +# Whether dlopen is supported.
11.19570 +dlopen_support=$enable_dlopen
11.19571 +
11.19572 +# Whether dlopen of programs is supported.
11.19573 +dlopen_self=$enable_dlopen_self
11.19574 +
11.19575 +# Whether dlopen of statically linked programs is supported.
11.19576 +dlopen_self_static=$enable_dlopen_self_static
11.19577 +
11.19578 +# Compiler flag to prevent dynamic linking.
11.19579 +link_static_flag=$lt_lt_prog_compiler_static_RC
11.19580 +
11.19581 +# Compiler flag to turn off builtin functions.
11.19582 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
11.19583 +
11.19584 +# Compiler flag to allow reflexive dlopens.
11.19585 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
11.19586 +
11.19587 +# Compiler flag to generate shared objects directly from archives.
11.19588 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
11.19589 +
11.19590 +# Compiler flag to generate thread-safe objects.
11.19591 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
11.19592 +
11.19593 +# Library versioning type.
11.19594 +version_type=$version_type
11.19595 +
11.19596 +# Format of library name prefix.
11.19597 +libname_spec=$lt_libname_spec
11.19598 +
11.19599 +# List of archive names. First name is the real one, the rest are links.
11.19600 +# The last name is the one that the linker finds with -lNAME.
11.19601 +library_names_spec=$lt_library_names_spec
11.19602 +
11.19603 +# The coded name of the library, if different from the real name.
11.19604 +soname_spec=$lt_soname_spec
11.19605 +
11.19606 +# Commands used to build and install an old-style archive.
11.19607 +RANLIB=$lt_RANLIB
11.19608 +old_archive_cmds=$lt_old_archive_cmds_RC
11.19609 +old_postinstall_cmds=$lt_old_postinstall_cmds
11.19610 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
11.19611 +
11.19612 +# Create an old-style archive from a shared archive.
11.19613 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
11.19614 +
11.19615 +# Create a temporary old-style archive to link instead of a shared archive.
11.19616 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
11.19617 +
11.19618 +# Commands used to build and install a shared archive.
11.19619 +archive_cmds=$lt_archive_cmds_RC
11.19620 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
11.19621 +postinstall_cmds=$lt_postinstall_cmds
11.19622 +postuninstall_cmds=$lt_postuninstall_cmds
11.19623 +
11.19624 +# Commands used to build a loadable module (assumed same as above if empty)
11.19625 +module_cmds=$lt_module_cmds_RC
11.19626 +module_expsym_cmds=$lt_module_expsym_cmds_RC
11.19627 +
11.19628 +# Commands to strip libraries.
11.19629 +old_striplib=$lt_old_striplib
11.19630 +striplib=$lt_striplib
11.19631 +
11.19632 +# Dependencies to place before the objects being linked to create a
11.19633 +# shared library.
11.19634 +predep_objects=$lt_predep_objects_RC
11.19635 +
11.19636 +# Dependencies to place after the objects being linked to create a
11.19637 +# shared library.
11.19638 +postdep_objects=$lt_postdep_objects_RC
11.19639 +
11.19640 +# Dependencies to place before the objects being linked to create a
11.19641 +# shared library.
11.19642 +predeps=$lt_predeps_RC
11.19643 +
11.19644 +# Dependencies to place after the objects being linked to create a
11.19645 +# shared library.
11.19646 +postdeps=$lt_postdeps_RC
11.19647 +
11.19648 +# The library search path used internally by the compiler when linking
11.19649 +# a shared library.
11.19650 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
11.19651 +
11.19652 +# Method to check whether dependent libraries are shared objects.
11.19653 +deplibs_check_method=$lt_deplibs_check_method
11.19654 +
11.19655 +# Command to use when deplibs_check_method == file_magic.
11.19656 +file_magic_cmd=$lt_file_magic_cmd
11.19657 +
11.19658 +# Flag that allows shared libraries with undefined symbols to be built.
11.19659 +allow_undefined_flag=$lt_allow_undefined_flag_RC
11.19660 +
11.19661 +# Flag that forces no undefined symbols.
11.19662 +no_undefined_flag=$lt_no_undefined_flag_RC
11.19663 +
11.19664 +# Commands used to finish a libtool library installation in a directory.
11.19665 +finish_cmds=$lt_finish_cmds
11.19666 +
11.19667 +# Same as above, but a single script fragment to be evaled but not shown.
11.19668 +finish_eval=$lt_finish_eval
11.19669 +
11.19670 +# Take the output of nm and produce a listing of raw symbols and C names.
11.19671 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11.19672 +
11.19673 +# Transform the output of nm in a proper C declaration
11.19674 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11.19675 +
11.19676 +# Transform the output of nm in a C name address pair
11.19677 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11.19678 +
11.19679 +# This is the shared library runtime path variable.
11.19680 +runpath_var=$runpath_var
11.19681 +
11.19682 +# This is the shared library path variable.
11.19683 +shlibpath_var=$shlibpath_var
11.19684 +
11.19685 +# Is shlibpath searched before the hard-coded library search path?
11.19686 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11.19687 +
11.19688 +# How to hardcode a shared library path into an executable.
11.19689 +hardcode_action=$hardcode_action_RC
11.19690 +
11.19691 +# Whether we should hardcode library paths into libraries.
11.19692 +hardcode_into_libs=$hardcode_into_libs
11.19693 +
11.19694 +# Flag to hardcode \$libdir into a binary during linking.
11.19695 +# This must work even if \$libdir does not exist.
11.19696 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
11.19697 +
11.19698 +# If ld is used when linking, flag to hardcode \$libdir into
11.19699 +# a binary during linking. This must work even if \$libdir does
11.19700 +# not exist.
11.19701 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
11.19702 +
11.19703 +# Whether we need a single -rpath flag with a separated argument.
11.19704 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
11.19705 +
11.19706 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11.19707 +# resulting binary.
11.19708 +hardcode_direct=$hardcode_direct_RC
11.19709 +
11.19710 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11.19711 +# resulting binary.
11.19712 +hardcode_minus_L=$hardcode_minus_L_RC
11.19713 +
11.19714 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11.19715 +# the resulting binary.
11.19716 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
11.19717 +
11.19718 +# Set to yes if building a shared library automatically hardcodes DIR into the library
11.19719 +# and all subsequent libraries and executables linked against it.
11.19720 +hardcode_automatic=$hardcode_automatic_RC
11.19721 +
11.19722 +# Variables whose values should be saved in libtool wrapper scripts and
11.19723 +# restored at relink time.
11.19724 +variables_saved_for_relink="$variables_saved_for_relink"
11.19725 +
11.19726 +# Whether libtool must link a program against all its dependency libraries.
11.19727 +link_all_deplibs=$link_all_deplibs_RC
11.19728 +
11.19729 +# Compile-time system search path for libraries
11.19730 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11.19731 +
11.19732 +# Run-time system search path for libraries
11.19733 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11.19734 +
11.19735 +# Fix the shell variable \$srcfile for the compiler.
11.19736 +fix_srcfile_path="$fix_srcfile_path_RC"
11.19737 +
11.19738 +# Set to yes if exported symbols are required.
11.19739 +always_export_symbols=$always_export_symbols_RC
11.19740 +
11.19741 +# The commands to list exported symbols.
11.19742 +export_symbols_cmds=$lt_export_symbols_cmds_RC
11.19743 +
11.19744 +# The commands to extract the exported symbol list from a shared archive.
11.19745 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
11.19746 +
11.19747 +# Symbols that should not be listed in the preloaded symbols.
11.19748 +exclude_expsyms=$lt_exclude_expsyms_RC
11.19749 +
11.19750 +# Symbols that must always be exported.
11.19751 +include_expsyms=$lt_include_expsyms_RC
11.19752 +
11.19753 +# ### END LIBTOOL TAG CONFIG: $tagname
11.19754 +
11.19755 +__EOF__
11.19756 +
11.19757 +
11.19758 +else
11.19759 + # If there is no Makefile yet, we rely on a make rule to execute
11.19760 + # `config.status --recheck' to rerun these tests and create the
11.19761 + # libtool script then.
11.19762 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11.19763 + if test -f "$ltmain_in"; then
11.19764 + test -f Makefile && make "$ltmain"
11.19765 + fi
11.19766 +fi
11.19767 +
11.19768 +
11.19769 +ac_ext=c
11.19770 +ac_cpp='$CPP $CPPFLAGS'
11.19771 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.19772 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.19773 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.19774 +
11.19775 +CC="$lt_save_CC"
11.19776 +
11.19777 + ;;
11.19778 +
11.19779 + *)
11.19780 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
11.19781 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
11.19782 + { (exit 1); exit 1; }; }
11.19783 + ;;
11.19784 + esac
11.19785 +
11.19786 + # Append the new tag name to the list of available tags.
11.19787 + if test -n "$tagname" ; then
11.19788 + available_tags="$available_tags $tagname"
11.19789 + fi
11.19790 + fi
11.19791 + done
11.19792 + IFS="$lt_save_ifs"
11.19793 +
11.19794 + # Now substitute the updated list of available tags.
11.19795 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
11.19796 + mv "${ofile}T" "$ofile"
11.19797 + chmod +x "$ofile"
11.19798 + else
11.19799 + rm -f "${ofile}T"
11.19800 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
11.19801 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
11.19802 + { (exit 1); exit 1; }; }
11.19803 + fi
11.19804 +fi
11.19805 +
11.19806 +
11.19807 +
11.19808 +# This can be used to rebuild libtool when needed
11.19809 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
11.19810 +
11.19811 +# Always use our own libtool.
11.19812 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11.19813 +
11.19814 +# Prevent multiple expansion
11.19815 +
11.19816 +
11.19817 +
11.19818 +
11.19819 +
11.19820 +
11.19821 +
11.19822 +
11.19823 +
11.19824 +
11.19825 +
11.19826 +
11.19827 +
11.19828 +
11.19829 +
11.19830 +
11.19831 +
11.19832 +
11.19833 +
11.19834 +
11.19835 +
11.19836 +ac_config_headers="$ac_config_headers config.h"
11.19837 +
11.19838 +
11.19839 +ACLOCAL_AMFLAGS="-I m4"
11.19840 +
11.19841 +
11.19842 +ac_ext=c
11.19843 +ac_cpp='$CPP $CPPFLAGS'
11.19844 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.19845 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.19846 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.19847 +if test -n "$ac_tool_prefix"; then
11.19848 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11.19849 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
11.19850 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.19851 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.19852 +if test "${ac_cv_prog_CC+set}" = set; then
11.19853 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.19854 +else
11.19855 + if test -n "$CC"; then
11.19856 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.19857 +else
11.19858 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.19859 +for as_dir in $PATH
11.19860 +do
11.19861 + IFS=$as_save_IFS
11.19862 + test -z "$as_dir" && as_dir=.
11.19863 + for ac_exec_ext in '' $ac_executable_extensions; do
11.19864 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.19865 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
11.19866 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.19867 + break 2
11.19868 + fi
11.19869 +done
11.19870 +done
11.19871 +IFS=$as_save_IFS
11.19872 +
11.19873 +fi
11.19874 +fi
11.19875 +CC=$ac_cv_prog_CC
11.19876 +if test -n "$CC"; then
11.19877 + { echo "$as_me:$LINENO: result: $CC" >&5
11.19878 +echo "${ECHO_T}$CC" >&6; }
11.19879 +else
11.19880 + { echo "$as_me:$LINENO: result: no" >&5
11.19881 +echo "${ECHO_T}no" >&6; }
11.19882 +fi
11.19883 +
11.19884 +
11.19885 +fi
11.19886 +if test -z "$ac_cv_prog_CC"; then
11.19887 + ac_ct_CC=$CC
11.19888 + # Extract the first word of "gcc", so it can be a program name with args.
11.19889 +set dummy gcc; ac_word=$2
11.19890 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.19891 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.19892 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11.19893 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.19894 +else
11.19895 + if test -n "$ac_ct_CC"; then
11.19896 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11.19897 +else
11.19898 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.19899 +for as_dir in $PATH
11.19900 +do
11.19901 + IFS=$as_save_IFS
11.19902 + test -z "$as_dir" && as_dir=.
11.19903 + for ac_exec_ext in '' $ac_executable_extensions; do
11.19904 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.19905 + ac_cv_prog_ac_ct_CC="gcc"
11.19906 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.19907 + break 2
11.19908 + fi
11.19909 +done
11.19910 +done
11.19911 +IFS=$as_save_IFS
11.19912 +
11.19913 +fi
11.19914 +fi
11.19915 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11.19916 +if test -n "$ac_ct_CC"; then
11.19917 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11.19918 +echo "${ECHO_T}$ac_ct_CC" >&6; }
11.19919 +else
11.19920 + { echo "$as_me:$LINENO: result: no" >&5
11.19921 +echo "${ECHO_T}no" >&6; }
11.19922 +fi
11.19923 +
11.19924 + if test "x$ac_ct_CC" = x; then
11.19925 + CC=""
11.19926 + else
11.19927 + case $cross_compiling:$ac_tool_warned in
11.19928 +yes:)
11.19929 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.19930 +whose name does not start with the host triplet. If you think this
11.19931 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.19932 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.19933 +whose name does not start with the host triplet. If you think this
11.19934 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.19935 +ac_tool_warned=yes ;;
11.19936 +esac
11.19937 + CC=$ac_ct_CC
11.19938 + fi
11.19939 +else
11.19940 + CC="$ac_cv_prog_CC"
11.19941 +fi
11.19942 +
11.19943 +if test -z "$CC"; then
11.19944 + if test -n "$ac_tool_prefix"; then
11.19945 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11.19946 +set dummy ${ac_tool_prefix}cc; ac_word=$2
11.19947 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.19948 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.19949 +if test "${ac_cv_prog_CC+set}" = set; then
11.19950 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.19951 +else
11.19952 + if test -n "$CC"; then
11.19953 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.19954 +else
11.19955 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.19956 +for as_dir in $PATH
11.19957 +do
11.19958 + IFS=$as_save_IFS
11.19959 + test -z "$as_dir" && as_dir=.
11.19960 + for ac_exec_ext in '' $ac_executable_extensions; do
11.19961 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.19962 + ac_cv_prog_CC="${ac_tool_prefix}cc"
11.19963 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.19964 + break 2
11.19965 + fi
11.19966 +done
11.19967 +done
11.19968 +IFS=$as_save_IFS
11.19969 +
11.19970 +fi
11.19971 +fi
11.19972 +CC=$ac_cv_prog_CC
11.19973 +if test -n "$CC"; then
11.19974 + { echo "$as_me:$LINENO: result: $CC" >&5
11.19975 +echo "${ECHO_T}$CC" >&6; }
11.19976 +else
11.19977 + { echo "$as_me:$LINENO: result: no" >&5
11.19978 +echo "${ECHO_T}no" >&6; }
11.19979 +fi
11.19980 +
11.19981 +
11.19982 + fi
11.19983 +fi
11.19984 +if test -z "$CC"; then
11.19985 + # Extract the first word of "cc", so it can be a program name with args.
11.19986 +set dummy cc; ac_word=$2
11.19987 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.19988 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.19989 +if test "${ac_cv_prog_CC+set}" = set; then
11.19990 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.19991 +else
11.19992 + if test -n "$CC"; then
11.19993 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.19994 +else
11.19995 + ac_prog_rejected=no
11.19996 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.19997 +for as_dir in $PATH
11.19998 +do
11.19999 + IFS=$as_save_IFS
11.20000 + test -z "$as_dir" && as_dir=.
11.20001 + for ac_exec_ext in '' $ac_executable_extensions; do
11.20002 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.20003 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11.20004 + ac_prog_rejected=yes
11.20005 + continue
11.20006 + fi
11.20007 + ac_cv_prog_CC="cc"
11.20008 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.20009 + break 2
11.20010 + fi
11.20011 +done
11.20012 +done
11.20013 +IFS=$as_save_IFS
11.20014 +
11.20015 +if test $ac_prog_rejected = yes; then
11.20016 + # We found a bogon in the path, so make sure we never use it.
11.20017 + set dummy $ac_cv_prog_CC
11.20018 + shift
11.20019 + if test $@%:@ != 0; then
11.20020 + # We chose a different compiler from the bogus one.
11.20021 + # However, it has the same basename, so the bogon will be chosen
11.20022 + # first if we set CC to just the basename; use the full file name.
11.20023 + shift
11.20024 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11.20025 + fi
11.20026 +fi
11.20027 +fi
11.20028 +fi
11.20029 +CC=$ac_cv_prog_CC
11.20030 +if test -n "$CC"; then
11.20031 + { echo "$as_me:$LINENO: result: $CC" >&5
11.20032 +echo "${ECHO_T}$CC" >&6; }
11.20033 +else
11.20034 + { echo "$as_me:$LINENO: result: no" >&5
11.20035 +echo "${ECHO_T}no" >&6; }
11.20036 +fi
11.20037 +
11.20038 +
11.20039 +fi
11.20040 +if test -z "$CC"; then
11.20041 + if test -n "$ac_tool_prefix"; then
11.20042 + for ac_prog in cl.exe
11.20043 + do
11.20044 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11.20045 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11.20046 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.20047 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.20048 +if test "${ac_cv_prog_CC+set}" = set; then
11.20049 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20050 +else
11.20051 + if test -n "$CC"; then
11.20052 + ac_cv_prog_CC="$CC" # Let the user override the test.
11.20053 +else
11.20054 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.20055 +for as_dir in $PATH
11.20056 +do
11.20057 + IFS=$as_save_IFS
11.20058 + test -z "$as_dir" && as_dir=.
11.20059 + for ac_exec_ext in '' $ac_executable_extensions; do
11.20060 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.20061 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11.20062 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.20063 + break 2
11.20064 + fi
11.20065 +done
11.20066 +done
11.20067 +IFS=$as_save_IFS
11.20068 +
11.20069 +fi
11.20070 +fi
11.20071 +CC=$ac_cv_prog_CC
11.20072 +if test -n "$CC"; then
11.20073 + { echo "$as_me:$LINENO: result: $CC" >&5
11.20074 +echo "${ECHO_T}$CC" >&6; }
11.20075 +else
11.20076 + { echo "$as_me:$LINENO: result: no" >&5
11.20077 +echo "${ECHO_T}no" >&6; }
11.20078 +fi
11.20079 +
11.20080 +
11.20081 + test -n "$CC" && break
11.20082 + done
11.20083 +fi
11.20084 +if test -z "$CC"; then
11.20085 + ac_ct_CC=$CC
11.20086 + for ac_prog in cl.exe
11.20087 +do
11.20088 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11.20089 +set dummy $ac_prog; ac_word=$2
11.20090 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.20091 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.20092 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11.20093 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20094 +else
11.20095 + if test -n "$ac_ct_CC"; then
11.20096 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11.20097 +else
11.20098 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.20099 +for as_dir in $PATH
11.20100 +do
11.20101 + IFS=$as_save_IFS
11.20102 + test -z "$as_dir" && as_dir=.
11.20103 + for ac_exec_ext in '' $ac_executable_extensions; do
11.20104 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.20105 + ac_cv_prog_ac_ct_CC="$ac_prog"
11.20106 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.20107 + break 2
11.20108 + fi
11.20109 +done
11.20110 +done
11.20111 +IFS=$as_save_IFS
11.20112 +
11.20113 +fi
11.20114 +fi
11.20115 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11.20116 +if test -n "$ac_ct_CC"; then
11.20117 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11.20118 +echo "${ECHO_T}$ac_ct_CC" >&6; }
11.20119 +else
11.20120 + { echo "$as_me:$LINENO: result: no" >&5
11.20121 +echo "${ECHO_T}no" >&6; }
11.20122 +fi
11.20123 +
11.20124 +
11.20125 + test -n "$ac_ct_CC" && break
11.20126 +done
11.20127 +
11.20128 + if test "x$ac_ct_CC" = x; then
11.20129 + CC=""
11.20130 + else
11.20131 + case $cross_compiling:$ac_tool_warned in
11.20132 +yes:)
11.20133 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.20134 +whose name does not start with the host triplet. If you think this
11.20135 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.20136 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.20137 +whose name does not start with the host triplet. If you think this
11.20138 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.20139 +ac_tool_warned=yes ;;
11.20140 +esac
11.20141 + CC=$ac_ct_CC
11.20142 + fi
11.20143 +fi
11.20144 +
11.20145 +fi
11.20146 +
11.20147 +
11.20148 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11.20149 +See \`config.log' for more details." >&5
11.20150 +echo "$as_me: error: no acceptable C compiler found in \$PATH
11.20151 +See \`config.log' for more details." >&2;}
11.20152 + { (exit 1); exit 1; }; }
11.20153 +
11.20154 +# Provide some information about the compiler.
11.20155 +echo "$as_me:$LINENO: checking for C compiler version" >&5
11.20156 +ac_compiler=`set X $ac_compile; echo $2`
11.20157 +{ (ac_try="$ac_compiler --version >&5"
11.20158 +case "(($ac_try" in
11.20159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20160 + *) ac_try_echo=$ac_try;;
11.20161 +esac
11.20162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20163 + (eval "$ac_compiler --version >&5") 2>&5
11.20164 + ac_status=$?
11.20165 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20166 + (exit $ac_status); }
11.20167 +{ (ac_try="$ac_compiler -v >&5"
11.20168 +case "(($ac_try" in
11.20169 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20170 + *) ac_try_echo=$ac_try;;
11.20171 +esac
11.20172 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20173 + (eval "$ac_compiler -v >&5") 2>&5
11.20174 + ac_status=$?
11.20175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20176 + (exit $ac_status); }
11.20177 +{ (ac_try="$ac_compiler -V >&5"
11.20178 +case "(($ac_try" in
11.20179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20180 + *) ac_try_echo=$ac_try;;
11.20181 +esac
11.20182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20183 + (eval "$ac_compiler -V >&5") 2>&5
11.20184 + ac_status=$?
11.20185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20186 + (exit $ac_status); }
11.20187 +
11.20188 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11.20189 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
11.20190 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
11.20191 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20192 +else
11.20193 + cat >conftest.$ac_ext <<_ACEOF
11.20194 +/* confdefs.h. */
11.20195 +_ACEOF
11.20196 +cat confdefs.h >>conftest.$ac_ext
11.20197 +cat >>conftest.$ac_ext <<_ACEOF
11.20198 +/* end confdefs.h. */
11.20199 +
11.20200 +int
11.20201 +main ()
11.20202 +{
11.20203 +#ifndef __GNUC__
11.20204 + choke me
11.20205 +#endif
11.20206 +
11.20207 + ;
11.20208 + return 0;
11.20209 +}
11.20210 +_ACEOF
11.20211 +rm -f conftest.$ac_objext
11.20212 +if { (ac_try="$ac_compile"
11.20213 +case "(($ac_try" in
11.20214 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20215 + *) ac_try_echo=$ac_try;;
11.20216 +esac
11.20217 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20218 + (eval "$ac_compile") 2>conftest.er1
11.20219 + ac_status=$?
11.20220 + grep -v '^ *+' conftest.er1 >conftest.err
11.20221 + rm -f conftest.er1
11.20222 + cat conftest.err >&5
11.20223 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20224 + (exit $ac_status); } && {
11.20225 + test -z "$ac_c_werror_flag" ||
11.20226 + test ! -s conftest.err
11.20227 + } && test -s conftest.$ac_objext; then
11.20228 + ac_compiler_gnu=yes
11.20229 +else
11.20230 + echo "$as_me: failed program was:" >&5
11.20231 +sed 's/^/| /' conftest.$ac_ext >&5
11.20232 +
11.20233 + ac_compiler_gnu=no
11.20234 +fi
11.20235 +
11.20236 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.20237 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
11.20238 +
11.20239 +fi
11.20240 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11.20241 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
11.20242 +GCC=`test $ac_compiler_gnu = yes && echo yes`
11.20243 +ac_test_CFLAGS=${CFLAGS+set}
11.20244 +ac_save_CFLAGS=$CFLAGS
11.20245 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11.20246 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
11.20247 +if test "${ac_cv_prog_cc_g+set}" = set; then
11.20248 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20249 +else
11.20250 + ac_save_c_werror_flag=$ac_c_werror_flag
11.20251 + ac_c_werror_flag=yes
11.20252 + ac_cv_prog_cc_g=no
11.20253 + CFLAGS="-g"
11.20254 + cat >conftest.$ac_ext <<_ACEOF
11.20255 +/* confdefs.h. */
11.20256 +_ACEOF
11.20257 +cat confdefs.h >>conftest.$ac_ext
11.20258 +cat >>conftest.$ac_ext <<_ACEOF
11.20259 +/* end confdefs.h. */
11.20260 +
11.20261 +int
11.20262 +main ()
11.20263 +{
11.20264 +
11.20265 + ;
11.20266 + return 0;
11.20267 +}
11.20268 +_ACEOF
11.20269 +rm -f conftest.$ac_objext
11.20270 +if { (ac_try="$ac_compile"
11.20271 +case "(($ac_try" in
11.20272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20273 + *) ac_try_echo=$ac_try;;
11.20274 +esac
11.20275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20276 + (eval "$ac_compile") 2>conftest.er1
11.20277 + ac_status=$?
11.20278 + grep -v '^ *+' conftest.er1 >conftest.err
11.20279 + rm -f conftest.er1
11.20280 + cat conftest.err >&5
11.20281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20282 + (exit $ac_status); } && {
11.20283 + test -z "$ac_c_werror_flag" ||
11.20284 + test ! -s conftest.err
11.20285 + } && test -s conftest.$ac_objext; then
11.20286 + ac_cv_prog_cc_g=yes
11.20287 +else
11.20288 + echo "$as_me: failed program was:" >&5
11.20289 +sed 's/^/| /' conftest.$ac_ext >&5
11.20290 +
11.20291 + CFLAGS=""
11.20292 + cat >conftest.$ac_ext <<_ACEOF
11.20293 +/* confdefs.h. */
11.20294 +_ACEOF
11.20295 +cat confdefs.h >>conftest.$ac_ext
11.20296 +cat >>conftest.$ac_ext <<_ACEOF
11.20297 +/* end confdefs.h. */
11.20298 +
11.20299 +int
11.20300 +main ()
11.20301 +{
11.20302 +
11.20303 + ;
11.20304 + return 0;
11.20305 +}
11.20306 +_ACEOF
11.20307 +rm -f conftest.$ac_objext
11.20308 +if { (ac_try="$ac_compile"
11.20309 +case "(($ac_try" in
11.20310 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20311 + *) ac_try_echo=$ac_try;;
11.20312 +esac
11.20313 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20314 + (eval "$ac_compile") 2>conftest.er1
11.20315 + ac_status=$?
11.20316 + grep -v '^ *+' conftest.er1 >conftest.err
11.20317 + rm -f conftest.er1
11.20318 + cat conftest.err >&5
11.20319 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20320 + (exit $ac_status); } && {
11.20321 + test -z "$ac_c_werror_flag" ||
11.20322 + test ! -s conftest.err
11.20323 + } && test -s conftest.$ac_objext; then
11.20324 + :
11.20325 +else
11.20326 + echo "$as_me: failed program was:" >&5
11.20327 +sed 's/^/| /' conftest.$ac_ext >&5
11.20328 +
11.20329 + ac_c_werror_flag=$ac_save_c_werror_flag
11.20330 + CFLAGS="-g"
11.20331 + cat >conftest.$ac_ext <<_ACEOF
11.20332 +/* confdefs.h. */
11.20333 +_ACEOF
11.20334 +cat confdefs.h >>conftest.$ac_ext
11.20335 +cat >>conftest.$ac_ext <<_ACEOF
11.20336 +/* end confdefs.h. */
11.20337 +
11.20338 +int
11.20339 +main ()
11.20340 +{
11.20341 +
11.20342 + ;
11.20343 + return 0;
11.20344 +}
11.20345 +_ACEOF
11.20346 +rm -f conftest.$ac_objext
11.20347 +if { (ac_try="$ac_compile"
11.20348 +case "(($ac_try" in
11.20349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20350 + *) ac_try_echo=$ac_try;;
11.20351 +esac
11.20352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20353 + (eval "$ac_compile") 2>conftest.er1
11.20354 + ac_status=$?
11.20355 + grep -v '^ *+' conftest.er1 >conftest.err
11.20356 + rm -f conftest.er1
11.20357 + cat conftest.err >&5
11.20358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20359 + (exit $ac_status); } && {
11.20360 + test -z "$ac_c_werror_flag" ||
11.20361 + test ! -s conftest.err
11.20362 + } && test -s conftest.$ac_objext; then
11.20363 + ac_cv_prog_cc_g=yes
11.20364 +else
11.20365 + echo "$as_me: failed program was:" >&5
11.20366 +sed 's/^/| /' conftest.$ac_ext >&5
11.20367 +
11.20368 +
11.20369 +fi
11.20370 +
11.20371 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.20372 +fi
11.20373 +
11.20374 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.20375 +fi
11.20376 +
11.20377 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.20378 + ac_c_werror_flag=$ac_save_c_werror_flag
11.20379 +fi
11.20380 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11.20381 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
11.20382 +if test "$ac_test_CFLAGS" = set; then
11.20383 + CFLAGS=$ac_save_CFLAGS
11.20384 +elif test $ac_cv_prog_cc_g = yes; then
11.20385 + if test "$GCC" = yes; then
11.20386 + CFLAGS="-g -O2"
11.20387 + else
11.20388 + CFLAGS="-g"
11.20389 + fi
11.20390 +else
11.20391 + if test "$GCC" = yes; then
11.20392 + CFLAGS="-O2"
11.20393 + else
11.20394 + CFLAGS=
11.20395 + fi
11.20396 +fi
11.20397 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11.20398 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
11.20399 +if test "${ac_cv_prog_cc_c89+set}" = set; then
11.20400 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20401 +else
11.20402 + ac_cv_prog_cc_c89=no
11.20403 +ac_save_CC=$CC
11.20404 +cat >conftest.$ac_ext <<_ACEOF
11.20405 +/* confdefs.h. */
11.20406 +_ACEOF
11.20407 +cat confdefs.h >>conftest.$ac_ext
11.20408 +cat >>conftest.$ac_ext <<_ACEOF
11.20409 +/* end confdefs.h. */
11.20410 +#include <stdarg.h>
11.20411 +#include <stdio.h>
11.20412 +#include <sys/types.h>
11.20413 +#include <sys/stat.h>
11.20414 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11.20415 +struct buf { int x; };
11.20416 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
11.20417 +static char *e (p, i)
11.20418 + char **p;
11.20419 + int i;
11.20420 +{
11.20421 + return p[i];
11.20422 +}
11.20423 +static char *f (char * (*g) (char **, int), char **p, ...)
11.20424 +{
11.20425 + char *s;
11.20426 + va_list v;
11.20427 + va_start (v,p);
11.20428 + s = g (p, va_arg (v,int));
11.20429 + va_end (v);
11.20430 + return s;
11.20431 +}
11.20432 +
11.20433 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11.20434 + function prototypes and stuff, but not '\xHH' hex character constants.
11.20435 + These don't provoke an error unfortunately, instead are silently treated
11.20436 + as 'x'. The following induces an error, until -std is added to get
11.20437 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11.20438 + array size at least. It's necessary to write '\x00'==0 to get something
11.20439 + that's true only with -std. */
11.20440 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11.20441 +
11.20442 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11.20443 + inside strings and character constants. */
11.20444 +#define FOO(x) 'x'
11.20445 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11.20446 +
11.20447 +int test (int i, double x);
11.20448 +struct s1 {int (*f) (int a);};
11.20449 +struct s2 {int (*f) (double a);};
11.20450 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11.20451 +int argc;
11.20452 +char **argv;
11.20453 +int
11.20454 +main ()
11.20455 +{
11.20456 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11.20457 + ;
11.20458 + return 0;
11.20459 +}
11.20460 +_ACEOF
11.20461 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11.20462 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11.20463 +do
11.20464 + CC="$ac_save_CC $ac_arg"
11.20465 + rm -f conftest.$ac_objext
11.20466 +if { (ac_try="$ac_compile"
11.20467 +case "(($ac_try" in
11.20468 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20469 + *) ac_try_echo=$ac_try;;
11.20470 +esac
11.20471 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20472 + (eval "$ac_compile") 2>conftest.er1
11.20473 + ac_status=$?
11.20474 + grep -v '^ *+' conftest.er1 >conftest.err
11.20475 + rm -f conftest.er1
11.20476 + cat conftest.err >&5
11.20477 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20478 + (exit $ac_status); } && {
11.20479 + test -z "$ac_c_werror_flag" ||
11.20480 + test ! -s conftest.err
11.20481 + } && test -s conftest.$ac_objext; then
11.20482 + ac_cv_prog_cc_c89=$ac_arg
11.20483 +else
11.20484 + echo "$as_me: failed program was:" >&5
11.20485 +sed 's/^/| /' conftest.$ac_ext >&5
11.20486 +
11.20487 +
11.20488 +fi
11.20489 +
11.20490 +rm -f core conftest.err conftest.$ac_objext
11.20491 + test "x$ac_cv_prog_cc_c89" != "xno" && break
11.20492 +done
11.20493 +rm -f conftest.$ac_ext
11.20494 +CC=$ac_save_CC
11.20495 +
11.20496 +fi
11.20497 +# AC_CACHE_VAL
11.20498 +case "x$ac_cv_prog_cc_c89" in
11.20499 + x)
11.20500 + { echo "$as_me:$LINENO: result: none needed" >&5
11.20501 +echo "${ECHO_T}none needed" >&6; } ;;
11.20502 + xno)
11.20503 + { echo "$as_me:$LINENO: result: unsupported" >&5
11.20504 +echo "${ECHO_T}unsupported" >&6; } ;;
11.20505 + *)
11.20506 + CC="$CC $ac_cv_prog_cc_c89"
11.20507 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11.20508 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
11.20509 +esac
11.20510 +
11.20511 +
11.20512 +ac_ext=c
11.20513 +ac_cpp='$CPP $CPPFLAGS'
11.20514 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.20515 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.20516 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.20517 +
11.20518 +depcc="$CC" am_compiler_list=
11.20519 +
11.20520 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11.20521 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
11.20522 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11.20523 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20524 +else
11.20525 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11.20526 + # We make a subdir and do the tests there. Otherwise we can end up
11.20527 + # making bogus files that we don't know about and never remove. For
11.20528 + # instance it was reported that on HP-UX the gcc test will end up
11.20529 + # making a dummy file named `D' -- because `-MD' means `put the output
11.20530 + # in D'.
11.20531 + mkdir conftest.dir
11.20532 + # Copy depcomp to subdir because otherwise we won't find it if we're
11.20533 + # using a relative directory.
11.20534 + cp "$am_depcomp" conftest.dir
11.20535 + cd conftest.dir
11.20536 + # We will build objects and dependencies in a subdirectory because
11.20537 + # it helps to detect inapplicable dependency modes. For instance
11.20538 + # both Tru64's cc and ICC support -MD to output dependencies as a
11.20539 + # side effect of compilation, but ICC will put the dependencies in
11.20540 + # the current directory while Tru64 will put them in the object
11.20541 + # directory.
11.20542 + mkdir sub
11.20543 +
11.20544 + am_cv_CC_dependencies_compiler_type=none
11.20545 + if test "$am_compiler_list" = ""; then
11.20546 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11.20547 + fi
11.20548 + for depmode in $am_compiler_list; do
11.20549 + # Setup a source with many dependencies, because some compilers
11.20550 + # like to wrap large dependency lists on column 80 (with \), and
11.20551 + # we should not choose a depcomp mode which is confused by this.
11.20552 + #
11.20553 + # We need to recreate these files for each test, as the compiler may
11.20554 + # overwrite some of them when testing with obscure command lines.
11.20555 + # This happens at least with the AIX C compiler.
11.20556 + : > sub/conftest.c
11.20557 + for i in 1 2 3 4 5 6; do
11.20558 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
11.20559 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11.20560 + # Solaris 8's {/usr,}/bin/sh.
11.20561 + touch sub/conftst$i.h
11.20562 + done
11.20563 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11.20564 +
11.20565 + case $depmode in
11.20566 + nosideeffect)
11.20567 + # after this tag, mechanisms are not by side-effect, so they'll
11.20568 + # only be used when explicitly requested
11.20569 + if test "x$enable_dependency_tracking" = xyes; then
11.20570 + continue
11.20571 + else
11.20572 + break
11.20573 + fi
11.20574 + ;;
11.20575 + none) break ;;
11.20576 + esac
11.20577 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
11.20578 + # mode. It turns out that the SunPro C++ compiler does not properly
11.20579 + # handle `-M -o', and we need to detect this.
11.20580 + if depmode=$depmode \
11.20581 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11.20582 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11.20583 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11.20584 + >/dev/null 2>conftest.err &&
11.20585 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11.20586 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11.20587 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11.20588 + # icc doesn't choke on unknown options, it will just issue warnings
11.20589 + # or remarks (even with -Werror). So we grep stderr for any message
11.20590 + # that says an option was ignored or not supported.
11.20591 + # When given -MP, icc 7.0 and 7.1 complain thusly:
11.20592 + # icc: Command line warning: ignoring option '-M'; no argument required
11.20593 + # The diagnosis changed in icc 8.0:
11.20594 + # icc: Command line remark: option '-MP' not supported
11.20595 + if (grep 'ignoring option' conftest.err ||
11.20596 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11.20597 + am_cv_CC_dependencies_compiler_type=$depmode
11.20598 + break
11.20599 + fi
11.20600 + fi
11.20601 + done
11.20602 +
11.20603 + cd ..
11.20604 + rm -rf conftest.dir
11.20605 +else
11.20606 + am_cv_CC_dependencies_compiler_type=none
11.20607 +fi
11.20608 +
11.20609 +fi
11.20610 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11.20611 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
11.20612 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11.20613 +
11.20614 +
11.20615 +
11.20616 +if
11.20617 + test "x$enable_dependency_tracking" != xno \
11.20618 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11.20619 + am__fastdepCC_TRUE=
11.20620 + am__fastdepCC_FALSE='#'
11.20621 +else
11.20622 + am__fastdepCC_TRUE='#'
11.20623 + am__fastdepCC_FALSE=
11.20624 +fi
11.20625 +
11.20626 +
11.20627 + case $ac_cv_prog_cc_stdc in
11.20628 + no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
11.20629 + *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
11.20630 +echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
11.20631 +if test "${ac_cv_prog_cc_c99+set}" = set; then
11.20632 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20633 +else
11.20634 + ac_cv_prog_cc_c99=no
11.20635 +ac_save_CC=$CC
11.20636 +cat >conftest.$ac_ext <<_ACEOF
11.20637 +/* confdefs.h. */
11.20638 +_ACEOF
11.20639 +cat confdefs.h >>conftest.$ac_ext
11.20640 +cat >>conftest.$ac_ext <<_ACEOF
11.20641 +/* end confdefs.h. */
11.20642 +#include <stdarg.h>
11.20643 +#include <stdbool.h>
11.20644 +#include <stdlib.h>
11.20645 +#include <wchar.h>
11.20646 +#include <stdio.h>
11.20647 +
11.20648 +// Check varargs macros. These examples are taken from C99 6.10.3.5.
11.20649 +#define debug(...) fprintf (stderr, __VA_ARGS__)
11.20650 +#define showlist(...) puts (#__VA_ARGS__)
11.20651 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
11.20652 +static void
11.20653 +test_varargs_macros (void)
11.20654 +{
11.20655 + int x = 1234;
11.20656 + int y = 5678;
11.20657 + debug ("Flag");
11.20658 + debug ("X = %d\n", x);
11.20659 + showlist (The first, second, and third items.);
11.20660 + report (x>y, "x is %d but y is %d", x, y);
11.20661 +}
11.20662 +
11.20663 +// Check long long types.
11.20664 +#define BIG64 18446744073709551615ull
11.20665 +#define BIG32 4294967295ul
11.20666 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
11.20667 +#if !BIG_OK
11.20668 + your preprocessor is broken;
11.20669 +#endif
11.20670 +#if BIG_OK
11.20671 +#else
11.20672 + your preprocessor is broken;
11.20673 +#endif
11.20674 +static long long int bignum = -9223372036854775807LL;
11.20675 +static unsigned long long int ubignum = BIG64;
11.20676 +
11.20677 +struct incomplete_array
11.20678 +{
11.20679 + int datasize;
11.20680 + double data[];
11.20681 +};
11.20682 +
11.20683 +struct named_init {
11.20684 + int number;
11.20685 + const wchar_t *name;
11.20686 + double average;
11.20687 +};
11.20688 +
11.20689 +typedef const char *ccp;
11.20690 +
11.20691 +static inline int
11.20692 +test_restrict (ccp restrict text)
11.20693 +{
11.20694 + // See if C++-style comments work.
11.20695 + // Iterate through items via the restricted pointer.
11.20696 + // Also check for declarations in for loops.
11.20697 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
11.20698 + continue;
11.20699 + return 0;
11.20700 +}
11.20701 +
11.20702 +// Check varargs and va_copy.
11.20703 +static void
11.20704 +test_varargs (const char *format, ...)
11.20705 +{
11.20706 + va_list args;
11.20707 + va_start (args, format);
11.20708 + va_list args_copy;
11.20709 + va_copy (args_copy, args);
11.20710 +
11.20711 + const char *str;
11.20712 + int number;
11.20713 + float fnumber;
11.20714 +
11.20715 + while (*format)
11.20716 + {
11.20717 + switch (*format++)
11.20718 + {
11.20719 + case 's': // string
11.20720 + str = va_arg (args_copy, const char *);
11.20721 + break;
11.20722 + case 'd': // int
11.20723 + number = va_arg (args_copy, int);
11.20724 + break;
11.20725 + case 'f': // float
11.20726 + fnumber = va_arg (args_copy, double);
11.20727 + break;
11.20728 + default:
11.20729 + break;
11.20730 + }
11.20731 + }
11.20732 + va_end (args_copy);
11.20733 + va_end (args);
11.20734 +}
11.20735 +
11.20736 +int
11.20737 +main ()
11.20738 +{
11.20739 +
11.20740 + // Check bool.
11.20741 + _Bool success = false;
11.20742 +
11.20743 + // Check restrict.
11.20744 + if (test_restrict ("String literal") == 0)
11.20745 + success = true;
11.20746 + char *restrict newvar = "Another string";
11.20747 +
11.20748 + // Check varargs.
11.20749 + test_varargs ("s, d' f .", "string", 65, 34.234);
11.20750 + test_varargs_macros ();
11.20751 +
11.20752 + // Check flexible array members.
11.20753 + struct incomplete_array *ia =
11.20754 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
11.20755 + ia->datasize = 10;
11.20756 + for (int i = 0; i < ia->datasize; ++i)
11.20757 + ia->data[i] = i * 1.234;
11.20758 +
11.20759 + // Check named initializers.
11.20760 + struct named_init ni = {
11.20761 + .number = 34,
11.20762 + .name = L"Test wide string",
11.20763 + .average = 543.34343,
11.20764 + };
11.20765 +
11.20766 + ni.number = 58;
11.20767 +
11.20768 + int dynamic_array[ni.number];
11.20769 + dynamic_array[ni.number - 1] = 543;
11.20770 +
11.20771 + // work around unused variable warnings
11.20772 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
11.20773 + || dynamic_array[ni.number - 1] != 543);
11.20774 +
11.20775 + ;
11.20776 + return 0;
11.20777 +}
11.20778 +_ACEOF
11.20779 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
11.20780 +do
11.20781 + CC="$ac_save_CC $ac_arg"
11.20782 + rm -f conftest.$ac_objext
11.20783 +if { (ac_try="$ac_compile"
11.20784 +case "(($ac_try" in
11.20785 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20786 + *) ac_try_echo=$ac_try;;
11.20787 +esac
11.20788 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20789 + (eval "$ac_compile") 2>conftest.er1
11.20790 + ac_status=$?
11.20791 + grep -v '^ *+' conftest.er1 >conftest.err
11.20792 + rm -f conftest.er1
11.20793 + cat conftest.err >&5
11.20794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20795 + (exit $ac_status); } && {
11.20796 + test -z "$ac_c_werror_flag" ||
11.20797 + test ! -s conftest.err
11.20798 + } && test -s conftest.$ac_objext; then
11.20799 + ac_cv_prog_cc_c99=$ac_arg
11.20800 +else
11.20801 + echo "$as_me: failed program was:" >&5
11.20802 +sed 's/^/| /' conftest.$ac_ext >&5
11.20803 +
11.20804 +
11.20805 +fi
11.20806 +
11.20807 +rm -f core conftest.err conftest.$ac_objext
11.20808 + test "x$ac_cv_prog_cc_c99" != "xno" && break
11.20809 +done
11.20810 +rm -f conftest.$ac_ext
11.20811 +CC=$ac_save_CC
11.20812 +
11.20813 +fi
11.20814 +# AC_CACHE_VAL
11.20815 +case "x$ac_cv_prog_cc_c99" in
11.20816 + x)
11.20817 + { echo "$as_me:$LINENO: result: none needed" >&5
11.20818 +echo "${ECHO_T}none needed" >&6; } ;;
11.20819 + xno)
11.20820 + { echo "$as_me:$LINENO: result: unsupported" >&5
11.20821 +echo "${ECHO_T}unsupported" >&6; } ;;
11.20822 + *)
11.20823 + CC="$CC $ac_cv_prog_cc_c99"
11.20824 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
11.20825 +echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
11.20826 +esac
11.20827 +if test "x$ac_cv_prog_cc_c99" != xno; then
11.20828 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
11.20829 +else
11.20830 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11.20831 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
11.20832 +if test "${ac_cv_prog_cc_c89+set}" = set; then
11.20833 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20834 +else
11.20835 + ac_cv_prog_cc_c89=no
11.20836 +ac_save_CC=$CC
11.20837 +cat >conftest.$ac_ext <<_ACEOF
11.20838 +/* confdefs.h. */
11.20839 +_ACEOF
11.20840 +cat confdefs.h >>conftest.$ac_ext
11.20841 +cat >>conftest.$ac_ext <<_ACEOF
11.20842 +/* end confdefs.h. */
11.20843 +#include <stdarg.h>
11.20844 +#include <stdio.h>
11.20845 +#include <sys/types.h>
11.20846 +#include <sys/stat.h>
11.20847 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11.20848 +struct buf { int x; };
11.20849 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
11.20850 +static char *e (p, i)
11.20851 + char **p;
11.20852 + int i;
11.20853 +{
11.20854 + return p[i];
11.20855 +}
11.20856 +static char *f (char * (*g) (char **, int), char **p, ...)
11.20857 +{
11.20858 + char *s;
11.20859 + va_list v;
11.20860 + va_start (v,p);
11.20861 + s = g (p, va_arg (v,int));
11.20862 + va_end (v);
11.20863 + return s;
11.20864 +}
11.20865 +
11.20866 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11.20867 + function prototypes and stuff, but not '\xHH' hex character constants.
11.20868 + These don't provoke an error unfortunately, instead are silently treated
11.20869 + as 'x'. The following induces an error, until -std is added to get
11.20870 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11.20871 + array size at least. It's necessary to write '\x00'==0 to get something
11.20872 + that's true only with -std. */
11.20873 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11.20874 +
11.20875 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11.20876 + inside strings and character constants. */
11.20877 +#define FOO(x) 'x'
11.20878 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11.20879 +
11.20880 +int test (int i, double x);
11.20881 +struct s1 {int (*f) (int a);};
11.20882 +struct s2 {int (*f) (double a);};
11.20883 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11.20884 +int argc;
11.20885 +char **argv;
11.20886 +int
11.20887 +main ()
11.20888 +{
11.20889 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11.20890 + ;
11.20891 + return 0;
11.20892 +}
11.20893 +_ACEOF
11.20894 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11.20895 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11.20896 +do
11.20897 + CC="$ac_save_CC $ac_arg"
11.20898 + rm -f conftest.$ac_objext
11.20899 +if { (ac_try="$ac_compile"
11.20900 +case "(($ac_try" in
11.20901 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.20902 + *) ac_try_echo=$ac_try;;
11.20903 +esac
11.20904 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.20905 + (eval "$ac_compile") 2>conftest.er1
11.20906 + ac_status=$?
11.20907 + grep -v '^ *+' conftest.er1 >conftest.err
11.20908 + rm -f conftest.er1
11.20909 + cat conftest.err >&5
11.20910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.20911 + (exit $ac_status); } && {
11.20912 + test -z "$ac_c_werror_flag" ||
11.20913 + test ! -s conftest.err
11.20914 + } && test -s conftest.$ac_objext; then
11.20915 + ac_cv_prog_cc_c89=$ac_arg
11.20916 +else
11.20917 + echo "$as_me: failed program was:" >&5
11.20918 +sed 's/^/| /' conftest.$ac_ext >&5
11.20919 +
11.20920 +
11.20921 +fi
11.20922 +
11.20923 +rm -f core conftest.err conftest.$ac_objext
11.20924 + test "x$ac_cv_prog_cc_c89" != "xno" && break
11.20925 +done
11.20926 +rm -f conftest.$ac_ext
11.20927 +CC=$ac_save_CC
11.20928 +
11.20929 +fi
11.20930 +# AC_CACHE_VAL
11.20931 +case "x$ac_cv_prog_cc_c89" in
11.20932 + x)
11.20933 + { echo "$as_me:$LINENO: result: none needed" >&5
11.20934 +echo "${ECHO_T}none needed" >&6; } ;;
11.20935 + xno)
11.20936 + { echo "$as_me:$LINENO: result: unsupported" >&5
11.20937 +echo "${ECHO_T}unsupported" >&6; } ;;
11.20938 + *)
11.20939 + CC="$CC $ac_cv_prog_cc_c89"
11.20940 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11.20941 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
11.20942 +esac
11.20943 +if test "x$ac_cv_prog_cc_c89" != xno; then
11.20944 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
11.20945 +else
11.20946 + ac_cv_prog_cc_stdc=no
11.20947 +fi
11.20948 +
11.20949 +
11.20950 +fi
11.20951 +
11.20952 + ;;
11.20953 +esac
11.20954 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
11.20955 +echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
11.20956 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
11.20957 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.20958 +fi
11.20959 +
11.20960 + case $ac_cv_prog_cc_stdc in
11.20961 + no) { echo "$as_me:$LINENO: result: unsupported" >&5
11.20962 +echo "${ECHO_T}unsupported" >&6; } ;;
11.20963 + '') { echo "$as_me:$LINENO: result: none needed" >&5
11.20964 +echo "${ECHO_T}none needed" >&6; } ;;
11.20965 + *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11.20966 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
11.20967 +esac
11.20968 +
11.20969 +
11.20970 +# By default we simply use the C compiler to build assembly code.
11.20971 +
11.20972 +test "${CCAS+set}" = set || CCAS=$CC
11.20973 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11.20974 +
11.20975 +
11.20976 +
11.20977 +
11.20978 +
11.20979 + { echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
11.20980 +echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6; }
11.20981 +
11.20982 + save_CFLAGS="$CFLAGS"
11.20983 + CFLAGS="$CFLAGS -Wall"
11.20984 +
11.20985 + cat >conftest.$ac_ext <<_ACEOF
11.20986 +/* confdefs.h. */
11.20987 +_ACEOF
11.20988 +cat confdefs.h >>conftest.$ac_ext
11.20989 +cat >>conftest.$ac_ext <<_ACEOF
11.20990 +/* end confdefs.h. */
11.20991 +
11.20992 +int
11.20993 +main ()
11.20994 +{
11.20995 +
11.20996 + ;
11.20997 + return 0;
11.20998 +}
11.20999 +_ACEOF
11.21000 +rm -f conftest.$ac_objext
11.21001 +if { (ac_try="$ac_compile"
11.21002 +case "(($ac_try" in
11.21003 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21004 + *) ac_try_echo=$ac_try;;
11.21005 +esac
11.21006 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21007 + (eval "$ac_compile") 2>conftest.er1
11.21008 + ac_status=$?
11.21009 + grep -v '^ *+' conftest.er1 >conftest.err
11.21010 + rm -f conftest.er1
11.21011 + cat conftest.err >&5
11.21012 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21013 + (exit $ac_status); } && {
11.21014 + test -z "$ac_c_werror_flag" ||
11.21015 + test ! -s conftest.err
11.21016 + } && test -s conftest.$ac_objext; then
11.21017 + flag_ok=yes
11.21018 +else
11.21019 + echo "$as_me: failed program was:" >&5
11.21020 +sed 's/^/| /' conftest.$ac_ext >&5
11.21021 +
11.21022 + flag_ok=no
11.21023 +fi
11.21024 +
11.21025 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21026 + CFLAGS="$save_CFLAGS"
11.21027 +
11.21028 + if test "X$flag_ok" = Xyes ; then
11.21029 + GST_WALL="yes"
11.21030 + true
11.21031 + else
11.21032 + GST_WALL="no"
11.21033 + true
11.21034 + fi
11.21035 + { echo "$as_me:$LINENO: result: $flag_ok" >&5
11.21036 +echo "${ECHO_T}$flag_ok" >&6; }
11.21037 +
11.21038 +
11.21039 +if test "x$GST_WALL" = "xyes"; then
11.21040 + ERROR_CFLAGS="$GST_ERROR -Wall"
11.21041 +
11.21042 + if test "x$GST_CVS" = "xyes"; then
11.21043 +
11.21044 + { echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
11.21045 +echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6; }
11.21046 +
11.21047 + save_CFLAGS="$CFLAGS"
11.21048 + CFLAGS="$CFLAGS -Werror"
11.21049 +
11.21050 + cat >conftest.$ac_ext <<_ACEOF
11.21051 +/* confdefs.h. */
11.21052 +_ACEOF
11.21053 +cat confdefs.h >>conftest.$ac_ext
11.21054 +cat >>conftest.$ac_ext <<_ACEOF
11.21055 +/* end confdefs.h. */
11.21056 +
11.21057 +int
11.21058 +main ()
11.21059 +{
11.21060 +
11.21061 + ;
11.21062 + return 0;
11.21063 +}
11.21064 +_ACEOF
11.21065 +rm -f conftest.$ac_objext
11.21066 +if { (ac_try="$ac_compile"
11.21067 +case "(($ac_try" in
11.21068 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21069 + *) ac_try_echo=$ac_try;;
11.21070 +esac
11.21071 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21072 + (eval "$ac_compile") 2>conftest.er1
11.21073 + ac_status=$?
11.21074 + grep -v '^ *+' conftest.er1 >conftest.err
11.21075 + rm -f conftest.er1
11.21076 + cat conftest.err >&5
11.21077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21078 + (exit $ac_status); } && {
11.21079 + test -z "$ac_c_werror_flag" ||
11.21080 + test ! -s conftest.err
11.21081 + } && test -s conftest.$ac_objext; then
11.21082 + flag_ok=yes
11.21083 +else
11.21084 + echo "$as_me: failed program was:" >&5
11.21085 +sed 's/^/| /' conftest.$ac_ext >&5
11.21086 +
11.21087 + flag_ok=no
11.21088 +fi
11.21089 +
11.21090 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21091 + CFLAGS="$save_CFLAGS"
11.21092 +
11.21093 + if test "X$flag_ok" = Xyes ; then
11.21094 + ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
11.21095 + true
11.21096 + else
11.21097 + ERROR_CFLAGS="$ERROR_CFLAGS"
11.21098 + true
11.21099 + fi
11.21100 + { echo "$as_me:$LINENO: result: $flag_ok" >&5
11.21101 +echo "${ECHO_T}$flag_ok" >&6; }
11.21102 +
11.21103 + fi
11.21104 +fi
11.21105 +
11.21106 +
11.21107 +
11.21108 +ac_ext=cpp
11.21109 +ac_cpp='$CXXCPP $CPPFLAGS'
11.21110 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.21111 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.21112 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.21113 +if test -z "$CXX"; then
11.21114 + if test -n "$CCC"; then
11.21115 + CXX=$CCC
11.21116 + else
11.21117 + if test -n "$ac_tool_prefix"; then
11.21118 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11.21119 + do
11.21120 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11.21121 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11.21122 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.21123 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.21124 +if test "${ac_cv_prog_CXX+set}" = set; then
11.21125 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21126 +else
11.21127 + if test -n "$CXX"; then
11.21128 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
11.21129 +else
11.21130 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.21131 +for as_dir in $PATH
11.21132 +do
11.21133 + IFS=$as_save_IFS
11.21134 + test -z "$as_dir" && as_dir=.
11.21135 + for ac_exec_ext in '' $ac_executable_extensions; do
11.21136 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.21137 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11.21138 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.21139 + break 2
11.21140 + fi
11.21141 +done
11.21142 +done
11.21143 +IFS=$as_save_IFS
11.21144 +
11.21145 +fi
11.21146 +fi
11.21147 +CXX=$ac_cv_prog_CXX
11.21148 +if test -n "$CXX"; then
11.21149 + { echo "$as_me:$LINENO: result: $CXX" >&5
11.21150 +echo "${ECHO_T}$CXX" >&6; }
11.21151 +else
11.21152 + { echo "$as_me:$LINENO: result: no" >&5
11.21153 +echo "${ECHO_T}no" >&6; }
11.21154 +fi
11.21155 +
11.21156 +
11.21157 + test -n "$CXX" && break
11.21158 + done
11.21159 +fi
11.21160 +if test -z "$CXX"; then
11.21161 + ac_ct_CXX=$CXX
11.21162 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11.21163 +do
11.21164 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11.21165 +set dummy $ac_prog; ac_word=$2
11.21166 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.21167 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.21168 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11.21169 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21170 +else
11.21171 + if test -n "$ac_ct_CXX"; then
11.21172 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11.21173 +else
11.21174 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.21175 +for as_dir in $PATH
11.21176 +do
11.21177 + IFS=$as_save_IFS
11.21178 + test -z "$as_dir" && as_dir=.
11.21179 + for ac_exec_ext in '' $ac_executable_extensions; do
11.21180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.21181 + ac_cv_prog_ac_ct_CXX="$ac_prog"
11.21182 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.21183 + break 2
11.21184 + fi
11.21185 +done
11.21186 +done
11.21187 +IFS=$as_save_IFS
11.21188 +
11.21189 +fi
11.21190 +fi
11.21191 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11.21192 +if test -n "$ac_ct_CXX"; then
11.21193 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11.21194 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
11.21195 +else
11.21196 + { echo "$as_me:$LINENO: result: no" >&5
11.21197 +echo "${ECHO_T}no" >&6; }
11.21198 +fi
11.21199 +
11.21200 +
11.21201 + test -n "$ac_ct_CXX" && break
11.21202 +done
11.21203 +
11.21204 + if test "x$ac_ct_CXX" = x; then
11.21205 + CXX="g++"
11.21206 + else
11.21207 + case $cross_compiling:$ac_tool_warned in
11.21208 +yes:)
11.21209 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.21210 +whose name does not start with the host triplet. If you think this
11.21211 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.21212 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.21213 +whose name does not start with the host triplet. If you think this
11.21214 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.21215 +ac_tool_warned=yes ;;
11.21216 +esac
11.21217 + CXX=$ac_ct_CXX
11.21218 + fi
11.21219 +fi
11.21220 +
11.21221 + fi
11.21222 +fi
11.21223 +# Provide some information about the compiler.
11.21224 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11.21225 +ac_compiler=`set X $ac_compile; echo $2`
11.21226 +{ (ac_try="$ac_compiler --version >&5"
11.21227 +case "(($ac_try" in
11.21228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21229 + *) ac_try_echo=$ac_try;;
11.21230 +esac
11.21231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21232 + (eval "$ac_compiler --version >&5") 2>&5
11.21233 + ac_status=$?
11.21234 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21235 + (exit $ac_status); }
11.21236 +{ (ac_try="$ac_compiler -v >&5"
11.21237 +case "(($ac_try" in
11.21238 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21239 + *) ac_try_echo=$ac_try;;
11.21240 +esac
11.21241 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21242 + (eval "$ac_compiler -v >&5") 2>&5
11.21243 + ac_status=$?
11.21244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21245 + (exit $ac_status); }
11.21246 +{ (ac_try="$ac_compiler -V >&5"
11.21247 +case "(($ac_try" in
11.21248 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21249 + *) ac_try_echo=$ac_try;;
11.21250 +esac
11.21251 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21252 + (eval "$ac_compiler -V >&5") 2>&5
11.21253 + ac_status=$?
11.21254 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21255 + (exit $ac_status); }
11.21256 +
11.21257 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11.21258 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11.21259 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11.21260 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21261 +else
11.21262 + cat >conftest.$ac_ext <<_ACEOF
11.21263 +/* confdefs.h. */
11.21264 +_ACEOF
11.21265 +cat confdefs.h >>conftest.$ac_ext
11.21266 +cat >>conftest.$ac_ext <<_ACEOF
11.21267 +/* end confdefs.h. */
11.21268 +
11.21269 +int
11.21270 +main ()
11.21271 +{
11.21272 +#ifndef __GNUC__
11.21273 + choke me
11.21274 +#endif
11.21275 +
11.21276 + ;
11.21277 + return 0;
11.21278 +}
11.21279 +_ACEOF
11.21280 +rm -f conftest.$ac_objext
11.21281 +if { (ac_try="$ac_compile"
11.21282 +case "(($ac_try" in
11.21283 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21284 + *) ac_try_echo=$ac_try;;
11.21285 +esac
11.21286 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21287 + (eval "$ac_compile") 2>conftest.er1
11.21288 + ac_status=$?
11.21289 + grep -v '^ *+' conftest.er1 >conftest.err
11.21290 + rm -f conftest.er1
11.21291 + cat conftest.err >&5
11.21292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21293 + (exit $ac_status); } && {
11.21294 + test -z "$ac_cxx_werror_flag" ||
11.21295 + test ! -s conftest.err
11.21296 + } && test -s conftest.$ac_objext; then
11.21297 + ac_compiler_gnu=yes
11.21298 +else
11.21299 + echo "$as_me: failed program was:" >&5
11.21300 +sed 's/^/| /' conftest.$ac_ext >&5
11.21301 +
11.21302 + ac_compiler_gnu=no
11.21303 +fi
11.21304 +
11.21305 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21306 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11.21307 +
11.21308 +fi
11.21309 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11.21310 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11.21311 +GXX=`test $ac_compiler_gnu = yes && echo yes`
11.21312 +ac_test_CXXFLAGS=${CXXFLAGS+set}
11.21313 +ac_save_CXXFLAGS=$CXXFLAGS
11.21314 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11.21315 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11.21316 +if test "${ac_cv_prog_cxx_g+set}" = set; then
11.21317 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21318 +else
11.21319 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11.21320 + ac_cxx_werror_flag=yes
11.21321 + ac_cv_prog_cxx_g=no
11.21322 + CXXFLAGS="-g"
11.21323 + cat >conftest.$ac_ext <<_ACEOF
11.21324 +/* confdefs.h. */
11.21325 +_ACEOF
11.21326 +cat confdefs.h >>conftest.$ac_ext
11.21327 +cat >>conftest.$ac_ext <<_ACEOF
11.21328 +/* end confdefs.h. */
11.21329 +
11.21330 +int
11.21331 +main ()
11.21332 +{
11.21333 +
11.21334 + ;
11.21335 + return 0;
11.21336 +}
11.21337 +_ACEOF
11.21338 +rm -f conftest.$ac_objext
11.21339 +if { (ac_try="$ac_compile"
11.21340 +case "(($ac_try" in
11.21341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21342 + *) ac_try_echo=$ac_try;;
11.21343 +esac
11.21344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21345 + (eval "$ac_compile") 2>conftest.er1
11.21346 + ac_status=$?
11.21347 + grep -v '^ *+' conftest.er1 >conftest.err
11.21348 + rm -f conftest.er1
11.21349 + cat conftest.err >&5
11.21350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21351 + (exit $ac_status); } && {
11.21352 + test -z "$ac_cxx_werror_flag" ||
11.21353 + test ! -s conftest.err
11.21354 + } && test -s conftest.$ac_objext; then
11.21355 + ac_cv_prog_cxx_g=yes
11.21356 +else
11.21357 + echo "$as_me: failed program was:" >&5
11.21358 +sed 's/^/| /' conftest.$ac_ext >&5
11.21359 +
11.21360 + CXXFLAGS=""
11.21361 + cat >conftest.$ac_ext <<_ACEOF
11.21362 +/* confdefs.h. */
11.21363 +_ACEOF
11.21364 +cat confdefs.h >>conftest.$ac_ext
11.21365 +cat >>conftest.$ac_ext <<_ACEOF
11.21366 +/* end confdefs.h. */
11.21367 +
11.21368 +int
11.21369 +main ()
11.21370 +{
11.21371 +
11.21372 + ;
11.21373 + return 0;
11.21374 +}
11.21375 +_ACEOF
11.21376 +rm -f conftest.$ac_objext
11.21377 +if { (ac_try="$ac_compile"
11.21378 +case "(($ac_try" in
11.21379 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21380 + *) ac_try_echo=$ac_try;;
11.21381 +esac
11.21382 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21383 + (eval "$ac_compile") 2>conftest.er1
11.21384 + ac_status=$?
11.21385 + grep -v '^ *+' conftest.er1 >conftest.err
11.21386 + rm -f conftest.er1
11.21387 + cat conftest.err >&5
11.21388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21389 + (exit $ac_status); } && {
11.21390 + test -z "$ac_cxx_werror_flag" ||
11.21391 + test ! -s conftest.err
11.21392 + } && test -s conftest.$ac_objext; then
11.21393 + :
11.21394 +else
11.21395 + echo "$as_me: failed program was:" >&5
11.21396 +sed 's/^/| /' conftest.$ac_ext >&5
11.21397 +
11.21398 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11.21399 + CXXFLAGS="-g"
11.21400 + cat >conftest.$ac_ext <<_ACEOF
11.21401 +/* confdefs.h. */
11.21402 +_ACEOF
11.21403 +cat confdefs.h >>conftest.$ac_ext
11.21404 +cat >>conftest.$ac_ext <<_ACEOF
11.21405 +/* end confdefs.h. */
11.21406 +
11.21407 +int
11.21408 +main ()
11.21409 +{
11.21410 +
11.21411 + ;
11.21412 + return 0;
11.21413 +}
11.21414 +_ACEOF
11.21415 +rm -f conftest.$ac_objext
11.21416 +if { (ac_try="$ac_compile"
11.21417 +case "(($ac_try" in
11.21418 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21419 + *) ac_try_echo=$ac_try;;
11.21420 +esac
11.21421 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21422 + (eval "$ac_compile") 2>conftest.er1
11.21423 + ac_status=$?
11.21424 + grep -v '^ *+' conftest.er1 >conftest.err
11.21425 + rm -f conftest.er1
11.21426 + cat conftest.err >&5
11.21427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21428 + (exit $ac_status); } && {
11.21429 + test -z "$ac_cxx_werror_flag" ||
11.21430 + test ! -s conftest.err
11.21431 + } && test -s conftest.$ac_objext; then
11.21432 + ac_cv_prog_cxx_g=yes
11.21433 +else
11.21434 + echo "$as_me: failed program was:" >&5
11.21435 +sed 's/^/| /' conftest.$ac_ext >&5
11.21436 +
11.21437 +
11.21438 +fi
11.21439 +
11.21440 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21441 +fi
11.21442 +
11.21443 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21444 +fi
11.21445 +
11.21446 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21447 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11.21448 +fi
11.21449 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11.21450 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
11.21451 +if test "$ac_test_CXXFLAGS" = set; then
11.21452 + CXXFLAGS=$ac_save_CXXFLAGS
11.21453 +elif test $ac_cv_prog_cxx_g = yes; then
11.21454 + if test "$GXX" = yes; then
11.21455 + CXXFLAGS="-g -O2"
11.21456 + else
11.21457 + CXXFLAGS="-g"
11.21458 + fi
11.21459 +else
11.21460 + if test "$GXX" = yes; then
11.21461 + CXXFLAGS="-O2"
11.21462 + else
11.21463 + CXXFLAGS=
11.21464 + fi
11.21465 +fi
11.21466 +ac_ext=c
11.21467 +ac_cpp='$CPP $CPPFLAGS'
11.21468 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.21469 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.21470 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.21471 +
11.21472 +depcc="$CXX" am_compiler_list=
11.21473 +
11.21474 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11.21475 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
11.21476 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
11.21477 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21478 +else
11.21479 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11.21480 + # We make a subdir and do the tests there. Otherwise we can end up
11.21481 + # making bogus files that we don't know about and never remove. For
11.21482 + # instance it was reported that on HP-UX the gcc test will end up
11.21483 + # making a dummy file named `D' -- because `-MD' means `put the output
11.21484 + # in D'.
11.21485 + mkdir conftest.dir
11.21486 + # Copy depcomp to subdir because otherwise we won't find it if we're
11.21487 + # using a relative directory.
11.21488 + cp "$am_depcomp" conftest.dir
11.21489 + cd conftest.dir
11.21490 + # We will build objects and dependencies in a subdirectory because
11.21491 + # it helps to detect inapplicable dependency modes. For instance
11.21492 + # both Tru64's cc and ICC support -MD to output dependencies as a
11.21493 + # side effect of compilation, but ICC will put the dependencies in
11.21494 + # the current directory while Tru64 will put them in the object
11.21495 + # directory.
11.21496 + mkdir sub
11.21497 +
11.21498 + am_cv_CXX_dependencies_compiler_type=none
11.21499 + if test "$am_compiler_list" = ""; then
11.21500 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11.21501 + fi
11.21502 + for depmode in $am_compiler_list; do
11.21503 + # Setup a source with many dependencies, because some compilers
11.21504 + # like to wrap large dependency lists on column 80 (with \), and
11.21505 + # we should not choose a depcomp mode which is confused by this.
11.21506 + #
11.21507 + # We need to recreate these files for each test, as the compiler may
11.21508 + # overwrite some of them when testing with obscure command lines.
11.21509 + # This happens at least with the AIX C compiler.
11.21510 + : > sub/conftest.c
11.21511 + for i in 1 2 3 4 5 6; do
11.21512 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
11.21513 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11.21514 + # Solaris 8's {/usr,}/bin/sh.
11.21515 + touch sub/conftst$i.h
11.21516 + done
11.21517 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11.21518 +
11.21519 + case $depmode in
11.21520 + nosideeffect)
11.21521 + # after this tag, mechanisms are not by side-effect, so they'll
11.21522 + # only be used when explicitly requested
11.21523 + if test "x$enable_dependency_tracking" = xyes; then
11.21524 + continue
11.21525 + else
11.21526 + break
11.21527 + fi
11.21528 + ;;
11.21529 + none) break ;;
11.21530 + esac
11.21531 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
11.21532 + # mode. It turns out that the SunPro C++ compiler does not properly
11.21533 + # handle `-M -o', and we need to detect this.
11.21534 + if depmode=$depmode \
11.21535 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11.21536 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11.21537 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11.21538 + >/dev/null 2>conftest.err &&
11.21539 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11.21540 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11.21541 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11.21542 + # icc doesn't choke on unknown options, it will just issue warnings
11.21543 + # or remarks (even with -Werror). So we grep stderr for any message
11.21544 + # that says an option was ignored or not supported.
11.21545 + # When given -MP, icc 7.0 and 7.1 complain thusly:
11.21546 + # icc: Command line warning: ignoring option '-M'; no argument required
11.21547 + # The diagnosis changed in icc 8.0:
11.21548 + # icc: Command line remark: option '-MP' not supported
11.21549 + if (grep 'ignoring option' conftest.err ||
11.21550 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11.21551 + am_cv_CXX_dependencies_compiler_type=$depmode
11.21552 + break
11.21553 + fi
11.21554 + fi
11.21555 + done
11.21556 +
11.21557 + cd ..
11.21558 + rm -rf conftest.dir
11.21559 +else
11.21560 + am_cv_CXX_dependencies_compiler_type=none
11.21561 +fi
11.21562 +
11.21563 +fi
11.21564 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
11.21565 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
11.21566 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11.21567 +
11.21568 +
11.21569 +
11.21570 +if
11.21571 + test "x$enable_dependency_tracking" != xno \
11.21572 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11.21573 + am__fastdepCXX_TRUE=
11.21574 + am__fastdepCXX_FALSE='#'
11.21575 +else
11.21576 + am__fastdepCXX_TRUE='#'
11.21577 + am__fastdepCXX_FALSE=
11.21578 +fi
11.21579 +
11.21580 +
11.21581 +# Extract the first word of "$CXX", so it can be a program name with args.
11.21582 +set dummy $CXX; ac_word=$2
11.21583 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.21584 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.21585 +if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
11.21586 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21587 +else
11.21588 + if test -n "$HAVE_CXX"; then
11.21589 + ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
11.21590 +else
11.21591 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.21592 +for as_dir in $PATH
11.21593 +do
11.21594 + IFS=$as_save_IFS
11.21595 + test -z "$as_dir" && as_dir=.
11.21596 + for ac_exec_ext in '' $ac_executable_extensions; do
11.21597 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.21598 + ac_cv_prog_HAVE_CXX="yes"
11.21599 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.21600 + break 2
11.21601 + fi
11.21602 +done
11.21603 +done
11.21604 +IFS=$as_save_IFS
11.21605 +
11.21606 + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
11.21607 +fi
11.21608 +fi
11.21609 +HAVE_CXX=$ac_cv_prog_HAVE_CXX
11.21610 +if test -n "$HAVE_CXX"; then
11.21611 + { echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
11.21612 +echo "${ECHO_T}$HAVE_CXX" >&6; }
11.21613 +else
11.21614 + { echo "$as_me:$LINENO: result: no" >&5
11.21615 +echo "${ECHO_T}no" >&6; }
11.21616 +fi
11.21617 +
11.21618 +
11.21619 +ac_ext=cpp
11.21620 +ac_cpp='$CXXCPP $CPPFLAGS'
11.21621 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.21622 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.21623 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11.21624 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11.21625 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
11.21626 +if test -z "$CXXCPP"; then
11.21627 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
11.21628 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21629 +else
11.21630 + # Double quotes because CXXCPP needs to be expanded
11.21631 + for CXXCPP in "$CXX -E" "/lib/cpp"
11.21632 + do
11.21633 + ac_preproc_ok=false
11.21634 +for ac_cxx_preproc_warn_flag in '' yes
11.21635 +do
11.21636 + # Use a header file that comes with gcc, so configuring glibc
11.21637 + # with a fresh cross-compiler works.
11.21638 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.21639 + # <limits.h> exists even on freestanding compilers.
11.21640 + # On the NeXT, cc -E runs the code through the compiler's parser,
11.21641 + # not just through cpp. "Syntax error" is here to catch this case.
11.21642 + cat >conftest.$ac_ext <<_ACEOF
11.21643 +/* confdefs.h. */
11.21644 +_ACEOF
11.21645 +cat confdefs.h >>conftest.$ac_ext
11.21646 +cat >>conftest.$ac_ext <<_ACEOF
11.21647 +/* end confdefs.h. */
11.21648 +@%:@ifdef __STDC__
11.21649 +@%:@ include <limits.h>
11.21650 +@%:@else
11.21651 +@%:@ include <assert.h>
11.21652 +@%:@endif
11.21653 + Syntax error
11.21654 +_ACEOF
11.21655 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.21656 +case "(($ac_try" in
11.21657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21658 + *) ac_try_echo=$ac_try;;
11.21659 +esac
11.21660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21661 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.21662 + ac_status=$?
11.21663 + grep -v '^ *+' conftest.er1 >conftest.err
11.21664 + rm -f conftest.er1
11.21665 + cat conftest.err >&5
11.21666 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21667 + (exit $ac_status); } >/dev/null && {
11.21668 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.21669 + test ! -s conftest.err
11.21670 + }; then
11.21671 + :
11.21672 +else
11.21673 + echo "$as_me: failed program was:" >&5
11.21674 +sed 's/^/| /' conftest.$ac_ext >&5
11.21675 +
11.21676 + # Broken: fails on valid input.
11.21677 +continue
11.21678 +fi
11.21679 +
11.21680 +rm -f conftest.err conftest.$ac_ext
11.21681 +
11.21682 + # OK, works on sane cases. Now check whether nonexistent headers
11.21683 + # can be detected and how.
11.21684 + cat >conftest.$ac_ext <<_ACEOF
11.21685 +/* confdefs.h. */
11.21686 +_ACEOF
11.21687 +cat confdefs.h >>conftest.$ac_ext
11.21688 +cat >>conftest.$ac_ext <<_ACEOF
11.21689 +/* end confdefs.h. */
11.21690 +@%:@include <ac_nonexistent.h>
11.21691 +_ACEOF
11.21692 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.21693 +case "(($ac_try" in
11.21694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21695 + *) ac_try_echo=$ac_try;;
11.21696 +esac
11.21697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21698 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.21699 + ac_status=$?
11.21700 + grep -v '^ *+' conftest.er1 >conftest.err
11.21701 + rm -f conftest.er1
11.21702 + cat conftest.err >&5
11.21703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21704 + (exit $ac_status); } >/dev/null && {
11.21705 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.21706 + test ! -s conftest.err
11.21707 + }; then
11.21708 + # Broken: success on invalid input.
11.21709 +continue
11.21710 +else
11.21711 + echo "$as_me: failed program was:" >&5
11.21712 +sed 's/^/| /' conftest.$ac_ext >&5
11.21713 +
11.21714 + # Passes both tests.
11.21715 +ac_preproc_ok=:
11.21716 +break
11.21717 +fi
11.21718 +
11.21719 +rm -f conftest.err conftest.$ac_ext
11.21720 +
11.21721 +done
11.21722 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11.21723 +rm -f conftest.err conftest.$ac_ext
11.21724 +if $ac_preproc_ok; then
11.21725 + break
11.21726 +fi
11.21727 +
11.21728 + done
11.21729 + ac_cv_prog_CXXCPP=$CXXCPP
11.21730 +
11.21731 +fi
11.21732 + CXXCPP=$ac_cv_prog_CXXCPP
11.21733 +else
11.21734 + ac_cv_prog_CXXCPP=$CXXCPP
11.21735 +fi
11.21736 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
11.21737 +echo "${ECHO_T}$CXXCPP" >&6; }
11.21738 +ac_preproc_ok=false
11.21739 +for ac_cxx_preproc_warn_flag in '' yes
11.21740 +do
11.21741 + # Use a header file that comes with gcc, so configuring glibc
11.21742 + # with a fresh cross-compiler works.
11.21743 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.21744 + # <limits.h> exists even on freestanding compilers.
11.21745 + # On the NeXT, cc -E runs the code through the compiler's parser,
11.21746 + # not just through cpp. "Syntax error" is here to catch this case.
11.21747 + cat >conftest.$ac_ext <<_ACEOF
11.21748 +/* confdefs.h. */
11.21749 +_ACEOF
11.21750 +cat confdefs.h >>conftest.$ac_ext
11.21751 +cat >>conftest.$ac_ext <<_ACEOF
11.21752 +/* end confdefs.h. */
11.21753 +@%:@ifdef __STDC__
11.21754 +@%:@ include <limits.h>
11.21755 +@%:@else
11.21756 +@%:@ include <assert.h>
11.21757 +@%:@endif
11.21758 + Syntax error
11.21759 +_ACEOF
11.21760 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.21761 +case "(($ac_try" in
11.21762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21763 + *) ac_try_echo=$ac_try;;
11.21764 +esac
11.21765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21766 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.21767 + ac_status=$?
11.21768 + grep -v '^ *+' conftest.er1 >conftest.err
11.21769 + rm -f conftest.er1
11.21770 + cat conftest.err >&5
11.21771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21772 + (exit $ac_status); } >/dev/null && {
11.21773 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.21774 + test ! -s conftest.err
11.21775 + }; then
11.21776 + :
11.21777 +else
11.21778 + echo "$as_me: failed program was:" >&5
11.21779 +sed 's/^/| /' conftest.$ac_ext >&5
11.21780 +
11.21781 + # Broken: fails on valid input.
11.21782 +continue
11.21783 +fi
11.21784 +
11.21785 +rm -f conftest.err conftest.$ac_ext
11.21786 +
11.21787 + # OK, works on sane cases. Now check whether nonexistent headers
11.21788 + # can be detected and how.
11.21789 + cat >conftest.$ac_ext <<_ACEOF
11.21790 +/* confdefs.h. */
11.21791 +_ACEOF
11.21792 +cat confdefs.h >>conftest.$ac_ext
11.21793 +cat >>conftest.$ac_ext <<_ACEOF
11.21794 +/* end confdefs.h. */
11.21795 +@%:@include <ac_nonexistent.h>
11.21796 +_ACEOF
11.21797 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11.21798 +case "(($ac_try" in
11.21799 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21800 + *) ac_try_echo=$ac_try;;
11.21801 +esac
11.21802 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21803 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11.21804 + ac_status=$?
11.21805 + grep -v '^ *+' conftest.er1 >conftest.err
11.21806 + rm -f conftest.er1
11.21807 + cat conftest.err >&5
11.21808 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21809 + (exit $ac_status); } >/dev/null && {
11.21810 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11.21811 + test ! -s conftest.err
11.21812 + }; then
11.21813 + # Broken: success on invalid input.
11.21814 +continue
11.21815 +else
11.21816 + echo "$as_me: failed program was:" >&5
11.21817 +sed 's/^/| /' conftest.$ac_ext >&5
11.21818 +
11.21819 + # Passes both tests.
11.21820 +ac_preproc_ok=:
11.21821 +break
11.21822 +fi
11.21823 +
11.21824 +rm -f conftest.err conftest.$ac_ext
11.21825 +
11.21826 +done
11.21827 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11.21828 +rm -f conftest.err conftest.$ac_ext
11.21829 +if $ac_preproc_ok; then
11.21830 + :
11.21831 +else
11.21832 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11.21833 +See \`config.log' for more details." >&5
11.21834 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11.21835 +See \`config.log' for more details." >&2;}
11.21836 + { (exit 1); exit 1; }; }
11.21837 +fi
11.21838 +
11.21839 +ac_ext=c
11.21840 +ac_cpp='$CPP $CPPFLAGS'
11.21841 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.21842 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.21843 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.21844 +
11.21845 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
11.21846 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
11.21847 +if test "${ac_cv_search_strerror+set}" = set; then
11.21848 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21849 +else
11.21850 + ac_func_search_save_LIBS=$LIBS
11.21851 +cat >conftest.$ac_ext <<_ACEOF
11.21852 +/* confdefs.h. */
11.21853 +_ACEOF
11.21854 +cat confdefs.h >>conftest.$ac_ext
11.21855 +cat >>conftest.$ac_ext <<_ACEOF
11.21856 +/* end confdefs.h. */
11.21857 +
11.21858 +/* Override any GCC internal prototype to avoid an error.
11.21859 + Use char because int might match the return type of a GCC
11.21860 + builtin and then its argument prototype would still apply. */
11.21861 +#ifdef __cplusplus
11.21862 +extern "C"
11.21863 +#endif
11.21864 +char strerror ();
11.21865 +int
11.21866 +main ()
11.21867 +{
11.21868 +return strerror ();
11.21869 + ;
11.21870 + return 0;
11.21871 +}
11.21872 +_ACEOF
11.21873 +for ac_lib in '' cposix; do
11.21874 + if test -z "$ac_lib"; then
11.21875 + ac_res="none required"
11.21876 + else
11.21877 + ac_res=-l$ac_lib
11.21878 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11.21879 + fi
11.21880 + rm -f conftest.$ac_objext conftest$ac_exeext
11.21881 +if { (ac_try="$ac_link"
11.21882 +case "(($ac_try" in
11.21883 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21884 + *) ac_try_echo=$ac_try;;
11.21885 +esac
11.21886 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21887 + (eval "$ac_link") 2>conftest.er1
11.21888 + ac_status=$?
11.21889 + grep -v '^ *+' conftest.er1 >conftest.err
11.21890 + rm -f conftest.er1
11.21891 + cat conftest.err >&5
11.21892 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21893 + (exit $ac_status); } && {
11.21894 + test -z "$ac_c_werror_flag" ||
11.21895 + test ! -s conftest.err
11.21896 + } && test -s conftest$ac_exeext &&
11.21897 + $as_test_x conftest$ac_exeext; then
11.21898 + ac_cv_search_strerror=$ac_res
11.21899 +else
11.21900 + echo "$as_me: failed program was:" >&5
11.21901 +sed 's/^/| /' conftest.$ac_ext >&5
11.21902 +
11.21903 +
11.21904 +fi
11.21905 +
11.21906 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11.21907 + conftest$ac_exeext
11.21908 + if test "${ac_cv_search_strerror+set}" = set; then
11.21909 + break
11.21910 +fi
11.21911 +done
11.21912 +if test "${ac_cv_search_strerror+set}" = set; then
11.21913 + :
11.21914 +else
11.21915 + ac_cv_search_strerror=no
11.21916 +fi
11.21917 +rm conftest.$ac_ext
11.21918 +LIBS=$ac_func_search_save_LIBS
11.21919 +fi
11.21920 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
11.21921 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
11.21922 +ac_res=$ac_cv_search_strerror
11.21923 +if test "$ac_res" != no; then
11.21924 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11.21925 +
11.21926 +fi
11.21927 +
11.21928 +
11.21929 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11.21930 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11.21931 +if test "${ac_cv_header_stdc+set}" = set; then
11.21932 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.21933 +else
11.21934 + cat >conftest.$ac_ext <<_ACEOF
11.21935 +/* confdefs.h. */
11.21936 +_ACEOF
11.21937 +cat confdefs.h >>conftest.$ac_ext
11.21938 +cat >>conftest.$ac_ext <<_ACEOF
11.21939 +/* end confdefs.h. */
11.21940 +#include <stdlib.h>
11.21941 +#include <stdarg.h>
11.21942 +#include <string.h>
11.21943 +#include <float.h>
11.21944 +
11.21945 +int
11.21946 +main ()
11.21947 +{
11.21948 +
11.21949 + ;
11.21950 + return 0;
11.21951 +}
11.21952 +_ACEOF
11.21953 +rm -f conftest.$ac_objext
11.21954 +if { (ac_try="$ac_compile"
11.21955 +case "(($ac_try" in
11.21956 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.21957 + *) ac_try_echo=$ac_try;;
11.21958 +esac
11.21959 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.21960 + (eval "$ac_compile") 2>conftest.er1
11.21961 + ac_status=$?
11.21962 + grep -v '^ *+' conftest.er1 >conftest.err
11.21963 + rm -f conftest.er1
11.21964 + cat conftest.err >&5
11.21965 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.21966 + (exit $ac_status); } && {
11.21967 + test -z "$ac_c_werror_flag" ||
11.21968 + test ! -s conftest.err
11.21969 + } && test -s conftest.$ac_objext; then
11.21970 + ac_cv_header_stdc=yes
11.21971 +else
11.21972 + echo "$as_me: failed program was:" >&5
11.21973 +sed 's/^/| /' conftest.$ac_ext >&5
11.21974 +
11.21975 + ac_cv_header_stdc=no
11.21976 +fi
11.21977 +
11.21978 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.21979 +
11.21980 +if test $ac_cv_header_stdc = yes; then
11.21981 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11.21982 + cat >conftest.$ac_ext <<_ACEOF
11.21983 +/* confdefs.h. */
11.21984 +_ACEOF
11.21985 +cat confdefs.h >>conftest.$ac_ext
11.21986 +cat >>conftest.$ac_ext <<_ACEOF
11.21987 +/* end confdefs.h. */
11.21988 +#include <string.h>
11.21989 +
11.21990 +_ACEOF
11.21991 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11.21992 + $EGREP "memchr" >/dev/null 2>&1; then
11.21993 + :
11.21994 +else
11.21995 + ac_cv_header_stdc=no
11.21996 +fi
11.21997 +rm -f conftest*
11.21998 +
11.21999 +fi
11.22000 +
11.22001 +if test $ac_cv_header_stdc = yes; then
11.22002 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11.22003 + cat >conftest.$ac_ext <<_ACEOF
11.22004 +/* confdefs.h. */
11.22005 +_ACEOF
11.22006 +cat confdefs.h >>conftest.$ac_ext
11.22007 +cat >>conftest.$ac_ext <<_ACEOF
11.22008 +/* end confdefs.h. */
11.22009 +#include <stdlib.h>
11.22010 +
11.22011 +_ACEOF
11.22012 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11.22013 + $EGREP "free" >/dev/null 2>&1; then
11.22014 + :
11.22015 +else
11.22016 + ac_cv_header_stdc=no
11.22017 +fi
11.22018 +rm -f conftest*
11.22019 +
11.22020 +fi
11.22021 +
11.22022 +if test $ac_cv_header_stdc = yes; then
11.22023 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11.22024 + if test "$cross_compiling" = yes; then
11.22025 + :
11.22026 +else
11.22027 + cat >conftest.$ac_ext <<_ACEOF
11.22028 +/* confdefs.h. */
11.22029 +_ACEOF
11.22030 +cat confdefs.h >>conftest.$ac_ext
11.22031 +cat >>conftest.$ac_ext <<_ACEOF
11.22032 +/* end confdefs.h. */
11.22033 +#include <ctype.h>
11.22034 +#include <stdlib.h>
11.22035 +#if ((' ' & 0x0FF) == 0x020)
11.22036 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11.22037 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11.22038 +#else
11.22039 +# define ISLOWER(c) \
11.22040 + (('a' <= (c) && (c) <= 'i') \
11.22041 + || ('j' <= (c) && (c) <= 'r') \
11.22042 + || ('s' <= (c) && (c) <= 'z'))
11.22043 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11.22044 +#endif
11.22045 +
11.22046 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11.22047 +int
11.22048 +main ()
11.22049 +{
11.22050 + int i;
11.22051 + for (i = 0; i < 256; i++)
11.22052 + if (XOR (islower (i), ISLOWER (i))
11.22053 + || toupper (i) != TOUPPER (i))
11.22054 + return 2;
11.22055 + return 0;
11.22056 +}
11.22057 +_ACEOF
11.22058 +rm -f conftest$ac_exeext
11.22059 +if { (ac_try="$ac_link"
11.22060 +case "(($ac_try" in
11.22061 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.22062 + *) ac_try_echo=$ac_try;;
11.22063 +esac
11.22064 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.22065 + (eval "$ac_link") 2>&5
11.22066 + ac_status=$?
11.22067 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22068 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11.22069 + { (case "(($ac_try" in
11.22070 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.22071 + *) ac_try_echo=$ac_try;;
11.22072 +esac
11.22073 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.22074 + (eval "$ac_try") 2>&5
11.22075 + ac_status=$?
11.22076 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22077 + (exit $ac_status); }; }; then
11.22078 + :
11.22079 +else
11.22080 + echo "$as_me: program exited with status $ac_status" >&5
11.22081 +echo "$as_me: failed program was:" >&5
11.22082 +sed 's/^/| /' conftest.$ac_ext >&5
11.22083 +
11.22084 +( exit $ac_status )
11.22085 +ac_cv_header_stdc=no
11.22086 +fi
11.22087 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11.22088 +fi
11.22089 +
11.22090 +
11.22091 +fi
11.22092 +fi
11.22093 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11.22094 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11.22095 +if test $ac_cv_header_stdc = yes; then
11.22096 +
11.22097 +cat >>confdefs.h <<\_ACEOF
11.22098 +@%:@define STDC_HEADERS 1
11.22099 +_ACEOF
11.22100 +
11.22101 +fi
11.22102 +
11.22103 +{ echo "$as_me:$LINENO: checking for inline" >&5
11.22104 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
11.22105 +if test "${ac_cv_c_inline+set}" = set; then
11.22106 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22107 +else
11.22108 + ac_cv_c_inline=no
11.22109 +for ac_kw in inline __inline__ __inline; do
11.22110 + cat >conftest.$ac_ext <<_ACEOF
11.22111 +/* confdefs.h. */
11.22112 +_ACEOF
11.22113 +cat confdefs.h >>conftest.$ac_ext
11.22114 +cat >>conftest.$ac_ext <<_ACEOF
11.22115 +/* end confdefs.h. */
11.22116 +#ifndef __cplusplus
11.22117 +typedef int foo_t;
11.22118 +static $ac_kw foo_t static_foo () {return 0; }
11.22119 +$ac_kw foo_t foo () {return 0; }
11.22120 +#endif
11.22121 +
11.22122 +_ACEOF
11.22123 +rm -f conftest.$ac_objext
11.22124 +if { (ac_try="$ac_compile"
11.22125 +case "(($ac_try" in
11.22126 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11.22127 + *) ac_try_echo=$ac_try;;
11.22128 +esac
11.22129 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11.22130 + (eval "$ac_compile") 2>conftest.er1
11.22131 + ac_status=$?
11.22132 + grep -v '^ *+' conftest.er1 >conftest.err
11.22133 + rm -f conftest.er1
11.22134 + cat conftest.err >&5
11.22135 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22136 + (exit $ac_status); } && {
11.22137 + test -z "$ac_c_werror_flag" ||
11.22138 + test ! -s conftest.err
11.22139 + } && test -s conftest.$ac_objext; then
11.22140 + ac_cv_c_inline=$ac_kw
11.22141 +else
11.22142 + echo "$as_me: failed program was:" >&5
11.22143 +sed 's/^/| /' conftest.$ac_ext >&5
11.22144 +
11.22145 +
11.22146 +fi
11.22147 +
11.22148 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11.22149 + test "$ac_cv_c_inline" != no && break
11.22150 +done
11.22151 +
11.22152 +fi
11.22153 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11.22154 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
11.22155 +
11.22156 +
11.22157 +case $ac_cv_c_inline in
11.22158 + inline | yes) ;;
11.22159 + *)
11.22160 + case $ac_cv_c_inline in
11.22161 + no) ac_val=;;
11.22162 + *) ac_val=$ac_cv_c_inline;;
11.22163 + esac
11.22164 + cat >>confdefs.h <<_ACEOF
11.22165 +#ifndef __cplusplus
11.22166 +#define inline $ac_val
11.22167 +#endif
11.22168 +_ACEOF
11.22169 + ;;
11.22170 +esac
11.22171 +
11.22172 +
11.22173 +# Extract the first word of "pkg-config", so it can be a program name with args.
11.22174 +set dummy pkg-config; ac_word=$2
11.22175 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.22176 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.22177 +if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
11.22178 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22179 +else
11.22180 + if test -n "$HAVE_PKGCONFIG"; then
11.22181 + ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
11.22182 +else
11.22183 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.22184 +for as_dir in $PATH
11.22185 +do
11.22186 + IFS=$as_save_IFS
11.22187 + test -z "$as_dir" && as_dir=.
11.22188 + for ac_exec_ext in '' $ac_executable_extensions; do
11.22189 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.22190 + ac_cv_prog_HAVE_PKGCONFIG="yes"
11.22191 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.22192 + break 2
11.22193 + fi
11.22194 +done
11.22195 +done
11.22196 +IFS=$as_save_IFS
11.22197 +
11.22198 + test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
11.22199 +fi
11.22200 +fi
11.22201 +HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
11.22202 +if test -n "$HAVE_PKGCONFIG"; then
11.22203 + { echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
11.22204 +echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
11.22205 +else
11.22206 + { echo "$as_me:$LINENO: result: no" >&5
11.22207 +echo "${ECHO_T}no" >&6; }
11.22208 +fi
11.22209 +
11.22210 +
11.22211 +
11.22212 +if test "x$HAVE_PKGCONFIG" = "xno"; then
11.22213 + { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
11.22214 +echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
11.22215 + { (exit 1); exit 1; }; }
11.22216 +fi
11.22217 +
11.22218 +
11.22219 +GST_REQUIRED=0.10.14
11.22220 +GST_MAJORMINOR=0.10
11.22221 +
11.22222 +
11.22223 +
11.22224 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11.22225 + if test -n "$ac_tool_prefix"; then
11.22226 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11.22227 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11.22228 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.22229 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.22230 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11.22231 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22232 +else
11.22233 + case $PKG_CONFIG in
11.22234 + [\\/]* | ?:[\\/]*)
11.22235 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11.22236 + ;;
11.22237 + *)
11.22238 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.22239 +for as_dir in $PATH
11.22240 +do
11.22241 + IFS=$as_save_IFS
11.22242 + test -z "$as_dir" && as_dir=.
11.22243 + for ac_exec_ext in '' $ac_executable_extensions; do
11.22244 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.22245 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11.22246 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.22247 + break 2
11.22248 + fi
11.22249 +done
11.22250 +done
11.22251 +IFS=$as_save_IFS
11.22252 +
11.22253 + ;;
11.22254 +esac
11.22255 +fi
11.22256 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11.22257 +if test -n "$PKG_CONFIG"; then
11.22258 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11.22259 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
11.22260 +else
11.22261 + { echo "$as_me:$LINENO: result: no" >&5
11.22262 +echo "${ECHO_T}no" >&6; }
11.22263 +fi
11.22264 +
11.22265 +
11.22266 +fi
11.22267 +if test -z "$ac_cv_path_PKG_CONFIG"; then
11.22268 + ac_pt_PKG_CONFIG=$PKG_CONFIG
11.22269 + # Extract the first word of "pkg-config", so it can be a program name with args.
11.22270 +set dummy pkg-config; ac_word=$2
11.22271 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11.22272 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11.22273 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11.22274 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22275 +else
11.22276 + case $ac_pt_PKG_CONFIG in
11.22277 + [\\/]* | ?:[\\/]*)
11.22278 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11.22279 + ;;
11.22280 + *)
11.22281 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.22282 +for as_dir in $PATH
11.22283 +do
11.22284 + IFS=$as_save_IFS
11.22285 + test -z "$as_dir" && as_dir=.
11.22286 + for ac_exec_ext in '' $ac_executable_extensions; do
11.22287 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11.22288 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11.22289 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.22290 + break 2
11.22291 + fi
11.22292 +done
11.22293 +done
11.22294 +IFS=$as_save_IFS
11.22295 +
11.22296 + ;;
11.22297 +esac
11.22298 +fi
11.22299 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11.22300 +if test -n "$ac_pt_PKG_CONFIG"; then
11.22301 + { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11.22302 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
11.22303 +else
11.22304 + { echo "$as_me:$LINENO: result: no" >&5
11.22305 +echo "${ECHO_T}no" >&6; }
11.22306 +fi
11.22307 +
11.22308 + if test "x$ac_pt_PKG_CONFIG" = x; then
11.22309 + PKG_CONFIG=""
11.22310 + else
11.22311 + case $cross_compiling:$ac_tool_warned in
11.22312 +yes:)
11.22313 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11.22314 +whose name does not start with the host triplet. If you think this
11.22315 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11.22316 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11.22317 +whose name does not start with the host triplet. If you think this
11.22318 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11.22319 +ac_tool_warned=yes ;;
11.22320 +esac
11.22321 + PKG_CONFIG=$ac_pt_PKG_CONFIG
11.22322 + fi
11.22323 +else
11.22324 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11.22325 +fi
11.22326 +
11.22327 +fi
11.22328 +if test -n "$PKG_CONFIG"; then
11.22329 + _pkg_min_version=0.9.0
11.22330 + { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11.22331 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
11.22332 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11.22333 + { echo "$as_me:$LINENO: result: yes" >&5
11.22334 +echo "${ECHO_T}yes" >&6; }
11.22335 + else
11.22336 + { echo "$as_me:$LINENO: result: no" >&5
11.22337 +echo "${ECHO_T}no" >&6; }
11.22338 + PKG_CONFIG=""
11.22339 + fi
11.22340 +
11.22341 +fi
11.22342 +
11.22343 +pkg_failed=no
11.22344 +{ echo "$as_me:$LINENO: checking for GST_CFLAGS" >&5
11.22345 +echo $ECHO_N "checking for GST_CFLAGS... $ECHO_C" >&6; }
11.22346 +if test "${pkg_cv_GST_CFLAGS+set}" = set; then
11.22347 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22348 +else
11.22349 + if test "x$ac_cv_env_GST_CFLAGS_set" = "xset"; then
11.22350 + pkg_cv_GST_CFLAGS=$ac_cv_env_GST_CFLAGS_value
11.22351 +elif test -n "$PKG_CONFIG"; then
11.22352 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
11.22353 + gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
11.22354 + ($PKG_CONFIG --exists "\
11.22355 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
11.22356 + ac_status=$?
11.22357 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22358 + (exit $ac_status); }; then
11.22359 + pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
11.22360 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
11.22361 + else
11.22362 + pkg_failed=yes
11.22363 + fi
11.22364 +else
11.22365 + pkg_failed=untried
11.22366 +fi
11.22367 +fi
11.22368 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_CFLAGS" >&5
11.22369 +echo "${ECHO_T}$pkg_cv_GST_CFLAGS" >&6; }
11.22370 +{ echo "$as_me:$LINENO: checking for GST_LIBS" >&5
11.22371 +echo $ECHO_N "checking for GST_LIBS... $ECHO_C" >&6; }
11.22372 +if test "${pkg_cv_GST_LIBS+set}" = set; then
11.22373 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22374 +else
11.22375 + if test "x$ac_cv_env_GST_LIBS_set" = "xset"; then
11.22376 + pkg_cv_GST_LIBS=$ac_cv_env_GST_LIBS_value
11.22377 +elif test -n "$PKG_CONFIG"; then
11.22378 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
11.22379 + gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
11.22380 + ($PKG_CONFIG --exists "\
11.22381 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
11.22382 + ac_status=$?
11.22383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22384 + (exit $ac_status); }; then
11.22385 + pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
11.22386 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
11.22387 + else
11.22388 + pkg_failed=yes
11.22389 + fi
11.22390 +else
11.22391 + pkg_failed=untried
11.22392 +fi
11.22393 +fi
11.22394 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_LIBS" >&5
11.22395 +echo "${ECHO_T}$pkg_cv_GST_LIBS" >&6; }
11.22396 +
11.22397 +if test $pkg_failed = yes; then
11.22398 + GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
11.22399 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
11.22400 + # Put the nasty error message in config.log where it belongs
11.22401 + echo "$GST_PKG_ERRORS" 1>&5
11.22402 +
11.22403 + HAVE_GST=no
11.22404 +elif test $pkg_failed = untried; then
11.22405 + HAVE_GST=no
11.22406 +else
11.22407 + GST_CFLAGS=$pkg_cv_GST_CFLAGS
11.22408 + GST_LIBS=$pkg_cv_GST_LIBS
11.22409 + HAVE_GST=yes
11.22410 +fi
11.22411 +
11.22412 +if test "x$HAVE_GST" = "xno"; then
11.22413 + { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
11.22414 +echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
11.22415 + { (exit 1); exit 1; }; }
11.22416 +fi
11.22417 +
11.22418 +if test "x$USE_DEBUG" = xyes; then
11.22419 + GST_CFLAGS="$GST_CFLAGS -g"
11.22420 +fi
11.22421 +
11.22422 +GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
11.22423 +
11.22424 +
11.22425 +
11.22426 +
11.22427 +
11.22428 +
11.22429 +
11.22430 +pkg_failed=no
11.22431 +{ echo "$as_me:$LINENO: checking for GST_BASE_CFLAGS" >&5
11.22432 +echo $ECHO_N "checking for GST_BASE_CFLAGS... $ECHO_C" >&6; }
11.22433 +if test "${pkg_cv_GST_BASE_CFLAGS+set}" = set; then
11.22434 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22435 +else
11.22436 + if test "x$ac_cv_env_GST_BASE_CFLAGS_set" = "xset"; then
11.22437 + pkg_cv_GST_BASE_CFLAGS=$ac_cv_env_GST_BASE_CFLAGS_value
11.22438 +elif test -n "$PKG_CONFIG"; then
11.22439 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
11.22440 + ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
11.22441 + ac_status=$?
11.22442 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22443 + (exit $ac_status); }; then
11.22444 + pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
11.22445 + else
11.22446 + pkg_failed=yes
11.22447 + fi
11.22448 +else
11.22449 + pkg_failed=untried
11.22450 +fi
11.22451 +fi
11.22452 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_CFLAGS" >&5
11.22453 +echo "${ECHO_T}$pkg_cv_GST_BASE_CFLAGS" >&6; }
11.22454 +{ echo "$as_me:$LINENO: checking for GST_BASE_LIBS" >&5
11.22455 +echo $ECHO_N "checking for GST_BASE_LIBS... $ECHO_C" >&6; }
11.22456 +if test "${pkg_cv_GST_BASE_LIBS+set}" = set; then
11.22457 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22458 +else
11.22459 + if test "x$ac_cv_env_GST_BASE_LIBS_set" = "xset"; then
11.22460 + pkg_cv_GST_BASE_LIBS=$ac_cv_env_GST_BASE_LIBS_value
11.22461 +elif test -n "$PKG_CONFIG"; then
11.22462 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
11.22463 + ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
11.22464 + ac_status=$?
11.22465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22466 + (exit $ac_status); }; then
11.22467 + pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
11.22468 + else
11.22469 + pkg_failed=yes
11.22470 + fi
11.22471 +else
11.22472 + pkg_failed=untried
11.22473 +fi
11.22474 +fi
11.22475 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_LIBS" >&5
11.22476 +echo "${ECHO_T}$pkg_cv_GST_BASE_LIBS" >&6; }
11.22477 +
11.22478 +if test $pkg_failed = yes; then
11.22479 + GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
11.22480 + # Put the nasty error message in config.log where it belongs
11.22481 + echo "$GST_BASE_PKG_ERRORS" 1>&5
11.22482 +
11.22483 + HAVE_GST_BASE="no"
11.22484 +elif test $pkg_failed = untried; then
11.22485 + HAVE_GST_BASE="no"
11.22486 +else
11.22487 + GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
11.22488 + GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
11.22489 + HAVE_GST_BASE="yes"
11.22490 +fi
11.22491 +
11.22492 +if test "x$HAVE_GST_BASE" = "xno"; then
11.22493 + { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
11.22494 +echo "$as_me: error: no GStreamer Base Libs found" >&2;}
11.22495 + { (exit 1); exit 1; }; }
11.22496 +fi
11.22497 +
11.22498 +
11.22499 +
11.22500 +
11.22501 +
11.22502 +pkg_failed=no
11.22503 +{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_CFLAGS" >&5
11.22504 +echo $ECHO_N "checking for GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6; }
11.22505 +if test "${pkg_cv_GST_PLUGINS_BASE_CFLAGS+set}" = set; then
11.22506 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22507 +else
11.22508 + if test "x$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_set" = "xset"; then
11.22509 + pkg_cv_GST_PLUGINS_BASE_CFLAGS=$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_value
11.22510 +elif test -n "$PKG_CONFIG"; then
11.22511 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
11.22512 + ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
11.22513 + ac_status=$?
11.22514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22515 + (exit $ac_status); }; then
11.22516 + pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
11.22517 + else
11.22518 + pkg_failed=yes
11.22519 + fi
11.22520 +else
11.22521 + pkg_failed=untried
11.22522 +fi
11.22523 +fi
11.22524 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&5
11.22525 +echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&6; }
11.22526 +{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_LIBS" >&5
11.22527 +echo $ECHO_N "checking for GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6; }
11.22528 +if test "${pkg_cv_GST_PLUGINS_BASE_LIBS+set}" = set; then
11.22529 + echo $ECHO_N "(cached) $ECHO_C" >&6
11.22530 +else
11.22531 + if test "x$ac_cv_env_GST_PLUGINS_BASE_LIBS_set" = "xset"; then
11.22532 + pkg_cv_GST_PLUGINS_BASE_LIBS=$ac_cv_env_GST_PLUGINS_BASE_LIBS_value
11.22533 +elif test -n "$PKG_CONFIG"; then
11.22534 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
11.22535 + ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
11.22536 + ac_status=$?
11.22537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.22538 + (exit $ac_status); }; then
11.22539 + pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
11.22540 + else
11.22541 + pkg_failed=yes
11.22542 + fi
11.22543 +else
11.22544 + pkg_failed=untried
11.22545 +fi
11.22546 +fi
11.22547 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_LIBS" >&5
11.22548 +echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_LIBS" >&6; }
11.22549 +
11.22550 +if test $pkg_failed = yes; then
11.22551 + GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
11.22552 + # Put the nasty error message in config.log where it belongs
11.22553 + echo "$GST_PLUGINS_BASE_PKG_ERRORS" 1>&5
11.22554 +
11.22555 + HAVE_GST_PLUGINS="no"
11.22556 +elif test $pkg_failed = untried; then
11.22557 + HAVE_GST_PLUGINS="no"
11.22558 +else
11.22559 + GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
11.22560 + GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
11.22561 + HAVE_GST_PLUGINS="yes"
11.22562 +fi
11.22563 +
11.22564 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
11.22565 + { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
11.22566 +echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
11.22567 + { (exit 1); exit 1; }; }
11.22568 +fi
11.22569 +
11.22570 +
11.22571 +
11.22572 +
11.22573 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
11.22574 +
11.22575 +
11.22576 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
11.22577 +
11.22578 +
11.22579 +
11.22580 +cat >>confdefs.h <<\_ACEOF
11.22581 +@%:@define GST_LICENSE "LGPL"
11.22582 +_ACEOF
11.22583 +
11.22584 +
11.22585 +cat >>confdefs.h <<\_ACEOF
11.22586 +@%:@define GST_PACKAGE_NAME "INdT plugins to Gstreamer "
11.22587 +_ACEOF
11.22588 +
11.22589 +
11.22590 +cat >>confdefs.h <<\_ACEOF
11.22591 +@%:@define GST_PACKAGE_ORIGIN "https://svn.sourceforge.net/svnroot/gmyth/gst-gpac"
11.22592 +_ACEOF
11.22593 +
11.22594 +
11.22595 +ac_config_files="$ac_config_files Makefile src/Makefile"
11.22596 +
11.22597 +cat >confcache <<\_ACEOF
11.22598 +# This file is a shell script that caches the results of configure
11.22599 +# tests run on this system so they can be shared between configure
11.22600 +# scripts and configure runs, see configure's option --config-cache.
11.22601 +# It is not useful on other systems. If it contains results you don't
11.22602 +# want to keep, you may remove or edit it.
11.22603 +#
11.22604 +# config.status only pays attention to the cache file if you give it
11.22605 +# the --recheck option to rerun configure.
11.22606 +#
11.22607 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
11.22608 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
11.22609 +# following values.
11.22610 +
11.22611 +_ACEOF
11.22612 +
11.22613 +# The following way of writing the cache mishandles newlines in values,
11.22614 +# but we know of no workaround that is simple, portable, and efficient.
11.22615 +# So, we kill variables containing newlines.
11.22616 +# Ultrix sh set writes to stderr and can't be redirected directly,
11.22617 +# and sets the high bit in the cache file unless we assign to the vars.
11.22618 +(
11.22619 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11.22620 + eval ac_val=\$$ac_var
11.22621 + case $ac_val in #(
11.22622 + *${as_nl}*)
11.22623 + case $ac_var in #(
11.22624 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11.22625 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11.22626 + esac
11.22627 + case $ac_var in #(
11.22628 + _ | IFS | as_nl) ;; #(
11.22629 + *) $as_unset $ac_var ;;
11.22630 + esac ;;
11.22631 + esac
11.22632 + done
11.22633 +
11.22634 + (set) 2>&1 |
11.22635 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
11.22636 + *${as_nl}ac_space=\ *)
11.22637 + # `set' does not quote correctly, so add quotes (double-quote
11.22638 + # substitution turns \\\\ into \\, and sed turns \\ into \).
11.22639 + sed -n \
11.22640 + "s/'/'\\\\''/g;
11.22641 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11.22642 + ;; #(
11.22643 + *)
11.22644 + # `set' quotes correctly as required by POSIX, so do not add quotes.
11.22645 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11.22646 + ;;
11.22647 + esac |
11.22648 + sort
11.22649 +) |
11.22650 + sed '
11.22651 + /^ac_cv_env_/b end
11.22652 + t clear
11.22653 + :clear
11.22654 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11.22655 + t end
11.22656 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11.22657 + :end' >>confcache
11.22658 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11.22659 + if test -w "$cache_file"; then
11.22660 + test "x$cache_file" != "x/dev/null" &&
11.22661 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11.22662 +echo "$as_me: updating cache $cache_file" >&6;}
11.22663 + cat confcache >$cache_file
11.22664 + else
11.22665 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11.22666 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11.22667 + fi
11.22668 +fi
11.22669 +rm -f confcache
11.22670 +
11.22671 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
11.22672 +# Let make expand exec_prefix.
11.22673 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11.22674 +
11.22675 +DEFS=-DHAVE_CONFIG_H
11.22676 +
11.22677 +ac_libobjs=
11.22678 +ac_ltlibobjs=
11.22679 +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
11.22680 + # 1. Remove the extension, and $U if already installed.
11.22681 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11.22682 + ac_i=`echo "$ac_i" | sed "$ac_script"`
11.22683 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11.22684 + # will be set to the directory where LIBOBJS objects are built.
11.22685 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11.22686 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11.22687 +done
11.22688 +LIB@&t@OBJS=$ac_libobjs
11.22689 +
11.22690 +LTLIBOBJS=$ac_ltlibobjs
11.22691 +
11.22692 +
11.22693 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11.22694 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11.22695 +Usually this means the macro was only invoked conditionally." >&5
11.22696 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11.22697 +Usually this means the macro was only invoked conditionally." >&2;}
11.22698 + { (exit 1); exit 1; }; }
11.22699 +fi
11.22700 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11.22701 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11.22702 +Usually this means the macro was only invoked conditionally." >&5
11.22703 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
11.22704 +Usually this means the macro was only invoked conditionally." >&2;}
11.22705 + { (exit 1); exit 1; }; }
11.22706 +fi
11.22707 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11.22708 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11.22709 +Usually this means the macro was only invoked conditionally." >&5
11.22710 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11.22711 +Usually this means the macro was only invoked conditionally." >&2;}
11.22712 + { (exit 1); exit 1; }; }
11.22713 +fi
11.22714 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11.22715 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
11.22716 +Usually this means the macro was only invoked conditionally." >&5
11.22717 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
11.22718 +Usually this means the macro was only invoked conditionally." >&2;}
11.22719 + { (exit 1); exit 1; }; }
11.22720 +fi
11.22721 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11.22722 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11.22723 +Usually this means the macro was only invoked conditionally." >&5
11.22724 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11.22725 +Usually this means the macro was only invoked conditionally." >&2;}
11.22726 + { (exit 1); exit 1; }; }
11.22727 +fi
11.22728 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11.22729 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
11.22730 +Usually this means the macro was only invoked conditionally." >&5
11.22731 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
11.22732 +Usually this means the macro was only invoked conditionally." >&2;}
11.22733 + { (exit 1); exit 1; }; }
11.22734 +fi
11.22735 +
11.22736 +: ${CONFIG_STATUS=./config.status}
11.22737 +ac_clean_files_save=$ac_clean_files
11.22738 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11.22739 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11.22740 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
11.22741 +cat >$CONFIG_STATUS <<_ACEOF
11.22742 +#! $SHELL
11.22743 +# Generated by $as_me.
11.22744 +# Run this file to recreate the current configuration.
11.22745 +# Compiler output produced by configure, useful for debugging
11.22746 +# configure, is in config.log if it exists.
11.22747 +
11.22748 +debug=false
11.22749 +ac_cs_recheck=false
11.22750 +ac_cs_silent=false
11.22751 +SHELL=\${CONFIG_SHELL-$SHELL}
11.22752 +_ACEOF
11.22753 +
11.22754 +cat >>$CONFIG_STATUS <<\_ACEOF
11.22755 +## --------------------- ##
11.22756 +## M4sh Initialization. ##
11.22757 +## --------------------- ##
11.22758 +
11.22759 +# Be more Bourne compatible
11.22760 +DUALCASE=1; export DUALCASE # for MKS sh
11.22761 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11.22762 + emulate sh
11.22763 + NULLCMD=:
11.22764 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11.22765 + # is contrary to our usage. Disable this feature.
11.22766 + alias -g '${1+"$@"}'='"$@"'
11.22767 + setopt NO_GLOB_SUBST
11.22768 +else
11.22769 + case `(set -o) 2>/dev/null` in
11.22770 + *posix*) set -o posix ;;
11.22771 +esac
11.22772 +
11.22773 +fi
11.22774 +
11.22775 +
11.22776 +
11.22777 +
11.22778 +# PATH needs CR
11.22779 +# Avoid depending upon Character Ranges.
11.22780 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11.22781 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11.22782 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11.22783 +as_cr_digits='0123456789'
11.22784 +as_cr_alnum=$as_cr_Letters$as_cr_digits
11.22785 +
11.22786 +# The user is always right.
11.22787 +if test "${PATH_SEPARATOR+set}" != set; then
11.22788 + echo "#! /bin/sh" >conf$$.sh
11.22789 + echo "exit 0" >>conf$$.sh
11.22790 + chmod +x conf$$.sh
11.22791 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.22792 + PATH_SEPARATOR=';'
11.22793 + else
11.22794 + PATH_SEPARATOR=:
11.22795 + fi
11.22796 + rm -f conf$$.sh
11.22797 +fi
11.22798 +
11.22799 +# Support unset when possible.
11.22800 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11.22801 + as_unset=unset
11.22802 +else
11.22803 + as_unset=false
11.22804 +fi
11.22805 +
11.22806 +
11.22807 +# IFS
11.22808 +# We need space, tab and new line, in precisely that order. Quoting is
11.22809 +# there to prevent editors from complaining about space-tab.
11.22810 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11.22811 +# splitting by setting IFS to empty value.)
11.22812 +as_nl='
11.22813 +'
11.22814 +IFS=" "" $as_nl"
11.22815 +
11.22816 +# Find who we are. Look in the path if we contain no directory separator.
11.22817 +case $0 in
11.22818 + *[\\/]* ) as_myself=$0 ;;
11.22819 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.22820 +for as_dir in $PATH
11.22821 +do
11.22822 + IFS=$as_save_IFS
11.22823 + test -z "$as_dir" && as_dir=.
11.22824 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11.22825 +done
11.22826 +IFS=$as_save_IFS
11.22827 +
11.22828 + ;;
11.22829 +esac
11.22830 +# We did not find ourselves, most probably we were run as `sh COMMAND'
11.22831 +# in which case we are not to be found in the path.
11.22832 +if test "x$as_myself" = x; then
11.22833 + as_myself=$0
11.22834 +fi
11.22835 +if test ! -f "$as_myself"; then
11.22836 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11.22837 + { (exit 1); exit 1; }
11.22838 +fi
11.22839 +
11.22840 +# Work around bugs in pre-3.0 UWIN ksh.
11.22841 +for as_var in ENV MAIL MAILPATH
11.22842 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11.22843 +done
11.22844 +PS1='$ '
11.22845 +PS2='> '
11.22846 +PS4='+ '
11.22847 +
11.22848 +# NLS nuisances.
11.22849 +for as_var in \
11.22850 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11.22851 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11.22852 + LC_TELEPHONE LC_TIME
11.22853 +do
11.22854 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11.22855 + eval $as_var=C; export $as_var
11.22856 + else
11.22857 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11.22858 + fi
11.22859 +done
11.22860 +
11.22861 +# Required to use basename.
11.22862 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11.22863 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11.22864 + as_expr=expr
11.22865 +else
11.22866 + as_expr=false
11.22867 +fi
11.22868 +
11.22869 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11.22870 + as_basename=basename
11.22871 +else
11.22872 + as_basename=false
11.22873 +fi
11.22874 +
11.22875 +
11.22876 +# Name of the executable.
11.22877 +as_me=`$as_basename -- "$0" ||
11.22878 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11.22879 + X"$0" : 'X\(//\)$' \| \
11.22880 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11.22881 +echo X/"$0" |
11.22882 + sed '/^.*\/\([^/][^/]*\)\/*$/{
11.22883 + s//\1/
11.22884 + q
11.22885 + }
11.22886 + /^X\/\(\/\/\)$/{
11.22887 + s//\1/
11.22888 + q
11.22889 + }
11.22890 + /^X\/\(\/\).*/{
11.22891 + s//\1/
11.22892 + q
11.22893 + }
11.22894 + s/.*/./; q'`
11.22895 +
11.22896 +# CDPATH.
11.22897 +$as_unset CDPATH
11.22898 +
11.22899 +
11.22900 +
11.22901 + as_lineno_1=$LINENO
11.22902 + as_lineno_2=$LINENO
11.22903 + test "x$as_lineno_1" != "x$as_lineno_2" &&
11.22904 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11.22905 +
11.22906 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11.22907 + # uniformly replaced by the line number. The first 'sed' inserts a
11.22908 + # line-number line after each line using $LINENO; the second 'sed'
11.22909 + # does the real work. The second script uses 'N' to pair each
11.22910 + # line-number line with the line containing $LINENO, and appends
11.22911 + # trailing '-' during substitution so that $LINENO is not a special
11.22912 + # case at line end.
11.22913 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11.22914 + # scripts with optimization help from Paolo Bonzini. Blame Lee
11.22915 + # E. McMahon (1931-1989) for sed's syntax. :-)
11.22916 + sed -n '
11.22917 + p
11.22918 + /[$]LINENO/=
11.22919 + ' <$as_myself |
11.22920 + sed '
11.22921 + s/[$]LINENO.*/&-/
11.22922 + t lineno
11.22923 + b
11.22924 + :lineno
11.22925 + N
11.22926 + :loop
11.22927 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11.22928 + t loop
11.22929 + s/-\n.*//
11.22930 + ' >$as_me.lineno &&
11.22931 + chmod +x "$as_me.lineno" ||
11.22932 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11.22933 + { (exit 1); exit 1; }; }
11.22934 +
11.22935 + # Don't try to exec as it changes $[0], causing all sort of problems
11.22936 + # (the dirname of $[0] is not the place where we might find the
11.22937 + # original and so on. Autoconf is especially sensitive to this).
11.22938 + . "./$as_me.lineno"
11.22939 + # Exit status is that of the last command.
11.22940 + exit
11.22941 +}
11.22942 +
11.22943 +
11.22944 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11.22945 + as_dirname=dirname
11.22946 +else
11.22947 + as_dirname=false
11.22948 +fi
11.22949 +
11.22950 +ECHO_C= ECHO_N= ECHO_T=
11.22951 +case `echo -n x` in
11.22952 +-n*)
11.22953 + case `echo 'x\c'` in
11.22954 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11.22955 + *) ECHO_C='\c';;
11.22956 + esac;;
11.22957 +*)
11.22958 + ECHO_N='-n';;
11.22959 +esac
11.22960 +
11.22961 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11.22962 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11.22963 + as_expr=expr
11.22964 +else
11.22965 + as_expr=false
11.22966 +fi
11.22967 +
11.22968 +rm -f conf$$ conf$$.exe conf$$.file
11.22969 +if test -d conf$$.dir; then
11.22970 + rm -f conf$$.dir/conf$$.file
11.22971 +else
11.22972 + rm -f conf$$.dir
11.22973 + mkdir conf$$.dir
11.22974 +fi
11.22975 +echo >conf$$.file
11.22976 +if ln -s conf$$.file conf$$ 2>/dev/null; then
11.22977 + as_ln_s='ln -s'
11.22978 + # ... but there are two gotchas:
11.22979 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11.22980 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11.22981 + # In both cases, we have to default to `cp -p'.
11.22982 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11.22983 + as_ln_s='cp -p'
11.22984 +elif ln conf$$.file conf$$ 2>/dev/null; then
11.22985 + as_ln_s=ln
11.22986 +else
11.22987 + as_ln_s='cp -p'
11.22988 +fi
11.22989 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11.22990 +rmdir conf$$.dir 2>/dev/null
11.22991 +
11.22992 +if mkdir -p . 2>/dev/null; then
11.22993 + as_mkdir_p=:
11.22994 +else
11.22995 + test -d ./-p && rmdir ./-p
11.22996 + as_mkdir_p=false
11.22997 +fi
11.22998 +
11.22999 +if test -x / >/dev/null 2>&1; then
11.23000 + as_test_x='test -x'
11.23001 +else
11.23002 + if ls -dL / >/dev/null 2>&1; then
11.23003 + as_ls_L_option=L
11.23004 + else
11.23005 + as_ls_L_option=
11.23006 + fi
11.23007 + as_test_x='
11.23008 + eval sh -c '\''
11.23009 + if test -d "$1"; then
11.23010 + test -d "$1/.";
11.23011 + else
11.23012 + case $1 in
11.23013 + -*)set "./$1";;
11.23014 + esac;
11.23015 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11.23016 + ???[sx]*):;;*)false;;esac;fi
11.23017 + '\'' sh
11.23018 + '
11.23019 +fi
11.23020 +as_executable_p=$as_test_x
11.23021 +
11.23022 +# Sed expression to map a string onto a valid CPP name.
11.23023 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11.23024 +
11.23025 +# Sed expression to map a string onto a valid variable name.
11.23026 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11.23027 +
11.23028 +
11.23029 +exec 6>&1
11.23030 +
11.23031 +# Save the log message, to keep $[0] and so on meaningful, and to
11.23032 +# report actual input values of CONFIG_FILES etc. instead of their
11.23033 +# values after options handling.
11.23034 +ac_log="
11.23035 +This file was extended by $as_me, which was
11.23036 +generated by GNU Autoconf 2.61. Invocation command line was
11.23037 +
11.23038 + CONFIG_FILES = $CONFIG_FILES
11.23039 + CONFIG_HEADERS = $CONFIG_HEADERS
11.23040 + CONFIG_LINKS = $CONFIG_LINKS
11.23041 + CONFIG_COMMANDS = $CONFIG_COMMANDS
11.23042 + $ $0 $@
11.23043 +
11.23044 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
11.23045 +"
11.23046 +
11.23047 +_ACEOF
11.23048 +
11.23049 +cat >>$CONFIG_STATUS <<_ACEOF
11.23050 +# Files that config.status was made for.
11.23051 +config_files="$ac_config_files"
11.23052 +config_headers="$ac_config_headers"
11.23053 +config_commands="$ac_config_commands"
11.23054 +
11.23055 +_ACEOF
11.23056 +
11.23057 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23058 +ac_cs_usage="\
11.23059 +\`$as_me' instantiates files from templates according to the
11.23060 +current configuration.
11.23061 +
11.23062 +Usage: $0 [OPTIONS] [FILE]...
11.23063 +
11.23064 + -h, --help print this help, then exit
11.23065 + -V, --version print version number and configuration settings, then exit
11.23066 + -q, --quiet do not print progress messages
11.23067 + -d, --debug don't remove temporary files
11.23068 + --recheck update $as_me by reconfiguring in the same conditions
11.23069 + --file=FILE[:TEMPLATE]
11.23070 + instantiate the configuration file FILE
11.23071 + --header=FILE[:TEMPLATE]
11.23072 + instantiate the configuration header FILE
11.23073 +
11.23074 +Configuration files:
11.23075 +$config_files
11.23076 +
11.23077 +Configuration headers:
11.23078 +$config_headers
11.23079 +
11.23080 +Configuration commands:
11.23081 +$config_commands
11.23082 +
11.23083 +Report bugs to <bug-autoconf@gnu.org>."
11.23084 +
11.23085 +_ACEOF
11.23086 +cat >>$CONFIG_STATUS <<_ACEOF
11.23087 +ac_cs_version="\\
11.23088 +config.status
11.23089 +configured by $0, generated by GNU Autoconf 2.61,
11.23090 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11.23091 +
11.23092 +Copyright (C) 2006 Free Software Foundation, Inc.
11.23093 +This config.status script is free software; the Free Software Foundation
11.23094 +gives unlimited permission to copy, distribute and modify it."
11.23095 +
11.23096 +ac_pwd='$ac_pwd'
11.23097 +srcdir='$srcdir'
11.23098 +INSTALL='$INSTALL'
11.23099 +_ACEOF
11.23100 +
11.23101 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23102 +# If no file are specified by the user, then we need to provide default
11.23103 +# value. By we need to know if files were specified by the user.
11.23104 +ac_need_defaults=:
11.23105 +while test $# != 0
11.23106 +do
11.23107 + case $1 in
11.23108 + --*=*)
11.23109 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
11.23110 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11.23111 + ac_shift=:
11.23112 + ;;
11.23113 + *)
11.23114 + ac_option=$1
11.23115 + ac_optarg=$2
11.23116 + ac_shift=shift
11.23117 + ;;
11.23118 + esac
11.23119 +
11.23120 + case $ac_option in
11.23121 + # Handling of the options.
11.23122 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11.23123 + ac_cs_recheck=: ;;
11.23124 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11.23125 + echo "$ac_cs_version"; exit ;;
11.23126 + --debug | --debu | --deb | --de | --d | -d )
11.23127 + debug=: ;;
11.23128 + --file | --fil | --fi | --f )
11.23129 + $ac_shift
11.23130 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11.23131 + ac_need_defaults=false;;
11.23132 + --header | --heade | --head | --hea )
11.23133 + $ac_shift
11.23134 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11.23135 + ac_need_defaults=false;;
11.23136 + --he | --h)
11.23137 + # Conflict between --help and --header
11.23138 + { echo "$as_me: error: ambiguous option: $1
11.23139 +Try \`$0 --help' for more information." >&2
11.23140 + { (exit 1); exit 1; }; };;
11.23141 + --help | --hel | -h )
11.23142 + echo "$ac_cs_usage"; exit ;;
11.23143 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11.23144 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
11.23145 + ac_cs_silent=: ;;
11.23146 +
11.23147 + # This is an error.
11.23148 + -*) { echo "$as_me: error: unrecognized option: $1
11.23149 +Try \`$0 --help' for more information." >&2
11.23150 + { (exit 1); exit 1; }; } ;;
11.23151 +
11.23152 + *) ac_config_targets="$ac_config_targets $1"
11.23153 + ac_need_defaults=false ;;
11.23154 +
11.23155 + esac
11.23156 + shift
11.23157 +done
11.23158 +
11.23159 +ac_configure_extra_args=
11.23160 +
11.23161 +if $ac_cs_silent; then
11.23162 + exec 6>/dev/null
11.23163 + ac_configure_extra_args="$ac_configure_extra_args --silent"
11.23164 +fi
11.23165 +
11.23166 +_ACEOF
11.23167 +cat >>$CONFIG_STATUS <<_ACEOF
11.23168 +if \$ac_cs_recheck; then
11.23169 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11.23170 + CONFIG_SHELL=$SHELL
11.23171 + export CONFIG_SHELL
11.23172 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11.23173 +fi
11.23174 +
11.23175 +_ACEOF
11.23176 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23177 +exec 5>>config.log
11.23178 +{
11.23179 + echo
11.23180 + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
11.23181 +@%:@@%:@ Running $as_me. @%:@@%:@
11.23182 +_ASBOX
11.23183 + echo "$ac_log"
11.23184 +} >&5
11.23185 +
11.23186 +_ACEOF
11.23187 +cat >>$CONFIG_STATUS <<_ACEOF
11.23188 +#
11.23189 +# INIT-COMMANDS
11.23190 +#
11.23191 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11.23192 +
11.23193 +_ACEOF
11.23194 +
11.23195 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23196 +
11.23197 +# Handling of arguments.
11.23198 +for ac_config_target in $ac_config_targets
11.23199 +do
11.23200 + case $ac_config_target in
11.23201 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11.23202 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11.23203 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11.23204 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11.23205 +
11.23206 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11.23207 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11.23208 + { (exit 1); exit 1; }; };;
11.23209 + esac
11.23210 +done
11.23211 +
11.23212 +
11.23213 +# If the user did not use the arguments to specify the items to instantiate,
11.23214 +# then the envvar interface is used. Set only those that are not.
11.23215 +# We use the long form for the default assignment because of an extremely
11.23216 +# bizarre bug on SunOS 4.1.3.
11.23217 +if $ac_need_defaults; then
11.23218 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11.23219 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11.23220 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11.23221 +fi
11.23222 +
11.23223 +# Have a temporary directory for convenience. Make it in the build tree
11.23224 +# simply because there is no reason against having it here, and in addition,
11.23225 +# creating and moving files from /tmp can sometimes cause problems.
11.23226 +# Hook for its removal unless debugging.
11.23227 +# Note that there is a small window in which the directory will not be cleaned:
11.23228 +# after its creation but before its name has been assigned to `$tmp'.
11.23229 +$debug ||
11.23230 +{
11.23231 + tmp=
11.23232 + trap 'exit_status=$?
11.23233 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11.23234 +' 0
11.23235 + trap '{ (exit 1); exit 1; }' 1 2 13 15
11.23236 +}
11.23237 +# Create a (secure) tmp directory for tmp files.
11.23238 +
11.23239 +{
11.23240 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11.23241 + test -n "$tmp" && test -d "$tmp"
11.23242 +} ||
11.23243 +{
11.23244 + tmp=./conf$$-$RANDOM
11.23245 + (umask 077 && mkdir "$tmp")
11.23246 +} ||
11.23247 +{
11.23248 + echo "$me: cannot create a temporary directory in ." >&2
11.23249 + { (exit 1); exit 1; }
11.23250 +}
11.23251 +
11.23252 +#
11.23253 +# Set up the sed scripts for CONFIG_FILES section.
11.23254 +#
11.23255 +
11.23256 +# No need to generate the scripts if there are no CONFIG_FILES.
11.23257 +# This happens for instance when ./config.status config.h
11.23258 +if test -n "$CONFIG_FILES"; then
11.23259 +
11.23260 +_ACEOF
11.23261 +
11.23262 +
11.23263 +
11.23264 +ac_delim='%!_!# '
11.23265 +for ac_last_try in false false false false false :; do
11.23266 + cat >conf$$subs.sed <<_ACEOF
11.23267 +SHELL!$SHELL$ac_delim
11.23268 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11.23269 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11.23270 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11.23271 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11.23272 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11.23273 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11.23274 +exec_prefix!$exec_prefix$ac_delim
11.23275 +prefix!$prefix$ac_delim
11.23276 +program_transform_name!$program_transform_name$ac_delim
11.23277 +bindir!$bindir$ac_delim
11.23278 +sbindir!$sbindir$ac_delim
11.23279 +libexecdir!$libexecdir$ac_delim
11.23280 +datarootdir!$datarootdir$ac_delim
11.23281 +datadir!$datadir$ac_delim
11.23282 +sysconfdir!$sysconfdir$ac_delim
11.23283 +sharedstatedir!$sharedstatedir$ac_delim
11.23284 +localstatedir!$localstatedir$ac_delim
11.23285 +includedir!$includedir$ac_delim
11.23286 +oldincludedir!$oldincludedir$ac_delim
11.23287 +docdir!$docdir$ac_delim
11.23288 +infodir!$infodir$ac_delim
11.23289 +htmldir!$htmldir$ac_delim
11.23290 +dvidir!$dvidir$ac_delim
11.23291 +pdfdir!$pdfdir$ac_delim
11.23292 +psdir!$psdir$ac_delim
11.23293 +libdir!$libdir$ac_delim
11.23294 +localedir!$localedir$ac_delim
11.23295 +mandir!$mandir$ac_delim
11.23296 +DEFS!$DEFS$ac_delim
11.23297 +ECHO_C!$ECHO_C$ac_delim
11.23298 +ECHO_N!$ECHO_N$ac_delim
11.23299 +ECHO_T!$ECHO_T$ac_delim
11.23300 +LIBS!$LIBS$ac_delim
11.23301 +build_alias!$build_alias$ac_delim
11.23302 +host_alias!$host_alias$ac_delim
11.23303 +target_alias!$target_alias$ac_delim
11.23304 +build!$build$ac_delim
11.23305 +build_cpu!$build_cpu$ac_delim
11.23306 +build_vendor!$build_vendor$ac_delim
11.23307 +build_os!$build_os$ac_delim
11.23308 +host!$host$ac_delim
11.23309 +host_cpu!$host_cpu$ac_delim
11.23310 +host_vendor!$host_vendor$ac_delim
11.23311 +host_os!$host_os$ac_delim
11.23312 +target!$target$ac_delim
11.23313 +target_cpu!$target_cpu$ac_delim
11.23314 +target_vendor!$target_vendor$ac_delim
11.23315 +target_os!$target_os$ac_delim
11.23316 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
11.23317 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
11.23318 +MAINT!$MAINT$ac_delim
11.23319 +GST_PLUGINS_VERSION!$GST_PLUGINS_VERSION$ac_delim
11.23320 +GST_PLUGINS_VERSION_RELEASE!$GST_PLUGINS_VERSION_RELEASE$ac_delim
11.23321 +GST_PLUGINS_VERSION_MAJOR!$GST_PLUGINS_VERSION_MAJOR$ac_delim
11.23322 +GST_PLUGINS_VERSION_MINOR!$GST_PLUGINS_VERSION_MINOR$ac_delim
11.23323 +GST_PLUGINS_VERSION_MICRO!$GST_PLUGINS_VERSION_MICRO$ac_delim
11.23324 +GST_PLUGINS_VERSION_NANO!$GST_PLUGINS_VERSION_NANO$ac_delim
11.23325 +PACKAGE!$PACKAGE$ac_delim
11.23326 +VERSION!$VERSION$ac_delim
11.23327 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11.23328 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11.23329 +INSTALL_DATA!$INSTALL_DATA$ac_delim
11.23330 +CYGPATH_W!$CYGPATH_W$ac_delim
11.23331 +ACLOCAL!$ACLOCAL$ac_delim
11.23332 +AUTOCONF!$AUTOCONF$ac_delim
11.23333 +AUTOMAKE!$AUTOMAKE$ac_delim
11.23334 +AUTOHEADER!$AUTOHEADER$ac_delim
11.23335 +MAKEINFO!$MAKEINFO$ac_delim
11.23336 +install_sh!$install_sh$ac_delim
11.23337 +STRIP!$STRIP$ac_delim
11.23338 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11.23339 +mkdir_p!$mkdir_p$ac_delim
11.23340 +AWK!$AWK$ac_delim
11.23341 +SET_MAKE!$SET_MAKE$ac_delim
11.23342 +am__leading_dot!$am__leading_dot$ac_delim
11.23343 +AMTAR!$AMTAR$ac_delim
11.23344 +am__tar!$am__tar$ac_delim
11.23345 +am__untar!$am__untar$ac_delim
11.23346 +CC!$CC$ac_delim
11.23347 +CFLAGS!$CFLAGS$ac_delim
11.23348 +LDFLAGS!$LDFLAGS$ac_delim
11.23349 +CPPFLAGS!$CPPFLAGS$ac_delim
11.23350 +ac_ct_CC!$ac_ct_CC$ac_delim
11.23351 +EXEEXT!$EXEEXT$ac_delim
11.23352 +OBJEXT!$OBJEXT$ac_delim
11.23353 +DEPDIR!$DEPDIR$ac_delim
11.23354 +am__include!$am__include$ac_delim
11.23355 +am__quote!$am__quote$ac_delim
11.23356 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11.23357 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11.23358 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11.23359 +CCDEPMODE!$CCDEPMODE$ac_delim
11.23360 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11.23361 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11.23362 +GREP!$GREP$ac_delim
11.23363 +EGREP!$EGREP$ac_delim
11.23364 +_ACEOF
11.23365 +
11.23366 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11.23367 + break
11.23368 + elif $ac_last_try; then
11.23369 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11.23370 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11.23371 + { (exit 1); exit 1; }; }
11.23372 + else
11.23373 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11.23374 + fi
11.23375 +done
11.23376 +
11.23377 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11.23378 +if test -n "$ac_eof"; then
11.23379 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11.23380 + ac_eof=`expr $ac_eof + 1`
11.23381 +fi
11.23382 +
11.23383 +cat >>$CONFIG_STATUS <<_ACEOF
11.23384 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11.23385 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11.23386 +_ACEOF
11.23387 +sed '
11.23388 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11.23389 +s/^/s,@/; s/!/@,|#_!!_#|/
11.23390 +:n
11.23391 +t n
11.23392 +s/'"$ac_delim"'$/,g/; t
11.23393 +s/$/\\/; p
11.23394 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11.23395 +' >>$CONFIG_STATUS <conf$$subs.sed
11.23396 +rm -f conf$$subs.sed
11.23397 +cat >>$CONFIG_STATUS <<_ACEOF
11.23398 +CEOF$ac_eof
11.23399 +_ACEOF
11.23400 +
11.23401 +
11.23402 +ac_delim='%!_!# '
11.23403 +for ac_last_try in false false false false false :; do
11.23404 + cat >conf$$subs.sed <<_ACEOF
11.23405 +LN_S!$LN_S$ac_delim
11.23406 +ECHO!$ECHO$ac_delim
11.23407 +AR!$AR$ac_delim
11.23408 +RANLIB!$RANLIB$ac_delim
11.23409 +CPP!$CPP$ac_delim
11.23410 +CXX!$CXX$ac_delim
11.23411 +CXXFLAGS!$CXXFLAGS$ac_delim
11.23412 +ac_ct_CXX!$ac_ct_CXX$ac_delim
11.23413 +CXXDEPMODE!$CXXDEPMODE$ac_delim
11.23414 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
11.23415 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
11.23416 +CXXCPP!$CXXCPP$ac_delim
11.23417 +F77!$F77$ac_delim
11.23418 +FFLAGS!$FFLAGS$ac_delim
11.23419 +ac_ct_F77!$ac_ct_F77$ac_delim
11.23420 +LIBTOOL!$LIBTOOL$ac_delim
11.23421 +ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
11.23422 +CCAS!$CCAS$ac_delim
11.23423 +CCASFLAGS!$CCASFLAGS$ac_delim
11.23424 +ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
11.23425 +HAVE_CXX!$HAVE_CXX$ac_delim
11.23426 +HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
11.23427 +PKG_CONFIG!$PKG_CONFIG$ac_delim
11.23428 +GST_CFLAGS!$GST_CFLAGS$ac_delim
11.23429 +GST_LIBS!$GST_LIBS$ac_delim
11.23430 +GST_MAJORMINOR!$GST_MAJORMINOR$ac_delim
11.23431 +GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
11.23432 +GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
11.23433 +GST_PLUGINS_BASE_CFLAGS!$GST_PLUGINS_BASE_CFLAGS$ac_delim
11.23434 +GST_PLUGINS_BASE_LIBS!$GST_PLUGINS_BASE_LIBS$ac_delim
11.23435 +plugindir!$plugindir$ac_delim
11.23436 +GST_PLUGIN_LDFLAGS!$GST_PLUGIN_LDFLAGS$ac_delim
11.23437 +LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
11.23438 +LTLIBOBJS!$LTLIBOBJS$ac_delim
11.23439 +_ACEOF
11.23440 +
11.23441 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
11.23442 + break
11.23443 + elif $ac_last_try; then
11.23444 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11.23445 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11.23446 + { (exit 1); exit 1; }; }
11.23447 + else
11.23448 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11.23449 + fi
11.23450 +done
11.23451 +
11.23452 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11.23453 +if test -n "$ac_eof"; then
11.23454 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11.23455 + ac_eof=`expr $ac_eof + 1`
11.23456 +fi
11.23457 +
11.23458 +cat >>$CONFIG_STATUS <<_ACEOF
11.23459 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11.23460 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11.23461 +_ACEOF
11.23462 +sed '
11.23463 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11.23464 +s/^/s,@/; s/!/@,|#_!!_#|/
11.23465 +:n
11.23466 +t n
11.23467 +s/'"$ac_delim"'$/,g/; t
11.23468 +s/$/\\/; p
11.23469 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11.23470 +' >>$CONFIG_STATUS <conf$$subs.sed
11.23471 +rm -f conf$$subs.sed
11.23472 +cat >>$CONFIG_STATUS <<_ACEOF
11.23473 +:end
11.23474 +s/|#_!!_#|//g
11.23475 +CEOF$ac_eof
11.23476 +_ACEOF
11.23477 +
11.23478 +
11.23479 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
11.23480 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11.23481 +# trailing colons and then remove the whole line if VPATH becomes empty
11.23482 +# (actually we leave an empty line to preserve line numbers).
11.23483 +if test "x$srcdir" = x.; then
11.23484 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
11.23485 +s/:*\$(srcdir):*/:/
11.23486 +s/:*\${srcdir}:*/:/
11.23487 +s/:*@srcdir@:*/:/
11.23488 +s/^\([^=]*=[ ]*\):*/\1/
11.23489 +s/:*$//
11.23490 +s/^[^=]*=[ ]*$//
11.23491 +}'
11.23492 +fi
11.23493 +
11.23494 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23495 +fi # test -n "$CONFIG_FILES"
11.23496 +
11.23497 +
11.23498 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
11.23499 +do
11.23500 + case $ac_tag in
11.23501 + :[FHLC]) ac_mode=$ac_tag; continue;;
11.23502 + esac
11.23503 + case $ac_mode$ac_tag in
11.23504 + :[FHL]*:*);;
11.23505 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11.23506 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11.23507 + { (exit 1); exit 1; }; };;
11.23508 + :[FH]-) ac_tag=-:-;;
11.23509 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11.23510 + esac
11.23511 + ac_save_IFS=$IFS
11.23512 + IFS=:
11.23513 + set x $ac_tag
11.23514 + IFS=$ac_save_IFS
11.23515 + shift
11.23516 + ac_file=$1
11.23517 + shift
11.23518 +
11.23519 + case $ac_mode in
11.23520 + :L) ac_source=$1;;
11.23521 + :[FH])
11.23522 + ac_file_inputs=
11.23523 + for ac_f
11.23524 + do
11.23525 + case $ac_f in
11.23526 + -) ac_f="$tmp/stdin";;
11.23527 + *) # Look for the file first in the build tree, then in the source tree
11.23528 + # (if the path is not absolute). The absolute path cannot be DOS-style,
11.23529 + # because $ac_f cannot contain `:'.
11.23530 + test -f "$ac_f" ||
11.23531 + case $ac_f in
11.23532 + [\\/$]*) false;;
11.23533 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11.23534 + esac ||
11.23535 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11.23536 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11.23537 + { (exit 1); exit 1; }; };;
11.23538 + esac
11.23539 + ac_file_inputs="$ac_file_inputs $ac_f"
11.23540 + done
11.23541 +
11.23542 + # Let's still pretend it is `configure' which instantiates (i.e., don't
11.23543 + # use $as_me), people would be surprised to read:
11.23544 + # /* config.h. Generated by config.status. */
11.23545 + configure_input="Generated from "`IFS=:
11.23546 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11.23547 + if test x"$ac_file" != x-; then
11.23548 + configure_input="$ac_file. $configure_input"
11.23549 + { echo "$as_me:$LINENO: creating $ac_file" >&5
11.23550 +echo "$as_me: creating $ac_file" >&6;}
11.23551 + fi
11.23552 +
11.23553 + case $ac_tag in
11.23554 + *:-:* | *:-) cat >"$tmp/stdin";;
11.23555 + esac
11.23556 + ;;
11.23557 + esac
11.23558 +
11.23559 + ac_dir=`$as_dirname -- "$ac_file" ||
11.23560 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.23561 + X"$ac_file" : 'X\(//\)[^/]' \| \
11.23562 + X"$ac_file" : 'X\(//\)$' \| \
11.23563 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11.23564 +echo X"$ac_file" |
11.23565 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.23566 + s//\1/
11.23567 + q
11.23568 + }
11.23569 + /^X\(\/\/\)[^/].*/{
11.23570 + s//\1/
11.23571 + q
11.23572 + }
11.23573 + /^X\(\/\/\)$/{
11.23574 + s//\1/
11.23575 + q
11.23576 + }
11.23577 + /^X\(\/\).*/{
11.23578 + s//\1/
11.23579 + q
11.23580 + }
11.23581 + s/.*/./; q'`
11.23582 + { as_dir="$ac_dir"
11.23583 + case $as_dir in #(
11.23584 + -*) as_dir=./$as_dir;;
11.23585 + esac
11.23586 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11.23587 + as_dirs=
11.23588 + while :; do
11.23589 + case $as_dir in #(
11.23590 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11.23591 + *) as_qdir=$as_dir;;
11.23592 + esac
11.23593 + as_dirs="'$as_qdir' $as_dirs"
11.23594 + as_dir=`$as_dirname -- "$as_dir" ||
11.23595 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.23596 + X"$as_dir" : 'X\(//\)[^/]' \| \
11.23597 + X"$as_dir" : 'X\(//\)$' \| \
11.23598 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11.23599 +echo X"$as_dir" |
11.23600 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.23601 + s//\1/
11.23602 + q
11.23603 + }
11.23604 + /^X\(\/\/\)[^/].*/{
11.23605 + s//\1/
11.23606 + q
11.23607 + }
11.23608 + /^X\(\/\/\)$/{
11.23609 + s//\1/
11.23610 + q
11.23611 + }
11.23612 + /^X\(\/\).*/{
11.23613 + s//\1/
11.23614 + q
11.23615 + }
11.23616 + s/.*/./; q'`
11.23617 + test -d "$as_dir" && break
11.23618 + done
11.23619 + test -z "$as_dirs" || eval "mkdir $as_dirs"
11.23620 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11.23621 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
11.23622 + { (exit 1); exit 1; }; }; }
11.23623 + ac_builddir=.
11.23624 +
11.23625 +case "$ac_dir" in
11.23626 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11.23627 +*)
11.23628 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11.23629 + # A ".." for each directory in $ac_dir_suffix.
11.23630 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11.23631 + case $ac_top_builddir_sub in
11.23632 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11.23633 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11.23634 + esac ;;
11.23635 +esac
11.23636 +ac_abs_top_builddir=$ac_pwd
11.23637 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11.23638 +# for backward compatibility:
11.23639 +ac_top_builddir=$ac_top_build_prefix
11.23640 +
11.23641 +case $srcdir in
11.23642 + .) # We are building in place.
11.23643 + ac_srcdir=.
11.23644 + ac_top_srcdir=$ac_top_builddir_sub
11.23645 + ac_abs_top_srcdir=$ac_pwd ;;
11.23646 + [\\/]* | ?:[\\/]* ) # Absolute name.
11.23647 + ac_srcdir=$srcdir$ac_dir_suffix;
11.23648 + ac_top_srcdir=$srcdir
11.23649 + ac_abs_top_srcdir=$srcdir ;;
11.23650 + *) # Relative name.
11.23651 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11.23652 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11.23653 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11.23654 +esac
11.23655 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11.23656 +
11.23657 +
11.23658 + case $ac_mode in
11.23659 + :F)
11.23660 + #
11.23661 + # CONFIG_FILE
11.23662 + #
11.23663 +
11.23664 + case $INSTALL in
11.23665 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11.23666 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11.23667 + esac
11.23668 +_ACEOF
11.23669 +
11.23670 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23671 +# If the template does not know about datarootdir, expand it.
11.23672 +# FIXME: This hack should be removed a few years after 2.60.
11.23673 +ac_datarootdir_hack=; ac_datarootdir_seen=
11.23674 +
11.23675 +case `sed -n '/datarootdir/ {
11.23676 + p
11.23677 + q
11.23678 +}
11.23679 +/@datadir@/p
11.23680 +/@docdir@/p
11.23681 +/@infodir@/p
11.23682 +/@localedir@/p
11.23683 +/@mandir@/p
11.23684 +' $ac_file_inputs` in
11.23685 +*datarootdir*) ac_datarootdir_seen=yes;;
11.23686 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11.23687 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11.23688 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11.23689 +_ACEOF
11.23690 +cat >>$CONFIG_STATUS <<_ACEOF
11.23691 + ac_datarootdir_hack='
11.23692 + s&@datadir@&$datadir&g
11.23693 + s&@docdir@&$docdir&g
11.23694 + s&@infodir@&$infodir&g
11.23695 + s&@localedir@&$localedir&g
11.23696 + s&@mandir@&$mandir&g
11.23697 + s&\\\${datarootdir}&$datarootdir&g' ;;
11.23698 +esac
11.23699 +_ACEOF
11.23700 +
11.23701 +# Neutralize VPATH when `$srcdir' = `.'.
11.23702 +# Shell code in configure.ac might set extrasub.
11.23703 +# FIXME: do we really want to maintain this feature?
11.23704 +cat >>$CONFIG_STATUS <<_ACEOF
11.23705 + sed "$ac_vpsub
11.23706 +$extrasub
11.23707 +_ACEOF
11.23708 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23709 +:t
11.23710 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11.23711 +s&@configure_input@&$configure_input&;t t
11.23712 +s&@top_builddir@&$ac_top_builddir_sub&;t t
11.23713 +s&@srcdir@&$ac_srcdir&;t t
11.23714 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
11.23715 +s&@top_srcdir@&$ac_top_srcdir&;t t
11.23716 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11.23717 +s&@builddir@&$ac_builddir&;t t
11.23718 +s&@abs_builddir@&$ac_abs_builddir&;t t
11.23719 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11.23720 +s&@INSTALL@&$ac_INSTALL&;t t
11.23721 +$ac_datarootdir_hack
11.23722 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
11.23723 +
11.23724 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11.23725 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11.23726 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11.23727 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11.23728 +which seems to be undefined. Please make sure it is defined." >&5
11.23729 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11.23730 +which seems to be undefined. Please make sure it is defined." >&2;}
11.23731 +
11.23732 + rm -f "$tmp/stdin"
11.23733 + case $ac_file in
11.23734 + -) cat "$tmp/out"; rm -f "$tmp/out";;
11.23735 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11.23736 + esac
11.23737 + ;;
11.23738 + :H)
11.23739 + #
11.23740 + # CONFIG_HEADER
11.23741 + #
11.23742 +_ACEOF
11.23743 +
11.23744 +# Transform confdefs.h into a sed script `conftest.defines', that
11.23745 +# substitutes the proper values into config.h.in to produce config.h.
11.23746 +rm -f conftest.defines conftest.tail
11.23747 +# First, append a space to every undef/define line, to ease matching.
11.23748 +echo 's/$/ /' >conftest.defines
11.23749 +# Then, protect against being on the right side of a sed subst, or in
11.23750 +# an unquoted here document, in config.status. If some macros were
11.23751 +# called several times there might be several #defines for the same
11.23752 +# symbol, which is useless. But do not sort them, since the last
11.23753 +# AC_DEFINE must be honored.
11.23754 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11.23755 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11.23756 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
11.23757 +# PARAMS is the parameter list in the macro definition--in most cases, it's
11.23758 +# just an empty string.
11.23759 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11.23760 +ac_dB='\\)[ (].*,\\1define\\2'
11.23761 +ac_dC=' '
11.23762 +ac_dD=' ,'
11.23763 +
11.23764 +uniq confdefs.h |
11.23765 + sed -n '
11.23766 + t rset
11.23767 + :rset
11.23768 + s/^[ ]*#[ ]*define[ ][ ]*//
11.23769 + t ok
11.23770 + d
11.23771 + :ok
11.23772 + s/[\\&,]/\\&/g
11.23773 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11.23774 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11.23775 + ' >>conftest.defines
11.23776 +
11.23777 +# Remove the space that was appended to ease matching.
11.23778 +# Then replace #undef with comments. This is necessary, for
11.23779 +# example, in the case of _POSIX_SOURCE, which is predefined and required
11.23780 +# on some systems where configure will not decide to define it.
11.23781 +# (The regexp can be short, since the line contains either #define or #undef.)
11.23782 +echo 's/ $//
11.23783 +s,^[ #]*u.*,/* & */,' >>conftest.defines
11.23784 +
11.23785 +# Break up conftest.defines:
11.23786 +ac_max_sed_lines=50
11.23787 +
11.23788 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11.23789 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11.23790 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11.23791 +# et cetera.
11.23792 +ac_in='$ac_file_inputs'
11.23793 +ac_out='"$tmp/out1"'
11.23794 +ac_nxt='"$tmp/out2"'
11.23795 +
11.23796 +while :
11.23797 +do
11.23798 + # Write a here document:
11.23799 + cat >>$CONFIG_STATUS <<_ACEOF
11.23800 + # First, check the format of the line:
11.23801 + cat >"\$tmp/defines.sed" <<\\CEOF
11.23802 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11.23803 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11.23804 +b
11.23805 +:def
11.23806 +_ACEOF
11.23807 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11.23808 + echo 'CEOF
11.23809 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11.23810 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11.23811 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11.23812 + grep . conftest.tail >/dev/null || break
11.23813 + rm -f conftest.defines
11.23814 + mv conftest.tail conftest.defines
11.23815 +done
11.23816 +rm -f conftest.defines conftest.tail
11.23817 +
11.23818 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
11.23819 +cat >>$CONFIG_STATUS <<\_ACEOF
11.23820 + if test x"$ac_file" != x-; then
11.23821 + echo "/* $configure_input */" >"$tmp/config.h"
11.23822 + cat "$ac_result" >>"$tmp/config.h"
11.23823 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11.23824 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11.23825 +echo "$as_me: $ac_file is unchanged" >&6;}
11.23826 + else
11.23827 + rm -f $ac_file
11.23828 + mv "$tmp/config.h" $ac_file
11.23829 + fi
11.23830 + else
11.23831 + echo "/* $configure_input */"
11.23832 + cat "$ac_result"
11.23833 + fi
11.23834 + rm -f "$tmp/out12"
11.23835 +# Compute $ac_file's index in $config_headers.
11.23836 +_am_stamp_count=1
11.23837 +for _am_header in $config_headers :; do
11.23838 + case $_am_header in
11.23839 + $ac_file | $ac_file:* )
11.23840 + break ;;
11.23841 + * )
11.23842 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11.23843 + esac
11.23844 +done
11.23845 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
11.23846 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.23847 + X$ac_file : 'X\(//\)[^/]' \| \
11.23848 + X$ac_file : 'X\(//\)$' \| \
11.23849 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
11.23850 +echo X$ac_file |
11.23851 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.23852 + s//\1/
11.23853 + q
11.23854 + }
11.23855 + /^X\(\/\/\)[^/].*/{
11.23856 + s//\1/
11.23857 + q
11.23858 + }
11.23859 + /^X\(\/\/\)$/{
11.23860 + s//\1/
11.23861 + q
11.23862 + }
11.23863 + /^X\(\/\).*/{
11.23864 + s//\1/
11.23865 + q
11.23866 + }
11.23867 + s/.*/./; q'`/stamp-h$_am_stamp_count
11.23868 + ;;
11.23869 +
11.23870 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11.23871 +echo "$as_me: executing $ac_file commands" >&6;}
11.23872 + ;;
11.23873 + esac
11.23874 +
11.23875 +
11.23876 + case $ac_file$ac_mode in
11.23877 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11.23878 + # Strip MF so we end up with the name of the file.
11.23879 + mf=`echo "$mf" | sed -e 's/:.*$//'`
11.23880 + # Check whether this is an Automake generated Makefile or not.
11.23881 + # We used to match only the files named `Makefile.in', but
11.23882 + # some people rename them; so instead we look at the file content.
11.23883 + # Grep'ing the first line is not enough: some people post-process
11.23884 + # each Makefile.in and add a new line on top of each file to say so.
11.23885 + # So let's grep whole file.
11.23886 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
11.23887 + dirpart=`$as_dirname -- "$mf" ||
11.23888 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.23889 + X"$mf" : 'X\(//\)[^/]' \| \
11.23890 + X"$mf" : 'X\(//\)$' \| \
11.23891 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11.23892 +echo X"$mf" |
11.23893 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.23894 + s//\1/
11.23895 + q
11.23896 + }
11.23897 + /^X\(\/\/\)[^/].*/{
11.23898 + s//\1/
11.23899 + q
11.23900 + }
11.23901 + /^X\(\/\/\)$/{
11.23902 + s//\1/
11.23903 + q
11.23904 + }
11.23905 + /^X\(\/\).*/{
11.23906 + s//\1/
11.23907 + q
11.23908 + }
11.23909 + s/.*/./; q'`
11.23910 + else
11.23911 + continue
11.23912 + fi
11.23913 + # Extract the definition of DEPDIR, am__include, and am__quote
11.23914 + # from the Makefile without running `make'.
11.23915 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11.23916 + test -z "$DEPDIR" && continue
11.23917 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
11.23918 + test -z "am__include" && continue
11.23919 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11.23920 + # When using ansi2knr, U may be empty or an underscore; expand it
11.23921 + U=`sed -n 's/^U = //p' < "$mf"`
11.23922 + # Find all dependency output files, they are included files with
11.23923 + # $(DEPDIR) in their names. We invoke sed twice because it is the
11.23924 + # simplest approach to changing $(DEPDIR) to its actual value in the
11.23925 + # expansion.
11.23926 + for file in `sed -n "
11.23927 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11.23928 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11.23929 + # Make sure the directory exists.
11.23930 + test -f "$dirpart/$file" && continue
11.23931 + fdir=`$as_dirname -- "$file" ||
11.23932 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.23933 + X"$file" : 'X\(//\)[^/]' \| \
11.23934 + X"$file" : 'X\(//\)$' \| \
11.23935 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11.23936 +echo X"$file" |
11.23937 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.23938 + s//\1/
11.23939 + q
11.23940 + }
11.23941 + /^X\(\/\/\)[^/].*/{
11.23942 + s//\1/
11.23943 + q
11.23944 + }
11.23945 + /^X\(\/\/\)$/{
11.23946 + s//\1/
11.23947 + q
11.23948 + }
11.23949 + /^X\(\/\).*/{
11.23950 + s//\1/
11.23951 + q
11.23952 + }
11.23953 + s/.*/./; q'`
11.23954 + { as_dir=$dirpart/$fdir
11.23955 + case $as_dir in #(
11.23956 + -*) as_dir=./$as_dir;;
11.23957 + esac
11.23958 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11.23959 + as_dirs=
11.23960 + while :; do
11.23961 + case $as_dir in #(
11.23962 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11.23963 + *) as_qdir=$as_dir;;
11.23964 + esac
11.23965 + as_dirs="'$as_qdir' $as_dirs"
11.23966 + as_dir=`$as_dirname -- "$as_dir" ||
11.23967 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.23968 + X"$as_dir" : 'X\(//\)[^/]' \| \
11.23969 + X"$as_dir" : 'X\(//\)$' \| \
11.23970 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11.23971 +echo X"$as_dir" |
11.23972 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11.23973 + s//\1/
11.23974 + q
11.23975 + }
11.23976 + /^X\(\/\/\)[^/].*/{
11.23977 + s//\1/
11.23978 + q
11.23979 + }
11.23980 + /^X\(\/\/\)$/{
11.23981 + s//\1/
11.23982 + q
11.23983 + }
11.23984 + /^X\(\/\).*/{
11.23985 + s//\1/
11.23986 + q
11.23987 + }
11.23988 + s/.*/./; q'`
11.23989 + test -d "$as_dir" && break
11.23990 + done
11.23991 + test -z "$as_dirs" || eval "mkdir $as_dirs"
11.23992 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11.23993 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
11.23994 + { (exit 1); exit 1; }; }; }
11.23995 + # echo "creating $dirpart/$file"
11.23996 + echo '# dummy' > "$dirpart/$file"
11.23997 + done
11.23998 +done
11.23999 + ;;
11.24000 +
11.24001 + esac
11.24002 +done # for ac_tag
11.24003 +
11.24004 +
11.24005 +{ (exit 0); exit 0; }
11.24006 +_ACEOF
11.24007 +chmod +x $CONFIG_STATUS
11.24008 +ac_clean_files=$ac_clean_files_save
11.24009 +
11.24010 +
11.24011 +# configure is writing to config.log, and then calls config.status.
11.24012 +# config.status does its own redirection, appending to config.log.
11.24013 +# Unfortunately, on DOS this fails, as config.log is still kept open
11.24014 +# by configure, so config.status won't be able to write to it; its
11.24015 +# output is simply discarded. So we exec the FD to /dev/null,
11.24016 +# effectively closing config.log, so it can be properly (re)opened and
11.24017 +# appended to by config.status. When coming back to configure, we
11.24018 +# need to make the FD available again.
11.24019 +if test "$no_create" != yes; then
11.24020 + ac_cs_success=:
11.24021 + ac_config_status_args=
11.24022 + test "$silent" = yes &&
11.24023 + ac_config_status_args="$ac_config_status_args --quiet"
11.24024 + exec 5>/dev/null
11.24025 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11.24026 + exec 5>>config.log
11.24027 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11.24028 + # would make configure fail if this is the last instruction.
11.24029 + $ac_cs_success || { (exit 1); exit 1; }
11.24030 +fi
11.24031 +
11.24032 +
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/gst-gpac/autom4te.cache/output.2 Thu Feb 21 17:44:16 2008 +0000
12.3 @@ -0,0 +1,24029 @@
12.4 +@%:@! /bin/sh
12.5 +@%:@ Guess values for system-dependent variables and create Makefiles.
12.6 +@%:@ Generated by GNU Autoconf 2.61.
12.7 +@%:@
12.8 +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12.9 +@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
12.10 +@%:@ This configure script is free software; the Free Software Foundation
12.11 +@%:@ gives unlimited permission to copy, distribute and modify it.
12.12 +## --------------------- ##
12.13 +## M4sh Initialization. ##
12.14 +## --------------------- ##
12.15 +
12.16 +# Be more Bourne compatible
12.17 +DUALCASE=1; export DUALCASE # for MKS sh
12.18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12.19 + emulate sh
12.20 + NULLCMD=:
12.21 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12.22 + # is contrary to our usage. Disable this feature.
12.23 + alias -g '${1+"$@"}'='"$@"'
12.24 + setopt NO_GLOB_SUBST
12.25 +else
12.26 + case `(set -o) 2>/dev/null` in
12.27 + *posix*) set -o posix ;;
12.28 +esac
12.29 +
12.30 +fi
12.31 +
12.32 +
12.33 +
12.34 +
12.35 +# PATH needs CR
12.36 +# Avoid depending upon Character Ranges.
12.37 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12.38 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12.39 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12.40 +as_cr_digits='0123456789'
12.41 +as_cr_alnum=$as_cr_Letters$as_cr_digits
12.42 +
12.43 +# The user is always right.
12.44 +if test "${PATH_SEPARATOR+set}" != set; then
12.45 + echo "#! /bin/sh" >conf$$.sh
12.46 + echo "exit 0" >>conf$$.sh
12.47 + chmod +x conf$$.sh
12.48 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12.49 + PATH_SEPARATOR=';'
12.50 + else
12.51 + PATH_SEPARATOR=:
12.52 + fi
12.53 + rm -f conf$$.sh
12.54 +fi
12.55 +
12.56 +# Support unset when possible.
12.57 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12.58 + as_unset=unset
12.59 +else
12.60 + as_unset=false
12.61 +fi
12.62 +
12.63 +
12.64 +# IFS
12.65 +# We need space, tab and new line, in precisely that order. Quoting is
12.66 +# there to prevent editors from complaining about space-tab.
12.67 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12.68 +# splitting by setting IFS to empty value.)
12.69 +as_nl='
12.70 +'
12.71 +IFS=" "" $as_nl"
12.72 +
12.73 +# Find who we are. Look in the path if we contain no directory separator.
12.74 +case $0 in
12.75 + *[\\/]* ) as_myself=$0 ;;
12.76 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.77 +for as_dir in $PATH
12.78 +do
12.79 + IFS=$as_save_IFS
12.80 + test -z "$as_dir" && as_dir=.
12.81 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12.82 +done
12.83 +IFS=$as_save_IFS
12.84 +
12.85 + ;;
12.86 +esac
12.87 +# We did not find ourselves, most probably we were run as `sh COMMAND'
12.88 +# in which case we are not to be found in the path.
12.89 +if test "x$as_myself" = x; then
12.90 + as_myself=$0
12.91 +fi
12.92 +if test ! -f "$as_myself"; then
12.93 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12.94 + { (exit 1); exit 1; }
12.95 +fi
12.96 +
12.97 +# Work around bugs in pre-3.0 UWIN ksh.
12.98 +for as_var in ENV MAIL MAILPATH
12.99 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12.100 +done
12.101 +PS1='$ '
12.102 +PS2='> '
12.103 +PS4='+ '
12.104 +
12.105 +# NLS nuisances.
12.106 +for as_var in \
12.107 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12.108 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12.109 + LC_TELEPHONE LC_TIME
12.110 +do
12.111 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12.112 + eval $as_var=C; export $as_var
12.113 + else
12.114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12.115 + fi
12.116 +done
12.117 +
12.118 +# Required to use basename.
12.119 +if expr a : '\(a\)' >/dev/null 2>&1 &&
12.120 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
12.121 + as_expr=expr
12.122 +else
12.123 + as_expr=false
12.124 +fi
12.125 +
12.126 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12.127 + as_basename=basename
12.128 +else
12.129 + as_basename=false
12.130 +fi
12.131 +
12.132 +
12.133 +# Name of the executable.
12.134 +as_me=`$as_basename -- "$0" ||
12.135 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12.136 + X"$0" : 'X\(//\)$' \| \
12.137 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12.138 +echo X/"$0" |
12.139 + sed '/^.*\/\([^/][^/]*\)\/*$/{
12.140 + s//\1/
12.141 + q
12.142 + }
12.143 + /^X\/\(\/\/\)$/{
12.144 + s//\1/
12.145 + q
12.146 + }
12.147 + /^X\/\(\/\).*/{
12.148 + s//\1/
12.149 + q
12.150 + }
12.151 + s/.*/./; q'`
12.152 +
12.153 +# CDPATH.
12.154 +$as_unset CDPATH
12.155 +
12.156 +
12.157 +if test "x$CONFIG_SHELL" = x; then
12.158 + if (eval ":") 2>/dev/null; then
12.159 + as_have_required=yes
12.160 +else
12.161 + as_have_required=no
12.162 +fi
12.163 +
12.164 + if test $as_have_required = yes && (eval ":
12.165 +(as_func_return () {
12.166 + (exit \$1)
12.167 +}
12.168 +as_func_success () {
12.169 + as_func_return 0
12.170 +}
12.171 +as_func_failure () {
12.172 + as_func_return 1
12.173 +}
12.174 +as_func_ret_success () {
12.175 + return 0
12.176 +}
12.177 +as_func_ret_failure () {
12.178 + return 1
12.179 +}
12.180 +
12.181 +exitcode=0
12.182 +if as_func_success; then
12.183 + :
12.184 +else
12.185 + exitcode=1
12.186 + echo as_func_success failed.
12.187 +fi
12.188 +
12.189 +if as_func_failure; then
12.190 + exitcode=1
12.191 + echo as_func_failure succeeded.
12.192 +fi
12.193 +
12.194 +if as_func_ret_success; then
12.195 + :
12.196 +else
12.197 + exitcode=1
12.198 + echo as_func_ret_success failed.
12.199 +fi
12.200 +
12.201 +if as_func_ret_failure; then
12.202 + exitcode=1
12.203 + echo as_func_ret_failure succeeded.
12.204 +fi
12.205 +
12.206 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
12.207 + :
12.208 +else
12.209 + exitcode=1
12.210 + echo positional parameters were not saved.
12.211 +fi
12.212 +
12.213 +test \$exitcode = 0) || { (exit 1); exit 1; }
12.214 +
12.215 +(
12.216 + as_lineno_1=\$LINENO
12.217 + as_lineno_2=\$LINENO
12.218 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
12.219 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
12.220 +") 2> /dev/null; then
12.221 + :
12.222 +else
12.223 + as_candidate_shells=
12.224 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.225 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12.226 +do
12.227 + IFS=$as_save_IFS
12.228 + test -z "$as_dir" && as_dir=.
12.229 + case $as_dir in
12.230 + /*)
12.231 + for as_base in sh bash ksh sh5; do
12.232 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
12.233 + done;;
12.234 + esac
12.235 +done
12.236 +IFS=$as_save_IFS
12.237 +
12.238 +
12.239 + for as_shell in $as_candidate_shells $SHELL; do
12.240 + # Try only shells that exist, to save several forks.
12.241 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
12.242 + { ("$as_shell") 2> /dev/null <<\_ASEOF
12.243 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12.244 + emulate sh
12.245 + NULLCMD=:
12.246 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12.247 + # is contrary to our usage. Disable this feature.
12.248 + alias -g '${1+"$@"}'='"$@"'
12.249 + setopt NO_GLOB_SUBST
12.250 +else
12.251 + case `(set -o) 2>/dev/null` in
12.252 + *posix*) set -o posix ;;
12.253 +esac
12.254 +
12.255 +fi
12.256 +
12.257 +
12.258 +:
12.259 +_ASEOF
12.260 +}; then
12.261 + CONFIG_SHELL=$as_shell
12.262 + as_have_required=yes
12.263 + if { "$as_shell" 2> /dev/null <<\_ASEOF
12.264 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12.265 + emulate sh
12.266 + NULLCMD=:
12.267 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12.268 + # is contrary to our usage. Disable this feature.
12.269 + alias -g '${1+"$@"}'='"$@"'
12.270 + setopt NO_GLOB_SUBST
12.271 +else
12.272 + case `(set -o) 2>/dev/null` in
12.273 + *posix*) set -o posix ;;
12.274 +esac
12.275 +
12.276 +fi
12.277 +
12.278 +
12.279 +:
12.280 +(as_func_return () {
12.281 + (exit $1)
12.282 +}
12.283 +as_func_success () {
12.284 + as_func_return 0
12.285 +}
12.286 +as_func_failure () {
12.287 + as_func_return 1
12.288 +}
12.289 +as_func_ret_success () {
12.290 + return 0
12.291 +}
12.292 +as_func_ret_failure () {
12.293 + return 1
12.294 +}
12.295 +
12.296 +exitcode=0
12.297 +if as_func_success; then
12.298 + :
12.299 +else
12.300 + exitcode=1
12.301 + echo as_func_success failed.
12.302 +fi
12.303 +
12.304 +if as_func_failure; then
12.305 + exitcode=1
12.306 + echo as_func_failure succeeded.
12.307 +fi
12.308 +
12.309 +if as_func_ret_success; then
12.310 + :
12.311 +else
12.312 + exitcode=1
12.313 + echo as_func_ret_success failed.
12.314 +fi
12.315 +
12.316 +if as_func_ret_failure; then
12.317 + exitcode=1
12.318 + echo as_func_ret_failure succeeded.
12.319 +fi
12.320 +
12.321 +if ( set x; as_func_ret_success y && test x = "$1" ); then
12.322 + :
12.323 +else
12.324 + exitcode=1
12.325 + echo positional parameters were not saved.
12.326 +fi
12.327 +
12.328 +test $exitcode = 0) || { (exit 1); exit 1; }
12.329 +
12.330 +(
12.331 + as_lineno_1=$LINENO
12.332 + as_lineno_2=$LINENO
12.333 + test "x$as_lineno_1" != "x$as_lineno_2" &&
12.334 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
12.335 +
12.336 +_ASEOF
12.337 +}; then
12.338 + break
12.339 +fi
12.340 +
12.341 +fi
12.342 +
12.343 + done
12.344 +
12.345 + if test "x$CONFIG_SHELL" != x; then
12.346 + for as_var in BASH_ENV ENV
12.347 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12.348 + done
12.349 + export CONFIG_SHELL
12.350 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
12.351 +fi
12.352 +
12.353 +
12.354 + if test $as_have_required = no; then
12.355 + echo This script requires a shell more modern than all the
12.356 + echo shells that I found on your system. Please install a
12.357 + echo modern shell, or manually run the script under such a
12.358 + echo shell if you do have one.
12.359 + { (exit 1); exit 1; }
12.360 +fi
12.361 +
12.362 +
12.363 +fi
12.364 +
12.365 +fi
12.366 +
12.367 +
12.368 +
12.369 +(eval "as_func_return () {
12.370 + (exit \$1)
12.371 +}
12.372 +as_func_success () {
12.373 + as_func_return 0
12.374 +}
12.375 +as_func_failure () {
12.376 + as_func_return 1
12.377 +}
12.378 +as_func_ret_success () {
12.379 + return 0
12.380 +}
12.381 +as_func_ret_failure () {
12.382 + return 1
12.383 +}
12.384 +
12.385 +exitcode=0
12.386 +if as_func_success; then
12.387 + :
12.388 +else
12.389 + exitcode=1
12.390 + echo as_func_success failed.
12.391 +fi
12.392 +
12.393 +if as_func_failure; then
12.394 + exitcode=1
12.395 + echo as_func_failure succeeded.
12.396 +fi
12.397 +
12.398 +if as_func_ret_success; then
12.399 + :
12.400 +else
12.401 + exitcode=1
12.402 + echo as_func_ret_success failed.
12.403 +fi
12.404 +
12.405 +if as_func_ret_failure; then
12.406 + exitcode=1
12.407 + echo as_func_ret_failure succeeded.
12.408 +fi
12.409 +
12.410 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
12.411 + :
12.412 +else
12.413 + exitcode=1
12.414 + echo positional parameters were not saved.
12.415 +fi
12.416 +
12.417 +test \$exitcode = 0") || {
12.418 + echo No shell found that supports shell functions.
12.419 + echo Please tell autoconf@gnu.org about your system,
12.420 + echo including any error possibly output before this
12.421 + echo message
12.422 +}
12.423 +
12.424 +
12.425 +
12.426 + as_lineno_1=$LINENO
12.427 + as_lineno_2=$LINENO
12.428 + test "x$as_lineno_1" != "x$as_lineno_2" &&
12.429 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12.430 +
12.431 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12.432 + # uniformly replaced by the line number. The first 'sed' inserts a
12.433 + # line-number line after each line using $LINENO; the second 'sed'
12.434 + # does the real work. The second script uses 'N' to pair each
12.435 + # line-number line with the line containing $LINENO, and appends
12.436 + # trailing '-' during substitution so that $LINENO is not a special
12.437 + # case at line end.
12.438 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12.439 + # scripts with optimization help from Paolo Bonzini. Blame Lee
12.440 + # E. McMahon (1931-1989) for sed's syntax. :-)
12.441 + sed -n '
12.442 + p
12.443 + /[$]LINENO/=
12.444 + ' <$as_myself |
12.445 + sed '
12.446 + s/[$]LINENO.*/&-/
12.447 + t lineno
12.448 + b
12.449 + :lineno
12.450 + N
12.451 + :loop
12.452 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12.453 + t loop
12.454 + s/-\n.*//
12.455 + ' >$as_me.lineno &&
12.456 + chmod +x "$as_me.lineno" ||
12.457 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12.458 + { (exit 1); exit 1; }; }
12.459 +
12.460 + # Don't try to exec as it changes $[0], causing all sort of problems
12.461 + # (the dirname of $[0] is not the place where we might find the
12.462 + # original and so on. Autoconf is especially sensitive to this).
12.463 + . "./$as_me.lineno"
12.464 + # Exit status is that of the last command.
12.465 + exit
12.466 +}
12.467 +
12.468 +
12.469 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12.470 + as_dirname=dirname
12.471 +else
12.472 + as_dirname=false
12.473 +fi
12.474 +
12.475 +ECHO_C= ECHO_N= ECHO_T=
12.476 +case `echo -n x` in
12.477 +-n*)
12.478 + case `echo 'x\c'` in
12.479 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12.480 + *) ECHO_C='\c';;
12.481 + esac;;
12.482 +*)
12.483 + ECHO_N='-n';;
12.484 +esac
12.485 +
12.486 +if expr a : '\(a\)' >/dev/null 2>&1 &&
12.487 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
12.488 + as_expr=expr
12.489 +else
12.490 + as_expr=false
12.491 +fi
12.492 +
12.493 +rm -f conf$$ conf$$.exe conf$$.file
12.494 +if test -d conf$$.dir; then
12.495 + rm -f conf$$.dir/conf$$.file
12.496 +else
12.497 + rm -f conf$$.dir
12.498 + mkdir conf$$.dir
12.499 +fi
12.500 +echo >conf$$.file
12.501 +if ln -s conf$$.file conf$$ 2>/dev/null; then
12.502 + as_ln_s='ln -s'
12.503 + # ... but there are two gotchas:
12.504 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12.505 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12.506 + # In both cases, we have to default to `cp -p'.
12.507 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12.508 + as_ln_s='cp -p'
12.509 +elif ln conf$$.file conf$$ 2>/dev/null; then
12.510 + as_ln_s=ln
12.511 +else
12.512 + as_ln_s='cp -p'
12.513 +fi
12.514 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12.515 +rmdir conf$$.dir 2>/dev/null
12.516 +
12.517 +if mkdir -p . 2>/dev/null; then
12.518 + as_mkdir_p=:
12.519 +else
12.520 + test -d ./-p && rmdir ./-p
12.521 + as_mkdir_p=false
12.522 +fi
12.523 +
12.524 +if test -x / >/dev/null 2>&1; then
12.525 + as_test_x='test -x'
12.526 +else
12.527 + if ls -dL / >/dev/null 2>&1; then
12.528 + as_ls_L_option=L
12.529 + else
12.530 + as_ls_L_option=
12.531 + fi
12.532 + as_test_x='
12.533 + eval sh -c '\''
12.534 + if test -d "$1"; then
12.535 + test -d "$1/.";
12.536 + else
12.537 + case $1 in
12.538 + -*)set "./$1";;
12.539 + esac;
12.540 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12.541 + ???[sx]*):;;*)false;;esac;fi
12.542 + '\'' sh
12.543 + '
12.544 +fi
12.545 +as_executable_p=$as_test_x
12.546 +
12.547 +# Sed expression to map a string onto a valid CPP name.
12.548 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12.549 +
12.550 +# Sed expression to map a string onto a valid variable name.
12.551 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12.552 +
12.553 +
12.554 +
12.555 +
12.556 +# Check that we are running under the correct shell.
12.557 +SHELL=${CONFIG_SHELL-/bin/sh}
12.558 +
12.559 +case X$ECHO in
12.560 +X*--fallback-echo)
12.561 + # Remove one level of quotation (which was required for Make).
12.562 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
12.563 + ;;
12.564 +esac
12.565 +
12.566 +echo=${ECHO-echo}
12.567 +if test "X$1" = X--no-reexec; then
12.568 + # Discard the --no-reexec flag, and continue.
12.569 + shift
12.570 +elif test "X$1" = X--fallback-echo; then
12.571 + # Avoid inline document here, it may be left over
12.572 + :
12.573 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
12.574 + # Yippee, $echo works!
12.575 + :
12.576 +else
12.577 + # Restart under the correct shell.
12.578 + exec $SHELL "$0" --no-reexec ${1+"$@"}
12.579 +fi
12.580 +
12.581 +if test "X$1" = X--fallback-echo; then
12.582 + # used as fallback echo
12.583 + shift
12.584 + cat <<EOF
12.585 +$*
12.586 +EOF
12.587 + exit 0
12.588 +fi
12.589 +
12.590 +# The HP-UX ksh and POSIX shell print the target directory to stdout
12.591 +# if CDPATH is set.
12.592 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12.593 +
12.594 +if test -z "$ECHO"; then
12.595 +if test "X${echo_test_string+set}" != Xset; then
12.596 +# find a string as large as possible, as long as the shell can cope with it
12.597 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
12.598 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
12.599 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
12.600 + echo_test_string="`eval $cmd`" &&
12.601 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
12.602 + then
12.603 + break
12.604 + fi
12.605 + done
12.606 +fi
12.607 +
12.608 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
12.609 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
12.610 + test "X$echo_testing_string" = "X$echo_test_string"; then
12.611 + :
12.612 +else
12.613 + # The Solaris, AIX, and Digital Unix default echo programs unquote
12.614 + # backslashes. This makes it impossible to quote backslashes using
12.615 + # echo "$something" | sed 's/\\/\\\\/g'
12.616 + #
12.617 + # So, first we look for a working echo in the user's PATH.
12.618 +
12.619 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12.620 + for dir in $PATH /usr/ucb; do
12.621 + IFS="$lt_save_ifs"
12.622 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
12.623 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
12.624 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
12.625 + test "X$echo_testing_string" = "X$echo_test_string"; then
12.626 + echo="$dir/echo"
12.627 + break
12.628 + fi
12.629 + done
12.630 + IFS="$lt_save_ifs"
12.631 +
12.632 + if test "X$echo" = Xecho; then
12.633 + # We didn't find a better echo, so look for alternatives.
12.634 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
12.635 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
12.636 + test "X$echo_testing_string" = "X$echo_test_string"; then
12.637 + # This shell has a builtin print -r that does the trick.
12.638 + echo='print -r'
12.639 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
12.640 + test "X$CONFIG_SHELL" != X/bin/ksh; then
12.641 + # If we have ksh, try running configure again with it.
12.642 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12.643 + export ORIGINAL_CONFIG_SHELL
12.644 + CONFIG_SHELL=/bin/ksh
12.645 + export CONFIG_SHELL
12.646 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
12.647 + else
12.648 + # Try using printf.
12.649 + echo='printf %s\n'
12.650 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
12.651 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
12.652 + test "X$echo_testing_string" = "X$echo_test_string"; then
12.653 + # Cool, printf works
12.654 + :
12.655 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
12.656 + test "X$echo_testing_string" = 'X\t' &&
12.657 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
12.658 + test "X$echo_testing_string" = "X$echo_test_string"; then
12.659 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
12.660 + export CONFIG_SHELL
12.661 + SHELL="$CONFIG_SHELL"
12.662 + export SHELL
12.663 + echo="$CONFIG_SHELL $0 --fallback-echo"
12.664 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
12.665 + test "X$echo_testing_string" = 'X\t' &&
12.666 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
12.667 + test "X$echo_testing_string" = "X$echo_test_string"; then
12.668 + echo="$CONFIG_SHELL $0 --fallback-echo"
12.669 + else
12.670 + # maybe with a smaller string...
12.671 + prev=:
12.672 +
12.673 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
12.674 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
12.675 + then
12.676 + break
12.677 + fi
12.678 + prev="$cmd"
12.679 + done
12.680 +
12.681 + if test "$prev" != 'sed 50q "$0"'; then
12.682 + echo_test_string=`eval $prev`
12.683 + export echo_test_string
12.684 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
12.685 + else
12.686 + # Oops. We lost completely, so just stick with echo.
12.687 + echo=echo
12.688 + fi
12.689 + fi
12.690 + fi
12.691 + fi
12.692 +fi
12.693 +fi
12.694 +
12.695 +# Copy echo and quote the copy suitably for passing to libtool from
12.696 +# the Makefile, instead of quoting the original, which is used later.
12.697 +ECHO=$echo
12.698 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
12.699 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
12.700 +fi
12.701 +
12.702 +
12.703 +
12.704 +
12.705 +tagnames=${tagnames+${tagnames},}CXX
12.706 +
12.707 +tagnames=${tagnames+${tagnames},}F77
12.708 +
12.709 +exec 7<&0 </dev/null 6>&1
12.710 +
12.711 +# Name of the host.
12.712 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
12.713 +# so uname gets run too.
12.714 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
12.715 +
12.716 +#
12.717 +# Initializations.
12.718 +#
12.719 +ac_default_prefix=/usr/local
12.720 +ac_clean_files=
12.721 +ac_config_libobj_dir=.
12.722 +LIB@&t@OBJS=
12.723 +cross_compiling=no
12.724 +subdirs=
12.725 +MFLAGS=
12.726 +MAKEFLAGS=
12.727 +SHELL=${CONFIG_SHELL-/bin/sh}
12.728 +
12.729 +# Identity of this package.
12.730 +PACKAGE_NAME=
12.731 +PACKAGE_TARNAME=
12.732 +PACKAGE_VERSION=
12.733 +PACKAGE_STRING=
12.734 +PACKAGE_BUGREPORT=
12.735 +
12.736 +# Factoring default headers for most tests.
12.737 +ac_includes_default="\
12.738 +#include <stdio.h>
12.739 +#ifdef HAVE_SYS_TYPES_H
12.740 +# include <sys/types.h>
12.741 +#endif
12.742 +#ifdef HAVE_SYS_STAT_H
12.743 +# include <sys/stat.h>
12.744 +#endif
12.745 +#ifdef STDC_HEADERS
12.746 +# include <stdlib.h>
12.747 +# include <stddef.h>
12.748 +#else
12.749 +# ifdef HAVE_STDLIB_H
12.750 +# include <stdlib.h>
12.751 +# endif
12.752 +#endif
12.753 +#ifdef HAVE_STRING_H
12.754 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
12.755 +# include <memory.h>
12.756 +# endif
12.757 +# include <string.h>
12.758 +#endif
12.759 +#ifdef HAVE_STRINGS_H
12.760 +# include <strings.h>
12.761 +#endif
12.762 +#ifdef HAVE_INTTYPES_H
12.763 +# include <inttypes.h>
12.764 +#endif
12.765 +#ifdef HAVE_STDINT_H
12.766 +# include <stdint.h>
12.767 +#endif
12.768 +#ifdef HAVE_UNISTD_H
12.769 +# include <unistd.h>
12.770 +#endif"
12.771 +
12.772 +ac_subst_vars='SHELL
12.773 +PATH_SEPARATOR
12.774 +PACKAGE_NAME
12.775 +PACKAGE_TARNAME
12.776 +PACKAGE_VERSION
12.777 +PACKAGE_STRING
12.778 +PACKAGE_BUGREPORT
12.779 +exec_prefix
12.780 +prefix
12.781 +program_transform_name
12.782 +bindir
12.783 +sbindir
12.784 +libexecdir
12.785 +datarootdir
12.786 +datadir
12.787 +sysconfdir
12.788 +sharedstatedir
12.789 +localstatedir
12.790 +includedir
12.791 +oldincludedir
12.792 +docdir
12.793 +infodir
12.794 +htmldir
12.795 +dvidir
12.796 +pdfdir
12.797 +psdir
12.798 +libdir
12.799 +localedir
12.800 +mandir
12.801 +DEFS
12.802 +ECHO_C
12.803 +ECHO_N
12.804 +ECHO_T
12.805 +LIBS
12.806 +build_alias
12.807 +host_alias
12.808 +target_alias
12.809 +build
12.810 +build_cpu
12.811 +build_vendor
12.812 +build_os
12.813 +host
12.814 +host_cpu
12.815 +host_vendor
12.816 +host_os
12.817 +target
12.818 +target_cpu
12.819 +target_vendor
12.820 +target_os
12.821 +MAINTAINER_MODE_TRUE
12.822 +MAINTAINER_MODE_FALSE
12.823 +MAINT
12.824 +GST_PLUGINS_VERSION
12.825 +GST_PLUGINS_VERSION_RELEASE
12.826 +GST_PLUGINS_VERSION_MAJOR
12.827 +GST_PLUGINS_VERSION_MINOR
12.828 +GST_PLUGINS_VERSION_MICRO
12.829 +GST_PLUGINS_VERSION_NANO
12.830 +PACKAGE
12.831 +VERSION
12.832 +INSTALL_PROGRAM
12.833 +INSTALL_SCRIPT
12.834 +INSTALL_DATA
12.835 +CYGPATH_W
12.836 +ACLOCAL
12.837 +AUTOCONF
12.838 +AUTOMAKE
12.839 +AUTOHEADER
12.840 +MAKEINFO
12.841 +install_sh
12.842 +STRIP
12.843 +INSTALL_STRIP_PROGRAM
12.844 +mkdir_p
12.845 +AWK
12.846 +SET_MAKE
12.847 +am__leading_dot
12.848 +AMTAR
12.849 +am__tar
12.850 +am__untar
12.851 +CC
12.852 +CFLAGS
12.853 +LDFLAGS
12.854 +CPPFLAGS
12.855 +ac_ct_CC
12.856 +EXEEXT
12.857 +OBJEXT
12.858 +DEPDIR
12.859 +am__include
12.860 +am__quote
12.861 +AMDEP_TRUE
12.862 +AMDEP_FALSE
12.863 +AMDEPBACKSLASH
12.864 +CCDEPMODE
12.865 +am__fastdepCC_TRUE
12.866 +am__fastdepCC_FALSE
12.867 +GREP
12.868 +EGREP
12.869 +LN_S
12.870 +ECHO
12.871 +AR
12.872 +RANLIB
12.873 +CPP
12.874 +CXX
12.875 +CXXFLAGS
12.876 +ac_ct_CXX
12.877 +CXXDEPMODE
12.878 +am__fastdepCXX_TRUE
12.879 +am__fastdepCXX_FALSE
12.880 +CXXCPP
12.881 +F77
12.882 +FFLAGS
12.883 +ac_ct_F77
12.884 +LIBTOOL
12.885 +ACLOCAL_AMFLAGS
12.886 +CCAS
12.887 +CCASFLAGS
12.888 +ERROR_CFLAGS
12.889 +HAVE_CXX
12.890 +HAVE_PKGCONFIG
12.891 +PKG_CONFIG
12.892 +GST_CFLAGS
12.893 +GST_LIBS
12.894 +GST_MAJORMINOR
12.895 +GST_BASE_CFLAGS
12.896 +GST_BASE_LIBS
12.897 +GST_PLUGINS_BASE_CFLAGS
12.898 +GST_PLUGINS_BASE_LIBS
12.899 +plugindir
12.900 +GST_PLUGIN_LDFLAGS
12.901 +LIB@&t@OBJS
12.902 +LTLIBOBJS'
12.903 +ac_subst_files=''
12.904 + ac_precious_vars='build_alias
12.905 +host_alias
12.906 +target_alias
12.907 +CC
12.908 +CFLAGS
12.909 +LDFLAGS
12.910 +LIBS
12.911 +CPPFLAGS
12.912 +CPP
12.913 +CXX
12.914 +CXXFLAGS
12.915 +CCC
12.916 +CXXCPP
12.917 +F77
12.918 +FFLAGS
12.919 +CCAS
12.920 +CCASFLAGS
12.921 +PKG_CONFIG
12.922 +GST_CFLAGS
12.923 +GST_LIBS
12.924 +GST_BASE_CFLAGS
12.925 +GST_BASE_LIBS
12.926 +GST_PLUGINS_BASE_CFLAGS
12.927 +GST_PLUGINS_BASE_LIBS'
12.928 +
12.929 +
12.930 +# Initialize some variables set by options.
12.931 +ac_init_help=
12.932 +ac_init_version=false
12.933 +# The variables have the same names as the options, with
12.934 +# dashes changed to underlines.
12.935 +cache_file=/dev/null
12.936 +exec_prefix=NONE
12.937 +no_create=
12.938 +no_recursion=
12.939 +prefix=NONE
12.940 +program_prefix=NONE
12.941 +program_suffix=NONE
12.942 +program_transform_name=s,x,x,
12.943 +silent=
12.944 +site=
12.945 +srcdir=
12.946 +verbose=
12.947 +x_includes=NONE
12.948 +x_libraries=NONE
12.949 +
12.950 +# Installation directory options.
12.951 +# These are left unexpanded so users can "make install exec_prefix=/foo"
12.952 +# and all the variables that are supposed to be based on exec_prefix
12.953 +# by default will actually change.
12.954 +# Use braces instead of parens because sh, perl, etc. also accept them.
12.955 +# (The list follows the same order as the GNU Coding Standards.)
12.956 +bindir='${exec_prefix}/bin'
12.957 +sbindir='${exec_prefix}/sbin'
12.958 +libexecdir='${exec_prefix}/libexec'
12.959 +datarootdir='${prefix}/share'
12.960 +datadir='${datarootdir}'
12.961 +sysconfdir='${prefix}/etc'
12.962 +sharedstatedir='${prefix}/com'
12.963 +localstatedir='${prefix}/var'
12.964 +includedir='${prefix}/include'
12.965 +oldincludedir='/usr/include'
12.966 +docdir='${datarootdir}/doc/${PACKAGE}'
12.967 +infodir='${datarootdir}/info'
12.968 +htmldir='${docdir}'
12.969 +dvidir='${docdir}'
12.970 +pdfdir='${docdir}'
12.971 +psdir='${docdir}'
12.972 +libdir='${exec_prefix}/lib'
12.973 +localedir='${datarootdir}/locale'
12.974 +mandir='${datarootdir}/man'
12.975 +
12.976 +ac_prev=
12.977 +ac_dashdash=
12.978 +for ac_option
12.979 +do
12.980 + # If the previous option needs an argument, assign it.
12.981 + if test -n "$ac_prev"; then
12.982 + eval $ac_prev=\$ac_option
12.983 + ac_prev=
12.984 + continue
12.985 + fi
12.986 +
12.987 + case $ac_option in
12.988 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
12.989 + *) ac_optarg=yes ;;
12.990 + esac
12.991 +
12.992 + # Accept the important Cygnus configure options, so we can diagnose typos.
12.993 +
12.994 + case $ac_dashdash$ac_option in
12.995 + --)
12.996 + ac_dashdash=yes ;;
12.997 +
12.998 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
12.999 + ac_prev=bindir ;;
12.1000 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
12.1001 + bindir=$ac_optarg ;;
12.1002 +
12.1003 + -build | --build | --buil | --bui | --bu)
12.1004 + ac_prev=build_alias ;;
12.1005 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
12.1006 + build_alias=$ac_optarg ;;
12.1007 +
12.1008 + -cache-file | --cache-file | --cache-fil | --cache-fi \
12.1009 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
12.1010 + ac_prev=cache_file ;;
12.1011 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
12.1012 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
12.1013 + cache_file=$ac_optarg ;;
12.1014 +
12.1015 + --config-cache | -C)
12.1016 + cache_file=config.cache ;;
12.1017 +
12.1018 + -datadir | --datadir | --datadi | --datad)
12.1019 + ac_prev=datadir ;;
12.1020 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
12.1021 + datadir=$ac_optarg ;;
12.1022 +
12.1023 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
12.1024 + | --dataroo | --dataro | --datar)
12.1025 + ac_prev=datarootdir ;;
12.1026 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
12.1027 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
12.1028 + datarootdir=$ac_optarg ;;
12.1029 +
12.1030 + -disable-* | --disable-*)
12.1031 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
12.1032 + # Reject names that are not valid shell variable names.
12.1033 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12.1034 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
12.1035 + { (exit 1); exit 1; }; }
12.1036 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
12.1037 + eval enable_$ac_feature=no ;;
12.1038 +
12.1039 + -docdir | --docdir | --docdi | --doc | --do)
12.1040 + ac_prev=docdir ;;
12.1041 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
12.1042 + docdir=$ac_optarg ;;
12.1043 +
12.1044 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
12.1045 + ac_prev=dvidir ;;
12.1046 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
12.1047 + dvidir=$ac_optarg ;;
12.1048 +
12.1049 + -enable-* | --enable-*)
12.1050 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
12.1051 + # Reject names that are not valid shell variable names.
12.1052 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12.1053 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
12.1054 + { (exit 1); exit 1; }; }
12.1055 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
12.1056 + eval enable_$ac_feature=\$ac_optarg ;;
12.1057 +
12.1058 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
12.1059 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
12.1060 + | --exec | --exe | --ex)
12.1061 + ac_prev=exec_prefix ;;
12.1062 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
12.1063 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
12.1064 + | --exec=* | --exe=* | --ex=*)
12.1065 + exec_prefix=$ac_optarg ;;
12.1066 +
12.1067 + -gas | --gas | --ga | --g)
12.1068 + # Obsolete; use --with-gas.
12.1069 + with_gas=yes ;;
12.1070 +
12.1071 + -help | --help | --hel | --he | -h)
12.1072 + ac_init_help=long ;;
12.1073 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
12.1074 + ac_init_help=recursive ;;
12.1075 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
12.1076 + ac_init_help=short ;;
12.1077 +
12.1078 + -host | --host | --hos | --ho)
12.1079 + ac_prev=host_alias ;;
12.1080 + -host=* | --host=* | --hos=* | --ho=*)
12.1081 + host_alias=$ac_optarg ;;
12.1082 +
12.1083 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
12.1084 + ac_prev=htmldir ;;
12.1085 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
12.1086 + | --ht=*)
12.1087 + htmldir=$ac_optarg ;;
12.1088 +
12.1089 + -includedir | --includedir | --includedi | --included | --include \
12.1090 + | --includ | --inclu | --incl | --inc)
12.1091 + ac_prev=includedir ;;
12.1092 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
12.1093 + | --includ=* | --inclu=* | --incl=* | --inc=*)
12.1094 + includedir=$ac_optarg ;;
12.1095 +
12.1096 + -infodir | --infodir | --infodi | --infod | --info | --inf)
12.1097 + ac_prev=infodir ;;
12.1098 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
12.1099 + infodir=$ac_optarg ;;
12.1100 +
12.1101 + -libdir | --libdir | --libdi | --libd)
12.1102 + ac_prev=libdir ;;
12.1103 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
12.1104 + libdir=$ac_optarg ;;
12.1105 +
12.1106 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
12.1107 + | --libexe | --libex | --libe)
12.1108 + ac_prev=libexecdir ;;
12.1109 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
12.1110 + | --libexe=* | --libex=* | --libe=*)
12.1111 + libexecdir=$ac_optarg ;;
12.1112 +
12.1113 + -localedir | --localedir | --localedi | --localed | --locale)
12.1114 + ac_prev=localedir ;;
12.1115 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
12.1116 + localedir=$ac_optarg ;;
12.1117 +
12.1118 + -localstatedir | --localstatedir | --localstatedi | --localstated \
12.1119 + | --localstate | --localstat | --localsta | --localst | --locals)
12.1120 + ac_prev=localstatedir ;;
12.1121 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
12.1122 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
12.1123 + localstatedir=$ac_optarg ;;
12.1124 +
12.1125 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
12.1126 + ac_prev=mandir ;;
12.1127 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
12.1128 + mandir=$ac_optarg ;;
12.1129 +
12.1130 + -nfp | --nfp | --nf)
12.1131 + # Obsolete; use --without-fp.
12.1132 + with_fp=no ;;
12.1133 +
12.1134 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
12.1135 + | --no-cr | --no-c | -n)
12.1136 + no_create=yes ;;
12.1137 +
12.1138 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
12.1139 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
12.1140 + no_recursion=yes ;;
12.1141 +
12.1142 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
12.1143 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
12.1144 + | --oldin | --oldi | --old | --ol | --o)
12.1145 + ac_prev=oldincludedir ;;
12.1146 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
12.1147 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
12.1148 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
12.1149 + oldincludedir=$ac_optarg ;;
12.1150 +
12.1151 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
12.1152 + ac_prev=prefix ;;
12.1153 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
12.1154 + prefix=$ac_optarg ;;
12.1155 +
12.1156 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
12.1157 + | --program-pre | --program-pr | --program-p)
12.1158 + ac_prev=program_prefix ;;
12.1159 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
12.1160 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
12.1161 + program_prefix=$ac_optarg ;;
12.1162 +
12.1163 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
12.1164 + | --program-suf | --program-su | --program-s)
12.1165 + ac_prev=program_suffix ;;
12.1166 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
12.1167 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
12.1168 + program_suffix=$ac_optarg ;;
12.1169 +
12.1170 + -program-transform-name | --program-transform-name \
12.1171 + | --program-transform-nam | --program-transform-na \
12.1172 + | --program-transform-n | --program-transform- \
12.1173 + | --program-transform | --program-transfor \
12.1174 + | --program-transfo | --program-transf \
12.1175 + | --program-trans | --program-tran \
12.1176 + | --progr-tra | --program-tr | --program-t)
12.1177 + ac_prev=program_transform_name ;;
12.1178 + -program-transform-name=* | --program-transform-name=* \
12.1179 + | --program-transform-nam=* | --program-transform-na=* \
12.1180 + | --program-transform-n=* | --program-transform-=* \
12.1181 + | --program-transform=* | --program-transfor=* \
12.1182 + | --program-transfo=* | --program-transf=* \
12.1183 + | --program-trans=* | --program-tran=* \
12.1184 + | --progr-tra=* | --program-tr=* | --program-t=*)
12.1185 + program_transform_name=$ac_optarg ;;
12.1186 +
12.1187 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
12.1188 + ac_prev=pdfdir ;;
12.1189 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
12.1190 + pdfdir=$ac_optarg ;;
12.1191 +
12.1192 + -psdir | --psdir | --psdi | --psd | --ps)
12.1193 + ac_prev=psdir ;;
12.1194 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
12.1195 + psdir=$ac_optarg ;;
12.1196 +
12.1197 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12.1198 + | -silent | --silent | --silen | --sile | --sil)
12.1199 + silent=yes ;;
12.1200 +
12.1201 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
12.1202 + ac_prev=sbindir ;;
12.1203 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
12.1204 + | --sbi=* | --sb=*)
12.1205 + sbindir=$ac_optarg ;;
12.1206 +
12.1207 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
12.1208 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
12.1209 + | --sharedst | --shareds | --shared | --share | --shar \
12.1210 + | --sha | --sh)
12.1211 + ac_prev=sharedstatedir ;;
12.1212 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
12.1213 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
12.1214 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
12.1215 + | --sha=* | --sh=*)
12.1216 + sharedstatedir=$ac_optarg ;;
12.1217 +
12.1218 + -site | --site | --sit)
12.1219 + ac_prev=site ;;
12.1220 + -site=* | --site=* | --sit=*)
12.1221 + site=$ac_optarg ;;
12.1222 +
12.1223 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
12.1224 + ac_prev=srcdir ;;
12.1225 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
12.1226 + srcdir=$ac_optarg ;;
12.1227 +
12.1228 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
12.1229 + | --syscon | --sysco | --sysc | --sys | --sy)
12.1230 + ac_prev=sysconfdir ;;
12.1231 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
12.1232 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
12.1233 + sysconfdir=$ac_optarg ;;
12.1234 +
12.1235 + -target | --target | --targe | --targ | --tar | --ta | --t)
12.1236 + ac_prev=target_alias ;;
12.1237 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
12.1238 + target_alias=$ac_optarg ;;
12.1239 +
12.1240 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
12.1241 + verbose=yes ;;
12.1242 +
12.1243 + -version | --version | --versio | --versi | --vers | -V)
12.1244 + ac_init_version=: ;;
12.1245 +
12.1246 + -with-* | --with-*)
12.1247 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12.1248 + # Reject names that are not valid shell variable names.
12.1249 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12.1250 + { echo "$as_me: error: invalid package name: $ac_package" >&2
12.1251 + { (exit 1); exit 1; }; }
12.1252 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
12.1253 + eval with_$ac_package=\$ac_optarg ;;
12.1254 +
12.1255 + -without-* | --without-*)
12.1256 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12.1257 + # Reject names that are not valid shell variable names.
12.1258 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12.1259 + { echo "$as_me: error: invalid package name: $ac_package" >&2
12.1260 + { (exit 1); exit 1; }; }
12.1261 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
12.1262 + eval with_$ac_package=no ;;
12.1263 +
12.1264 + --x)
12.1265 + # Obsolete; use --with-x.
12.1266 + with_x=yes ;;
12.1267 +
12.1268 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
12.1269 + | --x-incl | --x-inc | --x-in | --x-i)
12.1270 + ac_prev=x_includes ;;
12.1271 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
12.1272 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
12.1273 + x_includes=$ac_optarg ;;
12.1274 +
12.1275 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
12.1276 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
12.1277 + ac_prev=x_libraries ;;
12.1278 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
12.1279 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
12.1280 + x_libraries=$ac_optarg ;;
12.1281 +
12.1282 + -*) { echo "$as_me: error: unrecognized option: $ac_option
12.1283 +Try \`$0 --help' for more information." >&2
12.1284 + { (exit 1); exit 1; }; }
12.1285 + ;;
12.1286 +
12.1287 + *=*)
12.1288 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
12.1289 + # Reject names that are not valid shell variable names.
12.1290 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
12.1291 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
12.1292 + { (exit 1); exit 1; }; }
12.1293 + eval $ac_envvar=\$ac_optarg
12.1294 + export $ac_envvar ;;
12.1295 +
12.1296 + *)
12.1297 + # FIXME: should be removed in autoconf 3.0.
12.1298 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12.1299 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12.1300 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
12.1301 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
12.1302 + ;;
12.1303 +
12.1304 + esac
12.1305 +done
12.1306 +
12.1307 +if test -n "$ac_prev"; then
12.1308 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
12.1309 + { echo "$as_me: error: missing argument to $ac_option" >&2
12.1310 + { (exit 1); exit 1; }; }
12.1311 +fi
12.1312 +
12.1313 +# Be sure to have absolute directory names.
12.1314 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12.1315 + datadir sysconfdir sharedstatedir localstatedir includedir \
12.1316 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12.1317 + libdir localedir mandir
12.1318 +do
12.1319 + eval ac_val=\$$ac_var
12.1320 + case $ac_val in
12.1321 + [\\/$]* | ?:[\\/]* ) continue;;
12.1322 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12.1323 + esac
12.1324 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12.1325 + { (exit 1); exit 1; }; }
12.1326 +done
12.1327 +
12.1328 +# There might be people who depend on the old broken behavior: `$host'
12.1329 +# used to hold the argument of --host etc.
12.1330 +# FIXME: To remove some day.
12.1331 +build=$build_alias
12.1332 +host=$host_alias
12.1333 +target=$target_alias
12.1334 +
12.1335 +# FIXME: To remove some day.
12.1336 +if test "x$host_alias" != x; then
12.1337 + if test "x$build_alias" = x; then
12.1338 + cross_compiling=maybe
12.1339 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
12.1340 + If a cross compiler is detected then cross compile mode will be used." >&2
12.1341 + elif test "x$build_alias" != "x$host_alias"; then
12.1342 + cross_compiling=yes
12.1343 + fi
12.1344 +fi
12.1345 +
12.1346 +ac_tool_prefix=
12.1347 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
12.1348 +
12.1349 +test "$silent" = yes && exec 6>/dev/null
12.1350 +
12.1351 +
12.1352 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
12.1353 +ac_ls_di=`ls -di .` &&
12.1354 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12.1355 + { echo "$as_me: error: Working directory cannot be determined" >&2
12.1356 + { (exit 1); exit 1; }; }
12.1357 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12.1358 + { echo "$as_me: error: pwd does not report name of working directory" >&2
12.1359 + { (exit 1); exit 1; }; }
12.1360 +
12.1361 +
12.1362 +# Find the source files, if location was not specified.
12.1363 +if test -z "$srcdir"; then
12.1364 + ac_srcdir_defaulted=yes
12.1365 + # Try the directory containing this script, then the parent directory.
12.1366 + ac_confdir=`$as_dirname -- "$0" ||
12.1367 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.1368 + X"$0" : 'X\(//\)[^/]' \| \
12.1369 + X"$0" : 'X\(//\)$' \| \
12.1370 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12.1371 +echo X"$0" |
12.1372 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.1373 + s//\1/
12.1374 + q
12.1375 + }
12.1376 + /^X\(\/\/\)[^/].*/{
12.1377 + s//\1/
12.1378 + q
12.1379 + }
12.1380 + /^X\(\/\/\)$/{
12.1381 + s//\1/
12.1382 + q
12.1383 + }
12.1384 + /^X\(\/\).*/{
12.1385 + s//\1/
12.1386 + q
12.1387 + }
12.1388 + s/.*/./; q'`
12.1389 + srcdir=$ac_confdir
12.1390 + if test ! -r "$srcdir/$ac_unique_file"; then
12.1391 + srcdir=..
12.1392 + fi
12.1393 +else
12.1394 + ac_srcdir_defaulted=no
12.1395 +fi
12.1396 +if test ! -r "$srcdir/$ac_unique_file"; then
12.1397 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12.1398 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12.1399 + { (exit 1); exit 1; }; }
12.1400 +fi
12.1401 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12.1402 +ac_abs_confdir=`(
12.1403 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
12.1404 + { (exit 1); exit 1; }; }
12.1405 + pwd)`
12.1406 +# When building in place, set srcdir=.
12.1407 +if test "$ac_abs_confdir" = "$ac_pwd"; then
12.1408 + srcdir=.
12.1409 +fi
12.1410 +# Remove unnecessary trailing slashes from srcdir.
12.1411 +# Double slashes in file names in object file debugging info
12.1412 +# mess up M-x gdb in Emacs.
12.1413 +case $srcdir in
12.1414 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12.1415 +esac
12.1416 +for ac_var in $ac_precious_vars; do
12.1417 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
12.1418 + eval ac_env_${ac_var}_value=\$${ac_var}
12.1419 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12.1420 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
12.1421 +done
12.1422 +
12.1423 +#
12.1424 +# Report the --help message.
12.1425 +#
12.1426 +if test "$ac_init_help" = "long"; then
12.1427 + # Omit some internal or obsolete options to make the list less imposing.
12.1428 + # This message is too long to be a string in the A/UX 3.1 sh.
12.1429 + cat <<_ACEOF
12.1430 +\`configure' configures this package to adapt to many kinds of systems.
12.1431 +
12.1432 +Usage: $0 [OPTION]... [VAR=VALUE]...
12.1433 +
12.1434 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
12.1435 +VAR=VALUE. See below for descriptions of some of the useful variables.
12.1436 +
12.1437 +Defaults for the options are specified in brackets.
12.1438 +
12.1439 +Configuration:
12.1440 + -h, --help display this help and exit
12.1441 + --help=short display options specific to this package
12.1442 + --help=recursive display the short help of all the included packages
12.1443 + -V, --version display version information and exit
12.1444 + -q, --quiet, --silent do not print \`checking...' messages
12.1445 + --cache-file=FILE cache test results in FILE [disabled]
12.1446 + -C, --config-cache alias for \`--cache-file=config.cache'
12.1447 + -n, --no-create do not create output files
12.1448 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
12.1449 +
12.1450 +Installation directories:
12.1451 + --prefix=PREFIX install architecture-independent files in PREFIX
12.1452 + [$ac_default_prefix]
12.1453 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
12.1454 + [PREFIX]
12.1455 +
12.1456 +By default, \`make install' will install all the files in
12.1457 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12.1458 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
12.1459 +for instance \`--prefix=\$HOME'.
12.1460 +
12.1461 +For better control, use the options below.
12.1462 +
12.1463 +Fine tuning of the installation directories:
12.1464 + --bindir=DIR user executables [EPREFIX/bin]
12.1465 + --sbindir=DIR system admin executables [EPREFIX/sbin]
12.1466 + --libexecdir=DIR program executables [EPREFIX/libexec]
12.1467 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12.1468 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12.1469 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
12.1470 + --libdir=DIR object code libraries [EPREFIX/lib]
12.1471 + --includedir=DIR C header files [PREFIX/include]
12.1472 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
12.1473 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
12.1474 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
12.1475 + --infodir=DIR info documentation [DATAROOTDIR/info]
12.1476 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
12.1477 + --mandir=DIR man documentation [DATAROOTDIR/man]
12.1478 + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
12.1479 + --htmldir=DIR html documentation [DOCDIR]
12.1480 + --dvidir=DIR dvi documentation [DOCDIR]
12.1481 + --pdfdir=DIR pdf documentation [DOCDIR]
12.1482 + --psdir=DIR ps documentation [DOCDIR]
12.1483 +_ACEOF
12.1484 +
12.1485 + cat <<\_ACEOF
12.1486 +
12.1487 +Program names:
12.1488 + --program-prefix=PREFIX prepend PREFIX to installed program names
12.1489 + --program-suffix=SUFFIX append SUFFIX to installed program names
12.1490 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
12.1491 +
12.1492 +System types:
12.1493 + --build=BUILD configure for building on BUILD [guessed]
12.1494 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
12.1495 + --target=TARGET configure for building compilers for TARGET [HOST]
12.1496 +_ACEOF
12.1497 +fi
12.1498 +
12.1499 +if test -n "$ac_init_help"; then
12.1500 +
12.1501 + cat <<\_ACEOF
12.1502 +
12.1503 +Optional Features:
12.1504 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
12.1505 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
12.1506 + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
12.1507 + --enable-maintainer-mode enable make rules and dependencies not useful
12.1508 + (and sometimes confusing) to the casual installer
12.1509 + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
12.1510 + --enable-fast-install@<:@=PKGS@:>@
12.1511 + optimize for fast installation @<:@default=yes@:>@
12.1512 + --disable-dependency-tracking speeds up one-time build
12.1513 + --enable-dependency-tracking do not reject slow dependency extractors
12.1514 + --disable-libtool-lock avoid locking (might break parallel builds)
12.1515 +
12.1516 +Optional Packages:
12.1517 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
12.1518 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
12.1519 + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
12.1520 + --with-pic try to use only PIC/non-PIC objects @<:@default=use
12.1521 + both@:>@
12.1522 + --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
12.1523 +
12.1524 +Some influential environment variables:
12.1525 + CC C compiler command
12.1526 + CFLAGS C compiler flags
12.1527 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
12.1528 + nonstandard directory <lib dir>
12.1529 + LIBS libraries to pass to the linker, e.g. -l<library>
12.1530 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
12.1531 + you have headers in a nonstandard directory <include dir>
12.1532 + CPP C preprocessor
12.1533 + CXX C++ compiler command
12.1534 + CXXFLAGS C++ compiler flags
12.1535 + CXXCPP C++ preprocessor
12.1536 + F77 Fortran 77 compiler command
12.1537 + FFLAGS Fortran 77 compiler flags
12.1538 + CCAS assembler compiler command (defaults to CC)
12.1539 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
12.1540 + PKG_CONFIG path to pkg-config utility
12.1541 + GST_CFLAGS C compiler flags for GST, overriding pkg-config
12.1542 + GST_LIBS linker flags for GST, overriding pkg-config
12.1543 + GST_BASE_CFLAGS
12.1544 + C compiler flags for GST_BASE, overriding pkg-config
12.1545 + GST_BASE_LIBS
12.1546 + linker flags for GST_BASE, overriding pkg-config
12.1547 + GST_PLUGINS_BASE_CFLAGS
12.1548 + C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
12.1549 + GST_PLUGINS_BASE_LIBS
12.1550 + linker flags for GST_PLUGINS_BASE, overriding pkg-config
12.1551 +
12.1552 +Use these variables to override the choices made by `configure' or to help
12.1553 +it to find libraries and programs with nonstandard names/locations.
12.1554 +
12.1555 +_ACEOF
12.1556 +ac_status=$?
12.1557 +fi
12.1558 +
12.1559 +if test "$ac_init_help" = "recursive"; then
12.1560 + # If there are subdirs, report their specific --help.
12.1561 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
12.1562 + test -d "$ac_dir" || continue
12.1563 + ac_builddir=.
12.1564 +
12.1565 +case "$ac_dir" in
12.1566 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12.1567 +*)
12.1568 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12.1569 + # A ".." for each directory in $ac_dir_suffix.
12.1570 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12.1571 + case $ac_top_builddir_sub in
12.1572 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12.1573 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12.1574 + esac ;;
12.1575 +esac
12.1576 +ac_abs_top_builddir=$ac_pwd
12.1577 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
12.1578 +# for backward compatibility:
12.1579 +ac_top_builddir=$ac_top_build_prefix
12.1580 +
12.1581 +case $srcdir in
12.1582 + .) # We are building in place.
12.1583 + ac_srcdir=.
12.1584 + ac_top_srcdir=$ac_top_builddir_sub
12.1585 + ac_abs_top_srcdir=$ac_pwd ;;
12.1586 + [\\/]* | ?:[\\/]* ) # Absolute name.
12.1587 + ac_srcdir=$srcdir$ac_dir_suffix;
12.1588 + ac_top_srcdir=$srcdir
12.1589 + ac_abs_top_srcdir=$srcdir ;;
12.1590 + *) # Relative name.
12.1591 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12.1592 + ac_top_srcdir=$ac_top_build_prefix$srcdir
12.1593 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12.1594 +esac
12.1595 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12.1596 +
12.1597 + cd "$ac_dir" || { ac_status=$?; continue; }
12.1598 + # Check for guested configure.
12.1599 + if test -f "$ac_srcdir/configure.gnu"; then
12.1600 + echo &&
12.1601 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
12.1602 + elif test -f "$ac_srcdir/configure"; then
12.1603 + echo &&
12.1604 + $SHELL "$ac_srcdir/configure" --help=recursive
12.1605 + else
12.1606 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
12.1607 + fi || ac_status=$?
12.1608 + cd "$ac_pwd" || { ac_status=$?; break; }
12.1609 + done
12.1610 +fi
12.1611 +
12.1612 +test -n "$ac_init_help" && exit $ac_status
12.1613 +if $ac_init_version; then
12.1614 + cat <<\_ACEOF
12.1615 +configure
12.1616 +generated by GNU Autoconf 2.61
12.1617 +
12.1618 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12.1619 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
12.1620 +This configure script is free software; the Free Software Foundation
12.1621 +gives unlimited permission to copy, distribute and modify it.
12.1622 +_ACEOF
12.1623 + exit
12.1624 +fi
12.1625 +cat >config.log <<_ACEOF
12.1626 +This file contains any messages produced by compilers while
12.1627 +running configure, to aid debugging if configure makes a mistake.
12.1628 +
12.1629 +It was created by $as_me, which was
12.1630 +generated by GNU Autoconf 2.61. Invocation command line was
12.1631 +
12.1632 + $ $0 $@
12.1633 +
12.1634 +_ACEOF
12.1635 +exec 5>>config.log
12.1636 +{
12.1637 +cat <<_ASUNAME
12.1638 +@%:@@%:@ --------- @%:@@%:@
12.1639 +@%:@@%:@ Platform. @%:@@%:@
12.1640 +@%:@@%:@ --------- @%:@@%:@
12.1641 +
12.1642 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
12.1643 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
12.1644 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
12.1645 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
12.1646 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
12.1647 +
12.1648 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
12.1649 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
12.1650 +
12.1651 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
12.1652 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
12.1653 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
12.1654 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
12.1655 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
12.1656 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
12.1657 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
12.1658 +
12.1659 +_ASUNAME
12.1660 +
12.1661 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.1662 +for as_dir in $PATH
12.1663 +do
12.1664 + IFS=$as_save_IFS
12.1665 + test -z "$as_dir" && as_dir=.
12.1666 + echo "PATH: $as_dir"
12.1667 +done
12.1668 +IFS=$as_save_IFS
12.1669 +
12.1670 +} >&5
12.1671 +
12.1672 +cat >&5 <<_ACEOF
12.1673 +
12.1674 +
12.1675 +@%:@@%:@ ----------- @%:@@%:@
12.1676 +@%:@@%:@ Core tests. @%:@@%:@
12.1677 +@%:@@%:@ ----------- @%:@@%:@
12.1678 +
12.1679 +_ACEOF
12.1680 +
12.1681 +
12.1682 +# Keep a trace of the command line.
12.1683 +# Strip out --no-create and --no-recursion so they do not pile up.
12.1684 +# Strip out --silent because we don't want to record it for future runs.
12.1685 +# Also quote any args containing shell meta-characters.
12.1686 +# Make two passes to allow for proper duplicate-argument suppression.
12.1687 +ac_configure_args=
12.1688 +ac_configure_args0=
12.1689 +ac_configure_args1=
12.1690 +ac_must_keep_next=false
12.1691 +for ac_pass in 1 2
12.1692 +do
12.1693 + for ac_arg
12.1694 + do
12.1695 + case $ac_arg in
12.1696 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
12.1697 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12.1698 + | -silent | --silent | --silen | --sile | --sil)
12.1699 + continue ;;
12.1700 + *\'*)
12.1701 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12.1702 + esac
12.1703 + case $ac_pass in
12.1704 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
12.1705 + 2)
12.1706 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
12.1707 + if test $ac_must_keep_next = true; then
12.1708 + ac_must_keep_next=false # Got value, back to normal.
12.1709 + else
12.1710 + case $ac_arg in
12.1711 + *=* | --config-cache | -C | -disable-* | --disable-* \
12.1712 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
12.1713 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
12.1714 + | -with-* | --with-* | -without-* | --without-* | --x)
12.1715 + case "$ac_configure_args0 " in
12.1716 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
12.1717 + esac
12.1718 + ;;
12.1719 + -* ) ac_must_keep_next=true ;;
12.1720 + esac
12.1721 + fi
12.1722 + ac_configure_args="$ac_configure_args '$ac_arg'"
12.1723 + ;;
12.1724 + esac
12.1725 + done
12.1726 +done
12.1727 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
12.1728 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
12.1729 +
12.1730 +# When interrupted or exit'd, cleanup temporary files, and complete
12.1731 +# config.log. We remove comments because anyway the quotes in there
12.1732 +# would cause problems or look ugly.
12.1733 +# WARNING: Use '\'' to represent an apostrophe within the trap.
12.1734 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
12.1735 +trap 'exit_status=$?
12.1736 + # Save into config.log some information that might help in debugging.
12.1737 + {
12.1738 + echo
12.1739 +
12.1740 + cat <<\_ASBOX
12.1741 +@%:@@%:@ ---------------- @%:@@%:@
12.1742 +@%:@@%:@ Cache variables. @%:@@%:@
12.1743 +@%:@@%:@ ---------------- @%:@@%:@
12.1744 +_ASBOX
12.1745 + echo
12.1746 + # The following way of writing the cache mishandles newlines in values,
12.1747 +(
12.1748 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
12.1749 + eval ac_val=\$$ac_var
12.1750 + case $ac_val in #(
12.1751 + *${as_nl}*)
12.1752 + case $ac_var in #(
12.1753 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12.1754 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12.1755 + esac
12.1756 + case $ac_var in #(
12.1757 + _ | IFS | as_nl) ;; #(
12.1758 + *) $as_unset $ac_var ;;
12.1759 + esac ;;
12.1760 + esac
12.1761 + done
12.1762 + (set) 2>&1 |
12.1763 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
12.1764 + *${as_nl}ac_space=\ *)
12.1765 + sed -n \
12.1766 + "s/'\''/'\''\\\\'\'''\''/g;
12.1767 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
12.1768 + ;; #(
12.1769 + *)
12.1770 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12.1771 + ;;
12.1772 + esac |
12.1773 + sort
12.1774 +)
12.1775 + echo
12.1776 +
12.1777 + cat <<\_ASBOX
12.1778 +@%:@@%:@ ----------------- @%:@@%:@
12.1779 +@%:@@%:@ Output variables. @%:@@%:@
12.1780 +@%:@@%:@ ----------------- @%:@@%:@
12.1781 +_ASBOX
12.1782 + echo
12.1783 + for ac_var in $ac_subst_vars
12.1784 + do
12.1785 + eval ac_val=\$$ac_var
12.1786 + case $ac_val in
12.1787 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
12.1788 + esac
12.1789 + echo "$ac_var='\''$ac_val'\''"
12.1790 + done | sort
12.1791 + echo
12.1792 +
12.1793 + if test -n "$ac_subst_files"; then
12.1794 + cat <<\_ASBOX
12.1795 +@%:@@%:@ ------------------- @%:@@%:@
12.1796 +@%:@@%:@ File substitutions. @%:@@%:@
12.1797 +@%:@@%:@ ------------------- @%:@@%:@
12.1798 +_ASBOX
12.1799 + echo
12.1800 + for ac_var in $ac_subst_files
12.1801 + do
12.1802 + eval ac_val=\$$ac_var
12.1803 + case $ac_val in
12.1804 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
12.1805 + esac
12.1806 + echo "$ac_var='\''$ac_val'\''"
12.1807 + done | sort
12.1808 + echo
12.1809 + fi
12.1810 +
12.1811 + if test -s confdefs.h; then
12.1812 + cat <<\_ASBOX
12.1813 +@%:@@%:@ ----------- @%:@@%:@
12.1814 +@%:@@%:@ confdefs.h. @%:@@%:@
12.1815 +@%:@@%:@ ----------- @%:@@%:@
12.1816 +_ASBOX
12.1817 + echo
12.1818 + cat confdefs.h
12.1819 + echo
12.1820 + fi
12.1821 + test "$ac_signal" != 0 &&
12.1822 + echo "$as_me: caught signal $ac_signal"
12.1823 + echo "$as_me: exit $exit_status"
12.1824 + } >&5
12.1825 + rm -f core *.core core.conftest.* &&
12.1826 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
12.1827 + exit $exit_status
12.1828 +' 0
12.1829 +for ac_signal in 1 2 13 15; do
12.1830 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
12.1831 +done
12.1832 +ac_signal=0
12.1833 +
12.1834 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
12.1835 +rm -f -r conftest* confdefs.h
12.1836 +
12.1837 +# Predefined preprocessor variables.
12.1838 +
12.1839 +cat >>confdefs.h <<_ACEOF
12.1840 +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
12.1841 +_ACEOF
12.1842 +
12.1843 +
12.1844 +cat >>confdefs.h <<_ACEOF
12.1845 +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
12.1846 +_ACEOF
12.1847 +
12.1848 +
12.1849 +cat >>confdefs.h <<_ACEOF
12.1850 +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
12.1851 +_ACEOF
12.1852 +
12.1853 +
12.1854 +cat >>confdefs.h <<_ACEOF
12.1855 +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
12.1856 +_ACEOF
12.1857 +
12.1858 +
12.1859 +cat >>confdefs.h <<_ACEOF
12.1860 +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
12.1861 +_ACEOF
12.1862 +
12.1863 +
12.1864 +# Let the site file select an alternate cache file if it wants to.
12.1865 +# Prefer explicitly selected file to automatically selected ones.
12.1866 +if test -n "$CONFIG_SITE"; then
12.1867 + set x "$CONFIG_SITE"
12.1868 +elif test "x$prefix" != xNONE; then
12.1869 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
12.1870 +else
12.1871 + set x "$ac_default_prefix/share/config.site" \
12.1872 + "$ac_default_prefix/etc/config.site"
12.1873 +fi
12.1874 +shift
12.1875 +for ac_site_file
12.1876 +do
12.1877 + if test -r "$ac_site_file"; then
12.1878 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
12.1879 +echo "$as_me: loading site script $ac_site_file" >&6;}
12.1880 + sed 's/^/| /' "$ac_site_file" >&5
12.1881 + . "$ac_site_file"
12.1882 + fi
12.1883 +done
12.1884 +
12.1885 +if test -r "$cache_file"; then
12.1886 + # Some versions of bash will fail to source /dev/null (special
12.1887 + # files actually), so we avoid doing that.
12.1888 + if test -f "$cache_file"; then
12.1889 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
12.1890 +echo "$as_me: loading cache $cache_file" >&6;}
12.1891 + case $cache_file in
12.1892 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
12.1893 + *) . "./$cache_file";;
12.1894 + esac
12.1895 + fi
12.1896 +else
12.1897 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
12.1898 +echo "$as_me: creating cache $cache_file" >&6;}
12.1899 + >$cache_file
12.1900 +fi
12.1901 +
12.1902 +# Check that the precious variables saved in the cache have kept the same
12.1903 +# value.
12.1904 +ac_cache_corrupted=false
12.1905 +for ac_var in $ac_precious_vars; do
12.1906 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
12.1907 + eval ac_new_set=\$ac_env_${ac_var}_set
12.1908 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
12.1909 + eval ac_new_val=\$ac_env_${ac_var}_value
12.1910 + case $ac_old_set,$ac_new_set in
12.1911 + set,)
12.1912 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12.1913 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12.1914 + ac_cache_corrupted=: ;;
12.1915 + ,set)
12.1916 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
12.1917 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12.1918 + ac_cache_corrupted=: ;;
12.1919 + ,);;
12.1920 + *)
12.1921 + if test "x$ac_old_val" != "x$ac_new_val"; then
12.1922 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
12.1923 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
12.1924 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
12.1925 +echo "$as_me: former value: $ac_old_val" >&2;}
12.1926 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
12.1927 +echo "$as_me: current value: $ac_new_val" >&2;}
12.1928 + ac_cache_corrupted=:
12.1929 + fi;;
12.1930 + esac
12.1931 + # Pass precious variables to config.status.
12.1932 + if test "$ac_new_set" = set; then
12.1933 + case $ac_new_val in
12.1934 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12.1935 + *) ac_arg=$ac_var=$ac_new_val ;;
12.1936 + esac
12.1937 + case " $ac_configure_args " in
12.1938 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
12.1939 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
12.1940 + esac
12.1941 + fi
12.1942 +done
12.1943 +if $ac_cache_corrupted; then
12.1944 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
12.1945 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
12.1946 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
12.1947 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12.1948 + { (exit 1); exit 1; }; }
12.1949 +fi
12.1950 +
12.1951 +
12.1952 +
12.1953 +
12.1954 +
12.1955 +
12.1956 +
12.1957 +
12.1958 +
12.1959 +
12.1960 +
12.1961 +
12.1962 +
12.1963 +
12.1964 +
12.1965 +
12.1966 +
12.1967 +ac_ext=c
12.1968 +ac_cpp='$CPP $CPPFLAGS'
12.1969 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.1970 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.1971 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.1972 +
12.1973 +
12.1974 +ac_aux_dir=
12.1975 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
12.1976 + if test -f "$ac_dir/install-sh"; then
12.1977 + ac_aux_dir=$ac_dir
12.1978 + ac_install_sh="$ac_aux_dir/install-sh -c"
12.1979 + break
12.1980 + elif test -f "$ac_dir/install.sh"; then
12.1981 + ac_aux_dir=$ac_dir
12.1982 + ac_install_sh="$ac_aux_dir/install.sh -c"
12.1983 + break
12.1984 + elif test -f "$ac_dir/shtool"; then
12.1985 + ac_aux_dir=$ac_dir
12.1986 + ac_install_sh="$ac_aux_dir/shtool install -c"
12.1987 + break
12.1988 + fi
12.1989 +done
12.1990 +if test -z "$ac_aux_dir"; then
12.1991 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
12.1992 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
12.1993 + { (exit 1); exit 1; }; }
12.1994 +fi
12.1995 +
12.1996 +# These three variables are undocumented and unsupported,
12.1997 +# and are intended to be withdrawn in a future Autoconf release.
12.1998 +# They can cause serious problems if a builder's source tree is in a directory
12.1999 +# whose full name contains unusual characters.
12.2000 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
12.2001 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
12.2002 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
12.2003 +
12.2004 +
12.2005 +# Make sure we can run config.sub.
12.2006 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
12.2007 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
12.2008 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
12.2009 + { (exit 1); exit 1; }; }
12.2010 +
12.2011 +{ echo "$as_me:$LINENO: checking build system type" >&5
12.2012 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
12.2013 +if test "${ac_cv_build+set}" = set; then
12.2014 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2015 +else
12.2016 + ac_build_alias=$build_alias
12.2017 +test "x$ac_build_alias" = x &&
12.2018 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
12.2019 +test "x$ac_build_alias" = x &&
12.2020 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
12.2021 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
12.2022 + { (exit 1); exit 1; }; }
12.2023 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
12.2024 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
12.2025 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
12.2026 + { (exit 1); exit 1; }; }
12.2027 +
12.2028 +fi
12.2029 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
12.2030 +echo "${ECHO_T}$ac_cv_build" >&6; }
12.2031 +case $ac_cv_build in
12.2032 +*-*-*) ;;
12.2033 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
12.2034 +echo "$as_me: error: invalid value of canonical build" >&2;}
12.2035 + { (exit 1); exit 1; }; };;
12.2036 +esac
12.2037 +build=$ac_cv_build
12.2038 +ac_save_IFS=$IFS; IFS='-'
12.2039 +set x $ac_cv_build
12.2040 +shift
12.2041 +build_cpu=$1
12.2042 +build_vendor=$2
12.2043 +shift; shift
12.2044 +# Remember, the first character of IFS is used to create $*,
12.2045 +# except with old shells:
12.2046 +build_os=$*
12.2047 +IFS=$ac_save_IFS
12.2048 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
12.2049 +
12.2050 +
12.2051 +{ echo "$as_me:$LINENO: checking host system type" >&5
12.2052 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
12.2053 +if test "${ac_cv_host+set}" = set; then
12.2054 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2055 +else
12.2056 + if test "x$host_alias" = x; then
12.2057 + ac_cv_host=$ac_cv_build
12.2058 +else
12.2059 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12.2060 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12.2061 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12.2062 + { (exit 1); exit 1; }; }
12.2063 +fi
12.2064 +
12.2065 +fi
12.2066 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12.2067 +echo "${ECHO_T}$ac_cv_host" >&6; }
12.2068 +case $ac_cv_host in
12.2069 +*-*-*) ;;
12.2070 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12.2071 +echo "$as_me: error: invalid value of canonical host" >&2;}
12.2072 + { (exit 1); exit 1; }; };;
12.2073 +esac
12.2074 +host=$ac_cv_host
12.2075 +ac_save_IFS=$IFS; IFS='-'
12.2076 +set x $ac_cv_host
12.2077 +shift
12.2078 +host_cpu=$1
12.2079 +host_vendor=$2
12.2080 +shift; shift
12.2081 +# Remember, the first character of IFS is used to create $*,
12.2082 +# except with old shells:
12.2083 +host_os=$*
12.2084 +IFS=$ac_save_IFS
12.2085 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
12.2086 +
12.2087 +
12.2088 +{ echo "$as_me:$LINENO: checking target system type" >&5
12.2089 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
12.2090 +if test "${ac_cv_target+set}" = set; then
12.2091 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2092 +else
12.2093 + if test "x$target_alias" = x; then
12.2094 + ac_cv_target=$ac_cv_host
12.2095 +else
12.2096 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
12.2097 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
12.2098 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
12.2099 + { (exit 1); exit 1; }; }
12.2100 +fi
12.2101 +
12.2102 +fi
12.2103 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
12.2104 +echo "${ECHO_T}$ac_cv_target" >&6; }
12.2105 +case $ac_cv_target in
12.2106 +*-*-*) ;;
12.2107 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
12.2108 +echo "$as_me: error: invalid value of canonical target" >&2;}
12.2109 + { (exit 1); exit 1; }; };;
12.2110 +esac
12.2111 +target=$ac_cv_target
12.2112 +ac_save_IFS=$IFS; IFS='-'
12.2113 +set x $ac_cv_target
12.2114 +shift
12.2115 +target_cpu=$1
12.2116 +target_vendor=$2
12.2117 +shift; shift
12.2118 +# Remember, the first character of IFS is used to create $*,
12.2119 +# except with old shells:
12.2120 +target_os=$*
12.2121 +IFS=$ac_save_IFS
12.2122 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
12.2123 +
12.2124 +
12.2125 +# The aliases save the names the user supplied, while $host etc.
12.2126 +# will get canonicalized.
12.2127 +test -n "$target_alias" &&
12.2128 + test "$program_prefix$program_suffix$program_transform_name" = \
12.2129 + NONENONEs,x,x, &&
12.2130 + program_prefix=${target_alias}-
12.2131 +
12.2132 +
12.2133 +# Check whether --enable-static was given.
12.2134 +if test "${enable_static+set}" = set; then
12.2135 + enableval=$enable_static; p=${PACKAGE-default}
12.2136 + case $enableval in
12.2137 + yes) enable_static=yes ;;
12.2138 + no) enable_static=no ;;
12.2139 + *)
12.2140 + enable_static=no
12.2141 + # Look at the argument we got. We use all the common list separators.
12.2142 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12.2143 + for pkg in $enableval; do
12.2144 + IFS="$lt_save_ifs"
12.2145 + if test "X$pkg" = "X$p"; then
12.2146 + enable_static=yes
12.2147 + fi
12.2148 + done
12.2149 + IFS="$lt_save_ifs"
12.2150 + ;;
12.2151 + esac
12.2152 +else
12.2153 + enable_static=no
12.2154 +fi
12.2155 +
12.2156 +
12.2157 +
12.2158 +
12.2159 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12.2160 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
12.2161 + # Check whether --enable-maintainer-mode was given.
12.2162 +if test "${enable_maintainer_mode+set}" = set; then
12.2163 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12.2164 +else
12.2165 + USE_MAINTAINER_MODE=no
12.2166 +fi
12.2167 +
12.2168 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12.2169 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
12.2170 +
12.2171 +
12.2172 +if test $USE_MAINTAINER_MODE = yes; then
12.2173 + MAINTAINER_MODE_TRUE=
12.2174 + MAINTAINER_MODE_FALSE='#'
12.2175 +else
12.2176 + MAINTAINER_MODE_TRUE='#'
12.2177 + MAINTAINER_MODE_FALSE=
12.2178 +fi
12.2179 +
12.2180 + MAINT=$MAINTAINER_MODE_TRUE
12.2181 +
12.2182 +
12.2183 +
12.2184 +
12.2185 + PACKAGE=gst-indt-plugins
12.2186 + GST_PLUGINS_VERSION_MAJOR=0
12.2187 + GST_PLUGINS_VERSION_MINOR=10
12.2188 + GST_PLUGINS_VERSION_MICRO=0
12.2189 + NANO=1
12.2190 + GST_PLUGINS_VERSION_NANO=$NANO
12.2191 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
12.2192 + then
12.2193 + { echo "$as_me:$LINENO: configuring gst-indt-plugins for release" >&5
12.2194 +echo "$as_me: configuring gst-indt-plugins for release" >&6;}
12.2195 + VERSION=0.10.0
12.2196 + GST_PLUGINS_VERSION_RELEASE=1
12.2197 + GST_CVS="no"
12.2198 + else
12.2199 + { echo "$as_me:$LINENO: configuring gst-indt-plugins for development with nano $NANO" >&5
12.2200 +echo "$as_me: configuring gst-indt-plugins for development with nano $NANO" >&6;}
12.2201 + VERSION=0.10.0.$NANO
12.2202 + GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
12.2203 + GST_CVS="yes"
12.2204 + fi
12.2205 +
12.2206 + GST_PLUGINS_VERSION=$VERSION
12.2207 +
12.2208 +cat >>confdefs.h <<_ACEOF
12.2209 +@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
12.2210 +_ACEOF
12.2211 +
12.2212 +
12.2213 +
12.2214 +cat >>confdefs.h <<_ACEOF
12.2215 +@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
12.2216 +_ACEOF
12.2217 +
12.2218 +
12.2219 +
12.2220 +
12.2221 +
12.2222 +
12.2223 +
12.2224 +
12.2225 +cat >>confdefs.h <<_ACEOF
12.2226 +@%:@define PACKAGE "$PACKAGE"
12.2227 +_ACEOF
12.2228 +
12.2229 +
12.2230 +
12.2231 +cat >>confdefs.h <<_ACEOF
12.2232 +@%:@define VERSION "$VERSION"
12.2233 +_ACEOF
12.2234 +
12.2235 +
12.2236 +
12.2237 +
12.2238 +am__api_version="1.9"
12.2239 +# Find a good install program. We prefer a C program (faster),
12.2240 +# so one script is as good as another. But avoid the broken or
12.2241 +# incompatible versions:
12.2242 +# SysV /etc/install, /usr/sbin/install
12.2243 +# SunOS /usr/etc/install
12.2244 +# IRIX /sbin/install
12.2245 +# AIX /bin/install
12.2246 +# AmigaOS /C/install, which installs bootblocks on floppy discs
12.2247 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12.2248 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
12.2249 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12.2250 +# OS/2's system install, which has a completely different semantic
12.2251 +# ./install, which can be erroneously created by make from ./install.sh.
12.2252 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12.2253 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
12.2254 +if test -z "$INSTALL"; then
12.2255 +if test "${ac_cv_path_install+set}" = set; then
12.2256 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2257 +else
12.2258 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2259 +for as_dir in $PATH
12.2260 +do
12.2261 + IFS=$as_save_IFS
12.2262 + test -z "$as_dir" && as_dir=.
12.2263 + # Account for people who put trailing slashes in PATH elements.
12.2264 +case $as_dir/ in
12.2265 + ./ | .// | /cC/* | \
12.2266 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12.2267 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12.2268 + /usr/ucb/* ) ;;
12.2269 + *)
12.2270 + # OSF1 and SCO ODT 3.0 have their own names for install.
12.2271 + # Don't use installbsd from OSF since it installs stuff as root
12.2272 + # by default.
12.2273 + for ac_prog in ginstall scoinst install; do
12.2274 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2275 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
12.2276 + if test $ac_prog = install &&
12.2277 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12.2278 + # AIX install. It has an incompatible calling convention.
12.2279 + :
12.2280 + elif test $ac_prog = install &&
12.2281 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12.2282 + # program-specific install script used by HP pwplus--don't use.
12.2283 + :
12.2284 + else
12.2285 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12.2286 + break 3
12.2287 + fi
12.2288 + fi
12.2289 + done
12.2290 + done
12.2291 + ;;
12.2292 +esac
12.2293 +done
12.2294 +IFS=$as_save_IFS
12.2295 +
12.2296 +
12.2297 +fi
12.2298 + if test "${ac_cv_path_install+set}" = set; then
12.2299 + INSTALL=$ac_cv_path_install
12.2300 + else
12.2301 + # As a last resort, use the slow shell script. Don't cache a
12.2302 + # value for INSTALL within a source directory, because that will
12.2303 + # break other packages using the cache if that directory is
12.2304 + # removed, or if the value is a relative name.
12.2305 + INSTALL=$ac_install_sh
12.2306 + fi
12.2307 +fi
12.2308 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
12.2309 +echo "${ECHO_T}$INSTALL" >&6; }
12.2310 +
12.2311 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12.2312 +# It thinks the first close brace ends the variable substitution.
12.2313 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12.2314 +
12.2315 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12.2316 +
12.2317 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12.2318 +
12.2319 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
12.2320 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
12.2321 +# Just in case
12.2322 +sleep 1
12.2323 +echo timestamp > conftest.file
12.2324 +# Do `set' in a subshell so we don't clobber the current shell's
12.2325 +# arguments. Must try -L first in case configure is actually a
12.2326 +# symlink; some systems play weird games with the mod time of symlinks
12.2327 +# (eg FreeBSD returns the mod time of the symlink's containing
12.2328 +# directory).
12.2329 +if (
12.2330 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
12.2331 + if test "$*" = "X"; then
12.2332 + # -L didn't work.
12.2333 + set X `ls -t $srcdir/configure conftest.file`
12.2334 + fi
12.2335 + rm -f conftest.file
12.2336 + if test "$*" != "X $srcdir/configure conftest.file" \
12.2337 + && test "$*" != "X conftest.file $srcdir/configure"; then
12.2338 +
12.2339 + # If neither matched, then we have a broken ls. This can happen
12.2340 + # if, for instance, CONFIG_SHELL is bash and it inherits a
12.2341 + # broken ls alias from the environment. This has actually
12.2342 + # happened. Such a system could not be considered "sane".
12.2343 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
12.2344 +alias in your environment" >&5
12.2345 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
12.2346 +alias in your environment" >&2;}
12.2347 + { (exit 1); exit 1; }; }
12.2348 + fi
12.2349 +
12.2350 + test "$2" = conftest.file
12.2351 + )
12.2352 +then
12.2353 + # Ok.
12.2354 + :
12.2355 +else
12.2356 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
12.2357 +Check your system clock" >&5
12.2358 +echo "$as_me: error: newly created file is older than distributed files!
12.2359 +Check your system clock" >&2;}
12.2360 + { (exit 1); exit 1; }; }
12.2361 +fi
12.2362 +{ echo "$as_me:$LINENO: result: yes" >&5
12.2363 +echo "${ECHO_T}yes" >&6; }
12.2364 +test "$program_prefix" != NONE &&
12.2365 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
12.2366 +# Use a double $ so make ignores it.
12.2367 +test "$program_suffix" != NONE &&
12.2368 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
12.2369 +# Double any \ or $. echo might interpret backslashes.
12.2370 +# By default was `s,x,x', remove it if useless.
12.2371 +cat <<\_ACEOF >conftest.sed
12.2372 +s/[\\$]/&&/g;s/;s,x,x,$//
12.2373 +_ACEOF
12.2374 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
12.2375 +rm -f conftest.sed
12.2376 +
12.2377 +# expand $ac_aux_dir to an absolute path
12.2378 +am_aux_dir=`cd $ac_aux_dir && pwd`
12.2379 +
12.2380 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
12.2381 +# Use eval to expand $SHELL
12.2382 +if eval "$MISSING --run true"; then
12.2383 + am_missing_run="$MISSING --run "
12.2384 +else
12.2385 + am_missing_run=
12.2386 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
12.2387 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
12.2388 +fi
12.2389 +
12.2390 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
12.2391 + # We used to keeping the `.' as first argument, in order to
12.2392 + # allow $(mkdir_p) to be used without argument. As in
12.2393 + # $(mkdir_p) $(somedir)
12.2394 + # where $(somedir) is conditionally defined. However this is wrong
12.2395 + # for two reasons:
12.2396 + # 1. if the package is installed by a user who cannot write `.'
12.2397 + # make install will fail,
12.2398 + # 2. the above comment should most certainly read
12.2399 + # $(mkdir_p) $(DESTDIR)$(somedir)
12.2400 + # so it does not work when $(somedir) is undefined and
12.2401 + # $(DESTDIR) is not.
12.2402 + # To support the latter case, we have to write
12.2403 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
12.2404 + # so the `.' trick is pointless.
12.2405 + mkdir_p='mkdir -p --'
12.2406 +else
12.2407 + # On NextStep and OpenStep, the `mkdir' command does not
12.2408 + # recognize any option. It will interpret all options as
12.2409 + # directories to create, and then abort because `.' already
12.2410 + # exists.
12.2411 + for d in ./-p ./--version;
12.2412 + do
12.2413 + test -d $d && rmdir $d
12.2414 + done
12.2415 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
12.2416 + if test -f "$ac_aux_dir/mkinstalldirs"; then
12.2417 + mkdir_p='$(mkinstalldirs)'
12.2418 + else
12.2419 + mkdir_p='$(install_sh) -d'
12.2420 + fi
12.2421 +fi
12.2422 +
12.2423 +for ac_prog in gawk mawk nawk awk
12.2424 +do
12.2425 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12.2426 +set dummy $ac_prog; ac_word=$2
12.2427 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2428 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2429 +if test "${ac_cv_prog_AWK+set}" = set; then
12.2430 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2431 +else
12.2432 + if test -n "$AWK"; then
12.2433 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
12.2434 +else
12.2435 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2436 +for as_dir in $PATH
12.2437 +do
12.2438 + IFS=$as_save_IFS
12.2439 + test -z "$as_dir" && as_dir=.
12.2440 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2441 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2442 + ac_cv_prog_AWK="$ac_prog"
12.2443 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2444 + break 2
12.2445 + fi
12.2446 +done
12.2447 +done
12.2448 +IFS=$as_save_IFS
12.2449 +
12.2450 +fi
12.2451 +fi
12.2452 +AWK=$ac_cv_prog_AWK
12.2453 +if test -n "$AWK"; then
12.2454 + { echo "$as_me:$LINENO: result: $AWK" >&5
12.2455 +echo "${ECHO_T}$AWK" >&6; }
12.2456 +else
12.2457 + { echo "$as_me:$LINENO: result: no" >&5
12.2458 +echo "${ECHO_T}no" >&6; }
12.2459 +fi
12.2460 +
12.2461 +
12.2462 + test -n "$AWK" && break
12.2463 +done
12.2464 +
12.2465 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12.2466 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
12.2467 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12.2468 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
12.2469 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2470 +else
12.2471 + cat >conftest.make <<\_ACEOF
12.2472 +SHELL = /bin/sh
12.2473 +all:
12.2474 + @echo '@@@%%%=$(MAKE)=@@@%%%'
12.2475 +_ACEOF
12.2476 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12.2477 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
12.2478 + *@@@%%%=?*=@@@%%%*)
12.2479 + eval ac_cv_prog_make_${ac_make}_set=yes;;
12.2480 + *)
12.2481 + eval ac_cv_prog_make_${ac_make}_set=no;;
12.2482 +esac
12.2483 +rm -f conftest.make
12.2484 +fi
12.2485 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12.2486 + { echo "$as_me:$LINENO: result: yes" >&5
12.2487 +echo "${ECHO_T}yes" >&6; }
12.2488 + SET_MAKE=
12.2489 +else
12.2490 + { echo "$as_me:$LINENO: result: no" >&5
12.2491 +echo "${ECHO_T}no" >&6; }
12.2492 + SET_MAKE="MAKE=${MAKE-make}"
12.2493 +fi
12.2494 +
12.2495 +rm -rf .tst 2>/dev/null
12.2496 +mkdir .tst 2>/dev/null
12.2497 +if test -d .tst; then
12.2498 + am__leading_dot=.
12.2499 +else
12.2500 + am__leading_dot=_
12.2501 +fi
12.2502 +rmdir .tst 2>/dev/null
12.2503 +
12.2504 +# test to see if srcdir already configured
12.2505 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
12.2506 + test -f $srcdir/config.status; then
12.2507 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
12.2508 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
12.2509 + { (exit 1); exit 1; }; }
12.2510 +fi
12.2511 +
12.2512 +# test whether we have cygpath
12.2513 +if test -z "$CYGPATH_W"; then
12.2514 + if (cygpath --version) >/dev/null 2>/dev/null; then
12.2515 + CYGPATH_W='cygpath -w'
12.2516 + else
12.2517 + CYGPATH_W=echo
12.2518 + fi
12.2519 +fi
12.2520 +
12.2521 +
12.2522 +# Define the identity of the package.
12.2523 + PACKAGE=$PACKAGE
12.2524 + VERSION=$VERSION
12.2525 +
12.2526 +
12.2527 +cat >>confdefs.h <<_ACEOF
12.2528 +@%:@define PACKAGE "$PACKAGE"
12.2529 +_ACEOF
12.2530 +
12.2531 +
12.2532 +cat >>confdefs.h <<_ACEOF
12.2533 +@%:@define VERSION "$VERSION"
12.2534 +_ACEOF
12.2535 +
12.2536 +# Some tools Automake needs.
12.2537 +
12.2538 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12.2539 +
12.2540 +
12.2541 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
12.2542 +
12.2543 +
12.2544 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12.2545 +
12.2546 +
12.2547 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
12.2548 +
12.2549 +
12.2550 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
12.2551 +
12.2552 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
12.2553 +
12.2554 +# Installed binaries are usually stripped using `strip' when the user
12.2555 +# run `make install-strip'. However `strip' might not be the right
12.2556 +# tool to use in cross-compilation environments, therefore Automake
12.2557 +# will honor the `STRIP' environment variable to overrule this program.
12.2558 +if test "$cross_compiling" != no; then
12.2559 + if test -n "$ac_tool_prefix"; then
12.2560 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12.2561 +set dummy ${ac_tool_prefix}strip; ac_word=$2
12.2562 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2563 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2564 +if test "${ac_cv_prog_STRIP+set}" = set; then
12.2565 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2566 +else
12.2567 + if test -n "$STRIP"; then
12.2568 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12.2569 +else
12.2570 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2571 +for as_dir in $PATH
12.2572 +do
12.2573 + IFS=$as_save_IFS
12.2574 + test -z "$as_dir" && as_dir=.
12.2575 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2576 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2577 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12.2578 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2579 + break 2
12.2580 + fi
12.2581 +done
12.2582 +done
12.2583 +IFS=$as_save_IFS
12.2584 +
12.2585 +fi
12.2586 +fi
12.2587 +STRIP=$ac_cv_prog_STRIP
12.2588 +if test -n "$STRIP"; then
12.2589 + { echo "$as_me:$LINENO: result: $STRIP" >&5
12.2590 +echo "${ECHO_T}$STRIP" >&6; }
12.2591 +else
12.2592 + { echo "$as_me:$LINENO: result: no" >&5
12.2593 +echo "${ECHO_T}no" >&6; }
12.2594 +fi
12.2595 +
12.2596 +
12.2597 +fi
12.2598 +if test -z "$ac_cv_prog_STRIP"; then
12.2599 + ac_ct_STRIP=$STRIP
12.2600 + # Extract the first word of "strip", so it can be a program name with args.
12.2601 +set dummy strip; ac_word=$2
12.2602 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2603 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2604 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12.2605 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2606 +else
12.2607 + if test -n "$ac_ct_STRIP"; then
12.2608 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12.2609 +else
12.2610 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2611 +for as_dir in $PATH
12.2612 +do
12.2613 + IFS=$as_save_IFS
12.2614 + test -z "$as_dir" && as_dir=.
12.2615 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2616 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2617 + ac_cv_prog_ac_ct_STRIP="strip"
12.2618 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2619 + break 2
12.2620 + fi
12.2621 +done
12.2622 +done
12.2623 +IFS=$as_save_IFS
12.2624 +
12.2625 +fi
12.2626 +fi
12.2627 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12.2628 +if test -n "$ac_ct_STRIP"; then
12.2629 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12.2630 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
12.2631 +else
12.2632 + { echo "$as_me:$LINENO: result: no" >&5
12.2633 +echo "${ECHO_T}no" >&6; }
12.2634 +fi
12.2635 +
12.2636 + if test "x$ac_ct_STRIP" = x; then
12.2637 + STRIP=":"
12.2638 + else
12.2639 + case $cross_compiling:$ac_tool_warned in
12.2640 +yes:)
12.2641 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.2642 +whose name does not start with the host triplet. If you think this
12.2643 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.2644 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.2645 +whose name does not start with the host triplet. If you think this
12.2646 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.2647 +ac_tool_warned=yes ;;
12.2648 +esac
12.2649 + STRIP=$ac_ct_STRIP
12.2650 + fi
12.2651 +else
12.2652 + STRIP="$ac_cv_prog_STRIP"
12.2653 +fi
12.2654 +
12.2655 +fi
12.2656 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
12.2657 +
12.2658 +# We need awk for the "check" target. The system "awk" is bad on
12.2659 +# some platforms.
12.2660 +# Always define AMTAR for backward compatibility.
12.2661 +
12.2662 +AMTAR=${AMTAR-"${am_missing_run}tar"}
12.2663 +
12.2664 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
12.2665 +
12.2666 +
12.2667 +
12.2668 +
12.2669 +
12.2670 +
12.2671 +# Check whether --enable-shared was given.
12.2672 +if test "${enable_shared+set}" = set; then
12.2673 + enableval=$enable_shared; p=${PACKAGE-default}
12.2674 + case $enableval in
12.2675 + yes) enable_shared=yes ;;
12.2676 + no) enable_shared=no ;;
12.2677 + *)
12.2678 + enable_shared=no
12.2679 + # Look at the argument we got. We use all the common list separators.
12.2680 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12.2681 + for pkg in $enableval; do
12.2682 + IFS="$lt_save_ifs"
12.2683 + if test "X$pkg" = "X$p"; then
12.2684 + enable_shared=yes
12.2685 + fi
12.2686 + done
12.2687 + IFS="$lt_save_ifs"
12.2688 + ;;
12.2689 + esac
12.2690 +else
12.2691 + enable_shared=yes
12.2692 +fi
12.2693 +
12.2694 +
12.2695 +# Check whether --enable-fast-install was given.
12.2696 +if test "${enable_fast_install+set}" = set; then
12.2697 + enableval=$enable_fast_install; p=${PACKAGE-default}
12.2698 + case $enableval in
12.2699 + yes) enable_fast_install=yes ;;
12.2700 + no) enable_fast_install=no ;;
12.2701 + *)
12.2702 + enable_fast_install=no
12.2703 + # Look at the argument we got. We use all the common list separators.
12.2704 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12.2705 + for pkg in $enableval; do
12.2706 + IFS="$lt_save_ifs"
12.2707 + if test "X$pkg" = "X$p"; then
12.2708 + enable_fast_install=yes
12.2709 + fi
12.2710 + done
12.2711 + IFS="$lt_save_ifs"
12.2712 + ;;
12.2713 + esac
12.2714 +else
12.2715 + enable_fast_install=yes
12.2716 +fi
12.2717 +
12.2718 +
12.2719 +DEPDIR="${am__leading_dot}deps"
12.2720 +
12.2721 +ac_config_commands="$ac_config_commands depfiles"
12.2722 +
12.2723 +
12.2724 +am_make=${MAKE-make}
12.2725 +cat > confinc << 'END'
12.2726 +am__doit:
12.2727 + @echo done
12.2728 +.PHONY: am__doit
12.2729 +END
12.2730 +# If we don't find an include directive, just comment out the code.
12.2731 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
12.2732 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
12.2733 +am__include="#"
12.2734 +am__quote=
12.2735 +_am_result=none
12.2736 +# First try GNU make style include.
12.2737 +echo "include confinc" > confmf
12.2738 +# We grep out `Entering directory' and `Leaving directory'
12.2739 +# messages which can occur if `w' ends up in MAKEFLAGS.
12.2740 +# In particular we don't look at `^make:' because GNU make might
12.2741 +# be invoked under some other name (usually "gmake"), in which
12.2742 +# case it prints its new name instead of `make'.
12.2743 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
12.2744 + am__include=include
12.2745 + am__quote=
12.2746 + _am_result=GNU
12.2747 +fi
12.2748 +# Now try BSD make style include.
12.2749 +if test "$am__include" = "#"; then
12.2750 + echo '.include "confinc"' > confmf
12.2751 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
12.2752 + am__include=.include
12.2753 + am__quote="\""
12.2754 + _am_result=BSD
12.2755 + fi
12.2756 +fi
12.2757 +
12.2758 +
12.2759 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
12.2760 +echo "${ECHO_T}$_am_result" >&6; }
12.2761 +rm -f confinc confmf
12.2762 +
12.2763 +# Check whether --enable-dependency-tracking was given.
12.2764 +if test "${enable_dependency_tracking+set}" = set; then
12.2765 + enableval=$enable_dependency_tracking;
12.2766 +fi
12.2767 +
12.2768 +if test "x$enable_dependency_tracking" != xno; then
12.2769 + am_depcomp="$ac_aux_dir/depcomp"
12.2770 + AMDEPBACKSLASH='\'
12.2771 +fi
12.2772 +
12.2773 +
12.2774 +if test "x$enable_dependency_tracking" != xno; then
12.2775 + AMDEP_TRUE=
12.2776 + AMDEP_FALSE='#'
12.2777 +else
12.2778 + AMDEP_TRUE='#'
12.2779 + AMDEP_FALSE=
12.2780 +fi
12.2781 +
12.2782 +
12.2783 +
12.2784 +ac_ext=c
12.2785 +ac_cpp='$CPP $CPPFLAGS'
12.2786 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.2787 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.2788 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.2789 +if test -n "$ac_tool_prefix"; then
12.2790 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12.2791 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
12.2792 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2793 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2794 +if test "${ac_cv_prog_CC+set}" = set; then
12.2795 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2796 +else
12.2797 + if test -n "$CC"; then
12.2798 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.2799 +else
12.2800 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2801 +for as_dir in $PATH
12.2802 +do
12.2803 + IFS=$as_save_IFS
12.2804 + test -z "$as_dir" && as_dir=.
12.2805 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2806 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2807 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
12.2808 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2809 + break 2
12.2810 + fi
12.2811 +done
12.2812 +done
12.2813 +IFS=$as_save_IFS
12.2814 +
12.2815 +fi
12.2816 +fi
12.2817 +CC=$ac_cv_prog_CC
12.2818 +if test -n "$CC"; then
12.2819 + { echo "$as_me:$LINENO: result: $CC" >&5
12.2820 +echo "${ECHO_T}$CC" >&6; }
12.2821 +else
12.2822 + { echo "$as_me:$LINENO: result: no" >&5
12.2823 +echo "${ECHO_T}no" >&6; }
12.2824 +fi
12.2825 +
12.2826 +
12.2827 +fi
12.2828 +if test -z "$ac_cv_prog_CC"; then
12.2829 + ac_ct_CC=$CC
12.2830 + # Extract the first word of "gcc", so it can be a program name with args.
12.2831 +set dummy gcc; ac_word=$2
12.2832 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2833 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2834 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12.2835 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2836 +else
12.2837 + if test -n "$ac_ct_CC"; then
12.2838 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12.2839 +else
12.2840 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2841 +for as_dir in $PATH
12.2842 +do
12.2843 + IFS=$as_save_IFS
12.2844 + test -z "$as_dir" && as_dir=.
12.2845 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2846 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2847 + ac_cv_prog_ac_ct_CC="gcc"
12.2848 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2849 + break 2
12.2850 + fi
12.2851 +done
12.2852 +done
12.2853 +IFS=$as_save_IFS
12.2854 +
12.2855 +fi
12.2856 +fi
12.2857 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
12.2858 +if test -n "$ac_ct_CC"; then
12.2859 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12.2860 +echo "${ECHO_T}$ac_ct_CC" >&6; }
12.2861 +else
12.2862 + { echo "$as_me:$LINENO: result: no" >&5
12.2863 +echo "${ECHO_T}no" >&6; }
12.2864 +fi
12.2865 +
12.2866 + if test "x$ac_ct_CC" = x; then
12.2867 + CC=""
12.2868 + else
12.2869 + case $cross_compiling:$ac_tool_warned in
12.2870 +yes:)
12.2871 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.2872 +whose name does not start with the host triplet. If you think this
12.2873 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.2874 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.2875 +whose name does not start with the host triplet. If you think this
12.2876 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.2877 +ac_tool_warned=yes ;;
12.2878 +esac
12.2879 + CC=$ac_ct_CC
12.2880 + fi
12.2881 +else
12.2882 + CC="$ac_cv_prog_CC"
12.2883 +fi
12.2884 +
12.2885 +if test -z "$CC"; then
12.2886 + if test -n "$ac_tool_prefix"; then
12.2887 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12.2888 +set dummy ${ac_tool_prefix}cc; ac_word=$2
12.2889 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2890 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2891 +if test "${ac_cv_prog_CC+set}" = set; then
12.2892 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2893 +else
12.2894 + if test -n "$CC"; then
12.2895 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.2896 +else
12.2897 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2898 +for as_dir in $PATH
12.2899 +do
12.2900 + IFS=$as_save_IFS
12.2901 + test -z "$as_dir" && as_dir=.
12.2902 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2903 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2904 + ac_cv_prog_CC="${ac_tool_prefix}cc"
12.2905 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2906 + break 2
12.2907 + fi
12.2908 +done
12.2909 +done
12.2910 +IFS=$as_save_IFS
12.2911 +
12.2912 +fi
12.2913 +fi
12.2914 +CC=$ac_cv_prog_CC
12.2915 +if test -n "$CC"; then
12.2916 + { echo "$as_me:$LINENO: result: $CC" >&5
12.2917 +echo "${ECHO_T}$CC" >&6; }
12.2918 +else
12.2919 + { echo "$as_me:$LINENO: result: no" >&5
12.2920 +echo "${ECHO_T}no" >&6; }
12.2921 +fi
12.2922 +
12.2923 +
12.2924 + fi
12.2925 +fi
12.2926 +if test -z "$CC"; then
12.2927 + # Extract the first word of "cc", so it can be a program name with args.
12.2928 +set dummy cc; ac_word=$2
12.2929 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2930 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2931 +if test "${ac_cv_prog_CC+set}" = set; then
12.2932 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2933 +else
12.2934 + if test -n "$CC"; then
12.2935 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.2936 +else
12.2937 + ac_prog_rejected=no
12.2938 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2939 +for as_dir in $PATH
12.2940 +do
12.2941 + IFS=$as_save_IFS
12.2942 + test -z "$as_dir" && as_dir=.
12.2943 + for ac_exec_ext in '' $ac_executable_extensions; do
12.2944 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.2945 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12.2946 + ac_prog_rejected=yes
12.2947 + continue
12.2948 + fi
12.2949 + ac_cv_prog_CC="cc"
12.2950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.2951 + break 2
12.2952 + fi
12.2953 +done
12.2954 +done
12.2955 +IFS=$as_save_IFS
12.2956 +
12.2957 +if test $ac_prog_rejected = yes; then
12.2958 + # We found a bogon in the path, so make sure we never use it.
12.2959 + set dummy $ac_cv_prog_CC
12.2960 + shift
12.2961 + if test $@%:@ != 0; then
12.2962 + # We chose a different compiler from the bogus one.
12.2963 + # However, it has the same basename, so the bogon will be chosen
12.2964 + # first if we set CC to just the basename; use the full file name.
12.2965 + shift
12.2966 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12.2967 + fi
12.2968 +fi
12.2969 +fi
12.2970 +fi
12.2971 +CC=$ac_cv_prog_CC
12.2972 +if test -n "$CC"; then
12.2973 + { echo "$as_me:$LINENO: result: $CC" >&5
12.2974 +echo "${ECHO_T}$CC" >&6; }
12.2975 +else
12.2976 + { echo "$as_me:$LINENO: result: no" >&5
12.2977 +echo "${ECHO_T}no" >&6; }
12.2978 +fi
12.2979 +
12.2980 +
12.2981 +fi
12.2982 +if test -z "$CC"; then
12.2983 + if test -n "$ac_tool_prefix"; then
12.2984 + for ac_prog in cl.exe
12.2985 + do
12.2986 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12.2987 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12.2988 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.2989 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.2990 +if test "${ac_cv_prog_CC+set}" = set; then
12.2991 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.2992 +else
12.2993 + if test -n "$CC"; then
12.2994 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.2995 +else
12.2996 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.2997 +for as_dir in $PATH
12.2998 +do
12.2999 + IFS=$as_save_IFS
12.3000 + test -z "$as_dir" && as_dir=.
12.3001 + for ac_exec_ext in '' $ac_executable_extensions; do
12.3002 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.3003 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12.3004 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.3005 + break 2
12.3006 + fi
12.3007 +done
12.3008 +done
12.3009 +IFS=$as_save_IFS
12.3010 +
12.3011 +fi
12.3012 +fi
12.3013 +CC=$ac_cv_prog_CC
12.3014 +if test -n "$CC"; then
12.3015 + { echo "$as_me:$LINENO: result: $CC" >&5
12.3016 +echo "${ECHO_T}$CC" >&6; }
12.3017 +else
12.3018 + { echo "$as_me:$LINENO: result: no" >&5
12.3019 +echo "${ECHO_T}no" >&6; }
12.3020 +fi
12.3021 +
12.3022 +
12.3023 + test -n "$CC" && break
12.3024 + done
12.3025 +fi
12.3026 +if test -z "$CC"; then
12.3027 + ac_ct_CC=$CC
12.3028 + for ac_prog in cl.exe
12.3029 +do
12.3030 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12.3031 +set dummy $ac_prog; ac_word=$2
12.3032 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.3033 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.3034 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12.3035 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3036 +else
12.3037 + if test -n "$ac_ct_CC"; then
12.3038 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12.3039 +else
12.3040 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.3041 +for as_dir in $PATH
12.3042 +do
12.3043 + IFS=$as_save_IFS
12.3044 + test -z "$as_dir" && as_dir=.
12.3045 + for ac_exec_ext in '' $ac_executable_extensions; do
12.3046 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.3047 + ac_cv_prog_ac_ct_CC="$ac_prog"
12.3048 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.3049 + break 2
12.3050 + fi
12.3051 +done
12.3052 +done
12.3053 +IFS=$as_save_IFS
12.3054 +
12.3055 +fi
12.3056 +fi
12.3057 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
12.3058 +if test -n "$ac_ct_CC"; then
12.3059 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12.3060 +echo "${ECHO_T}$ac_ct_CC" >&6; }
12.3061 +else
12.3062 + { echo "$as_me:$LINENO: result: no" >&5
12.3063 +echo "${ECHO_T}no" >&6; }
12.3064 +fi
12.3065 +
12.3066 +
12.3067 + test -n "$ac_ct_CC" && break
12.3068 +done
12.3069 +
12.3070 + if test "x$ac_ct_CC" = x; then
12.3071 + CC=""
12.3072 + else
12.3073 + case $cross_compiling:$ac_tool_warned in
12.3074 +yes:)
12.3075 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.3076 +whose name does not start with the host triplet. If you think this
12.3077 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.3078 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.3079 +whose name does not start with the host triplet. If you think this
12.3080 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.3081 +ac_tool_warned=yes ;;
12.3082 +esac
12.3083 + CC=$ac_ct_CC
12.3084 + fi
12.3085 +fi
12.3086 +
12.3087 +fi
12.3088 +
12.3089 +
12.3090 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12.3091 +See \`config.log' for more details." >&5
12.3092 +echo "$as_me: error: no acceptable C compiler found in \$PATH
12.3093 +See \`config.log' for more details." >&2;}
12.3094 + { (exit 1); exit 1; }; }
12.3095 +
12.3096 +# Provide some information about the compiler.
12.3097 +echo "$as_me:$LINENO: checking for C compiler version" >&5
12.3098 +ac_compiler=`set X $ac_compile; echo $2`
12.3099 +{ (ac_try="$ac_compiler --version >&5"
12.3100 +case "(($ac_try" in
12.3101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3102 + *) ac_try_echo=$ac_try;;
12.3103 +esac
12.3104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3105 + (eval "$ac_compiler --version >&5") 2>&5
12.3106 + ac_status=$?
12.3107 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3108 + (exit $ac_status); }
12.3109 +{ (ac_try="$ac_compiler -v >&5"
12.3110 +case "(($ac_try" in
12.3111 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3112 + *) ac_try_echo=$ac_try;;
12.3113 +esac
12.3114 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3115 + (eval "$ac_compiler -v >&5") 2>&5
12.3116 + ac_status=$?
12.3117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3118 + (exit $ac_status); }
12.3119 +{ (ac_try="$ac_compiler -V >&5"
12.3120 +case "(($ac_try" in
12.3121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3122 + *) ac_try_echo=$ac_try;;
12.3123 +esac
12.3124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3125 + (eval "$ac_compiler -V >&5") 2>&5
12.3126 + ac_status=$?
12.3127 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3128 + (exit $ac_status); }
12.3129 +
12.3130 +cat >conftest.$ac_ext <<_ACEOF
12.3131 +/* confdefs.h. */
12.3132 +_ACEOF
12.3133 +cat confdefs.h >>conftest.$ac_ext
12.3134 +cat >>conftest.$ac_ext <<_ACEOF
12.3135 +/* end confdefs.h. */
12.3136 +
12.3137 +int
12.3138 +main ()
12.3139 +{
12.3140 +
12.3141 + ;
12.3142 + return 0;
12.3143 +}
12.3144 +_ACEOF
12.3145 +ac_clean_files_save=$ac_clean_files
12.3146 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
12.3147 +# Try to create an executable without -o first, disregard a.out.
12.3148 +# It will help us diagnose broken compilers, and finding out an intuition
12.3149 +# of exeext.
12.3150 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12.3151 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
12.3152 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12.3153 +#
12.3154 +# List of possible output files, starting from the most likely.
12.3155 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
12.3156 +# only as a last resort. b.out is created by i960 compilers.
12.3157 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
12.3158 +#
12.3159 +# The IRIX 6 linker writes into existing files which may not be
12.3160 +# executable, retaining their permissions. Remove them first so a
12.3161 +# subsequent execution test works.
12.3162 +ac_rmfiles=
12.3163 +for ac_file in $ac_files
12.3164 +do
12.3165 + case $ac_file in
12.3166 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
12.3167 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
12.3168 + esac
12.3169 +done
12.3170 +rm -f $ac_rmfiles
12.3171 +
12.3172 +if { (ac_try="$ac_link_default"
12.3173 +case "(($ac_try" in
12.3174 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3175 + *) ac_try_echo=$ac_try;;
12.3176 +esac
12.3177 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3178 + (eval "$ac_link_default") 2>&5
12.3179 + ac_status=$?
12.3180 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3181 + (exit $ac_status); }; then
12.3182 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
12.3183 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
12.3184 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
12.3185 +# so that the user can short-circuit this test for compilers unknown to
12.3186 +# Autoconf.
12.3187 +for ac_file in $ac_files ''
12.3188 +do
12.3189 + test -f "$ac_file" || continue
12.3190 + case $ac_file in
12.3191 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
12.3192 + ;;
12.3193 + [ab].out )
12.3194 + # We found the default executable, but exeext='' is most
12.3195 + # certainly right.
12.3196 + break;;
12.3197 + *.* )
12.3198 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
12.3199 + then :; else
12.3200 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12.3201 + fi
12.3202 + # We set ac_cv_exeext here because the later test for it is not
12.3203 + # safe: cross compilers may not add the suffix if given an `-o'
12.3204 + # argument, so we may need to know it at that point already.
12.3205 + # Even if this section looks crufty: it has the advantage of
12.3206 + # actually working.
12.3207 + break;;
12.3208 + * )
12.3209 + break;;
12.3210 + esac
12.3211 +done
12.3212 +test "$ac_cv_exeext" = no && ac_cv_exeext=
12.3213 +
12.3214 +else
12.3215 + ac_file=''
12.3216 +fi
12.3217 +
12.3218 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
12.3219 +echo "${ECHO_T}$ac_file" >&6; }
12.3220 +if test -z "$ac_file"; then
12.3221 + echo "$as_me: failed program was:" >&5
12.3222 +sed 's/^/| /' conftest.$ac_ext >&5
12.3223 +
12.3224 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
12.3225 +See \`config.log' for more details." >&5
12.3226 +echo "$as_me: error: C compiler cannot create executables
12.3227 +See \`config.log' for more details." >&2;}
12.3228 + { (exit 77); exit 77; }; }
12.3229 +fi
12.3230 +
12.3231 +ac_exeext=$ac_cv_exeext
12.3232 +
12.3233 +# Check that the compiler produces executables we can run. If not, either
12.3234 +# the compiler is broken, or we cross compile.
12.3235 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12.3236 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
12.3237 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12.3238 +# If not cross compiling, check that we can run a simple program.
12.3239 +if test "$cross_compiling" != yes; then
12.3240 + if { ac_try='./$ac_file'
12.3241 + { (case "(($ac_try" in
12.3242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3243 + *) ac_try_echo=$ac_try;;
12.3244 +esac
12.3245 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3246 + (eval "$ac_try") 2>&5
12.3247 + ac_status=$?
12.3248 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3249 + (exit $ac_status); }; }; then
12.3250 + cross_compiling=no
12.3251 + else
12.3252 + if test "$cross_compiling" = maybe; then
12.3253 + cross_compiling=yes
12.3254 + else
12.3255 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12.3256 +If you meant to cross compile, use \`--host'.
12.3257 +See \`config.log' for more details." >&5
12.3258 +echo "$as_me: error: cannot run C compiled programs.
12.3259 +If you meant to cross compile, use \`--host'.
12.3260 +See \`config.log' for more details." >&2;}
12.3261 + { (exit 1); exit 1; }; }
12.3262 + fi
12.3263 + fi
12.3264 +fi
12.3265 +{ echo "$as_me:$LINENO: result: yes" >&5
12.3266 +echo "${ECHO_T}yes" >&6; }
12.3267 +
12.3268 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
12.3269 +ac_clean_files=$ac_clean_files_save
12.3270 +# Check that the compiler produces executables we can run. If not, either
12.3271 +# the compiler is broken, or we cross compile.
12.3272 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12.3273 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
12.3274 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
12.3275 +echo "${ECHO_T}$cross_compiling" >&6; }
12.3276 +
12.3277 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
12.3278 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
12.3279 +if { (ac_try="$ac_link"
12.3280 +case "(($ac_try" in
12.3281 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3282 + *) ac_try_echo=$ac_try;;
12.3283 +esac
12.3284 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3285 + (eval "$ac_link") 2>&5
12.3286 + ac_status=$?
12.3287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3288 + (exit $ac_status); }; then
12.3289 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
12.3290 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12.3291 +# work properly (i.e., refer to `conftest.exe'), while it won't with
12.3292 +# `rm'.
12.3293 +for ac_file in conftest.exe conftest conftest.*; do
12.3294 + test -f "$ac_file" || continue
12.3295 + case $ac_file in
12.3296 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
12.3297 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12.3298 + break;;
12.3299 + * ) break;;
12.3300 + esac
12.3301 +done
12.3302 +else
12.3303 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12.3304 +See \`config.log' for more details." >&5
12.3305 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12.3306 +See \`config.log' for more details." >&2;}
12.3307 + { (exit 1); exit 1; }; }
12.3308 +fi
12.3309 +
12.3310 +rm -f conftest$ac_cv_exeext
12.3311 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12.3312 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
12.3313 +
12.3314 +rm -f conftest.$ac_ext
12.3315 +EXEEXT=$ac_cv_exeext
12.3316 +ac_exeext=$EXEEXT
12.3317 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
12.3318 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
12.3319 +if test "${ac_cv_objext+set}" = set; then
12.3320 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3321 +else
12.3322 + cat >conftest.$ac_ext <<_ACEOF
12.3323 +/* confdefs.h. */
12.3324 +_ACEOF
12.3325 +cat confdefs.h >>conftest.$ac_ext
12.3326 +cat >>conftest.$ac_ext <<_ACEOF
12.3327 +/* end confdefs.h. */
12.3328 +
12.3329 +int
12.3330 +main ()
12.3331 +{
12.3332 +
12.3333 + ;
12.3334 + return 0;
12.3335 +}
12.3336 +_ACEOF
12.3337 +rm -f conftest.o conftest.obj
12.3338 +if { (ac_try="$ac_compile"
12.3339 +case "(($ac_try" in
12.3340 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3341 + *) ac_try_echo=$ac_try;;
12.3342 +esac
12.3343 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3344 + (eval "$ac_compile") 2>&5
12.3345 + ac_status=$?
12.3346 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3347 + (exit $ac_status); }; then
12.3348 + for ac_file in conftest.o conftest.obj conftest.*; do
12.3349 + test -f "$ac_file" || continue;
12.3350 + case $ac_file in
12.3351 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
12.3352 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12.3353 + break;;
12.3354 + esac
12.3355 +done
12.3356 +else
12.3357 + echo "$as_me: failed program was:" >&5
12.3358 +sed 's/^/| /' conftest.$ac_ext >&5
12.3359 +
12.3360 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12.3361 +See \`config.log' for more details." >&5
12.3362 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
12.3363 +See \`config.log' for more details." >&2;}
12.3364 + { (exit 1); exit 1; }; }
12.3365 +fi
12.3366 +
12.3367 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
12.3368 +fi
12.3369 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12.3370 +echo "${ECHO_T}$ac_cv_objext" >&6; }
12.3371 +OBJEXT=$ac_cv_objext
12.3372 +ac_objext=$OBJEXT
12.3373 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12.3374 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
12.3375 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
12.3376 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3377 +else
12.3378 + cat >conftest.$ac_ext <<_ACEOF
12.3379 +/* confdefs.h. */
12.3380 +_ACEOF
12.3381 +cat confdefs.h >>conftest.$ac_ext
12.3382 +cat >>conftest.$ac_ext <<_ACEOF
12.3383 +/* end confdefs.h. */
12.3384 +
12.3385 +int
12.3386 +main ()
12.3387 +{
12.3388 +#ifndef __GNUC__
12.3389 + choke me
12.3390 +#endif
12.3391 +
12.3392 + ;
12.3393 + return 0;
12.3394 +}
12.3395 +_ACEOF
12.3396 +rm -f conftest.$ac_objext
12.3397 +if { (ac_try="$ac_compile"
12.3398 +case "(($ac_try" in
12.3399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3400 + *) ac_try_echo=$ac_try;;
12.3401 +esac
12.3402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3403 + (eval "$ac_compile") 2>conftest.er1
12.3404 + ac_status=$?
12.3405 + grep -v '^ *+' conftest.er1 >conftest.err
12.3406 + rm -f conftest.er1
12.3407 + cat conftest.err >&5
12.3408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3409 + (exit $ac_status); } && {
12.3410 + test -z "$ac_c_werror_flag" ||
12.3411 + test ! -s conftest.err
12.3412 + } && test -s conftest.$ac_objext; then
12.3413 + ac_compiler_gnu=yes
12.3414 +else
12.3415 + echo "$as_me: failed program was:" >&5
12.3416 +sed 's/^/| /' conftest.$ac_ext >&5
12.3417 +
12.3418 + ac_compiler_gnu=no
12.3419 +fi
12.3420 +
12.3421 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.3422 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
12.3423 +
12.3424 +fi
12.3425 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12.3426 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
12.3427 +GCC=`test $ac_compiler_gnu = yes && echo yes`
12.3428 +ac_test_CFLAGS=${CFLAGS+set}
12.3429 +ac_save_CFLAGS=$CFLAGS
12.3430 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12.3431 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
12.3432 +if test "${ac_cv_prog_cc_g+set}" = set; then
12.3433 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3434 +else
12.3435 + ac_save_c_werror_flag=$ac_c_werror_flag
12.3436 + ac_c_werror_flag=yes
12.3437 + ac_cv_prog_cc_g=no
12.3438 + CFLAGS="-g"
12.3439 + cat >conftest.$ac_ext <<_ACEOF
12.3440 +/* confdefs.h. */
12.3441 +_ACEOF
12.3442 +cat confdefs.h >>conftest.$ac_ext
12.3443 +cat >>conftest.$ac_ext <<_ACEOF
12.3444 +/* end confdefs.h. */
12.3445 +
12.3446 +int
12.3447 +main ()
12.3448 +{
12.3449 +
12.3450 + ;
12.3451 + return 0;
12.3452 +}
12.3453 +_ACEOF
12.3454 +rm -f conftest.$ac_objext
12.3455 +if { (ac_try="$ac_compile"
12.3456 +case "(($ac_try" in
12.3457 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3458 + *) ac_try_echo=$ac_try;;
12.3459 +esac
12.3460 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3461 + (eval "$ac_compile") 2>conftest.er1
12.3462 + ac_status=$?
12.3463 + grep -v '^ *+' conftest.er1 >conftest.err
12.3464 + rm -f conftest.er1
12.3465 + cat conftest.err >&5
12.3466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3467 + (exit $ac_status); } && {
12.3468 + test -z "$ac_c_werror_flag" ||
12.3469 + test ! -s conftest.err
12.3470 + } && test -s conftest.$ac_objext; then
12.3471 + ac_cv_prog_cc_g=yes
12.3472 +else
12.3473 + echo "$as_me: failed program was:" >&5
12.3474 +sed 's/^/| /' conftest.$ac_ext >&5
12.3475 +
12.3476 + CFLAGS=""
12.3477 + cat >conftest.$ac_ext <<_ACEOF
12.3478 +/* confdefs.h. */
12.3479 +_ACEOF
12.3480 +cat confdefs.h >>conftest.$ac_ext
12.3481 +cat >>conftest.$ac_ext <<_ACEOF
12.3482 +/* end confdefs.h. */
12.3483 +
12.3484 +int
12.3485 +main ()
12.3486 +{
12.3487 +
12.3488 + ;
12.3489 + return 0;
12.3490 +}
12.3491 +_ACEOF
12.3492 +rm -f conftest.$ac_objext
12.3493 +if { (ac_try="$ac_compile"
12.3494 +case "(($ac_try" in
12.3495 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3496 + *) ac_try_echo=$ac_try;;
12.3497 +esac
12.3498 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3499 + (eval "$ac_compile") 2>conftest.er1
12.3500 + ac_status=$?
12.3501 + grep -v '^ *+' conftest.er1 >conftest.err
12.3502 + rm -f conftest.er1
12.3503 + cat conftest.err >&5
12.3504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3505 + (exit $ac_status); } && {
12.3506 + test -z "$ac_c_werror_flag" ||
12.3507 + test ! -s conftest.err
12.3508 + } && test -s conftest.$ac_objext; then
12.3509 + :
12.3510 +else
12.3511 + echo "$as_me: failed program was:" >&5
12.3512 +sed 's/^/| /' conftest.$ac_ext >&5
12.3513 +
12.3514 + ac_c_werror_flag=$ac_save_c_werror_flag
12.3515 + CFLAGS="-g"
12.3516 + cat >conftest.$ac_ext <<_ACEOF
12.3517 +/* confdefs.h. */
12.3518 +_ACEOF
12.3519 +cat confdefs.h >>conftest.$ac_ext
12.3520 +cat >>conftest.$ac_ext <<_ACEOF
12.3521 +/* end confdefs.h. */
12.3522 +
12.3523 +int
12.3524 +main ()
12.3525 +{
12.3526 +
12.3527 + ;
12.3528 + return 0;
12.3529 +}
12.3530 +_ACEOF
12.3531 +rm -f conftest.$ac_objext
12.3532 +if { (ac_try="$ac_compile"
12.3533 +case "(($ac_try" in
12.3534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3535 + *) ac_try_echo=$ac_try;;
12.3536 +esac
12.3537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3538 + (eval "$ac_compile") 2>conftest.er1
12.3539 + ac_status=$?
12.3540 + grep -v '^ *+' conftest.er1 >conftest.err
12.3541 + rm -f conftest.er1
12.3542 + cat conftest.err >&5
12.3543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3544 + (exit $ac_status); } && {
12.3545 + test -z "$ac_c_werror_flag" ||
12.3546 + test ! -s conftest.err
12.3547 + } && test -s conftest.$ac_objext; then
12.3548 + ac_cv_prog_cc_g=yes
12.3549 +else
12.3550 + echo "$as_me: failed program was:" >&5
12.3551 +sed 's/^/| /' conftest.$ac_ext >&5
12.3552 +
12.3553 +
12.3554 +fi
12.3555 +
12.3556 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.3557 +fi
12.3558 +
12.3559 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.3560 +fi
12.3561 +
12.3562 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.3563 + ac_c_werror_flag=$ac_save_c_werror_flag
12.3564 +fi
12.3565 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12.3566 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
12.3567 +if test "$ac_test_CFLAGS" = set; then
12.3568 + CFLAGS=$ac_save_CFLAGS
12.3569 +elif test $ac_cv_prog_cc_g = yes; then
12.3570 + if test "$GCC" = yes; then
12.3571 + CFLAGS="-g -O2"
12.3572 + else
12.3573 + CFLAGS="-g"
12.3574 + fi
12.3575 +else
12.3576 + if test "$GCC" = yes; then
12.3577 + CFLAGS="-O2"
12.3578 + else
12.3579 + CFLAGS=
12.3580 + fi
12.3581 +fi
12.3582 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12.3583 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
12.3584 +if test "${ac_cv_prog_cc_c89+set}" = set; then
12.3585 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3586 +else
12.3587 + ac_cv_prog_cc_c89=no
12.3588 +ac_save_CC=$CC
12.3589 +cat >conftest.$ac_ext <<_ACEOF
12.3590 +/* confdefs.h. */
12.3591 +_ACEOF
12.3592 +cat confdefs.h >>conftest.$ac_ext
12.3593 +cat >>conftest.$ac_ext <<_ACEOF
12.3594 +/* end confdefs.h. */
12.3595 +#include <stdarg.h>
12.3596 +#include <stdio.h>
12.3597 +#include <sys/types.h>
12.3598 +#include <sys/stat.h>
12.3599 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12.3600 +struct buf { int x; };
12.3601 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
12.3602 +static char *e (p, i)
12.3603 + char **p;
12.3604 + int i;
12.3605 +{
12.3606 + return p[i];
12.3607 +}
12.3608 +static char *f (char * (*g) (char **, int), char **p, ...)
12.3609 +{
12.3610 + char *s;
12.3611 + va_list v;
12.3612 + va_start (v,p);
12.3613 + s = g (p, va_arg (v,int));
12.3614 + va_end (v);
12.3615 + return s;
12.3616 +}
12.3617 +
12.3618 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12.3619 + function prototypes and stuff, but not '\xHH' hex character constants.
12.3620 + These don't provoke an error unfortunately, instead are silently treated
12.3621 + as 'x'. The following induces an error, until -std is added to get
12.3622 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12.3623 + array size at least. It's necessary to write '\x00'==0 to get something
12.3624 + that's true only with -std. */
12.3625 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12.3626 +
12.3627 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12.3628 + inside strings and character constants. */
12.3629 +#define FOO(x) 'x'
12.3630 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12.3631 +
12.3632 +int test (int i, double x);
12.3633 +struct s1 {int (*f) (int a);};
12.3634 +struct s2 {int (*f) (double a);};
12.3635 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12.3636 +int argc;
12.3637 +char **argv;
12.3638 +int
12.3639 +main ()
12.3640 +{
12.3641 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12.3642 + ;
12.3643 + return 0;
12.3644 +}
12.3645 +_ACEOF
12.3646 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12.3647 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12.3648 +do
12.3649 + CC="$ac_save_CC $ac_arg"
12.3650 + rm -f conftest.$ac_objext
12.3651 +if { (ac_try="$ac_compile"
12.3652 +case "(($ac_try" in
12.3653 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.3654 + *) ac_try_echo=$ac_try;;
12.3655 +esac
12.3656 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.3657 + (eval "$ac_compile") 2>conftest.er1
12.3658 + ac_status=$?
12.3659 + grep -v '^ *+' conftest.er1 >conftest.err
12.3660 + rm -f conftest.er1
12.3661 + cat conftest.err >&5
12.3662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.3663 + (exit $ac_status); } && {
12.3664 + test -z "$ac_c_werror_flag" ||
12.3665 + test ! -s conftest.err
12.3666 + } && test -s conftest.$ac_objext; then
12.3667 + ac_cv_prog_cc_c89=$ac_arg
12.3668 +else
12.3669 + echo "$as_me: failed program was:" >&5
12.3670 +sed 's/^/| /' conftest.$ac_ext >&5
12.3671 +
12.3672 +
12.3673 +fi
12.3674 +
12.3675 +rm -f core conftest.err conftest.$ac_objext
12.3676 + test "x$ac_cv_prog_cc_c89" != "xno" && break
12.3677 +done
12.3678 +rm -f conftest.$ac_ext
12.3679 +CC=$ac_save_CC
12.3680 +
12.3681 +fi
12.3682 +# AC_CACHE_VAL
12.3683 +case "x$ac_cv_prog_cc_c89" in
12.3684 + x)
12.3685 + { echo "$as_me:$LINENO: result: none needed" >&5
12.3686 +echo "${ECHO_T}none needed" >&6; } ;;
12.3687 + xno)
12.3688 + { echo "$as_me:$LINENO: result: unsupported" >&5
12.3689 +echo "${ECHO_T}unsupported" >&6; } ;;
12.3690 + *)
12.3691 + CC="$CC $ac_cv_prog_cc_c89"
12.3692 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12.3693 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
12.3694 +esac
12.3695 +
12.3696 +
12.3697 +ac_ext=c
12.3698 +ac_cpp='$CPP $CPPFLAGS'
12.3699 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.3700 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.3701 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.3702 +
12.3703 +depcc="$CC" am_compiler_list=
12.3704 +
12.3705 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12.3706 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12.3707 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12.3708 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3709 +else
12.3710 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12.3711 + # We make a subdir and do the tests there. Otherwise we can end up
12.3712 + # making bogus files that we don't know about and never remove. For
12.3713 + # instance it was reported that on HP-UX the gcc test will end up
12.3714 + # making a dummy file named `D' -- because `-MD' means `put the output
12.3715 + # in D'.
12.3716 + mkdir conftest.dir
12.3717 + # Copy depcomp to subdir because otherwise we won't find it if we're
12.3718 + # using a relative directory.
12.3719 + cp "$am_depcomp" conftest.dir
12.3720 + cd conftest.dir
12.3721 + # We will build objects and dependencies in a subdirectory because
12.3722 + # it helps to detect inapplicable dependency modes. For instance
12.3723 + # both Tru64's cc and ICC support -MD to output dependencies as a
12.3724 + # side effect of compilation, but ICC will put the dependencies in
12.3725 + # the current directory while Tru64 will put them in the object
12.3726 + # directory.
12.3727 + mkdir sub
12.3728 +
12.3729 + am_cv_CC_dependencies_compiler_type=none
12.3730 + if test "$am_compiler_list" = ""; then
12.3731 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12.3732 + fi
12.3733 + for depmode in $am_compiler_list; do
12.3734 + # Setup a source with many dependencies, because some compilers
12.3735 + # like to wrap large dependency lists on column 80 (with \), and
12.3736 + # we should not choose a depcomp mode which is confused by this.
12.3737 + #
12.3738 + # We need to recreate these files for each test, as the compiler may
12.3739 + # overwrite some of them when testing with obscure command lines.
12.3740 + # This happens at least with the AIX C compiler.
12.3741 + : > sub/conftest.c
12.3742 + for i in 1 2 3 4 5 6; do
12.3743 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12.3744 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12.3745 + # Solaris 8's {/usr,}/bin/sh.
12.3746 + touch sub/conftst$i.h
12.3747 + done
12.3748 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12.3749 +
12.3750 + case $depmode in
12.3751 + nosideeffect)
12.3752 + # after this tag, mechanisms are not by side-effect, so they'll
12.3753 + # only be used when explicitly requested
12.3754 + if test "x$enable_dependency_tracking" = xyes; then
12.3755 + continue
12.3756 + else
12.3757 + break
12.3758 + fi
12.3759 + ;;
12.3760 + none) break ;;
12.3761 + esac
12.3762 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12.3763 + # mode. It turns out that the SunPro C++ compiler does not properly
12.3764 + # handle `-M -o', and we need to detect this.
12.3765 + if depmode=$depmode \
12.3766 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12.3767 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12.3768 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12.3769 + >/dev/null 2>conftest.err &&
12.3770 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12.3771 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12.3772 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12.3773 + # icc doesn't choke on unknown options, it will just issue warnings
12.3774 + # or remarks (even with -Werror). So we grep stderr for any message
12.3775 + # that says an option was ignored or not supported.
12.3776 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12.3777 + # icc: Command line warning: ignoring option '-M'; no argument required
12.3778 + # The diagnosis changed in icc 8.0:
12.3779 + # icc: Command line remark: option '-MP' not supported
12.3780 + if (grep 'ignoring option' conftest.err ||
12.3781 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12.3782 + am_cv_CC_dependencies_compiler_type=$depmode
12.3783 + break
12.3784 + fi
12.3785 + fi
12.3786 + done
12.3787 +
12.3788 + cd ..
12.3789 + rm -rf conftest.dir
12.3790 +else
12.3791 + am_cv_CC_dependencies_compiler_type=none
12.3792 +fi
12.3793 +
12.3794 +fi
12.3795 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12.3796 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
12.3797 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12.3798 +
12.3799 +
12.3800 +
12.3801 +if
12.3802 + test "x$enable_dependency_tracking" != xno \
12.3803 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12.3804 + am__fastdepCC_TRUE=
12.3805 + am__fastdepCC_FALSE='#'
12.3806 +else
12.3807 + am__fastdepCC_TRUE='#'
12.3808 + am__fastdepCC_FALSE=
12.3809 +fi
12.3810 +
12.3811 +
12.3812 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12.3813 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
12.3814 +if test "${lt_cv_path_SED+set}" = set; then
12.3815 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3816 +else
12.3817 + # Loop through the user's path and test for sed and gsed.
12.3818 +# Then use that list of sed's as ones to test for truncation.
12.3819 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.3820 +for as_dir in $PATH
12.3821 +do
12.3822 + IFS=$as_save_IFS
12.3823 + test -z "$as_dir" && as_dir=.
12.3824 + for lt_ac_prog in sed gsed; do
12.3825 + for ac_exec_ext in '' $ac_executable_extensions; do
12.3826 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12.3827 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12.3828 + fi
12.3829 + done
12.3830 + done
12.3831 +done
12.3832 +lt_ac_max=0
12.3833 +lt_ac_count=0
12.3834 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
12.3835 +# along with /bin/sed that truncates output.
12.3836 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12.3837 + test ! -f $lt_ac_sed && break
12.3838 + cat /dev/null > conftest.in
12.3839 + lt_ac_count=0
12.3840 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12.3841 + # Check for GNU sed and select it if it is found.
12.3842 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12.3843 + lt_cv_path_SED=$lt_ac_sed
12.3844 + break
12.3845 + fi
12.3846 + while true; do
12.3847 + cat conftest.in conftest.in >conftest.tmp
12.3848 + mv conftest.tmp conftest.in
12.3849 + cp conftest.in conftest.nl
12.3850 + echo >>conftest.nl
12.3851 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12.3852 + cmp -s conftest.out conftest.nl || break
12.3853 + # 10000 chars as input seems more than enough
12.3854 + test $lt_ac_count -gt 10 && break
12.3855 + lt_ac_count=`expr $lt_ac_count + 1`
12.3856 + if test $lt_ac_count -gt $lt_ac_max; then
12.3857 + lt_ac_max=$lt_ac_count
12.3858 + lt_cv_path_SED=$lt_ac_sed
12.3859 + fi
12.3860 + done
12.3861 +done
12.3862 +SED=$lt_cv_path_SED
12.3863 +
12.3864 +fi
12.3865 +
12.3866 +{ echo "$as_me:$LINENO: result: $SED" >&5
12.3867 +echo "${ECHO_T}$SED" >&6; }
12.3868 +
12.3869 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
12.3870 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
12.3871 +if test "${ac_cv_path_GREP+set}" = set; then
12.3872 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3873 +else
12.3874 + # Extract the first word of "grep ggrep" to use in msg output
12.3875 +if test -z "$GREP"; then
12.3876 +set dummy grep ggrep; ac_prog_name=$2
12.3877 +if test "${ac_cv_path_GREP+set}" = set; then
12.3878 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3879 +else
12.3880 + ac_path_GREP_found=false
12.3881 +# Loop through the user's path and test for each of PROGNAME-LIST
12.3882 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.3883 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12.3884 +do
12.3885 + IFS=$as_save_IFS
12.3886 + test -z "$as_dir" && as_dir=.
12.3887 + for ac_prog in grep ggrep; do
12.3888 + for ac_exec_ext in '' $ac_executable_extensions; do
12.3889 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
12.3890 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
12.3891 + # Check for GNU ac_path_GREP and select it if it is found.
12.3892 + # Check for GNU $ac_path_GREP
12.3893 +case `"$ac_path_GREP" --version 2>&1` in
12.3894 +*GNU*)
12.3895 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
12.3896 +*)
12.3897 + ac_count=0
12.3898 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
12.3899 + while :
12.3900 + do
12.3901 + cat "conftest.in" "conftest.in" >"conftest.tmp"
12.3902 + mv "conftest.tmp" "conftest.in"
12.3903 + cp "conftest.in" "conftest.nl"
12.3904 + echo 'GREP' >> "conftest.nl"
12.3905 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12.3906 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12.3907 + ac_count=`expr $ac_count + 1`
12.3908 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
12.3909 + # Best one so far, save it but keep looking for a better one
12.3910 + ac_cv_path_GREP="$ac_path_GREP"
12.3911 + ac_path_GREP_max=$ac_count
12.3912 + fi
12.3913 + # 10*(2^10) chars as input seems more than enough
12.3914 + test $ac_count -gt 10 && break
12.3915 + done
12.3916 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12.3917 +esac
12.3918 +
12.3919 +
12.3920 + $ac_path_GREP_found && break 3
12.3921 + done
12.3922 +done
12.3923 +
12.3924 +done
12.3925 +IFS=$as_save_IFS
12.3926 +
12.3927 +
12.3928 +fi
12.3929 +
12.3930 +GREP="$ac_cv_path_GREP"
12.3931 +if test -z "$GREP"; then
12.3932 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
12.3933 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
12.3934 + { (exit 1); exit 1; }; }
12.3935 +fi
12.3936 +
12.3937 +else
12.3938 + ac_cv_path_GREP=$GREP
12.3939 +fi
12.3940 +
12.3941 +
12.3942 +fi
12.3943 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
12.3944 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
12.3945 + GREP="$ac_cv_path_GREP"
12.3946 +
12.3947 +
12.3948 +{ echo "$as_me:$LINENO: checking for egrep" >&5
12.3949 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
12.3950 +if test "${ac_cv_path_EGREP+set}" = set; then
12.3951 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3952 +else
12.3953 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
12.3954 + then ac_cv_path_EGREP="$GREP -E"
12.3955 + else
12.3956 + # Extract the first word of "egrep" to use in msg output
12.3957 +if test -z "$EGREP"; then
12.3958 +set dummy egrep; ac_prog_name=$2
12.3959 +if test "${ac_cv_path_EGREP+set}" = set; then
12.3960 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.3961 +else
12.3962 + ac_path_EGREP_found=false
12.3963 +# Loop through the user's path and test for each of PROGNAME-LIST
12.3964 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.3965 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12.3966 +do
12.3967 + IFS=$as_save_IFS
12.3968 + test -z "$as_dir" && as_dir=.
12.3969 + for ac_prog in egrep; do
12.3970 + for ac_exec_ext in '' $ac_executable_extensions; do
12.3971 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
12.3972 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
12.3973 + # Check for GNU ac_path_EGREP and select it if it is found.
12.3974 + # Check for GNU $ac_path_EGREP
12.3975 +case `"$ac_path_EGREP" --version 2>&1` in
12.3976 +*GNU*)
12.3977 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
12.3978 +*)
12.3979 + ac_count=0
12.3980 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
12.3981 + while :
12.3982 + do
12.3983 + cat "conftest.in" "conftest.in" >"conftest.tmp"
12.3984 + mv "conftest.tmp" "conftest.in"
12.3985 + cp "conftest.in" "conftest.nl"
12.3986 + echo 'EGREP' >> "conftest.nl"
12.3987 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12.3988 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12.3989 + ac_count=`expr $ac_count + 1`
12.3990 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
12.3991 + # Best one so far, save it but keep looking for a better one
12.3992 + ac_cv_path_EGREP="$ac_path_EGREP"
12.3993 + ac_path_EGREP_max=$ac_count
12.3994 + fi
12.3995 + # 10*(2^10) chars as input seems more than enough
12.3996 + test $ac_count -gt 10 && break
12.3997 + done
12.3998 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12.3999 +esac
12.4000 +
12.4001 +
12.4002 + $ac_path_EGREP_found && break 3
12.4003 + done
12.4004 +done
12.4005 +
12.4006 +done
12.4007 +IFS=$as_save_IFS
12.4008 +
12.4009 +
12.4010 +fi
12.4011 +
12.4012 +EGREP="$ac_cv_path_EGREP"
12.4013 +if test -z "$EGREP"; then
12.4014 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
12.4015 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
12.4016 + { (exit 1); exit 1; }; }
12.4017 +fi
12.4018 +
12.4019 +else
12.4020 + ac_cv_path_EGREP=$EGREP
12.4021 +fi
12.4022 +
12.4023 +
12.4024 + fi
12.4025 +fi
12.4026 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
12.4027 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
12.4028 + EGREP="$ac_cv_path_EGREP"
12.4029 +
12.4030 +
12.4031 +
12.4032 +# Check whether --with-gnu-ld was given.
12.4033 +if test "${with_gnu_ld+set}" = set; then
12.4034 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12.4035 +else
12.4036 + with_gnu_ld=no
12.4037 +fi
12.4038 +
12.4039 +ac_prog=ld
12.4040 +if test "$GCC" = yes; then
12.4041 + # Check if gcc -print-prog-name=ld gives a path.
12.4042 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12.4043 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12.4044 + case $host in
12.4045 + *-*-mingw*)
12.4046 + # gcc leaves a trailing carriage return which upsets mingw
12.4047 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12.4048 + *)
12.4049 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12.4050 + esac
12.4051 + case $ac_prog in
12.4052 + # Accept absolute paths.
12.4053 + [\\/]* | ?:[\\/]*)
12.4054 + re_direlt='/[^/][^/]*/\.\./'
12.4055 + # Canonicalize the pathname of ld
12.4056 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12.4057 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12.4058 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12.4059 + done
12.4060 + test -z "$LD" && LD="$ac_prog"
12.4061 + ;;
12.4062 + "")
12.4063 + # If it fails, then pretend we aren't using GCC.
12.4064 + ac_prog=ld
12.4065 + ;;
12.4066 + *)
12.4067 + # If it is relative, then search for the first ld in PATH.
12.4068 + with_gnu_ld=unknown
12.4069 + ;;
12.4070 + esac
12.4071 +elif test "$with_gnu_ld" = yes; then
12.4072 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
12.4073 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12.4074 +else
12.4075 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12.4076 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12.4077 +fi
12.4078 +if test "${lt_cv_path_LD+set}" = set; then
12.4079 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4080 +else
12.4081 + if test -z "$LD"; then
12.4082 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12.4083 + for ac_dir in $PATH; do
12.4084 + IFS="$lt_save_ifs"
12.4085 + test -z "$ac_dir" && ac_dir=.
12.4086 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12.4087 + lt_cv_path_LD="$ac_dir/$ac_prog"
12.4088 + # Check to see if the program is GNU ld. I'd rather use --version,
12.4089 + # but apparently some GNU ld's only accept -v.
12.4090 + # Break only if it was the GNU/non-GNU ld that we prefer.
12.4091 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12.4092 + *GNU* | *'with BFD'*)
12.4093 + test "$with_gnu_ld" != no && break
12.4094 + ;;
12.4095 + *)
12.4096 + test "$with_gnu_ld" != yes && break
12.4097 + ;;
12.4098 + esac
12.4099 + fi
12.4100 + done
12.4101 + IFS="$lt_save_ifs"
12.4102 +else
12.4103 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
12.4104 +fi
12.4105 +fi
12.4106 +
12.4107 +LD="$lt_cv_path_LD"
12.4108 +if test -n "$LD"; then
12.4109 + { echo "$as_me:$LINENO: result: $LD" >&5
12.4110 +echo "${ECHO_T}$LD" >&6; }
12.4111 +else
12.4112 + { echo "$as_me:$LINENO: result: no" >&5
12.4113 +echo "${ECHO_T}no" >&6; }
12.4114 +fi
12.4115 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12.4116 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12.4117 + { (exit 1); exit 1; }; }
12.4118 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12.4119 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12.4120 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
12.4121 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4122 +else
12.4123 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12.4124 +case `$LD -v 2>&1 </dev/null` in
12.4125 +*GNU* | *'with BFD'*)
12.4126 + lt_cv_prog_gnu_ld=yes
12.4127 + ;;
12.4128 +*)
12.4129 + lt_cv_prog_gnu_ld=no
12.4130 + ;;
12.4131 +esac
12.4132 +fi
12.4133 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12.4134 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12.4135 +with_gnu_ld=$lt_cv_prog_gnu_ld
12.4136 +
12.4137 +
12.4138 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12.4139 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12.4140 +if test "${lt_cv_ld_reload_flag+set}" = set; then
12.4141 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4142 +else
12.4143 + lt_cv_ld_reload_flag='-r'
12.4144 +fi
12.4145 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12.4146 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12.4147 +reload_flag=$lt_cv_ld_reload_flag
12.4148 +case $reload_flag in
12.4149 +"" | " "*) ;;
12.4150 +*) reload_flag=" $reload_flag" ;;
12.4151 +esac
12.4152 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
12.4153 +
12.4154 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12.4155 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12.4156 +if test "${lt_cv_path_NM+set}" = set; then
12.4157 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4158 +else
12.4159 + if test -n "$NM"; then
12.4160 + # Let the user override the test.
12.4161 + lt_cv_path_NM="$NM"
12.4162 +else
12.4163 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12.4164 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
12.4165 + IFS="$lt_save_ifs"
12.4166 + test -z "$ac_dir" && ac_dir=.
12.4167 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
12.4168 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12.4169 + # Check to see if the nm accepts a BSD-compat flag.
12.4170 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12.4171 + # nm: unknown option "B" ignored
12.4172 + # Tru64's nm complains that /dev/null is an invalid object file
12.4173 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12.4174 + */dev/null* | *'Invalid file or object type'*)
12.4175 + lt_cv_path_NM="$tmp_nm -B"
12.4176 + break
12.4177 + ;;
12.4178 + *)
12.4179 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12.4180 + */dev/null*)
12.4181 + lt_cv_path_NM="$tmp_nm -p"
12.4182 + break
12.4183 + ;;
12.4184 + *)
12.4185 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12.4186 + continue # so that we can try to find one that supports BSD flags
12.4187 + ;;
12.4188 + esac
12.4189 + esac
12.4190 + fi
12.4191 + done
12.4192 + IFS="$lt_save_ifs"
12.4193 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12.4194 +fi
12.4195 +fi
12.4196 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12.4197 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12.4198 +NM="$lt_cv_path_NM"
12.4199 +
12.4200 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
12.4201 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
12.4202 +LN_S=$as_ln_s
12.4203 +if test "$LN_S" = "ln -s"; then
12.4204 + { echo "$as_me:$LINENO: result: yes" >&5
12.4205 +echo "${ECHO_T}yes" >&6; }
12.4206 +else
12.4207 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12.4208 +echo "${ECHO_T}no, using $LN_S" >&6; }
12.4209 +fi
12.4210 +
12.4211 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
12.4212 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
12.4213 +if test "${lt_cv_deplibs_check_method+set}" = set; then
12.4214 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4215 +else
12.4216 + lt_cv_file_magic_cmd='$MAGIC_CMD'
12.4217 +lt_cv_file_magic_test_file=
12.4218 +lt_cv_deplibs_check_method='unknown'
12.4219 +# Need to set the preceding variable on all platforms that support
12.4220 +# interlibrary dependencies.
12.4221 +# 'none' -- dependencies not supported.
12.4222 +# `unknown' -- same as none, but documents that we really don't know.
12.4223 +# 'pass_all' -- all dependencies passed with no checks.
12.4224 +# 'test_compile' -- check by making test program.
12.4225 +# 'file_magic [[regex]]' -- check by looking for files in library path
12.4226 +# which responds to the $file_magic_cmd with a given extended regex.
12.4227 +# If you have `file' or equivalent on your system and you're not sure
12.4228 +# whether `pass_all' will *always* work, you probably want this one.
12.4229 +
12.4230 +case $host_os in
12.4231 +aix4* | aix5*)
12.4232 + lt_cv_deplibs_check_method=pass_all
12.4233 + ;;
12.4234 +
12.4235 +beos*)
12.4236 + lt_cv_deplibs_check_method=pass_all
12.4237 + ;;
12.4238 +
12.4239 +bsdi4*)
12.4240 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12.4241 + lt_cv_file_magic_cmd='/usr/bin/file -L'
12.4242 + lt_cv_file_magic_test_file=/shlib/libc.so
12.4243 + ;;
12.4244 +
12.4245 +cygwin*)
12.4246 + # func_win32_libid is a shell function defined in ltmain.sh
12.4247 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12.4248 + lt_cv_file_magic_cmd='func_win32_libid'
12.4249 + ;;
12.4250 +
12.4251 +mingw* | pw32*)
12.4252 + # Base MSYS/MinGW do not provide the 'file' command needed by
12.4253 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12.4254 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12.4255 + lt_cv_file_magic_cmd='$OBJDUMP -f'
12.4256 + ;;
12.4257 +
12.4258 +darwin* | rhapsody*)
12.4259 + lt_cv_deplibs_check_method=pass_all
12.4260 + ;;
12.4261 +
12.4262 +freebsd* | kfreebsd*-gnu)
12.4263 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12.4264 + case $host_cpu in
12.4265 + i*86 )
12.4266 + # Not sure whether the presence of OpenBSD here was a mistake.
12.4267 + # Let's accept both of them until this is cleared up.
12.4268 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
12.4269 + lt_cv_file_magic_cmd=/usr/bin/file
12.4270 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12.4271 + ;;
12.4272 + esac
12.4273 + else
12.4274 + lt_cv_deplibs_check_method=pass_all
12.4275 + fi
12.4276 + ;;
12.4277 +
12.4278 +gnu*)
12.4279 + lt_cv_deplibs_check_method=pass_all
12.4280 + ;;
12.4281 +
12.4282 +hpux10.20* | hpux11*)
12.4283 + lt_cv_file_magic_cmd=/usr/bin/file
12.4284 + case "$host_cpu" in
12.4285 + ia64*)
12.4286 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12.4287 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12.4288 + ;;
12.4289 + hppa*64*)
12.4290 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
12.4291 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12.4292 + ;;
12.4293 + *)
12.4294 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12.4295 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
12.4296 + ;;
12.4297 + esac
12.4298 + ;;
12.4299 +
12.4300 +irix5* | irix6* | nonstopux*)
12.4301 + case $LD in
12.4302 + *-32|*"-32 ") libmagic=32-bit;;
12.4303 + *-n32|*"-n32 ") libmagic=N32;;
12.4304 + *-64|*"-64 ") libmagic=64-bit;;
12.4305 + *) libmagic=never-match;;
12.4306 + esac
12.4307 + lt_cv_deplibs_check_method=pass_all
12.4308 + ;;
12.4309 +
12.4310 +# This must be Linux ELF.
12.4311 +linux*)
12.4312 + lt_cv_deplibs_check_method=pass_all
12.4313 + ;;
12.4314 +
12.4315 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.4316 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12.4317 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12.4318 + else
12.4319 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12.4320 + fi
12.4321 + ;;
12.4322 +
12.4323 +newos6*)
12.4324 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12.4325 + lt_cv_file_magic_cmd=/usr/bin/file
12.4326 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
12.4327 + ;;
12.4328 +
12.4329 +nto-qnx*)
12.4330 + lt_cv_deplibs_check_method=unknown
12.4331 + ;;
12.4332 +
12.4333 +openbsd*)
12.4334 + lt_cv_file_magic_cmd=/usr/bin/file
12.4335 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12.4336 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.4337 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
12.4338 + else
12.4339 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
12.4340 + fi
12.4341 + ;;
12.4342 +
12.4343 +osf3* | osf4* | osf5*)
12.4344 + lt_cv_deplibs_check_method=pass_all
12.4345 + ;;
12.4346 +
12.4347 +sco3.2v5*)
12.4348 + lt_cv_deplibs_check_method=pass_all
12.4349 + ;;
12.4350 +
12.4351 +solaris*)
12.4352 + lt_cv_deplibs_check_method=pass_all
12.4353 + ;;
12.4354 +
12.4355 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.4356 + case $host_vendor in
12.4357 + motorola)
12.4358 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
12.4359 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12.4360 + ;;
12.4361 + ncr)
12.4362 + lt_cv_deplibs_check_method=pass_all
12.4363 + ;;
12.4364 + sequent)
12.4365 + lt_cv_file_magic_cmd='/bin/file'
12.4366 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12.4367 + ;;
12.4368 + sni)
12.4369 + lt_cv_file_magic_cmd='/bin/file'
12.4370 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12.4371 + lt_cv_file_magic_test_file=/lib/libc.so
12.4372 + ;;
12.4373 + siemens)
12.4374 + lt_cv_deplibs_check_method=pass_all
12.4375 + ;;
12.4376 + esac
12.4377 + ;;
12.4378 +
12.4379 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
12.4380 + lt_cv_deplibs_check_method=pass_all
12.4381 + ;;
12.4382 +esac
12.4383 +
12.4384 +fi
12.4385 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12.4386 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12.4387 +file_magic_cmd=$lt_cv_file_magic_cmd
12.4388 +deplibs_check_method=$lt_cv_deplibs_check_method
12.4389 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
12.4390 +
12.4391 +
12.4392 +
12.4393 +
12.4394 +# If no C compiler was specified, use CC.
12.4395 +LTCC=${LTCC-"$CC"}
12.4396 +
12.4397 +# Allow CC to be a program name with arguments.
12.4398 +compiler=$CC
12.4399 +
12.4400 +
12.4401 +# Check whether --enable-libtool-lock was given.
12.4402 +if test "${enable_libtool_lock+set}" = set; then
12.4403 + enableval=$enable_libtool_lock;
12.4404 +fi
12.4405 +
12.4406 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12.4407 +
12.4408 +# Some flags need to be propagated to the compiler or linker for good
12.4409 +# libtool support.
12.4410 +case $host in
12.4411 +ia64-*-hpux*)
12.4412 + # Find out which ABI we are using.
12.4413 + echo 'int i;' > conftest.$ac_ext
12.4414 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.4415 + (eval $ac_compile) 2>&5
12.4416 + ac_status=$?
12.4417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4418 + (exit $ac_status); }; then
12.4419 + case `/usr/bin/file conftest.$ac_objext` in
12.4420 + *ELF-32*)
12.4421 + HPUX_IA64_MODE="32"
12.4422 + ;;
12.4423 + *ELF-64*)
12.4424 + HPUX_IA64_MODE="64"
12.4425 + ;;
12.4426 + esac
12.4427 + fi
12.4428 + rm -rf conftest*
12.4429 + ;;
12.4430 +*-*-irix6*)
12.4431 + # Find out which ABI we are using.
12.4432 + echo '#line __oline__ "configure"' > conftest.$ac_ext
12.4433 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.4434 + (eval $ac_compile) 2>&5
12.4435 + ac_status=$?
12.4436 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4437 + (exit $ac_status); }; then
12.4438 + if test "$lt_cv_prog_gnu_ld" = yes; then
12.4439 + case `/usr/bin/file conftest.$ac_objext` in
12.4440 + *32-bit*)
12.4441 + LD="${LD-ld} -melf32bsmip"
12.4442 + ;;
12.4443 + *N32*)
12.4444 + LD="${LD-ld} -melf32bmipn32"
12.4445 + ;;
12.4446 + *64-bit*)
12.4447 + LD="${LD-ld} -melf64bmip"
12.4448 + ;;
12.4449 + esac
12.4450 + else
12.4451 + case `/usr/bin/file conftest.$ac_objext` in
12.4452 + *32-bit*)
12.4453 + LD="${LD-ld} -32"
12.4454 + ;;
12.4455 + *N32*)
12.4456 + LD="${LD-ld} -n32"
12.4457 + ;;
12.4458 + *64-bit*)
12.4459 + LD="${LD-ld} -64"
12.4460 + ;;
12.4461 + esac
12.4462 + fi
12.4463 + fi
12.4464 + rm -rf conftest*
12.4465 + ;;
12.4466 +
12.4467 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12.4468 + # Find out which ABI we are using.
12.4469 + echo 'int i;' > conftest.$ac_ext
12.4470 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.4471 + (eval $ac_compile) 2>&5
12.4472 + ac_status=$?
12.4473 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4474 + (exit $ac_status); }; then
12.4475 + case "`/usr/bin/file conftest.o`" in
12.4476 + *32-bit*)
12.4477 + case $host in
12.4478 + x86_64-*linux*)
12.4479 + LD="${LD-ld} -m elf_i386"
12.4480 + ;;
12.4481 + ppc64-*linux*|powerpc64-*linux*)
12.4482 + LD="${LD-ld} -m elf32ppclinux"
12.4483 + ;;
12.4484 + s390x-*linux*)
12.4485 + LD="${LD-ld} -m elf_s390"
12.4486 + ;;
12.4487 + sparc64-*linux*)
12.4488 + LD="${LD-ld} -m elf32_sparc"
12.4489 + ;;
12.4490 + esac
12.4491 + ;;
12.4492 + *64-bit*)
12.4493 + case $host in
12.4494 + x86_64-*linux*)
12.4495 + LD="${LD-ld} -m elf_x86_64"
12.4496 + ;;
12.4497 + ppc*-*linux*|powerpc*-*linux*)
12.4498 + LD="${LD-ld} -m elf64ppc"
12.4499 + ;;
12.4500 + s390*-*linux*)
12.4501 + LD="${LD-ld} -m elf64_s390"
12.4502 + ;;
12.4503 + sparc*-*linux*)
12.4504 + LD="${LD-ld} -m elf64_sparc"
12.4505 + ;;
12.4506 + esac
12.4507 + ;;
12.4508 + esac
12.4509 + fi
12.4510 + rm -rf conftest*
12.4511 + ;;
12.4512 +
12.4513 +*-*-sco3.2v5*)
12.4514 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12.4515 + SAVE_CFLAGS="$CFLAGS"
12.4516 + CFLAGS="$CFLAGS -belf"
12.4517 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12.4518 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
12.4519 +if test "${lt_cv_cc_needs_belf+set}" = set; then
12.4520 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4521 +else
12.4522 + ac_ext=c
12.4523 +ac_cpp='$CPP $CPPFLAGS'
12.4524 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.4525 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.4526 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.4527 +
12.4528 + cat >conftest.$ac_ext <<_ACEOF
12.4529 +/* confdefs.h. */
12.4530 +_ACEOF
12.4531 +cat confdefs.h >>conftest.$ac_ext
12.4532 +cat >>conftest.$ac_ext <<_ACEOF
12.4533 +/* end confdefs.h. */
12.4534 +
12.4535 +int
12.4536 +main ()
12.4537 +{
12.4538 +
12.4539 + ;
12.4540 + return 0;
12.4541 +}
12.4542 +_ACEOF
12.4543 +rm -f conftest.$ac_objext conftest$ac_exeext
12.4544 +if { (ac_try="$ac_link"
12.4545 +case "(($ac_try" in
12.4546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4547 + *) ac_try_echo=$ac_try;;
12.4548 +esac
12.4549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4550 + (eval "$ac_link") 2>conftest.er1
12.4551 + ac_status=$?
12.4552 + grep -v '^ *+' conftest.er1 >conftest.err
12.4553 + rm -f conftest.er1
12.4554 + cat conftest.err >&5
12.4555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4556 + (exit $ac_status); } && {
12.4557 + test -z "$ac_c_werror_flag" ||
12.4558 + test ! -s conftest.err
12.4559 + } && test -s conftest$ac_exeext &&
12.4560 + $as_test_x conftest$ac_exeext; then
12.4561 + lt_cv_cc_needs_belf=yes
12.4562 +else
12.4563 + echo "$as_me: failed program was:" >&5
12.4564 +sed 's/^/| /' conftest.$ac_ext >&5
12.4565 +
12.4566 + lt_cv_cc_needs_belf=no
12.4567 +fi
12.4568 +
12.4569 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.4570 + conftest$ac_exeext conftest.$ac_ext
12.4571 + ac_ext=c
12.4572 +ac_cpp='$CPP $CPPFLAGS'
12.4573 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.4574 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.4575 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.4576 +
12.4577 +fi
12.4578 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12.4579 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12.4580 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12.4581 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12.4582 + CFLAGS="$SAVE_CFLAGS"
12.4583 + fi
12.4584 + ;;
12.4585 +
12.4586 +esac
12.4587 +
12.4588 +need_locks="$enable_libtool_lock"
12.4589 +
12.4590 +
12.4591 +ac_ext=c
12.4592 +ac_cpp='$CPP $CPPFLAGS'
12.4593 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.4594 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.4595 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.4596 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12.4597 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
12.4598 +# On Suns, sometimes $CPP names a directory.
12.4599 +if test -n "$CPP" && test -d "$CPP"; then
12.4600 + CPP=
12.4601 +fi
12.4602 +if test -z "$CPP"; then
12.4603 + if test "${ac_cv_prog_CPP+set}" = set; then
12.4604 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4605 +else
12.4606 + # Double quotes because CPP needs to be expanded
12.4607 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12.4608 + do
12.4609 + ac_preproc_ok=false
12.4610 +for ac_c_preproc_warn_flag in '' yes
12.4611 +do
12.4612 + # Use a header file that comes with gcc, so configuring glibc
12.4613 + # with a fresh cross-compiler works.
12.4614 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.4615 + # <limits.h> exists even on freestanding compilers.
12.4616 + # On the NeXT, cc -E runs the code through the compiler's parser,
12.4617 + # not just through cpp. "Syntax error" is here to catch this case.
12.4618 + cat >conftest.$ac_ext <<_ACEOF
12.4619 +/* confdefs.h. */
12.4620 +_ACEOF
12.4621 +cat confdefs.h >>conftest.$ac_ext
12.4622 +cat >>conftest.$ac_ext <<_ACEOF
12.4623 +/* end confdefs.h. */
12.4624 +@%:@ifdef __STDC__
12.4625 +@%:@ include <limits.h>
12.4626 +@%:@else
12.4627 +@%:@ include <assert.h>
12.4628 +@%:@endif
12.4629 + Syntax error
12.4630 +_ACEOF
12.4631 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.4632 +case "(($ac_try" in
12.4633 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4634 + *) ac_try_echo=$ac_try;;
12.4635 +esac
12.4636 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4637 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.4638 + ac_status=$?
12.4639 + grep -v '^ *+' conftest.er1 >conftest.err
12.4640 + rm -f conftest.er1
12.4641 + cat conftest.err >&5
12.4642 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4643 + (exit $ac_status); } >/dev/null && {
12.4644 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12.4645 + test ! -s conftest.err
12.4646 + }; then
12.4647 + :
12.4648 +else
12.4649 + echo "$as_me: failed program was:" >&5
12.4650 +sed 's/^/| /' conftest.$ac_ext >&5
12.4651 +
12.4652 + # Broken: fails on valid input.
12.4653 +continue
12.4654 +fi
12.4655 +
12.4656 +rm -f conftest.err conftest.$ac_ext
12.4657 +
12.4658 + # OK, works on sane cases. Now check whether nonexistent headers
12.4659 + # can be detected and how.
12.4660 + cat >conftest.$ac_ext <<_ACEOF
12.4661 +/* confdefs.h. */
12.4662 +_ACEOF
12.4663 +cat confdefs.h >>conftest.$ac_ext
12.4664 +cat >>conftest.$ac_ext <<_ACEOF
12.4665 +/* end confdefs.h. */
12.4666 +@%:@include <ac_nonexistent.h>
12.4667 +_ACEOF
12.4668 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.4669 +case "(($ac_try" in
12.4670 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4671 + *) ac_try_echo=$ac_try;;
12.4672 +esac
12.4673 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4674 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.4675 + ac_status=$?
12.4676 + grep -v '^ *+' conftest.er1 >conftest.err
12.4677 + rm -f conftest.er1
12.4678 + cat conftest.err >&5
12.4679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4680 + (exit $ac_status); } >/dev/null && {
12.4681 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12.4682 + test ! -s conftest.err
12.4683 + }; then
12.4684 + # Broken: success on invalid input.
12.4685 +continue
12.4686 +else
12.4687 + echo "$as_me: failed program was:" >&5
12.4688 +sed 's/^/| /' conftest.$ac_ext >&5
12.4689 +
12.4690 + # Passes both tests.
12.4691 +ac_preproc_ok=:
12.4692 +break
12.4693 +fi
12.4694 +
12.4695 +rm -f conftest.err conftest.$ac_ext
12.4696 +
12.4697 +done
12.4698 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12.4699 +rm -f conftest.err conftest.$ac_ext
12.4700 +if $ac_preproc_ok; then
12.4701 + break
12.4702 +fi
12.4703 +
12.4704 + done
12.4705 + ac_cv_prog_CPP=$CPP
12.4706 +
12.4707 +fi
12.4708 + CPP=$ac_cv_prog_CPP
12.4709 +else
12.4710 + ac_cv_prog_CPP=$CPP
12.4711 +fi
12.4712 +{ echo "$as_me:$LINENO: result: $CPP" >&5
12.4713 +echo "${ECHO_T}$CPP" >&6; }
12.4714 +ac_preproc_ok=false
12.4715 +for ac_c_preproc_warn_flag in '' yes
12.4716 +do
12.4717 + # Use a header file that comes with gcc, so configuring glibc
12.4718 + # with a fresh cross-compiler works.
12.4719 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.4720 + # <limits.h> exists even on freestanding compilers.
12.4721 + # On the NeXT, cc -E runs the code through the compiler's parser,
12.4722 + # not just through cpp. "Syntax error" is here to catch this case.
12.4723 + cat >conftest.$ac_ext <<_ACEOF
12.4724 +/* confdefs.h. */
12.4725 +_ACEOF
12.4726 +cat confdefs.h >>conftest.$ac_ext
12.4727 +cat >>conftest.$ac_ext <<_ACEOF
12.4728 +/* end confdefs.h. */
12.4729 +@%:@ifdef __STDC__
12.4730 +@%:@ include <limits.h>
12.4731 +@%:@else
12.4732 +@%:@ include <assert.h>
12.4733 +@%:@endif
12.4734 + Syntax error
12.4735 +_ACEOF
12.4736 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.4737 +case "(($ac_try" in
12.4738 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4739 + *) ac_try_echo=$ac_try;;
12.4740 +esac
12.4741 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4742 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.4743 + ac_status=$?
12.4744 + grep -v '^ *+' conftest.er1 >conftest.err
12.4745 + rm -f conftest.er1
12.4746 + cat conftest.err >&5
12.4747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4748 + (exit $ac_status); } >/dev/null && {
12.4749 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12.4750 + test ! -s conftest.err
12.4751 + }; then
12.4752 + :
12.4753 +else
12.4754 + echo "$as_me: failed program was:" >&5
12.4755 +sed 's/^/| /' conftest.$ac_ext >&5
12.4756 +
12.4757 + # Broken: fails on valid input.
12.4758 +continue
12.4759 +fi
12.4760 +
12.4761 +rm -f conftest.err conftest.$ac_ext
12.4762 +
12.4763 + # OK, works on sane cases. Now check whether nonexistent headers
12.4764 + # can be detected and how.
12.4765 + cat >conftest.$ac_ext <<_ACEOF
12.4766 +/* confdefs.h. */
12.4767 +_ACEOF
12.4768 +cat confdefs.h >>conftest.$ac_ext
12.4769 +cat >>conftest.$ac_ext <<_ACEOF
12.4770 +/* end confdefs.h. */
12.4771 +@%:@include <ac_nonexistent.h>
12.4772 +_ACEOF
12.4773 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.4774 +case "(($ac_try" in
12.4775 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4776 + *) ac_try_echo=$ac_try;;
12.4777 +esac
12.4778 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4779 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.4780 + ac_status=$?
12.4781 + grep -v '^ *+' conftest.er1 >conftest.err
12.4782 + rm -f conftest.er1
12.4783 + cat conftest.err >&5
12.4784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4785 + (exit $ac_status); } >/dev/null && {
12.4786 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12.4787 + test ! -s conftest.err
12.4788 + }; then
12.4789 + # Broken: success on invalid input.
12.4790 +continue
12.4791 +else
12.4792 + echo "$as_me: failed program was:" >&5
12.4793 +sed 's/^/| /' conftest.$ac_ext >&5
12.4794 +
12.4795 + # Passes both tests.
12.4796 +ac_preproc_ok=:
12.4797 +break
12.4798 +fi
12.4799 +
12.4800 +rm -f conftest.err conftest.$ac_ext
12.4801 +
12.4802 +done
12.4803 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12.4804 +rm -f conftest.err conftest.$ac_ext
12.4805 +if $ac_preproc_ok; then
12.4806 + :
12.4807 +else
12.4808 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12.4809 +See \`config.log' for more details." >&5
12.4810 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12.4811 +See \`config.log' for more details." >&2;}
12.4812 + { (exit 1); exit 1; }; }
12.4813 +fi
12.4814 +
12.4815 +ac_ext=c
12.4816 +ac_cpp='$CPP $CPPFLAGS'
12.4817 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.4818 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.4819 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.4820 +
12.4821 +
12.4822 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12.4823 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12.4824 +if test "${ac_cv_header_stdc+set}" = set; then
12.4825 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.4826 +else
12.4827 + cat >conftest.$ac_ext <<_ACEOF
12.4828 +/* confdefs.h. */
12.4829 +_ACEOF
12.4830 +cat confdefs.h >>conftest.$ac_ext
12.4831 +cat >>conftest.$ac_ext <<_ACEOF
12.4832 +/* end confdefs.h. */
12.4833 +#include <stdlib.h>
12.4834 +#include <stdarg.h>
12.4835 +#include <string.h>
12.4836 +#include <float.h>
12.4837 +
12.4838 +int
12.4839 +main ()
12.4840 +{
12.4841 +
12.4842 + ;
12.4843 + return 0;
12.4844 +}
12.4845 +_ACEOF
12.4846 +rm -f conftest.$ac_objext
12.4847 +if { (ac_try="$ac_compile"
12.4848 +case "(($ac_try" in
12.4849 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4850 + *) ac_try_echo=$ac_try;;
12.4851 +esac
12.4852 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4853 + (eval "$ac_compile") 2>conftest.er1
12.4854 + ac_status=$?
12.4855 + grep -v '^ *+' conftest.er1 >conftest.err
12.4856 + rm -f conftest.er1
12.4857 + cat conftest.err >&5
12.4858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4859 + (exit $ac_status); } && {
12.4860 + test -z "$ac_c_werror_flag" ||
12.4861 + test ! -s conftest.err
12.4862 + } && test -s conftest.$ac_objext; then
12.4863 + ac_cv_header_stdc=yes
12.4864 +else
12.4865 + echo "$as_me: failed program was:" >&5
12.4866 +sed 's/^/| /' conftest.$ac_ext >&5
12.4867 +
12.4868 + ac_cv_header_stdc=no
12.4869 +fi
12.4870 +
12.4871 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.4872 +
12.4873 +if test $ac_cv_header_stdc = yes; then
12.4874 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12.4875 + cat >conftest.$ac_ext <<_ACEOF
12.4876 +/* confdefs.h. */
12.4877 +_ACEOF
12.4878 +cat confdefs.h >>conftest.$ac_ext
12.4879 +cat >>conftest.$ac_ext <<_ACEOF
12.4880 +/* end confdefs.h. */
12.4881 +#include <string.h>
12.4882 +
12.4883 +_ACEOF
12.4884 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12.4885 + $EGREP "memchr" >/dev/null 2>&1; then
12.4886 + :
12.4887 +else
12.4888 + ac_cv_header_stdc=no
12.4889 +fi
12.4890 +rm -f conftest*
12.4891 +
12.4892 +fi
12.4893 +
12.4894 +if test $ac_cv_header_stdc = yes; then
12.4895 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12.4896 + cat >conftest.$ac_ext <<_ACEOF
12.4897 +/* confdefs.h. */
12.4898 +_ACEOF
12.4899 +cat confdefs.h >>conftest.$ac_ext
12.4900 +cat >>conftest.$ac_ext <<_ACEOF
12.4901 +/* end confdefs.h. */
12.4902 +#include <stdlib.h>
12.4903 +
12.4904 +_ACEOF
12.4905 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12.4906 + $EGREP "free" >/dev/null 2>&1; then
12.4907 + :
12.4908 +else
12.4909 + ac_cv_header_stdc=no
12.4910 +fi
12.4911 +rm -f conftest*
12.4912 +
12.4913 +fi
12.4914 +
12.4915 +if test $ac_cv_header_stdc = yes; then
12.4916 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12.4917 + if test "$cross_compiling" = yes; then
12.4918 + :
12.4919 +else
12.4920 + cat >conftest.$ac_ext <<_ACEOF
12.4921 +/* confdefs.h. */
12.4922 +_ACEOF
12.4923 +cat confdefs.h >>conftest.$ac_ext
12.4924 +cat >>conftest.$ac_ext <<_ACEOF
12.4925 +/* end confdefs.h. */
12.4926 +#include <ctype.h>
12.4927 +#include <stdlib.h>
12.4928 +#if ((' ' & 0x0FF) == 0x020)
12.4929 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12.4930 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12.4931 +#else
12.4932 +# define ISLOWER(c) \
12.4933 + (('a' <= (c) && (c) <= 'i') \
12.4934 + || ('j' <= (c) && (c) <= 'r') \
12.4935 + || ('s' <= (c) && (c) <= 'z'))
12.4936 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12.4937 +#endif
12.4938 +
12.4939 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12.4940 +int
12.4941 +main ()
12.4942 +{
12.4943 + int i;
12.4944 + for (i = 0; i < 256; i++)
12.4945 + if (XOR (islower (i), ISLOWER (i))
12.4946 + || toupper (i) != TOUPPER (i))
12.4947 + return 2;
12.4948 + return 0;
12.4949 +}
12.4950 +_ACEOF
12.4951 +rm -f conftest$ac_exeext
12.4952 +if { (ac_try="$ac_link"
12.4953 +case "(($ac_try" in
12.4954 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4955 + *) ac_try_echo=$ac_try;;
12.4956 +esac
12.4957 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4958 + (eval "$ac_link") 2>&5
12.4959 + ac_status=$?
12.4960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4961 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12.4962 + { (case "(($ac_try" in
12.4963 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.4964 + *) ac_try_echo=$ac_try;;
12.4965 +esac
12.4966 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.4967 + (eval "$ac_try") 2>&5
12.4968 + ac_status=$?
12.4969 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.4970 + (exit $ac_status); }; }; then
12.4971 + :
12.4972 +else
12.4973 + echo "$as_me: program exited with status $ac_status" >&5
12.4974 +echo "$as_me: failed program was:" >&5
12.4975 +sed 's/^/| /' conftest.$ac_ext >&5
12.4976 +
12.4977 +( exit $ac_status )
12.4978 +ac_cv_header_stdc=no
12.4979 +fi
12.4980 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12.4981 +fi
12.4982 +
12.4983 +
12.4984 +fi
12.4985 +fi
12.4986 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12.4987 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
12.4988 +if test $ac_cv_header_stdc = yes; then
12.4989 +
12.4990 +cat >>confdefs.h <<\_ACEOF
12.4991 +@%:@define STDC_HEADERS 1
12.4992 +_ACEOF
12.4993 +
12.4994 +fi
12.4995 +
12.4996 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12.4997 +
12.4998 +
12.4999 +
12.5000 +
12.5001 +
12.5002 +
12.5003 +
12.5004 +
12.5005 +
12.5006 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12.5007 + inttypes.h stdint.h unistd.h
12.5008 +do
12.5009 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12.5010 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12.5011 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12.5012 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12.5013 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5014 +else
12.5015 + cat >conftest.$ac_ext <<_ACEOF
12.5016 +/* confdefs.h. */
12.5017 +_ACEOF
12.5018 +cat confdefs.h >>conftest.$ac_ext
12.5019 +cat >>conftest.$ac_ext <<_ACEOF
12.5020 +/* end confdefs.h. */
12.5021 +$ac_includes_default
12.5022 +
12.5023 +@%:@include <$ac_header>
12.5024 +_ACEOF
12.5025 +rm -f conftest.$ac_objext
12.5026 +if { (ac_try="$ac_compile"
12.5027 +case "(($ac_try" in
12.5028 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5029 + *) ac_try_echo=$ac_try;;
12.5030 +esac
12.5031 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5032 + (eval "$ac_compile") 2>conftest.er1
12.5033 + ac_status=$?
12.5034 + grep -v '^ *+' conftest.er1 >conftest.err
12.5035 + rm -f conftest.er1
12.5036 + cat conftest.err >&5
12.5037 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5038 + (exit $ac_status); } && {
12.5039 + test -z "$ac_c_werror_flag" ||
12.5040 + test ! -s conftest.err
12.5041 + } && test -s conftest.$ac_objext; then
12.5042 + eval "$as_ac_Header=yes"
12.5043 +else
12.5044 + echo "$as_me: failed program was:" >&5
12.5045 +sed 's/^/| /' conftest.$ac_ext >&5
12.5046 +
12.5047 + eval "$as_ac_Header=no"
12.5048 +fi
12.5049 +
12.5050 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.5051 +fi
12.5052 +ac_res=`eval echo '${'$as_ac_Header'}'`
12.5053 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12.5054 +echo "${ECHO_T}$ac_res" >&6; }
12.5055 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
12.5056 + cat >>confdefs.h <<_ACEOF
12.5057 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12.5058 +_ACEOF
12.5059 +
12.5060 +fi
12.5061 +
12.5062 +done
12.5063 +
12.5064 +
12.5065 +
12.5066 +for ac_header in dlfcn.h
12.5067 +do
12.5068 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12.5069 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12.5070 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
12.5071 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12.5072 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12.5073 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5074 +fi
12.5075 +ac_res=`eval echo '${'$as_ac_Header'}'`
12.5076 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12.5077 +echo "${ECHO_T}$ac_res" >&6; }
12.5078 +else
12.5079 + # Is the header compilable?
12.5080 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12.5081 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12.5082 +cat >conftest.$ac_ext <<_ACEOF
12.5083 +/* confdefs.h. */
12.5084 +_ACEOF
12.5085 +cat confdefs.h >>conftest.$ac_ext
12.5086 +cat >>conftest.$ac_ext <<_ACEOF
12.5087 +/* end confdefs.h. */
12.5088 +$ac_includes_default
12.5089 +@%:@include <$ac_header>
12.5090 +_ACEOF
12.5091 +rm -f conftest.$ac_objext
12.5092 +if { (ac_try="$ac_compile"
12.5093 +case "(($ac_try" in
12.5094 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5095 + *) ac_try_echo=$ac_try;;
12.5096 +esac
12.5097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5098 + (eval "$ac_compile") 2>conftest.er1
12.5099 + ac_status=$?
12.5100 + grep -v '^ *+' conftest.er1 >conftest.err
12.5101 + rm -f conftest.er1
12.5102 + cat conftest.err >&5
12.5103 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5104 + (exit $ac_status); } && {
12.5105 + test -z "$ac_c_werror_flag" ||
12.5106 + test ! -s conftest.err
12.5107 + } && test -s conftest.$ac_objext; then
12.5108 + ac_header_compiler=yes
12.5109 +else
12.5110 + echo "$as_me: failed program was:" >&5
12.5111 +sed 's/^/| /' conftest.$ac_ext >&5
12.5112 +
12.5113 + ac_header_compiler=no
12.5114 +fi
12.5115 +
12.5116 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.5117 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12.5118 +echo "${ECHO_T}$ac_header_compiler" >&6; }
12.5119 +
12.5120 +# Is the header present?
12.5121 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12.5122 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12.5123 +cat >conftest.$ac_ext <<_ACEOF
12.5124 +/* confdefs.h. */
12.5125 +_ACEOF
12.5126 +cat confdefs.h >>conftest.$ac_ext
12.5127 +cat >>conftest.$ac_ext <<_ACEOF
12.5128 +/* end confdefs.h. */
12.5129 +@%:@include <$ac_header>
12.5130 +_ACEOF
12.5131 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.5132 +case "(($ac_try" in
12.5133 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5134 + *) ac_try_echo=$ac_try;;
12.5135 +esac
12.5136 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5137 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.5138 + ac_status=$?
12.5139 + grep -v '^ *+' conftest.er1 >conftest.err
12.5140 + rm -f conftest.er1
12.5141 + cat conftest.err >&5
12.5142 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5143 + (exit $ac_status); } >/dev/null && {
12.5144 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12.5145 + test ! -s conftest.err
12.5146 + }; then
12.5147 + ac_header_preproc=yes
12.5148 +else
12.5149 + echo "$as_me: failed program was:" >&5
12.5150 +sed 's/^/| /' conftest.$ac_ext >&5
12.5151 +
12.5152 + ac_header_preproc=no
12.5153 +fi
12.5154 +
12.5155 +rm -f conftest.err conftest.$ac_ext
12.5156 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12.5157 +echo "${ECHO_T}$ac_header_preproc" >&6; }
12.5158 +
12.5159 +# So? What about this header?
12.5160 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12.5161 + yes:no: )
12.5162 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12.5163 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12.5164 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12.5165 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12.5166 + ac_header_preproc=yes
12.5167 + ;;
12.5168 + no:yes:* )
12.5169 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12.5170 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12.5171 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12.5172 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12.5173 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12.5174 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12.5175 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12.5176 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12.5177 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12.5178 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12.5179 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12.5180 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12.5181 +
12.5182 + ;;
12.5183 +esac
12.5184 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12.5185 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12.5186 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12.5187 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5188 +else
12.5189 + eval "$as_ac_Header=\$ac_header_preproc"
12.5190 +fi
12.5191 +ac_res=`eval echo '${'$as_ac_Header'}'`
12.5192 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12.5193 +echo "${ECHO_T}$ac_res" >&6; }
12.5194 +
12.5195 +fi
12.5196 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
12.5197 + cat >>confdefs.h <<_ACEOF
12.5198 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12.5199 +_ACEOF
12.5200 +
12.5201 +fi
12.5202 +
12.5203 +done
12.5204 +
12.5205 +ac_ext=cpp
12.5206 +ac_cpp='$CXXCPP $CPPFLAGS'
12.5207 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.5208 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.5209 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.5210 +if test -z "$CXX"; then
12.5211 + if test -n "$CCC"; then
12.5212 + CXX=$CCC
12.5213 + else
12.5214 + if test -n "$ac_tool_prefix"; then
12.5215 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12.5216 + do
12.5217 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12.5218 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12.5219 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.5220 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.5221 +if test "${ac_cv_prog_CXX+set}" = set; then
12.5222 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5223 +else
12.5224 + if test -n "$CXX"; then
12.5225 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
12.5226 +else
12.5227 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.5228 +for as_dir in $PATH
12.5229 +do
12.5230 + IFS=$as_save_IFS
12.5231 + test -z "$as_dir" && as_dir=.
12.5232 + for ac_exec_ext in '' $ac_executable_extensions; do
12.5233 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.5234 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12.5235 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.5236 + break 2
12.5237 + fi
12.5238 +done
12.5239 +done
12.5240 +IFS=$as_save_IFS
12.5241 +
12.5242 +fi
12.5243 +fi
12.5244 +CXX=$ac_cv_prog_CXX
12.5245 +if test -n "$CXX"; then
12.5246 + { echo "$as_me:$LINENO: result: $CXX" >&5
12.5247 +echo "${ECHO_T}$CXX" >&6; }
12.5248 +else
12.5249 + { echo "$as_me:$LINENO: result: no" >&5
12.5250 +echo "${ECHO_T}no" >&6; }
12.5251 +fi
12.5252 +
12.5253 +
12.5254 + test -n "$CXX" && break
12.5255 + done
12.5256 +fi
12.5257 +if test -z "$CXX"; then
12.5258 + ac_ct_CXX=$CXX
12.5259 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12.5260 +do
12.5261 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12.5262 +set dummy $ac_prog; ac_word=$2
12.5263 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.5264 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.5265 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12.5266 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5267 +else
12.5268 + if test -n "$ac_ct_CXX"; then
12.5269 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12.5270 +else
12.5271 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.5272 +for as_dir in $PATH
12.5273 +do
12.5274 + IFS=$as_save_IFS
12.5275 + test -z "$as_dir" && as_dir=.
12.5276 + for ac_exec_ext in '' $ac_executable_extensions; do
12.5277 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.5278 + ac_cv_prog_ac_ct_CXX="$ac_prog"
12.5279 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.5280 + break 2
12.5281 + fi
12.5282 +done
12.5283 +done
12.5284 +IFS=$as_save_IFS
12.5285 +
12.5286 +fi
12.5287 +fi
12.5288 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12.5289 +if test -n "$ac_ct_CXX"; then
12.5290 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12.5291 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
12.5292 +else
12.5293 + { echo "$as_me:$LINENO: result: no" >&5
12.5294 +echo "${ECHO_T}no" >&6; }
12.5295 +fi
12.5296 +
12.5297 +
12.5298 + test -n "$ac_ct_CXX" && break
12.5299 +done
12.5300 +
12.5301 + if test "x$ac_ct_CXX" = x; then
12.5302 + CXX="g++"
12.5303 + else
12.5304 + case $cross_compiling:$ac_tool_warned in
12.5305 +yes:)
12.5306 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.5307 +whose name does not start with the host triplet. If you think this
12.5308 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.5309 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.5310 +whose name does not start with the host triplet. If you think this
12.5311 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.5312 +ac_tool_warned=yes ;;
12.5313 +esac
12.5314 + CXX=$ac_ct_CXX
12.5315 + fi
12.5316 +fi
12.5317 +
12.5318 + fi
12.5319 +fi
12.5320 +# Provide some information about the compiler.
12.5321 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
12.5322 +ac_compiler=`set X $ac_compile; echo $2`
12.5323 +{ (ac_try="$ac_compiler --version >&5"
12.5324 +case "(($ac_try" in
12.5325 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5326 + *) ac_try_echo=$ac_try;;
12.5327 +esac
12.5328 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5329 + (eval "$ac_compiler --version >&5") 2>&5
12.5330 + ac_status=$?
12.5331 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5332 + (exit $ac_status); }
12.5333 +{ (ac_try="$ac_compiler -v >&5"
12.5334 +case "(($ac_try" in
12.5335 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5336 + *) ac_try_echo=$ac_try;;
12.5337 +esac
12.5338 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5339 + (eval "$ac_compiler -v >&5") 2>&5
12.5340 + ac_status=$?
12.5341 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5342 + (exit $ac_status); }
12.5343 +{ (ac_try="$ac_compiler -V >&5"
12.5344 +case "(($ac_try" in
12.5345 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5346 + *) ac_try_echo=$ac_try;;
12.5347 +esac
12.5348 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5349 + (eval "$ac_compiler -V >&5") 2>&5
12.5350 + ac_status=$?
12.5351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5352 + (exit $ac_status); }
12.5353 +
12.5354 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12.5355 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
12.5356 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12.5357 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5358 +else
12.5359 + cat >conftest.$ac_ext <<_ACEOF
12.5360 +/* confdefs.h. */
12.5361 +_ACEOF
12.5362 +cat confdefs.h >>conftest.$ac_ext
12.5363 +cat >>conftest.$ac_ext <<_ACEOF
12.5364 +/* end confdefs.h. */
12.5365 +
12.5366 +int
12.5367 +main ()
12.5368 +{
12.5369 +#ifndef __GNUC__
12.5370 + choke me
12.5371 +#endif
12.5372 +
12.5373 + ;
12.5374 + return 0;
12.5375 +}
12.5376 +_ACEOF
12.5377 +rm -f conftest.$ac_objext
12.5378 +if { (ac_try="$ac_compile"
12.5379 +case "(($ac_try" in
12.5380 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5381 + *) ac_try_echo=$ac_try;;
12.5382 +esac
12.5383 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5384 + (eval "$ac_compile") 2>conftest.er1
12.5385 + ac_status=$?
12.5386 + grep -v '^ *+' conftest.er1 >conftest.err
12.5387 + rm -f conftest.er1
12.5388 + cat conftest.err >&5
12.5389 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5390 + (exit $ac_status); } && {
12.5391 + test -z "$ac_cxx_werror_flag" ||
12.5392 + test ! -s conftest.err
12.5393 + } && test -s conftest.$ac_objext; then
12.5394 + ac_compiler_gnu=yes
12.5395 +else
12.5396 + echo "$as_me: failed program was:" >&5
12.5397 +sed 's/^/| /' conftest.$ac_ext >&5
12.5398 +
12.5399 + ac_compiler_gnu=no
12.5400 +fi
12.5401 +
12.5402 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.5403 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12.5404 +
12.5405 +fi
12.5406 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12.5407 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
12.5408 +GXX=`test $ac_compiler_gnu = yes && echo yes`
12.5409 +ac_test_CXXFLAGS=${CXXFLAGS+set}
12.5410 +ac_save_CXXFLAGS=$CXXFLAGS
12.5411 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12.5412 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
12.5413 +if test "${ac_cv_prog_cxx_g+set}" = set; then
12.5414 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5415 +else
12.5416 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12.5417 + ac_cxx_werror_flag=yes
12.5418 + ac_cv_prog_cxx_g=no
12.5419 + CXXFLAGS="-g"
12.5420 + cat >conftest.$ac_ext <<_ACEOF
12.5421 +/* confdefs.h. */
12.5422 +_ACEOF
12.5423 +cat confdefs.h >>conftest.$ac_ext
12.5424 +cat >>conftest.$ac_ext <<_ACEOF
12.5425 +/* end confdefs.h. */
12.5426 +
12.5427 +int
12.5428 +main ()
12.5429 +{
12.5430 +
12.5431 + ;
12.5432 + return 0;
12.5433 +}
12.5434 +_ACEOF
12.5435 +rm -f conftest.$ac_objext
12.5436 +if { (ac_try="$ac_compile"
12.5437 +case "(($ac_try" in
12.5438 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5439 + *) ac_try_echo=$ac_try;;
12.5440 +esac
12.5441 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5442 + (eval "$ac_compile") 2>conftest.er1
12.5443 + ac_status=$?
12.5444 + grep -v '^ *+' conftest.er1 >conftest.err
12.5445 + rm -f conftest.er1
12.5446 + cat conftest.err >&5
12.5447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5448 + (exit $ac_status); } && {
12.5449 + test -z "$ac_cxx_werror_flag" ||
12.5450 + test ! -s conftest.err
12.5451 + } && test -s conftest.$ac_objext; then
12.5452 + ac_cv_prog_cxx_g=yes
12.5453 +else
12.5454 + echo "$as_me: failed program was:" >&5
12.5455 +sed 's/^/| /' conftest.$ac_ext >&5
12.5456 +
12.5457 + CXXFLAGS=""
12.5458 + cat >conftest.$ac_ext <<_ACEOF
12.5459 +/* confdefs.h. */
12.5460 +_ACEOF
12.5461 +cat confdefs.h >>conftest.$ac_ext
12.5462 +cat >>conftest.$ac_ext <<_ACEOF
12.5463 +/* end confdefs.h. */
12.5464 +
12.5465 +int
12.5466 +main ()
12.5467 +{
12.5468 +
12.5469 + ;
12.5470 + return 0;
12.5471 +}
12.5472 +_ACEOF
12.5473 +rm -f conftest.$ac_objext
12.5474 +if { (ac_try="$ac_compile"
12.5475 +case "(($ac_try" in
12.5476 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5477 + *) ac_try_echo=$ac_try;;
12.5478 +esac
12.5479 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5480 + (eval "$ac_compile") 2>conftest.er1
12.5481 + ac_status=$?
12.5482 + grep -v '^ *+' conftest.er1 >conftest.err
12.5483 + rm -f conftest.er1
12.5484 + cat conftest.err >&5
12.5485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5486 + (exit $ac_status); } && {
12.5487 + test -z "$ac_cxx_werror_flag" ||
12.5488 + test ! -s conftest.err
12.5489 + } && test -s conftest.$ac_objext; then
12.5490 + :
12.5491 +else
12.5492 + echo "$as_me: failed program was:" >&5
12.5493 +sed 's/^/| /' conftest.$ac_ext >&5
12.5494 +
12.5495 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12.5496 + CXXFLAGS="-g"
12.5497 + cat >conftest.$ac_ext <<_ACEOF
12.5498 +/* confdefs.h. */
12.5499 +_ACEOF
12.5500 +cat confdefs.h >>conftest.$ac_ext
12.5501 +cat >>conftest.$ac_ext <<_ACEOF
12.5502 +/* end confdefs.h. */
12.5503 +
12.5504 +int
12.5505 +main ()
12.5506 +{
12.5507 +
12.5508 + ;
12.5509 + return 0;
12.5510 +}
12.5511 +_ACEOF
12.5512 +rm -f conftest.$ac_objext
12.5513 +if { (ac_try="$ac_compile"
12.5514 +case "(($ac_try" in
12.5515 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5516 + *) ac_try_echo=$ac_try;;
12.5517 +esac
12.5518 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5519 + (eval "$ac_compile") 2>conftest.er1
12.5520 + ac_status=$?
12.5521 + grep -v '^ *+' conftest.er1 >conftest.err
12.5522 + rm -f conftest.er1
12.5523 + cat conftest.err >&5
12.5524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5525 + (exit $ac_status); } && {
12.5526 + test -z "$ac_cxx_werror_flag" ||
12.5527 + test ! -s conftest.err
12.5528 + } && test -s conftest.$ac_objext; then
12.5529 + ac_cv_prog_cxx_g=yes
12.5530 +else
12.5531 + echo "$as_me: failed program was:" >&5
12.5532 +sed 's/^/| /' conftest.$ac_ext >&5
12.5533 +
12.5534 +
12.5535 +fi
12.5536 +
12.5537 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.5538 +fi
12.5539 +
12.5540 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.5541 +fi
12.5542 +
12.5543 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.5544 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12.5545 +fi
12.5546 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12.5547 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
12.5548 +if test "$ac_test_CXXFLAGS" = set; then
12.5549 + CXXFLAGS=$ac_save_CXXFLAGS
12.5550 +elif test $ac_cv_prog_cxx_g = yes; then
12.5551 + if test "$GXX" = yes; then
12.5552 + CXXFLAGS="-g -O2"
12.5553 + else
12.5554 + CXXFLAGS="-g"
12.5555 + fi
12.5556 +else
12.5557 + if test "$GXX" = yes; then
12.5558 + CXXFLAGS="-O2"
12.5559 + else
12.5560 + CXXFLAGS=
12.5561 + fi
12.5562 +fi
12.5563 +ac_ext=cpp
12.5564 +ac_cpp='$CXXCPP $CPPFLAGS'
12.5565 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.5566 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.5567 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.5568 +
12.5569 +depcc="$CXX" am_compiler_list=
12.5570 +
12.5571 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12.5572 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12.5573 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12.5574 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5575 +else
12.5576 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12.5577 + # We make a subdir and do the tests there. Otherwise we can end up
12.5578 + # making bogus files that we don't know about and never remove. For
12.5579 + # instance it was reported that on HP-UX the gcc test will end up
12.5580 + # making a dummy file named `D' -- because `-MD' means `put the output
12.5581 + # in D'.
12.5582 + mkdir conftest.dir
12.5583 + # Copy depcomp to subdir because otherwise we won't find it if we're
12.5584 + # using a relative directory.
12.5585 + cp "$am_depcomp" conftest.dir
12.5586 + cd conftest.dir
12.5587 + # We will build objects and dependencies in a subdirectory because
12.5588 + # it helps to detect inapplicable dependency modes. For instance
12.5589 + # both Tru64's cc and ICC support -MD to output dependencies as a
12.5590 + # side effect of compilation, but ICC will put the dependencies in
12.5591 + # the current directory while Tru64 will put them in the object
12.5592 + # directory.
12.5593 + mkdir sub
12.5594 +
12.5595 + am_cv_CXX_dependencies_compiler_type=none
12.5596 + if test "$am_compiler_list" = ""; then
12.5597 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12.5598 + fi
12.5599 + for depmode in $am_compiler_list; do
12.5600 + # Setup a source with many dependencies, because some compilers
12.5601 + # like to wrap large dependency lists on column 80 (with \), and
12.5602 + # we should not choose a depcomp mode which is confused by this.
12.5603 + #
12.5604 + # We need to recreate these files for each test, as the compiler may
12.5605 + # overwrite some of them when testing with obscure command lines.
12.5606 + # This happens at least with the AIX C compiler.
12.5607 + : > sub/conftest.c
12.5608 + for i in 1 2 3 4 5 6; do
12.5609 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12.5610 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12.5611 + # Solaris 8's {/usr,}/bin/sh.
12.5612 + touch sub/conftst$i.h
12.5613 + done
12.5614 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12.5615 +
12.5616 + case $depmode in
12.5617 + nosideeffect)
12.5618 + # after this tag, mechanisms are not by side-effect, so they'll
12.5619 + # only be used when explicitly requested
12.5620 + if test "x$enable_dependency_tracking" = xyes; then
12.5621 + continue
12.5622 + else
12.5623 + break
12.5624 + fi
12.5625 + ;;
12.5626 + none) break ;;
12.5627 + esac
12.5628 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12.5629 + # mode. It turns out that the SunPro C++ compiler does not properly
12.5630 + # handle `-M -o', and we need to detect this.
12.5631 + if depmode=$depmode \
12.5632 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12.5633 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12.5634 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12.5635 + >/dev/null 2>conftest.err &&
12.5636 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12.5637 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12.5638 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12.5639 + # icc doesn't choke on unknown options, it will just issue warnings
12.5640 + # or remarks (even with -Werror). So we grep stderr for any message
12.5641 + # that says an option was ignored or not supported.
12.5642 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12.5643 + # icc: Command line warning: ignoring option '-M'; no argument required
12.5644 + # The diagnosis changed in icc 8.0:
12.5645 + # icc: Command line remark: option '-MP' not supported
12.5646 + if (grep 'ignoring option' conftest.err ||
12.5647 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12.5648 + am_cv_CXX_dependencies_compiler_type=$depmode
12.5649 + break
12.5650 + fi
12.5651 + fi
12.5652 + done
12.5653 +
12.5654 + cd ..
12.5655 + rm -rf conftest.dir
12.5656 +else
12.5657 + am_cv_CXX_dependencies_compiler_type=none
12.5658 +fi
12.5659 +
12.5660 +fi
12.5661 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12.5662 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12.5663 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12.5664 +
12.5665 +
12.5666 +
12.5667 +if
12.5668 + test "x$enable_dependency_tracking" != xno \
12.5669 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12.5670 + am__fastdepCXX_TRUE=
12.5671 + am__fastdepCXX_FALSE='#'
12.5672 +else
12.5673 + am__fastdepCXX_TRUE='#'
12.5674 + am__fastdepCXX_FALSE=
12.5675 +fi
12.5676 +
12.5677 +
12.5678 +ac_ext=cpp
12.5679 +ac_cpp='$CXXCPP $CPPFLAGS'
12.5680 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.5681 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.5682 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.5683 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12.5684 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12.5685 +if test -z "$CXXCPP"; then
12.5686 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
12.5687 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5688 +else
12.5689 + # Double quotes because CXXCPP needs to be expanded
12.5690 + for CXXCPP in "$CXX -E" "/lib/cpp"
12.5691 + do
12.5692 + ac_preproc_ok=false
12.5693 +for ac_cxx_preproc_warn_flag in '' yes
12.5694 +do
12.5695 + # Use a header file that comes with gcc, so configuring glibc
12.5696 + # with a fresh cross-compiler works.
12.5697 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.5698 + # <limits.h> exists even on freestanding compilers.
12.5699 + # On the NeXT, cc -E runs the code through the compiler's parser,
12.5700 + # not just through cpp. "Syntax error" is here to catch this case.
12.5701 + cat >conftest.$ac_ext <<_ACEOF
12.5702 +/* confdefs.h. */
12.5703 +_ACEOF
12.5704 +cat confdefs.h >>conftest.$ac_ext
12.5705 +cat >>conftest.$ac_ext <<_ACEOF
12.5706 +/* end confdefs.h. */
12.5707 +@%:@ifdef __STDC__
12.5708 +@%:@ include <limits.h>
12.5709 +@%:@else
12.5710 +@%:@ include <assert.h>
12.5711 +@%:@endif
12.5712 + Syntax error
12.5713 +_ACEOF
12.5714 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.5715 +case "(($ac_try" in
12.5716 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5717 + *) ac_try_echo=$ac_try;;
12.5718 +esac
12.5719 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5720 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.5721 + ac_status=$?
12.5722 + grep -v '^ *+' conftest.er1 >conftest.err
12.5723 + rm -f conftest.er1
12.5724 + cat conftest.err >&5
12.5725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5726 + (exit $ac_status); } >/dev/null && {
12.5727 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.5728 + test ! -s conftest.err
12.5729 + }; then
12.5730 + :
12.5731 +else
12.5732 + echo "$as_me: failed program was:" >&5
12.5733 +sed 's/^/| /' conftest.$ac_ext >&5
12.5734 +
12.5735 + # Broken: fails on valid input.
12.5736 +continue
12.5737 +fi
12.5738 +
12.5739 +rm -f conftest.err conftest.$ac_ext
12.5740 +
12.5741 + # OK, works on sane cases. Now check whether nonexistent headers
12.5742 + # can be detected and how.
12.5743 + cat >conftest.$ac_ext <<_ACEOF
12.5744 +/* confdefs.h. */
12.5745 +_ACEOF
12.5746 +cat confdefs.h >>conftest.$ac_ext
12.5747 +cat >>conftest.$ac_ext <<_ACEOF
12.5748 +/* end confdefs.h. */
12.5749 +@%:@include <ac_nonexistent.h>
12.5750 +_ACEOF
12.5751 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.5752 +case "(($ac_try" in
12.5753 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5754 + *) ac_try_echo=$ac_try;;
12.5755 +esac
12.5756 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5757 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.5758 + ac_status=$?
12.5759 + grep -v '^ *+' conftest.er1 >conftest.err
12.5760 + rm -f conftest.er1
12.5761 + cat conftest.err >&5
12.5762 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5763 + (exit $ac_status); } >/dev/null && {
12.5764 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.5765 + test ! -s conftest.err
12.5766 + }; then
12.5767 + # Broken: success on invalid input.
12.5768 +continue
12.5769 +else
12.5770 + echo "$as_me: failed program was:" >&5
12.5771 +sed 's/^/| /' conftest.$ac_ext >&5
12.5772 +
12.5773 + # Passes both tests.
12.5774 +ac_preproc_ok=:
12.5775 +break
12.5776 +fi
12.5777 +
12.5778 +rm -f conftest.err conftest.$ac_ext
12.5779 +
12.5780 +done
12.5781 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12.5782 +rm -f conftest.err conftest.$ac_ext
12.5783 +if $ac_preproc_ok; then
12.5784 + break
12.5785 +fi
12.5786 +
12.5787 + done
12.5788 + ac_cv_prog_CXXCPP=$CXXCPP
12.5789 +
12.5790 +fi
12.5791 + CXXCPP=$ac_cv_prog_CXXCPP
12.5792 +else
12.5793 + ac_cv_prog_CXXCPP=$CXXCPP
12.5794 +fi
12.5795 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
12.5796 +echo "${ECHO_T}$CXXCPP" >&6; }
12.5797 +ac_preproc_ok=false
12.5798 +for ac_cxx_preproc_warn_flag in '' yes
12.5799 +do
12.5800 + # Use a header file that comes with gcc, so configuring glibc
12.5801 + # with a fresh cross-compiler works.
12.5802 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.5803 + # <limits.h> exists even on freestanding compilers.
12.5804 + # On the NeXT, cc -E runs the code through the compiler's parser,
12.5805 + # not just through cpp. "Syntax error" is here to catch this case.
12.5806 + cat >conftest.$ac_ext <<_ACEOF
12.5807 +/* confdefs.h. */
12.5808 +_ACEOF
12.5809 +cat confdefs.h >>conftest.$ac_ext
12.5810 +cat >>conftest.$ac_ext <<_ACEOF
12.5811 +/* end confdefs.h. */
12.5812 +@%:@ifdef __STDC__
12.5813 +@%:@ include <limits.h>
12.5814 +@%:@else
12.5815 +@%:@ include <assert.h>
12.5816 +@%:@endif
12.5817 + Syntax error
12.5818 +_ACEOF
12.5819 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.5820 +case "(($ac_try" in
12.5821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5822 + *) ac_try_echo=$ac_try;;
12.5823 +esac
12.5824 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5825 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.5826 + ac_status=$?
12.5827 + grep -v '^ *+' conftest.er1 >conftest.err
12.5828 + rm -f conftest.er1
12.5829 + cat conftest.err >&5
12.5830 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5831 + (exit $ac_status); } >/dev/null && {
12.5832 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.5833 + test ! -s conftest.err
12.5834 + }; then
12.5835 + :
12.5836 +else
12.5837 + echo "$as_me: failed program was:" >&5
12.5838 +sed 's/^/| /' conftest.$ac_ext >&5
12.5839 +
12.5840 + # Broken: fails on valid input.
12.5841 +continue
12.5842 +fi
12.5843 +
12.5844 +rm -f conftest.err conftest.$ac_ext
12.5845 +
12.5846 + # OK, works on sane cases. Now check whether nonexistent headers
12.5847 + # can be detected and how.
12.5848 + cat >conftest.$ac_ext <<_ACEOF
12.5849 +/* confdefs.h. */
12.5850 +_ACEOF
12.5851 +cat confdefs.h >>conftest.$ac_ext
12.5852 +cat >>conftest.$ac_ext <<_ACEOF
12.5853 +/* end confdefs.h. */
12.5854 +@%:@include <ac_nonexistent.h>
12.5855 +_ACEOF
12.5856 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.5857 +case "(($ac_try" in
12.5858 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.5859 + *) ac_try_echo=$ac_try;;
12.5860 +esac
12.5861 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.5862 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.5863 + ac_status=$?
12.5864 + grep -v '^ *+' conftest.er1 >conftest.err
12.5865 + rm -f conftest.er1
12.5866 + cat conftest.err >&5
12.5867 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.5868 + (exit $ac_status); } >/dev/null && {
12.5869 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.5870 + test ! -s conftest.err
12.5871 + }; then
12.5872 + # Broken: success on invalid input.
12.5873 +continue
12.5874 +else
12.5875 + echo "$as_me: failed program was:" >&5
12.5876 +sed 's/^/| /' conftest.$ac_ext >&5
12.5877 +
12.5878 + # Passes both tests.
12.5879 +ac_preproc_ok=:
12.5880 +break
12.5881 +fi
12.5882 +
12.5883 +rm -f conftest.err conftest.$ac_ext
12.5884 +
12.5885 +done
12.5886 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12.5887 +rm -f conftest.err conftest.$ac_ext
12.5888 +if $ac_preproc_ok; then
12.5889 + :
12.5890 +else
12.5891 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12.5892 +See \`config.log' for more details." >&5
12.5893 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12.5894 +See \`config.log' for more details." >&2;}
12.5895 + { (exit 1); exit 1; }; }
12.5896 +fi
12.5897 +
12.5898 +ac_ext=cpp
12.5899 +ac_cpp='$CXXCPP $CPPFLAGS'
12.5900 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.5901 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.5902 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.5903 +
12.5904 +
12.5905 +ac_ext=f
12.5906 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12.5907 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.5908 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12.5909 +if test -n "$ac_tool_prefix"; then
12.5910 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
12.5911 + do
12.5912 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12.5913 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12.5914 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.5915 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.5916 +if test "${ac_cv_prog_F77+set}" = set; then
12.5917 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5918 +else
12.5919 + if test -n "$F77"; then
12.5920 + ac_cv_prog_F77="$F77" # Let the user override the test.
12.5921 +else
12.5922 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.5923 +for as_dir in $PATH
12.5924 +do
12.5925 + IFS=$as_save_IFS
12.5926 + test -z "$as_dir" && as_dir=.
12.5927 + for ac_exec_ext in '' $ac_executable_extensions; do
12.5928 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.5929 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12.5930 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.5931 + break 2
12.5932 + fi
12.5933 +done
12.5934 +done
12.5935 +IFS=$as_save_IFS
12.5936 +
12.5937 +fi
12.5938 +fi
12.5939 +F77=$ac_cv_prog_F77
12.5940 +if test -n "$F77"; then
12.5941 + { echo "$as_me:$LINENO: result: $F77" >&5
12.5942 +echo "${ECHO_T}$F77" >&6; }
12.5943 +else
12.5944 + { echo "$as_me:$LINENO: result: no" >&5
12.5945 +echo "${ECHO_T}no" >&6; }
12.5946 +fi
12.5947 +
12.5948 +
12.5949 + test -n "$F77" && break
12.5950 + done
12.5951 +fi
12.5952 +if test -z "$F77"; then
12.5953 + ac_ct_F77=$F77
12.5954 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
12.5955 +do
12.5956 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12.5957 +set dummy $ac_prog; ac_word=$2
12.5958 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.5959 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.5960 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
12.5961 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.5962 +else
12.5963 + if test -n "$ac_ct_F77"; then
12.5964 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
12.5965 +else
12.5966 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.5967 +for as_dir in $PATH
12.5968 +do
12.5969 + IFS=$as_save_IFS
12.5970 + test -z "$as_dir" && as_dir=.
12.5971 + for ac_exec_ext in '' $ac_executable_extensions; do
12.5972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.5973 + ac_cv_prog_ac_ct_F77="$ac_prog"
12.5974 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.5975 + break 2
12.5976 + fi
12.5977 +done
12.5978 +done
12.5979 +IFS=$as_save_IFS
12.5980 +
12.5981 +fi
12.5982 +fi
12.5983 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
12.5984 +if test -n "$ac_ct_F77"; then
12.5985 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
12.5986 +echo "${ECHO_T}$ac_ct_F77" >&6; }
12.5987 +else
12.5988 + { echo "$as_me:$LINENO: result: no" >&5
12.5989 +echo "${ECHO_T}no" >&6; }
12.5990 +fi
12.5991 +
12.5992 +
12.5993 + test -n "$ac_ct_F77" && break
12.5994 +done
12.5995 +
12.5996 + if test "x$ac_ct_F77" = x; then
12.5997 + F77=""
12.5998 + else
12.5999 + case $cross_compiling:$ac_tool_warned in
12.6000 +yes:)
12.6001 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.6002 +whose name does not start with the host triplet. If you think this
12.6003 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.6004 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.6005 +whose name does not start with the host triplet. If you think this
12.6006 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.6007 +ac_tool_warned=yes ;;
12.6008 +esac
12.6009 + F77=$ac_ct_F77
12.6010 + fi
12.6011 +fi
12.6012 +
12.6013 +
12.6014 +# Provide some information about the compiler.
12.6015 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
12.6016 +ac_compiler=`set X $ac_compile; echo $2`
12.6017 +{ (ac_try="$ac_compiler --version >&5"
12.6018 +case "(($ac_try" in
12.6019 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.6020 + *) ac_try_echo=$ac_try;;
12.6021 +esac
12.6022 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.6023 + (eval "$ac_compiler --version >&5") 2>&5
12.6024 + ac_status=$?
12.6025 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6026 + (exit $ac_status); }
12.6027 +{ (ac_try="$ac_compiler -v >&5"
12.6028 +case "(($ac_try" in
12.6029 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.6030 + *) ac_try_echo=$ac_try;;
12.6031 +esac
12.6032 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.6033 + (eval "$ac_compiler -v >&5") 2>&5
12.6034 + ac_status=$?
12.6035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6036 + (exit $ac_status); }
12.6037 +{ (ac_try="$ac_compiler -V >&5"
12.6038 +case "(($ac_try" in
12.6039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.6040 + *) ac_try_echo=$ac_try;;
12.6041 +esac
12.6042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.6043 + (eval "$ac_compiler -V >&5") 2>&5
12.6044 + ac_status=$?
12.6045 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6046 + (exit $ac_status); }
12.6047 +rm -f a.out
12.6048 +
12.6049 +# If we don't use `.F' as extension, the preprocessor is not run on the
12.6050 +# input file. (Note that this only needs to work for GNU compilers.)
12.6051 +ac_save_ext=$ac_ext
12.6052 +ac_ext=F
12.6053 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
12.6054 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
12.6055 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
12.6056 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6057 +else
12.6058 + cat >conftest.$ac_ext <<_ACEOF
12.6059 + program main
12.6060 +#ifndef __GNUC__
12.6061 + choke me
12.6062 +#endif
12.6063 +
12.6064 + end
12.6065 +_ACEOF
12.6066 +rm -f conftest.$ac_objext
12.6067 +if { (ac_try="$ac_compile"
12.6068 +case "(($ac_try" in
12.6069 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.6070 + *) ac_try_echo=$ac_try;;
12.6071 +esac
12.6072 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.6073 + (eval "$ac_compile") 2>conftest.er1
12.6074 + ac_status=$?
12.6075 + grep -v '^ *+' conftest.er1 >conftest.err
12.6076 + rm -f conftest.er1
12.6077 + cat conftest.err >&5
12.6078 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6079 + (exit $ac_status); } && {
12.6080 + test -z "$ac_f77_werror_flag" ||
12.6081 + test ! -s conftest.err
12.6082 + } && test -s conftest.$ac_objext; then
12.6083 + ac_compiler_gnu=yes
12.6084 +else
12.6085 + echo "$as_me: failed program was:" >&5
12.6086 +sed 's/^/| /' conftest.$ac_ext >&5
12.6087 +
12.6088 + ac_compiler_gnu=no
12.6089 +fi
12.6090 +
12.6091 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.6092 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
12.6093 +
12.6094 +fi
12.6095 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
12.6096 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
12.6097 +ac_ext=$ac_save_ext
12.6098 +ac_test_FFLAGS=${FFLAGS+set}
12.6099 +ac_save_FFLAGS=$FFLAGS
12.6100 +FFLAGS=
12.6101 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
12.6102 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
12.6103 +if test "${ac_cv_prog_f77_g+set}" = set; then
12.6104 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6105 +else
12.6106 + FFLAGS=-g
12.6107 +cat >conftest.$ac_ext <<_ACEOF
12.6108 + program main
12.6109 +
12.6110 + end
12.6111 +_ACEOF
12.6112 +rm -f conftest.$ac_objext
12.6113 +if { (ac_try="$ac_compile"
12.6114 +case "(($ac_try" in
12.6115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.6116 + *) ac_try_echo=$ac_try;;
12.6117 +esac
12.6118 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.6119 + (eval "$ac_compile") 2>conftest.er1
12.6120 + ac_status=$?
12.6121 + grep -v '^ *+' conftest.er1 >conftest.err
12.6122 + rm -f conftest.er1
12.6123 + cat conftest.err >&5
12.6124 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6125 + (exit $ac_status); } && {
12.6126 + test -z "$ac_f77_werror_flag" ||
12.6127 + test ! -s conftest.err
12.6128 + } && test -s conftest.$ac_objext; then
12.6129 + ac_cv_prog_f77_g=yes
12.6130 +else
12.6131 + echo "$as_me: failed program was:" >&5
12.6132 +sed 's/^/| /' conftest.$ac_ext >&5
12.6133 +
12.6134 + ac_cv_prog_f77_g=no
12.6135 +fi
12.6136 +
12.6137 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.6138 +
12.6139 +fi
12.6140 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
12.6141 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
12.6142 +if test "$ac_test_FFLAGS" = set; then
12.6143 + FFLAGS=$ac_save_FFLAGS
12.6144 +elif test $ac_cv_prog_f77_g = yes; then
12.6145 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12.6146 + FFLAGS="-g -O2"
12.6147 + else
12.6148 + FFLAGS="-g"
12.6149 + fi
12.6150 +else
12.6151 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
12.6152 + FFLAGS="-O2"
12.6153 + else
12.6154 + FFLAGS=
12.6155 + fi
12.6156 +fi
12.6157 +
12.6158 +G77=`test $ac_compiler_gnu = yes && echo yes`
12.6159 +ac_ext=c
12.6160 +ac_cpp='$CPP $CPPFLAGS'
12.6161 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.6162 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.6163 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.6164 +
12.6165 +
12.6166 +
12.6167 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
12.6168 +
12.6169 +# find the maximum length of command line arguments
12.6170 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
12.6171 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
12.6172 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
12.6173 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6174 +else
12.6175 + i=0
12.6176 + teststring="ABCD"
12.6177 +
12.6178 + case $build_os in
12.6179 + msdosdjgpp*)
12.6180 + # On DJGPP, this test can blow up pretty badly due to problems in libc
12.6181 + # (any single argument exceeding 2000 bytes causes a buffer overrun
12.6182 + # during glob expansion). Even if it were fixed, the result of this
12.6183 + # check would be larger than it should be.
12.6184 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
12.6185 + ;;
12.6186 +
12.6187 + gnu*)
12.6188 + # Under GNU Hurd, this test is not required because there is
12.6189 + # no limit to the length of command line arguments.
12.6190 + # Libtool will interpret -1 as no limit whatsoever
12.6191 + lt_cv_sys_max_cmd_len=-1;
12.6192 + ;;
12.6193 +
12.6194 + cygwin* | mingw*)
12.6195 + # On Win9x/ME, this test blows up -- it succeeds, but takes
12.6196 + # about 5 minutes as the teststring grows exponentially.
12.6197 + # Worse, since 9x/ME are not pre-emptively multitasking,
12.6198 + # you end up with a "frozen" computer, even though with patience
12.6199 + # the test eventually succeeds (with a max line length of 256k).
12.6200 + # Instead, let's just punt: use the minimum linelength reported by
12.6201 + # all of the supported platforms: 8192 (on NT/2K/XP).
12.6202 + lt_cv_sys_max_cmd_len=8192;
12.6203 + ;;
12.6204 +
12.6205 + amigaos*)
12.6206 + # On AmigaOS with pdksh, this test takes hours, literally.
12.6207 + # So we just punt and use a minimum line length of 8192.
12.6208 + lt_cv_sys_max_cmd_len=8192;
12.6209 + ;;
12.6210 +
12.6211 + *)
12.6212 + # If test is not a shell built-in, we'll probably end up computing a
12.6213 + # maximum length that is only half of the actual maximum length, but
12.6214 + # we can't tell.
12.6215 + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
12.6216 + = "XX$teststring") >/dev/null 2>&1 &&
12.6217 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
12.6218 + lt_cv_sys_max_cmd_len=$new_result &&
12.6219 + test $i != 17 # 1/2 MB should be enough
12.6220 + do
12.6221 + i=`expr $i + 1`
12.6222 + teststring=$teststring$teststring
12.6223 + done
12.6224 + teststring=
12.6225 + # Add a significant safety factor because C++ compilers can tack on massive
12.6226 + # amounts of additional arguments before passing them to the linker.
12.6227 + # It appears as though 1/2 is a usable value.
12.6228 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
12.6229 + ;;
12.6230 + esac
12.6231 +
12.6232 +fi
12.6233 +
12.6234 +if test -n $lt_cv_sys_max_cmd_len ; then
12.6235 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
12.6236 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
12.6237 +else
12.6238 + { echo "$as_me:$LINENO: result: none" >&5
12.6239 +echo "${ECHO_T}none" >&6; }
12.6240 +fi
12.6241 +
12.6242 +
12.6243 +
12.6244 +
12.6245 +# Check for command to grab the raw symbol name followed by C symbol from nm.
12.6246 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
12.6247 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
12.6248 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
12.6249 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6250 +else
12.6251 +
12.6252 +# These are sane defaults that work on at least a few old systems.
12.6253 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
12.6254 +
12.6255 +# Character class describing NM global symbol codes.
12.6256 +symcode='[BCDEGRST]'
12.6257 +
12.6258 +# Regexp to match symbols that can be accessed directly from C.
12.6259 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
12.6260 +
12.6261 +# Transform the above into a raw symbol and a C symbol.
12.6262 +symxfrm='\1 \2\3 \3'
12.6263 +
12.6264 +# Transform an extracted symbol line into a proper C declaration
12.6265 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
12.6266 +
12.6267 +# Transform an extracted symbol line into symbol name and symbol address
12.6268 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
12.6269 +
12.6270 +# Define system-specific variables.
12.6271 +case $host_os in
12.6272 +aix*)
12.6273 + symcode='[BCDT]'
12.6274 + ;;
12.6275 +cygwin* | mingw* | pw32*)
12.6276 + symcode='[ABCDGISTW]'
12.6277 + ;;
12.6278 +hpux*) # Its linker distinguishes data from code symbols
12.6279 + if test "$host_cpu" = ia64; then
12.6280 + symcode='[ABCDEGRST]'
12.6281 + fi
12.6282 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12.6283 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
12.6284 + ;;
12.6285 +irix* | nonstopux*)
12.6286 + symcode='[BCDEGRST]'
12.6287 + ;;
12.6288 +osf*)
12.6289 + symcode='[BCDEGQRST]'
12.6290 + ;;
12.6291 +solaris* | sysv5*)
12.6292 + symcode='[BDRT]'
12.6293 + ;;
12.6294 +sysv4)
12.6295 + symcode='[DFNSTU]'
12.6296 + ;;
12.6297 +esac
12.6298 +
12.6299 +# Handle CRLF in mingw tool chain
12.6300 +opt_cr=
12.6301 +case $build_os in
12.6302 +mingw*)
12.6303 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
12.6304 + ;;
12.6305 +esac
12.6306 +
12.6307 +# If we're using GNU nm, then use its standard symbol codes.
12.6308 +case `$NM -V 2>&1` in
12.6309 +*GNU* | *'with BFD'*)
12.6310 + symcode='[ABCDGIRSTW]' ;;
12.6311 +esac
12.6312 +
12.6313 +# Try without a prefix undercore, then with it.
12.6314 +for ac_symprfx in "" "_"; do
12.6315 +
12.6316 + # Write the raw and C identifiers.
12.6317 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
12.6318 +
12.6319 + # Check to see that the pipe works correctly.
12.6320 + pipe_works=no
12.6321 +
12.6322 + rm -f conftest*
12.6323 + cat > conftest.$ac_ext <<EOF
12.6324 +#ifdef __cplusplus
12.6325 +extern "C" {
12.6326 +#endif
12.6327 +char nm_test_var;
12.6328 +void nm_test_func(){}
12.6329 +#ifdef __cplusplus
12.6330 +}
12.6331 +#endif
12.6332 +int main(){nm_test_var='a';nm_test_func();return(0);}
12.6333 +EOF
12.6334 +
12.6335 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.6336 + (eval $ac_compile) 2>&5
12.6337 + ac_status=$?
12.6338 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6339 + (exit $ac_status); }; then
12.6340 + # Now try to grab the symbols.
12.6341 + nlist=conftest.nm
12.6342 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
12.6343 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
12.6344 + ac_status=$?
12.6345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6346 + (exit $ac_status); } && test -s "$nlist"; then
12.6347 + # Try sorting and uniquifying the output.
12.6348 + if sort "$nlist" | uniq > "$nlist"T; then
12.6349 + mv -f "$nlist"T "$nlist"
12.6350 + else
12.6351 + rm -f "$nlist"T
12.6352 + fi
12.6353 +
12.6354 + # Make sure that we snagged all the symbols we need.
12.6355 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
12.6356 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
12.6357 + cat <<EOF > conftest.$ac_ext
12.6358 +#ifdef __cplusplus
12.6359 +extern "C" {
12.6360 +#endif
12.6361 +
12.6362 +EOF
12.6363 + # Now generate the symbol file.
12.6364 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
12.6365 +
12.6366 + cat <<EOF >> conftest.$ac_ext
12.6367 +#if defined (__STDC__) && __STDC__
12.6368 +# define lt_ptr_t void *
12.6369 +#else
12.6370 +# define lt_ptr_t char *
12.6371 +# define const
12.6372 +#endif
12.6373 +
12.6374 +/* The mapping between symbol names and symbols. */
12.6375 +const struct {
12.6376 + const char *name;
12.6377 + lt_ptr_t address;
12.6378 +}
12.6379 +lt_preloaded_symbols[] =
12.6380 +{
12.6381 +EOF
12.6382 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
12.6383 + cat <<\EOF >> conftest.$ac_ext
12.6384 + {0, (lt_ptr_t) 0}
12.6385 +};
12.6386 +
12.6387 +#ifdef __cplusplus
12.6388 +}
12.6389 +#endif
12.6390 +EOF
12.6391 + # Now try linking the two files.
12.6392 + mv conftest.$ac_objext conftstm.$ac_objext
12.6393 + lt_save_LIBS="$LIBS"
12.6394 + lt_save_CFLAGS="$CFLAGS"
12.6395 + LIBS="conftstm.$ac_objext"
12.6396 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12.6397 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.6398 + (eval $ac_link) 2>&5
12.6399 + ac_status=$?
12.6400 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.6401 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
12.6402 + pipe_works=yes
12.6403 + fi
12.6404 + LIBS="$lt_save_LIBS"
12.6405 + CFLAGS="$lt_save_CFLAGS"
12.6406 + else
12.6407 + echo "cannot find nm_test_func in $nlist" >&5
12.6408 + fi
12.6409 + else
12.6410 + echo "cannot find nm_test_var in $nlist" >&5
12.6411 + fi
12.6412 + else
12.6413 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12.6414 + fi
12.6415 + else
12.6416 + echo "$progname: failed program was:" >&5
12.6417 + cat conftest.$ac_ext >&5
12.6418 + fi
12.6419 + rm -f conftest* conftst*
12.6420 +
12.6421 + # Do not use the global_symbol_pipe unless it works.
12.6422 + if test "$pipe_works" = yes; then
12.6423 + break
12.6424 + else
12.6425 + lt_cv_sys_global_symbol_pipe=
12.6426 + fi
12.6427 +done
12.6428 +
12.6429 +fi
12.6430 +
12.6431 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
12.6432 + lt_cv_sys_global_symbol_to_cdecl=
12.6433 +fi
12.6434 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12.6435 + { echo "$as_me:$LINENO: result: failed" >&5
12.6436 +echo "${ECHO_T}failed" >&6; }
12.6437 +else
12.6438 + { echo "$as_me:$LINENO: result: ok" >&5
12.6439 +echo "${ECHO_T}ok" >&6; }
12.6440 +fi
12.6441 +
12.6442 +{ echo "$as_me:$LINENO: checking for objdir" >&5
12.6443 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
12.6444 +if test "${lt_cv_objdir+set}" = set; then
12.6445 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6446 +else
12.6447 + rm -f .libs 2>/dev/null
12.6448 +mkdir .libs 2>/dev/null
12.6449 +if test -d .libs; then
12.6450 + lt_cv_objdir=.libs
12.6451 +else
12.6452 + # MS-DOS does not allow filenames that begin with a dot.
12.6453 + lt_cv_objdir=_libs
12.6454 +fi
12.6455 +rmdir .libs 2>/dev/null
12.6456 +fi
12.6457 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12.6458 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
12.6459 +objdir=$lt_cv_objdir
12.6460 +
12.6461 +
12.6462 +
12.6463 +
12.6464 +
12.6465 +case $host_os in
12.6466 +aix3*)
12.6467 + # AIX sometimes has problems with the GCC collect2 program. For some
12.6468 + # reason, if we set the COLLECT_NAMES environment variable, the problems
12.6469 + # vanish in a puff of smoke.
12.6470 + if test "X${COLLECT_NAMES+set}" != Xset; then
12.6471 + COLLECT_NAMES=
12.6472 + export COLLECT_NAMES
12.6473 + fi
12.6474 + ;;
12.6475 +esac
12.6476 +
12.6477 +# Sed substitution that helps us do robust quoting. It backslashifies
12.6478 +# metacharacters that are still active within double-quoted strings.
12.6479 +Xsed='sed -e s/^X//'
12.6480 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12.6481 +
12.6482 +# Same as above, but do not quote variable references.
12.6483 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12.6484 +
12.6485 +# Sed substitution to delay expansion of an escaped shell variable in a
12.6486 +# double_quote_subst'ed string.
12.6487 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12.6488 +
12.6489 +# Sed substitution to avoid accidental globbing in evaled expressions
12.6490 +no_glob_subst='s/\*/\\\*/g'
12.6491 +
12.6492 +# Constants:
12.6493 +rm="rm -f"
12.6494 +
12.6495 +# Global variables:
12.6496 +default_ofile=libtool
12.6497 +can_build_shared=yes
12.6498 +
12.6499 +# All known linkers require a `.a' archive for static linking (except M$VC,
12.6500 +# which needs '.lib').
12.6501 +libext=a
12.6502 +ltmain="$ac_aux_dir/ltmain.sh"
12.6503 +ofile="$default_ofile"
12.6504 +with_gnu_ld="$lt_cv_prog_gnu_ld"
12.6505 +
12.6506 +if test -n "$ac_tool_prefix"; then
12.6507 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12.6508 +set dummy ${ac_tool_prefix}ar; ac_word=$2
12.6509 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.6510 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.6511 +if test "${ac_cv_prog_AR+set}" = set; then
12.6512 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6513 +else
12.6514 + if test -n "$AR"; then
12.6515 + ac_cv_prog_AR="$AR" # Let the user override the test.
12.6516 +else
12.6517 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.6518 +for as_dir in $PATH
12.6519 +do
12.6520 + IFS=$as_save_IFS
12.6521 + test -z "$as_dir" && as_dir=.
12.6522 + for ac_exec_ext in '' $ac_executable_extensions; do
12.6523 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.6524 + ac_cv_prog_AR="${ac_tool_prefix}ar"
12.6525 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.6526 + break 2
12.6527 + fi
12.6528 +done
12.6529 +done
12.6530 +IFS=$as_save_IFS
12.6531 +
12.6532 +fi
12.6533 +fi
12.6534 +AR=$ac_cv_prog_AR
12.6535 +if test -n "$AR"; then
12.6536 + { echo "$as_me:$LINENO: result: $AR" >&5
12.6537 +echo "${ECHO_T}$AR" >&6; }
12.6538 +else
12.6539 + { echo "$as_me:$LINENO: result: no" >&5
12.6540 +echo "${ECHO_T}no" >&6; }
12.6541 +fi
12.6542 +
12.6543 +
12.6544 +fi
12.6545 +if test -z "$ac_cv_prog_AR"; then
12.6546 + ac_ct_AR=$AR
12.6547 + # Extract the first word of "ar", so it can be a program name with args.
12.6548 +set dummy ar; ac_word=$2
12.6549 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.6550 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.6551 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12.6552 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6553 +else
12.6554 + if test -n "$ac_ct_AR"; then
12.6555 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12.6556 +else
12.6557 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.6558 +for as_dir in $PATH
12.6559 +do
12.6560 + IFS=$as_save_IFS
12.6561 + test -z "$as_dir" && as_dir=.
12.6562 + for ac_exec_ext in '' $ac_executable_extensions; do
12.6563 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.6564 + ac_cv_prog_ac_ct_AR="ar"
12.6565 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.6566 + break 2
12.6567 + fi
12.6568 +done
12.6569 +done
12.6570 +IFS=$as_save_IFS
12.6571 +
12.6572 +fi
12.6573 +fi
12.6574 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
12.6575 +if test -n "$ac_ct_AR"; then
12.6576 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12.6577 +echo "${ECHO_T}$ac_ct_AR" >&6; }
12.6578 +else
12.6579 + { echo "$as_me:$LINENO: result: no" >&5
12.6580 +echo "${ECHO_T}no" >&6; }
12.6581 +fi
12.6582 +
12.6583 + if test "x$ac_ct_AR" = x; then
12.6584 + AR="false"
12.6585 + else
12.6586 + case $cross_compiling:$ac_tool_warned in
12.6587 +yes:)
12.6588 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.6589 +whose name does not start with the host triplet. If you think this
12.6590 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.6591 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.6592 +whose name does not start with the host triplet. If you think this
12.6593 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.6594 +ac_tool_warned=yes ;;
12.6595 +esac
12.6596 + AR=$ac_ct_AR
12.6597 + fi
12.6598 +else
12.6599 + AR="$ac_cv_prog_AR"
12.6600 +fi
12.6601 +
12.6602 +if test -n "$ac_tool_prefix"; then
12.6603 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12.6604 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12.6605 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.6606 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.6607 +if test "${ac_cv_prog_RANLIB+set}" = set; then
12.6608 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6609 +else
12.6610 + if test -n "$RANLIB"; then
12.6611 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12.6612 +else
12.6613 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.6614 +for as_dir in $PATH
12.6615 +do
12.6616 + IFS=$as_save_IFS
12.6617 + test -z "$as_dir" && as_dir=.
12.6618 + for ac_exec_ext in '' $ac_executable_extensions; do
12.6619 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.6620 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12.6621 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.6622 + break 2
12.6623 + fi
12.6624 +done
12.6625 +done
12.6626 +IFS=$as_save_IFS
12.6627 +
12.6628 +fi
12.6629 +fi
12.6630 +RANLIB=$ac_cv_prog_RANLIB
12.6631 +if test -n "$RANLIB"; then
12.6632 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
12.6633 +echo "${ECHO_T}$RANLIB" >&6; }
12.6634 +else
12.6635 + { echo "$as_me:$LINENO: result: no" >&5
12.6636 +echo "${ECHO_T}no" >&6; }
12.6637 +fi
12.6638 +
12.6639 +
12.6640 +fi
12.6641 +if test -z "$ac_cv_prog_RANLIB"; then
12.6642 + ac_ct_RANLIB=$RANLIB
12.6643 + # Extract the first word of "ranlib", so it can be a program name with args.
12.6644 +set dummy ranlib; ac_word=$2
12.6645 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.6646 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.6647 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12.6648 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6649 +else
12.6650 + if test -n "$ac_ct_RANLIB"; then
12.6651 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12.6652 +else
12.6653 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.6654 +for as_dir in $PATH
12.6655 +do
12.6656 + IFS=$as_save_IFS
12.6657 + test -z "$as_dir" && as_dir=.
12.6658 + for ac_exec_ext in '' $ac_executable_extensions; do
12.6659 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.6660 + ac_cv_prog_ac_ct_RANLIB="ranlib"
12.6661 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.6662 + break 2
12.6663 + fi
12.6664 +done
12.6665 +done
12.6666 +IFS=$as_save_IFS
12.6667 +
12.6668 +fi
12.6669 +fi
12.6670 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12.6671 +if test -n "$ac_ct_RANLIB"; then
12.6672 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12.6673 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
12.6674 +else
12.6675 + { echo "$as_me:$LINENO: result: no" >&5
12.6676 +echo "${ECHO_T}no" >&6; }
12.6677 +fi
12.6678 +
12.6679 + if test "x$ac_ct_RANLIB" = x; then
12.6680 + RANLIB=":"
12.6681 + else
12.6682 + case $cross_compiling:$ac_tool_warned in
12.6683 +yes:)
12.6684 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.6685 +whose name does not start with the host triplet. If you think this
12.6686 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.6687 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.6688 +whose name does not start with the host triplet. If you think this
12.6689 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.6690 +ac_tool_warned=yes ;;
12.6691 +esac
12.6692 + RANLIB=$ac_ct_RANLIB
12.6693 + fi
12.6694 +else
12.6695 + RANLIB="$ac_cv_prog_RANLIB"
12.6696 +fi
12.6697 +
12.6698 +if test -n "$ac_tool_prefix"; then
12.6699 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12.6700 +set dummy ${ac_tool_prefix}strip; ac_word=$2
12.6701 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.6702 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.6703 +if test "${ac_cv_prog_STRIP+set}" = set; then
12.6704 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6705 +else
12.6706 + if test -n "$STRIP"; then
12.6707 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12.6708 +else
12.6709 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.6710 +for as_dir in $PATH
12.6711 +do
12.6712 + IFS=$as_save_IFS
12.6713 + test -z "$as_dir" && as_dir=.
12.6714 + for ac_exec_ext in '' $ac_executable_extensions; do
12.6715 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.6716 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12.6717 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.6718 + break 2
12.6719 + fi
12.6720 +done
12.6721 +done
12.6722 +IFS=$as_save_IFS
12.6723 +
12.6724 +fi
12.6725 +fi
12.6726 +STRIP=$ac_cv_prog_STRIP
12.6727 +if test -n "$STRIP"; then
12.6728 + { echo "$as_me:$LINENO: result: $STRIP" >&5
12.6729 +echo "${ECHO_T}$STRIP" >&6; }
12.6730 +else
12.6731 + { echo "$as_me:$LINENO: result: no" >&5
12.6732 +echo "${ECHO_T}no" >&6; }
12.6733 +fi
12.6734 +
12.6735 +
12.6736 +fi
12.6737 +if test -z "$ac_cv_prog_STRIP"; then
12.6738 + ac_ct_STRIP=$STRIP
12.6739 + # Extract the first word of "strip", so it can be a program name with args.
12.6740 +set dummy strip; ac_word=$2
12.6741 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.6742 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.6743 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12.6744 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6745 +else
12.6746 + if test -n "$ac_ct_STRIP"; then
12.6747 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12.6748 +else
12.6749 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.6750 +for as_dir in $PATH
12.6751 +do
12.6752 + IFS=$as_save_IFS
12.6753 + test -z "$as_dir" && as_dir=.
12.6754 + for ac_exec_ext in '' $ac_executable_extensions; do
12.6755 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.6756 + ac_cv_prog_ac_ct_STRIP="strip"
12.6757 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.6758 + break 2
12.6759 + fi
12.6760 +done
12.6761 +done
12.6762 +IFS=$as_save_IFS
12.6763 +
12.6764 +fi
12.6765 +fi
12.6766 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12.6767 +if test -n "$ac_ct_STRIP"; then
12.6768 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12.6769 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
12.6770 +else
12.6771 + { echo "$as_me:$LINENO: result: no" >&5
12.6772 +echo "${ECHO_T}no" >&6; }
12.6773 +fi
12.6774 +
12.6775 + if test "x$ac_ct_STRIP" = x; then
12.6776 + STRIP=":"
12.6777 + else
12.6778 + case $cross_compiling:$ac_tool_warned in
12.6779 +yes:)
12.6780 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.6781 +whose name does not start with the host triplet. If you think this
12.6782 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.6783 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.6784 +whose name does not start with the host triplet. If you think this
12.6785 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.6786 +ac_tool_warned=yes ;;
12.6787 +esac
12.6788 + STRIP=$ac_ct_STRIP
12.6789 + fi
12.6790 +else
12.6791 + STRIP="$ac_cv_prog_STRIP"
12.6792 +fi
12.6793 +
12.6794 +
12.6795 +old_CC="$CC"
12.6796 +old_CFLAGS="$CFLAGS"
12.6797 +
12.6798 +# Set sane defaults for various variables
12.6799 +test -z "$AR" && AR=ar
12.6800 +test -z "$AR_FLAGS" && AR_FLAGS=cru
12.6801 +test -z "$AS" && AS=as
12.6802 +test -z "$CC" && CC=cc
12.6803 +test -z "$LTCC" && LTCC=$CC
12.6804 +test -z "$DLLTOOL" && DLLTOOL=dlltool
12.6805 +test -z "$LD" && LD=ld
12.6806 +test -z "$LN_S" && LN_S="ln -s"
12.6807 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
12.6808 +test -z "$NM" && NM=nm
12.6809 +test -z "$SED" && SED=sed
12.6810 +test -z "$OBJDUMP" && OBJDUMP=objdump
12.6811 +test -z "$RANLIB" && RANLIB=:
12.6812 +test -z "$STRIP" && STRIP=:
12.6813 +test -z "$ac_objext" && ac_objext=o
12.6814 +
12.6815 +# Determine commands to create old-style static archives.
12.6816 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12.6817 +old_postinstall_cmds='chmod 644 $oldlib'
12.6818 +old_postuninstall_cmds=
12.6819 +
12.6820 +if test -n "$RANLIB"; then
12.6821 + case $host_os in
12.6822 + openbsd*)
12.6823 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12.6824 + ;;
12.6825 + *)
12.6826 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12.6827 + ;;
12.6828 + esac
12.6829 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12.6830 +fi
12.6831 +
12.6832 +# Only perform the check for file, if the check method requires it
12.6833 +case $deplibs_check_method in
12.6834 +file_magic*)
12.6835 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12.6836 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12.6837 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
12.6838 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12.6839 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6840 +else
12.6841 + case $MAGIC_CMD in
12.6842 +[\\/*] | ?:[\\/]*)
12.6843 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12.6844 + ;;
12.6845 +*)
12.6846 + lt_save_MAGIC_CMD="$MAGIC_CMD"
12.6847 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12.6848 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12.6849 + for ac_dir in $ac_dummy; do
12.6850 + IFS="$lt_save_ifs"
12.6851 + test -z "$ac_dir" && ac_dir=.
12.6852 + if test -f $ac_dir/${ac_tool_prefix}file; then
12.6853 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12.6854 + if test -n "$file_magic_test_file"; then
12.6855 + case $deplibs_check_method in
12.6856 + "file_magic "*)
12.6857 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12.6858 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12.6859 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12.6860 + $EGREP "$file_magic_regex" > /dev/null; then
12.6861 + :
12.6862 + else
12.6863 + cat <<EOF 1>&2
12.6864 +
12.6865 +*** Warning: the command libtool uses to detect shared libraries,
12.6866 +*** $file_magic_cmd, produces output that libtool cannot recognize.
12.6867 +*** The result is that libtool may fail to recognize shared libraries
12.6868 +*** as such. This will affect the creation of libtool libraries that
12.6869 +*** depend on shared libraries, but programs linked with such libtool
12.6870 +*** libraries will work regardless of this problem. Nevertheless, you
12.6871 +*** may want to report the problem to your system manager and/or to
12.6872 +*** bug-libtool@gnu.org
12.6873 +
12.6874 +EOF
12.6875 + fi ;;
12.6876 + esac
12.6877 + fi
12.6878 + break
12.6879 + fi
12.6880 + done
12.6881 + IFS="$lt_save_ifs"
12.6882 + MAGIC_CMD="$lt_save_MAGIC_CMD"
12.6883 + ;;
12.6884 +esac
12.6885 +fi
12.6886 +
12.6887 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12.6888 +if test -n "$MAGIC_CMD"; then
12.6889 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12.6890 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
12.6891 +else
12.6892 + { echo "$as_me:$LINENO: result: no" >&5
12.6893 +echo "${ECHO_T}no" >&6; }
12.6894 +fi
12.6895 +
12.6896 +if test -z "$lt_cv_path_MAGIC_CMD"; then
12.6897 + if test -n "$ac_tool_prefix"; then
12.6898 + { echo "$as_me:$LINENO: checking for file" >&5
12.6899 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
12.6900 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12.6901 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.6902 +else
12.6903 + case $MAGIC_CMD in
12.6904 +[\\/*] | ?:[\\/]*)
12.6905 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12.6906 + ;;
12.6907 +*)
12.6908 + lt_save_MAGIC_CMD="$MAGIC_CMD"
12.6909 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12.6910 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12.6911 + for ac_dir in $ac_dummy; do
12.6912 + IFS="$lt_save_ifs"
12.6913 + test -z "$ac_dir" && ac_dir=.
12.6914 + if test -f $ac_dir/file; then
12.6915 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
12.6916 + if test -n "$file_magic_test_file"; then
12.6917 + case $deplibs_check_method in
12.6918 + "file_magic "*)
12.6919 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12.6920 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12.6921 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12.6922 + $EGREP "$file_magic_regex" > /dev/null; then
12.6923 + :
12.6924 + else
12.6925 + cat <<EOF 1>&2
12.6926 +
12.6927 +*** Warning: the command libtool uses to detect shared libraries,
12.6928 +*** $file_magic_cmd, produces output that libtool cannot recognize.
12.6929 +*** The result is that libtool may fail to recognize shared libraries
12.6930 +*** as such. This will affect the creation of libtool libraries that
12.6931 +*** depend on shared libraries, but programs linked with such libtool
12.6932 +*** libraries will work regardless of this problem. Nevertheless, you
12.6933 +*** may want to report the problem to your system manager and/or to
12.6934 +*** bug-libtool@gnu.org
12.6935 +
12.6936 +EOF
12.6937 + fi ;;
12.6938 + esac
12.6939 + fi
12.6940 + break
12.6941 + fi
12.6942 + done
12.6943 + IFS="$lt_save_ifs"
12.6944 + MAGIC_CMD="$lt_save_MAGIC_CMD"
12.6945 + ;;
12.6946 +esac
12.6947 +fi
12.6948 +
12.6949 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12.6950 +if test -n "$MAGIC_CMD"; then
12.6951 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12.6952 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
12.6953 +else
12.6954 + { echo "$as_me:$LINENO: result: no" >&5
12.6955 +echo "${ECHO_T}no" >&6; }
12.6956 +fi
12.6957 +
12.6958 + else
12.6959 + MAGIC_CMD=:
12.6960 + fi
12.6961 +fi
12.6962 +
12.6963 + fi
12.6964 + ;;
12.6965 +esac
12.6966 +
12.6967 +enable_dlopen=no
12.6968 +enable_win32_dll=no
12.6969 +
12.6970 +# Check whether --enable-libtool-lock was given.
12.6971 +if test "${enable_libtool_lock+set}" = set; then
12.6972 + enableval=$enable_libtool_lock;
12.6973 +fi
12.6974 +
12.6975 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12.6976 +
12.6977 +
12.6978 +# Check whether --with-pic was given.
12.6979 +if test "${with_pic+set}" = set; then
12.6980 + withval=$with_pic; pic_mode="$withval"
12.6981 +else
12.6982 + pic_mode=default
12.6983 +fi
12.6984 +
12.6985 +test -z "$pic_mode" && pic_mode=default
12.6986 +
12.6987 +# Use C for the default configuration in the libtool script
12.6988 +tagname=
12.6989 +lt_save_CC="$CC"
12.6990 +ac_ext=c
12.6991 +ac_cpp='$CPP $CPPFLAGS'
12.6992 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.6993 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.6994 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.6995 +
12.6996 +
12.6997 +# Source file extension for C test sources.
12.6998 +ac_ext=c
12.6999 +
12.7000 +# Object file extension for compiled C test sources.
12.7001 +objext=o
12.7002 +objext=$objext
12.7003 +
12.7004 +# Code to be used in simple compile tests
12.7005 +lt_simple_compile_test_code="int some_variable = 0;\n"
12.7006 +
12.7007 +# Code to be used in simple link tests
12.7008 +lt_simple_link_test_code='int main(){return(0);}\n'
12.7009 +
12.7010 +
12.7011 +# If no C compiler was specified, use CC.
12.7012 +LTCC=${LTCC-"$CC"}
12.7013 +
12.7014 +# Allow CC to be a program name with arguments.
12.7015 +compiler=$CC
12.7016 +
12.7017 +
12.7018 +#
12.7019 +# Check for any special shared library compilation flags.
12.7020 +#
12.7021 +lt_prog_cc_shlib=
12.7022 +if test "$GCC" = no; then
12.7023 + case $host_os in
12.7024 + sco3.2v5*)
12.7025 + lt_prog_cc_shlib='-belf'
12.7026 + ;;
12.7027 + esac
12.7028 +fi
12.7029 +if test -n "$lt_prog_cc_shlib"; then
12.7030 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12.7031 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12.7032 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12.7033 + else
12.7034 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12.7035 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12.7036 + lt_cv_prog_cc_can_build_shared=no
12.7037 + fi
12.7038 +fi
12.7039 +
12.7040 +
12.7041 +#
12.7042 +# Check to make sure the static flag actually works.
12.7043 +#
12.7044 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12.7045 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
12.7046 +if test "${lt_prog_compiler_static_works+set}" = set; then
12.7047 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.7048 +else
12.7049 + lt_prog_compiler_static_works=no
12.7050 + save_LDFLAGS="$LDFLAGS"
12.7051 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12.7052 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
12.7053 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12.7054 + # The compiler can only warn and ignore the option if not recognized
12.7055 + # So say no if there are warnings
12.7056 + if test -s conftest.err; then
12.7057 + # Append any errors to the config.log.
12.7058 + cat conftest.err 1>&5
12.7059 + else
12.7060 + lt_prog_compiler_static_works=yes
12.7061 + fi
12.7062 + fi
12.7063 + $rm conftest*
12.7064 + LDFLAGS="$save_LDFLAGS"
12.7065 +
12.7066 +fi
12.7067 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12.7068 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
12.7069 +
12.7070 +if test x"$lt_prog_compiler_static_works" = xyes; then
12.7071 + :
12.7072 +else
12.7073 + lt_prog_compiler_static=
12.7074 +fi
12.7075 +
12.7076 +
12.7077 +
12.7078 +## CAVEAT EMPTOR:
12.7079 +## There is no encapsulation within the following macros, do not change
12.7080 +## the running order or otherwise move them around unless you know exactly
12.7081 +## what you are doing...
12.7082 +
12.7083 +lt_prog_compiler_no_builtin_flag=
12.7084 +
12.7085 +if test "$GCC" = yes; then
12.7086 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12.7087 +
12.7088 +
12.7089 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12.7090 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
12.7091 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12.7092 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.7093 +else
12.7094 + lt_cv_prog_compiler_rtti_exceptions=no
12.7095 + ac_outfile=conftest.$ac_objext
12.7096 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.7097 + lt_compiler_flag="-fno-rtti -fno-exceptions"
12.7098 + # Insert the option either (1) after the last *FLAGS variable, or
12.7099 + # (2) before a word containing "conftest.", or (3) at the end.
12.7100 + # Note that $ac_compile itself does not contain backslashes and begins
12.7101 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.7102 + # The option is referenced via a variable to avoid confusing sed.
12.7103 + lt_compile=`echo "$ac_compile" | $SED \
12.7104 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.7105 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.7106 + -e 's:$: $lt_compiler_flag:'`
12.7107 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.7108 + (eval "$lt_compile" 2>conftest.err)
12.7109 + ac_status=$?
12.7110 + cat conftest.err >&5
12.7111 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.7112 + if (exit $ac_status) && test -s "$ac_outfile"; then
12.7113 + # The compiler can only warn and ignore the option if not recognized
12.7114 + # So say no if there are warnings
12.7115 + if test ! -s conftest.err; then
12.7116 + lt_cv_prog_compiler_rtti_exceptions=yes
12.7117 + fi
12.7118 + fi
12.7119 + $rm conftest*
12.7120 +
12.7121 +fi
12.7122 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12.7123 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12.7124 +
12.7125 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12.7126 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12.7127 +else
12.7128 + :
12.7129 +fi
12.7130 +
12.7131 +fi
12.7132 +
12.7133 +lt_prog_compiler_wl=
12.7134 +lt_prog_compiler_pic=
12.7135 +lt_prog_compiler_static=
12.7136 +
12.7137 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12.7138 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12.7139 +
12.7140 + if test "$GCC" = yes; then
12.7141 + lt_prog_compiler_wl='-Wl,'
12.7142 + lt_prog_compiler_static='-static'
12.7143 +
12.7144 + case $host_os in
12.7145 + aix*)
12.7146 + # All AIX code is PIC.
12.7147 + if test "$host_cpu" = ia64; then
12.7148 + # AIX 5 now supports IA64 processor
12.7149 + lt_prog_compiler_static='-Bstatic'
12.7150 + fi
12.7151 + ;;
12.7152 +
12.7153 + amigaos*)
12.7154 + # FIXME: we need at least 68020 code to build shared libraries, but
12.7155 + # adding the `-m68020' flag to GCC prevents building anything better,
12.7156 + # like `-m68040'.
12.7157 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12.7158 + ;;
12.7159 +
12.7160 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12.7161 + # PIC is the default for these OSes.
12.7162 + ;;
12.7163 +
12.7164 + mingw* | pw32* | os2*)
12.7165 + # This hack is so that the source file can tell whether it is being
12.7166 + # built for inclusion in a dll (and should export symbols for example).
12.7167 + lt_prog_compiler_pic='-DDLL_EXPORT'
12.7168 + ;;
12.7169 +
12.7170 + darwin* | rhapsody*)
12.7171 + # PIC is the default on this platform
12.7172 + # Common symbols not allowed in MH_DYLIB files
12.7173 + lt_prog_compiler_pic='-fno-common'
12.7174 + ;;
12.7175 +
12.7176 + msdosdjgpp*)
12.7177 + # Just because we use GCC doesn't mean we suddenly get shared libraries
12.7178 + # on systems that don't support them.
12.7179 + lt_prog_compiler_can_build_shared=no
12.7180 + enable_shared=no
12.7181 + ;;
12.7182 +
12.7183 + sysv4*MP*)
12.7184 + if test -d /usr/nec; then
12.7185 + lt_prog_compiler_pic=-Kconform_pic
12.7186 + fi
12.7187 + ;;
12.7188 +
12.7189 + hpux*)
12.7190 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.7191 + # not for PA HP-UX.
12.7192 + case "$host_cpu" in
12.7193 + hppa*64*|ia64*)
12.7194 + # +Z the default
12.7195 + ;;
12.7196 + *)
12.7197 + lt_prog_compiler_pic='-fPIC'
12.7198 + ;;
12.7199 + esac
12.7200 + ;;
12.7201 +
12.7202 + *)
12.7203 + lt_prog_compiler_pic='-fPIC'
12.7204 + ;;
12.7205 + esac
12.7206 + else
12.7207 + # PORTME Check for flag to pass linker flags through the system compiler.
12.7208 + case $host_os in
12.7209 + aix*)
12.7210 + lt_prog_compiler_wl='-Wl,'
12.7211 + if test "$host_cpu" = ia64; then
12.7212 + # AIX 5 now supports IA64 processor
12.7213 + lt_prog_compiler_static='-Bstatic'
12.7214 + else
12.7215 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12.7216 + fi
12.7217 + ;;
12.7218 +
12.7219 + mingw* | pw32* | os2*)
12.7220 + # This hack is so that the source file can tell whether it is being
12.7221 + # built for inclusion in a dll (and should export symbols for example).
12.7222 + lt_prog_compiler_pic='-DDLL_EXPORT'
12.7223 + ;;
12.7224 +
12.7225 + hpux9* | hpux10* | hpux11*)
12.7226 + lt_prog_compiler_wl='-Wl,'
12.7227 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.7228 + # not for PA HP-UX.
12.7229 + case "$host_cpu" in
12.7230 + hppa*64*|ia64*)
12.7231 + # +Z the default
12.7232 + ;;
12.7233 + *)
12.7234 + lt_prog_compiler_pic='+Z'
12.7235 + ;;
12.7236 + esac
12.7237 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
12.7238 + lt_prog_compiler_static='${wl}-a ${wl}archive'
12.7239 + ;;
12.7240 +
12.7241 + irix5* | irix6* | nonstopux*)
12.7242 + lt_prog_compiler_wl='-Wl,'
12.7243 + # PIC (with -KPIC) is the default.
12.7244 + lt_prog_compiler_static='-non_shared'
12.7245 + ;;
12.7246 +
12.7247 + newsos6)
12.7248 + lt_prog_compiler_pic='-KPIC'
12.7249 + lt_prog_compiler_static='-Bstatic'
12.7250 + ;;
12.7251 +
12.7252 + linux*)
12.7253 + case $CC in
12.7254 + icc* | ecc*)
12.7255 + lt_prog_compiler_wl='-Wl,'
12.7256 + lt_prog_compiler_pic='-KPIC'
12.7257 + lt_prog_compiler_static='-static'
12.7258 + ;;
12.7259 + ccc*)
12.7260 + lt_prog_compiler_wl='-Wl,'
12.7261 + # All Alpha code is PIC.
12.7262 + lt_prog_compiler_static='-non_shared'
12.7263 + ;;
12.7264 + esac
12.7265 + ;;
12.7266 +
12.7267 + osf3* | osf4* | osf5*)
12.7268 + lt_prog_compiler_wl='-Wl,'
12.7269 + # All OSF/1 code is PIC.
12.7270 + lt_prog_compiler_static='-non_shared'
12.7271 + ;;
12.7272 +
12.7273 + sco3.2v5*)
12.7274 + lt_prog_compiler_pic='-Kpic'
12.7275 + lt_prog_compiler_static='-dn'
12.7276 + ;;
12.7277 +
12.7278 + solaris*)
12.7279 + lt_prog_compiler_wl='-Wl,'
12.7280 + lt_prog_compiler_pic='-KPIC'
12.7281 + lt_prog_compiler_static='-Bstatic'
12.7282 + ;;
12.7283 +
12.7284 + sunos4*)
12.7285 + lt_prog_compiler_wl='-Qoption ld '
12.7286 + lt_prog_compiler_pic='-PIC'
12.7287 + lt_prog_compiler_static='-Bstatic'
12.7288 + ;;
12.7289 +
12.7290 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.7291 + lt_prog_compiler_wl='-Wl,'
12.7292 + lt_prog_compiler_pic='-KPIC'
12.7293 + lt_prog_compiler_static='-Bstatic'
12.7294 + ;;
12.7295 +
12.7296 + sysv4*MP*)
12.7297 + if test -d /usr/nec ;then
12.7298 + lt_prog_compiler_pic='-Kconform_pic'
12.7299 + lt_prog_compiler_static='-Bstatic'
12.7300 + fi
12.7301 + ;;
12.7302 +
12.7303 + uts4*)
12.7304 + lt_prog_compiler_pic='-pic'
12.7305 + lt_prog_compiler_static='-Bstatic'
12.7306 + ;;
12.7307 +
12.7308 + *)
12.7309 + lt_prog_compiler_can_build_shared=no
12.7310 + ;;
12.7311 + esac
12.7312 + fi
12.7313 +
12.7314 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12.7315 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
12.7316 +
12.7317 +#
12.7318 +# Check to make sure the PIC flag actually works.
12.7319 +#
12.7320 +if test -n "$lt_prog_compiler_pic"; then
12.7321 +
12.7322 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12.7323 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
12.7324 +if test "${lt_prog_compiler_pic_works+set}" = set; then
12.7325 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.7326 +else
12.7327 + lt_prog_compiler_pic_works=no
12.7328 + ac_outfile=conftest.$ac_objext
12.7329 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.7330 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12.7331 + # Insert the option either (1) after the last *FLAGS variable, or
12.7332 + # (2) before a word containing "conftest.", or (3) at the end.
12.7333 + # Note that $ac_compile itself does not contain backslashes and begins
12.7334 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.7335 + # The option is referenced via a variable to avoid confusing sed.
12.7336 + lt_compile=`echo "$ac_compile" | $SED \
12.7337 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.7338 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.7339 + -e 's:$: $lt_compiler_flag:'`
12.7340 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.7341 + (eval "$lt_compile" 2>conftest.err)
12.7342 + ac_status=$?
12.7343 + cat conftest.err >&5
12.7344 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.7345 + if (exit $ac_status) && test -s "$ac_outfile"; then
12.7346 + # The compiler can only warn and ignore the option if not recognized
12.7347 + # So say no if there are warnings
12.7348 + if test ! -s conftest.err; then
12.7349 + lt_prog_compiler_pic_works=yes
12.7350 + fi
12.7351 + fi
12.7352 + $rm conftest*
12.7353 +
12.7354 +fi
12.7355 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12.7356 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
12.7357 +
12.7358 +if test x"$lt_prog_compiler_pic_works" = xyes; then
12.7359 + case $lt_prog_compiler_pic in
12.7360 + "" | " "*) ;;
12.7361 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12.7362 + esac
12.7363 +else
12.7364 + lt_prog_compiler_pic=
12.7365 + lt_prog_compiler_can_build_shared=no
12.7366 +fi
12.7367 +
12.7368 +fi
12.7369 +case "$host_os" in
12.7370 + # For platforms which do not support PIC, -DPIC is meaningless:
12.7371 + *djgpp*)
12.7372 + lt_prog_compiler_pic=
12.7373 + ;;
12.7374 + *)
12.7375 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12.7376 + ;;
12.7377 +esac
12.7378 +
12.7379 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12.7380 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12.7381 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12.7382 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.7383 +else
12.7384 + lt_cv_prog_compiler_c_o=no
12.7385 + $rm -r conftest 2>/dev/null
12.7386 + mkdir conftest
12.7387 + cd conftest
12.7388 + mkdir out
12.7389 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.7390 +
12.7391 + lt_compiler_flag="-o out/conftest2.$ac_objext"
12.7392 + # Insert the option either (1) after the last *FLAGS variable, or
12.7393 + # (2) before a word containing "conftest.", or (3) at the end.
12.7394 + # Note that $ac_compile itself does not contain backslashes and begins
12.7395 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.7396 + lt_compile=`echo "$ac_compile" | $SED \
12.7397 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.7398 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.7399 + -e 's:$: $lt_compiler_flag:'`
12.7400 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.7401 + (eval "$lt_compile" 2>out/conftest.err)
12.7402 + ac_status=$?
12.7403 + cat out/conftest.err >&5
12.7404 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.7405 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
12.7406 + then
12.7407 + # The compiler can only warn and ignore the option if not recognized
12.7408 + # So say no if there are warnings
12.7409 + if test ! -s out/conftest.err; then
12.7410 + lt_cv_prog_compiler_c_o=yes
12.7411 + fi
12.7412 + fi
12.7413 + chmod u+w .
12.7414 + $rm conftest*
12.7415 + # SGI C++ compiler will create directory out/ii_files/ for
12.7416 + # template instantiation
12.7417 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12.7418 + $rm out/* && rmdir out
12.7419 + cd ..
12.7420 + rmdir conftest
12.7421 + $rm conftest*
12.7422 +
12.7423 +fi
12.7424 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12.7425 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
12.7426 +
12.7427 +
12.7428 +hard_links="nottested"
12.7429 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12.7430 + # do not overwrite the value of need_locks provided by the user
12.7431 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12.7432 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12.7433 + hard_links=yes
12.7434 + $rm conftest*
12.7435 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.7436 + touch conftest.a
12.7437 + ln conftest.a conftest.b 2>&5 || hard_links=no
12.7438 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.7439 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12.7440 +echo "${ECHO_T}$hard_links" >&6; }
12.7441 + if test "$hard_links" = no; then
12.7442 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12.7443 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12.7444 + need_locks=warn
12.7445 + fi
12.7446 +else
12.7447 + need_locks=no
12.7448 +fi
12.7449 +
12.7450 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12.7451 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12.7452 +
12.7453 + runpath_var=
12.7454 + allow_undefined_flag=
12.7455 + enable_shared_with_static_runtimes=no
12.7456 + archive_cmds=
12.7457 + archive_expsym_cmds=
12.7458 + old_archive_From_new_cmds=
12.7459 + old_archive_from_expsyms_cmds=
12.7460 + export_dynamic_flag_spec=
12.7461 + whole_archive_flag_spec=
12.7462 + thread_safe_flag_spec=
12.7463 + hardcode_libdir_flag_spec=
12.7464 + hardcode_libdir_flag_spec_ld=
12.7465 + hardcode_libdir_separator=
12.7466 + hardcode_direct=no
12.7467 + hardcode_minus_L=no
12.7468 + hardcode_shlibpath_var=unsupported
12.7469 + link_all_deplibs=unknown
12.7470 + hardcode_automatic=no
12.7471 + module_cmds=
12.7472 + module_expsym_cmds=
12.7473 + always_export_symbols=no
12.7474 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12.7475 + # include_expsyms should be a list of space-separated symbols to be *always*
12.7476 + # included in the symbol list
12.7477 + include_expsyms=
12.7478 + # exclude_expsyms can be an extended regexp of symbols to exclude
12.7479 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
12.7480 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12.7481 + # as well as any symbol that contains `d'.
12.7482 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
12.7483 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12.7484 + # platforms (ab)use it in PIC code, but their linkers get confused if
12.7485 + # the symbol is explicitly referenced. Since portable code cannot
12.7486 + # rely on this symbol name, it's probably fine to never include it in
12.7487 + # preloaded symbol tables.
12.7488 + extract_expsyms_cmds=
12.7489 +
12.7490 + case $host_os in
12.7491 + cygwin* | mingw* | pw32*)
12.7492 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
12.7493 + # When not using gcc, we currently assume that we are using
12.7494 + # Microsoft Visual C++.
12.7495 + if test "$GCC" != yes; then
12.7496 + with_gnu_ld=no
12.7497 + fi
12.7498 + ;;
12.7499 + openbsd*)
12.7500 + with_gnu_ld=no
12.7501 + ;;
12.7502 + esac
12.7503 +
12.7504 + ld_shlibs=yes
12.7505 + if test "$with_gnu_ld" = yes; then
12.7506 + # If archive_cmds runs LD, not CC, wlarc should be empty
12.7507 + wlarc='${wl}'
12.7508 +
12.7509 + # See if GNU ld supports shared libraries.
12.7510 + case $host_os in
12.7511 + aix3* | aix4* | aix5*)
12.7512 + # On AIX/PPC, the GNU linker is very broken
12.7513 + if test "$host_cpu" != ia64; then
12.7514 + ld_shlibs=no
12.7515 + cat <<EOF 1>&2
12.7516 +
12.7517 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
12.7518 +*** to be unable to reliably create shared libraries on AIX.
12.7519 +*** Therefore, libtool is disabling shared libraries support. If you
12.7520 +*** really care for shared libraries, you may want to modify your PATH
12.7521 +*** so that a non-GNU linker is found, and then restart.
12.7522 +
12.7523 +EOF
12.7524 + fi
12.7525 + ;;
12.7526 +
12.7527 + amigaos*)
12.7528 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12.7529 + hardcode_libdir_flag_spec='-L$libdir'
12.7530 + hardcode_minus_L=yes
12.7531 +
12.7532 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12.7533 + # that the semantics of dynamic libraries on AmigaOS, at least up
12.7534 + # to version 4, is to share data among multiple programs linked
12.7535 + # with the same dynamic library. Since this doesn't match the
12.7536 + # behavior of shared libraries on other platforms, we can't use
12.7537 + # them.
12.7538 + ld_shlibs=no
12.7539 + ;;
12.7540 +
12.7541 + beos*)
12.7542 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.7543 + allow_undefined_flag=unsupported
12.7544 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12.7545 + # support --undefined. This deserves some investigation. FIXME
12.7546 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.7547 + else
12.7548 + ld_shlibs=no
12.7549 + fi
12.7550 + ;;
12.7551 +
12.7552 + cygwin* | mingw* | pw32*)
12.7553 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12.7554 + # as there is no search path for DLLs.
12.7555 + hardcode_libdir_flag_spec='-L$libdir'
12.7556 + allow_undefined_flag=unsupported
12.7557 + always_export_symbols=no
12.7558 + enable_shared_with_static_runtimes=yes
12.7559 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12.7560 +
12.7561 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12.7562 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.7563 + # If the export-symbols file already is a .def file (1st line
12.7564 + # is EXPORTS), use it as is; otherwise, prepend...
12.7565 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12.7566 + cp $export_symbols $output_objdir/$soname.def;
12.7567 + else
12.7568 + echo EXPORTS > $output_objdir/$soname.def;
12.7569 + cat $export_symbols >> $output_objdir/$soname.def;
12.7570 + fi~
12.7571 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.7572 + else
12.7573 + ld_shlibs=no
12.7574 + fi
12.7575 + ;;
12.7576 +
12.7577 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.7578 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.7579 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12.7580 + wlarc=
12.7581 + else
12.7582 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.7583 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.7584 + fi
12.7585 + ;;
12.7586 +
12.7587 + solaris* | sysv5*)
12.7588 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12.7589 + ld_shlibs=no
12.7590 + cat <<EOF 1>&2
12.7591 +
12.7592 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12.7593 +*** create shared libraries on Solaris systems. Therefore, libtool
12.7594 +*** is disabling shared libraries support. We urge you to upgrade GNU
12.7595 +*** binutils to release 2.9.1 or newer. Another option is to modify
12.7596 +*** your PATH or compiler configuration so that the native linker is
12.7597 +*** used, and then restart.
12.7598 +
12.7599 +EOF
12.7600 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.7601 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.7602 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.7603 + else
12.7604 + ld_shlibs=no
12.7605 + fi
12.7606 + ;;
12.7607 +
12.7608 + sunos4*)
12.7609 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.7610 + wlarc=
12.7611 + hardcode_direct=yes
12.7612 + hardcode_shlibpath_var=no
12.7613 + ;;
12.7614 +
12.7615 + linux*)
12.7616 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.7617 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.7618 + archive_cmds="$tmp_archive_cmds"
12.7619 + supports_anon_versioning=no
12.7620 + case `$LD -v 2>/dev/null` in
12.7621 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12.7622 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12.7623 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12.7624 + *\ 2.11.*) ;; # other 2.11 versions
12.7625 + *) supports_anon_versioning=yes ;;
12.7626 + esac
12.7627 + if test $supports_anon_versioning = yes; then
12.7628 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
12.7629 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12.7630 +$echo "local: *; };" >> $output_objdir/$libname.ver~
12.7631 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12.7632 + else
12.7633 + archive_expsym_cmds="$tmp_archive_cmds"
12.7634 + fi
12.7635 + link_all_deplibs=no
12.7636 + else
12.7637 + ld_shlibs=no
12.7638 + fi
12.7639 + ;;
12.7640 +
12.7641 + *)
12.7642 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.7643 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.7644 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.7645 + else
12.7646 + ld_shlibs=no
12.7647 + fi
12.7648 + ;;
12.7649 + esac
12.7650 +
12.7651 + if test "$ld_shlibs" = yes; then
12.7652 + runpath_var=LD_RUN_PATH
12.7653 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
12.7654 + export_dynamic_flag_spec='${wl}--export-dynamic'
12.7655 + # ancient GNU ld didn't support --whole-archive et. al.
12.7656 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
12.7657 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12.7658 + else
12.7659 + whole_archive_flag_spec=
12.7660 + fi
12.7661 + fi
12.7662 + else
12.7663 + # PORTME fill in a description of your system's linker (not GNU ld)
12.7664 + case $host_os in
12.7665 + aix3*)
12.7666 + allow_undefined_flag=unsupported
12.7667 + always_export_symbols=yes
12.7668 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12.7669 + # Note: this linker hardcodes the directories in LIBPATH if there
12.7670 + # are no directories specified by -L.
12.7671 + hardcode_minus_L=yes
12.7672 + if test "$GCC" = yes && test -z "$link_static_flag"; then
12.7673 + # Neither direct hardcoding nor static linking is supported with a
12.7674 + # broken collect2.
12.7675 + hardcode_direct=unsupported
12.7676 + fi
12.7677 + ;;
12.7678 +
12.7679 + aix4* | aix5*)
12.7680 + if test "$host_cpu" = ia64; then
12.7681 + # On IA64, the linker does run time linking by default, so we don't
12.7682 + # have to do anything special.
12.7683 + aix_use_runtimelinking=no
12.7684 + exp_sym_flag='-Bexport'
12.7685 + no_entry_flag=""
12.7686 + else
12.7687 + # If we're using GNU nm, then we don't want the "-C" option.
12.7688 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
12.7689 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12.7690 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.7691 + else
12.7692 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.7693 + fi
12.7694 + aix_use_runtimelinking=no
12.7695 +
12.7696 + # Test if we are trying to use run time linking or normal
12.7697 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12.7698 + # need to do runtime linking.
12.7699 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12.7700 + for ld_flag in $LDFLAGS; do
12.7701 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12.7702 + aix_use_runtimelinking=yes
12.7703 + break
12.7704 + fi
12.7705 + done
12.7706 + esac
12.7707 +
12.7708 + exp_sym_flag='-bexport'
12.7709 + no_entry_flag='-bnoentry'
12.7710 + fi
12.7711 +
12.7712 + # When large executables or shared objects are built, AIX ld can
12.7713 + # have problems creating the table of contents. If linking a library
12.7714 + # or program results in "error TOC overflow" add -mminimal-toc to
12.7715 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12.7716 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12.7717 +
12.7718 + archive_cmds=''
12.7719 + hardcode_direct=yes
12.7720 + hardcode_libdir_separator=':'
12.7721 + link_all_deplibs=yes
12.7722 +
12.7723 + if test "$GCC" = yes; then
12.7724 + case $host_os in aix4.012|aix4.012.*)
12.7725 + # We only want to do this on AIX 4.2 and lower, the check
12.7726 + # below for broken collect2 doesn't work under 4.3+
12.7727 + collect2name=`${CC} -print-prog-name=collect2`
12.7728 + if test -f "$collect2name" && \
12.7729 + strings "$collect2name" | grep resolve_lib_name >/dev/null
12.7730 + then
12.7731 + # We have reworked collect2
12.7732 + hardcode_direct=yes
12.7733 + else
12.7734 + # We have old collect2
12.7735 + hardcode_direct=unsupported
12.7736 + # It fails to find uninstalled libraries when the uninstalled
12.7737 + # path is not listed in the libpath. Setting hardcode_minus_L
12.7738 + # to unsupported forces relinking
12.7739 + hardcode_minus_L=yes
12.7740 + hardcode_libdir_flag_spec='-L$libdir'
12.7741 + hardcode_libdir_separator=
12.7742 + fi
12.7743 + esac
12.7744 + shared_flag='-shared'
12.7745 + else
12.7746 + # not using gcc
12.7747 + if test "$host_cpu" = ia64; then
12.7748 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12.7749 + # chokes on -Wl,-G. The following line is correct:
12.7750 + shared_flag='-G'
12.7751 + else
12.7752 + if test "$aix_use_runtimelinking" = yes; then
12.7753 + shared_flag='${wl}-G'
12.7754 + else
12.7755 + shared_flag='${wl}-bM:SRE'
12.7756 + fi
12.7757 + fi
12.7758 + fi
12.7759 +
12.7760 + # It seems that -bexpall does not export symbols beginning with
12.7761 + # underscore (_), so it is better to generate a list of symbols to export.
12.7762 + always_export_symbols=yes
12.7763 + if test "$aix_use_runtimelinking" = yes; then
12.7764 + # Warning - without using the other runtime loading flags (-brtl),
12.7765 + # -berok will link without error, but may produce a broken library.
12.7766 + allow_undefined_flag='-berok'
12.7767 + # Determine the default libpath from the value encoded in an empty executable.
12.7768 + cat >conftest.$ac_ext <<_ACEOF
12.7769 +/* confdefs.h. */
12.7770 +_ACEOF
12.7771 +cat confdefs.h >>conftest.$ac_ext
12.7772 +cat >>conftest.$ac_ext <<_ACEOF
12.7773 +/* end confdefs.h. */
12.7774 +
12.7775 +int
12.7776 +main ()
12.7777 +{
12.7778 +
12.7779 + ;
12.7780 + return 0;
12.7781 +}
12.7782 +_ACEOF
12.7783 +rm -f conftest.$ac_objext conftest$ac_exeext
12.7784 +if { (ac_try="$ac_link"
12.7785 +case "(($ac_try" in
12.7786 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.7787 + *) ac_try_echo=$ac_try;;
12.7788 +esac
12.7789 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.7790 + (eval "$ac_link") 2>conftest.er1
12.7791 + ac_status=$?
12.7792 + grep -v '^ *+' conftest.er1 >conftest.err
12.7793 + rm -f conftest.er1
12.7794 + cat conftest.err >&5
12.7795 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.7796 + (exit $ac_status); } && {
12.7797 + test -z "$ac_c_werror_flag" ||
12.7798 + test ! -s conftest.err
12.7799 + } && test -s conftest$ac_exeext &&
12.7800 + $as_test_x conftest$ac_exeext; then
12.7801 +
12.7802 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.7803 +}'`
12.7804 +# Check for a 64-bit object if we didn't find anything.
12.7805 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.7806 +}'`; fi
12.7807 +else
12.7808 + echo "$as_me: failed program was:" >&5
12.7809 +sed 's/^/| /' conftest.$ac_ext >&5
12.7810 +
12.7811 +
12.7812 +fi
12.7813 +
12.7814 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.7815 + conftest$ac_exeext conftest.$ac_ext
12.7816 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.7817 +
12.7818 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12.7819 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12.7820 + else
12.7821 + if test "$host_cpu" = ia64; then
12.7822 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12.7823 + allow_undefined_flag="-z nodefs"
12.7824 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12.7825 + else
12.7826 + # Determine the default libpath from the value encoded in an empty executable.
12.7827 + cat >conftest.$ac_ext <<_ACEOF
12.7828 +/* confdefs.h. */
12.7829 +_ACEOF
12.7830 +cat confdefs.h >>conftest.$ac_ext
12.7831 +cat >>conftest.$ac_ext <<_ACEOF
12.7832 +/* end confdefs.h. */
12.7833 +
12.7834 +int
12.7835 +main ()
12.7836 +{
12.7837 +
12.7838 + ;
12.7839 + return 0;
12.7840 +}
12.7841 +_ACEOF
12.7842 +rm -f conftest.$ac_objext conftest$ac_exeext
12.7843 +if { (ac_try="$ac_link"
12.7844 +case "(($ac_try" in
12.7845 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.7846 + *) ac_try_echo=$ac_try;;
12.7847 +esac
12.7848 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.7849 + (eval "$ac_link") 2>conftest.er1
12.7850 + ac_status=$?
12.7851 + grep -v '^ *+' conftest.er1 >conftest.err
12.7852 + rm -f conftest.er1
12.7853 + cat conftest.err >&5
12.7854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.7855 + (exit $ac_status); } && {
12.7856 + test -z "$ac_c_werror_flag" ||
12.7857 + test ! -s conftest.err
12.7858 + } && test -s conftest$ac_exeext &&
12.7859 + $as_test_x conftest$ac_exeext; then
12.7860 +
12.7861 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.7862 +}'`
12.7863 +# Check for a 64-bit object if we didn't find anything.
12.7864 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.7865 +}'`; fi
12.7866 +else
12.7867 + echo "$as_me: failed program was:" >&5
12.7868 +sed 's/^/| /' conftest.$ac_ext >&5
12.7869 +
12.7870 +
12.7871 +fi
12.7872 +
12.7873 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.7874 + conftest$ac_exeext conftest.$ac_ext
12.7875 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.7876 +
12.7877 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12.7878 + # Warning - without using the other run time loading flags,
12.7879 + # -berok will link without error, but may produce a broken library.
12.7880 + no_undefined_flag=' ${wl}-bernotok'
12.7881 + allow_undefined_flag=' ${wl}-berok'
12.7882 + # -bexpall does not export symbols beginning with underscore (_)
12.7883 + always_export_symbols=yes
12.7884 + # Exported symbols can be pulled into shared objects from archives
12.7885 + whole_archive_flag_spec=' '
12.7886 + archive_cmds_need_lc=yes
12.7887 + # This is similar to how AIX traditionally builds it's shared libraries.
12.7888 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12.7889 + fi
12.7890 + fi
12.7891 + ;;
12.7892 +
12.7893 + amigaos*)
12.7894 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12.7895 + hardcode_libdir_flag_spec='-L$libdir'
12.7896 + hardcode_minus_L=yes
12.7897 + # see comment about different semantics on the GNU ld section
12.7898 + ld_shlibs=no
12.7899 + ;;
12.7900 +
12.7901 + bsdi4*)
12.7902 + export_dynamic_flag_spec=-rdynamic
12.7903 + ;;
12.7904 +
12.7905 + cygwin* | mingw* | pw32*)
12.7906 + # When not using gcc, we currently assume that we are using
12.7907 + # Microsoft Visual C++.
12.7908 + # hardcode_libdir_flag_spec is actually meaningless, as there is
12.7909 + # no search path for DLLs.
12.7910 + hardcode_libdir_flag_spec=' '
12.7911 + allow_undefined_flag=unsupported
12.7912 + # Tell ltmain to make .lib files, not .a files.
12.7913 + libext=lib
12.7914 + # Tell ltmain to make .dll files, not .so files.
12.7915 + shrext_cmds=".dll"
12.7916 + # FIXME: Setting linknames here is a bad hack.
12.7917 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12.7918 + # The linker will automatically build a .lib file if we build a DLL.
12.7919 + old_archive_From_new_cmds='true'
12.7920 + # FIXME: Should let the user specify the lib program.
12.7921 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
12.7922 + fix_srcfile_path='`cygpath -w "$srcfile"`'
12.7923 + enable_shared_with_static_runtimes=yes
12.7924 + ;;
12.7925 +
12.7926 + darwin* | rhapsody*)
12.7927 + if test "$GXX" = yes ; then
12.7928 + archive_cmds_need_lc=no
12.7929 + case "$host_os" in
12.7930 + rhapsody* | darwin1.[012])
12.7931 + allow_undefined_flag='-undefined suppress'
12.7932 + ;;
12.7933 + *) # Darwin 1.3 on
12.7934 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12.7935 + allow_undefined_flag='-flat_namespace -undefined suppress'
12.7936 + else
12.7937 + case ${MACOSX_DEPLOYMENT_TARGET} in
12.7938 + 10.[012])
12.7939 + allow_undefined_flag='-flat_namespace -undefined suppress'
12.7940 + ;;
12.7941 + 10.*)
12.7942 + allow_undefined_flag='-undefined dynamic_lookup'
12.7943 + ;;
12.7944 + esac
12.7945 + fi
12.7946 + ;;
12.7947 + esac
12.7948 + lt_int_apple_cc_single_mod=no
12.7949 + output_verbose_link_cmd='echo'
12.7950 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12.7951 + lt_int_apple_cc_single_mod=yes
12.7952 + fi
12.7953 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.7954 + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.7955 + else
12.7956 + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.7957 + fi
12.7958 + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12.7959 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12.7960 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.7961 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.7962 + else
12.7963 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.7964 + fi
12.7965 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.7966 + hardcode_direct=no
12.7967 + hardcode_automatic=yes
12.7968 + hardcode_shlibpath_var=unsupported
12.7969 + whole_archive_flag_spec='-all_load $convenience'
12.7970 + link_all_deplibs=yes
12.7971 + else
12.7972 + ld_shlibs=no
12.7973 + fi
12.7974 + ;;
12.7975 +
12.7976 + dgux*)
12.7977 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.7978 + hardcode_libdir_flag_spec='-L$libdir'
12.7979 + hardcode_shlibpath_var=no
12.7980 + ;;
12.7981 +
12.7982 + freebsd1*)
12.7983 + ld_shlibs=no
12.7984 + ;;
12.7985 +
12.7986 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12.7987 + # support. Future versions do this automatically, but an explicit c++rt0.o
12.7988 + # does not break anything, and helps significantly (at the cost of a little
12.7989 + # extra space).
12.7990 + freebsd2.2*)
12.7991 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12.7992 + hardcode_libdir_flag_spec='-R$libdir'
12.7993 + hardcode_direct=yes
12.7994 + hardcode_shlibpath_var=no
12.7995 + ;;
12.7996 +
12.7997 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12.7998 + freebsd2*)
12.7999 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.8000 + hardcode_direct=yes
12.8001 + hardcode_minus_L=yes
12.8002 + hardcode_shlibpath_var=no
12.8003 + ;;
12.8004 +
12.8005 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12.8006 + freebsd* | kfreebsd*-gnu)
12.8007 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12.8008 + hardcode_libdir_flag_spec='-R$libdir'
12.8009 + hardcode_direct=yes
12.8010 + hardcode_shlibpath_var=no
12.8011 + ;;
12.8012 +
12.8013 + hpux9*)
12.8014 + if test "$GCC" = yes; then
12.8015 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.8016 + else
12.8017 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.8018 + fi
12.8019 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12.8020 + hardcode_libdir_separator=:
12.8021 + hardcode_direct=yes
12.8022 +
12.8023 + # hardcode_minus_L: Not really in the search PATH,
12.8024 + # but as the default location of the library.
12.8025 + hardcode_minus_L=yes
12.8026 + export_dynamic_flag_spec='${wl}-E'
12.8027 + ;;
12.8028 +
12.8029 + hpux10* | hpux11*)
12.8030 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12.8031 + case "$host_cpu" in
12.8032 + hppa*64*|ia64*)
12.8033 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.8034 + ;;
12.8035 + *)
12.8036 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12.8037 + ;;
12.8038 + esac
12.8039 + else
12.8040 + case "$host_cpu" in
12.8041 + hppa*64*|ia64*)
12.8042 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8043 + ;;
12.8044 + *)
12.8045 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12.8046 + ;;
12.8047 + esac
12.8048 + fi
12.8049 + if test "$with_gnu_ld" = no; then
12.8050 + case "$host_cpu" in
12.8051 + hppa*64*)
12.8052 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12.8053 + hardcode_libdir_flag_spec_ld='+b $libdir'
12.8054 + hardcode_libdir_separator=:
12.8055 + hardcode_direct=no
12.8056 + hardcode_shlibpath_var=no
12.8057 + ;;
12.8058 + ia64*)
12.8059 + hardcode_libdir_flag_spec='-L$libdir'
12.8060 + hardcode_direct=no
12.8061 + hardcode_shlibpath_var=no
12.8062 +
12.8063 + # hardcode_minus_L: Not really in the search PATH,
12.8064 + # but as the default location of the library.
12.8065 + hardcode_minus_L=yes
12.8066 + ;;
12.8067 + *)
12.8068 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12.8069 + hardcode_libdir_separator=:
12.8070 + hardcode_direct=yes
12.8071 + export_dynamic_flag_spec='${wl}-E'
12.8072 +
12.8073 + # hardcode_minus_L: Not really in the search PATH,
12.8074 + # but as the default location of the library.
12.8075 + hardcode_minus_L=yes
12.8076 + ;;
12.8077 + esac
12.8078 + fi
12.8079 + ;;
12.8080 +
12.8081 + irix5* | irix6* | nonstopux*)
12.8082 + if test "$GCC" = yes; then
12.8083 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.8084 + else
12.8085 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.8086 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
12.8087 + fi
12.8088 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12.8089 + hardcode_libdir_separator=:
12.8090 + link_all_deplibs=yes
12.8091 + ;;
12.8092 +
12.8093 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.8094 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.8095 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12.8096 + else
12.8097 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12.8098 + fi
12.8099 + hardcode_libdir_flag_spec='-R$libdir'
12.8100 + hardcode_direct=yes
12.8101 + hardcode_shlibpath_var=no
12.8102 + ;;
12.8103 +
12.8104 + newsos6)
12.8105 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8106 + hardcode_direct=yes
12.8107 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12.8108 + hardcode_libdir_separator=:
12.8109 + hardcode_shlibpath_var=no
12.8110 + ;;
12.8111 +
12.8112 + openbsd*)
12.8113 + hardcode_direct=yes
12.8114 + hardcode_shlibpath_var=no
12.8115 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.8116 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12.8117 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12.8118 + export_dynamic_flag_spec='${wl}-E'
12.8119 + else
12.8120 + case $host_os in
12.8121 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12.8122 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.8123 + hardcode_libdir_flag_spec='-R$libdir'
12.8124 + ;;
12.8125 + *)
12.8126 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12.8127 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12.8128 + ;;
12.8129 + esac
12.8130 + fi
12.8131 + ;;
12.8132 +
12.8133 + os2*)
12.8134 + hardcode_libdir_flag_spec='-L$libdir'
12.8135 + hardcode_minus_L=yes
12.8136 + allow_undefined_flag=unsupported
12.8137 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12.8138 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12.8139 + ;;
12.8140 +
12.8141 + osf3*)
12.8142 + if test "$GCC" = yes; then
12.8143 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12.8144 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.8145 + else
12.8146 + allow_undefined_flag=' -expect_unresolved \*'
12.8147 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.8148 + fi
12.8149 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12.8150 + hardcode_libdir_separator=:
12.8151 + ;;
12.8152 +
12.8153 + osf4* | osf5*) # as osf3* with the addition of -msym flag
12.8154 + if test "$GCC" = yes; then
12.8155 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12.8156 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.8157 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12.8158 + else
12.8159 + allow_undefined_flag=' -expect_unresolved \*'
12.8160 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.8161 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12.8162 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
12.8163 +
12.8164 + # Both c and cxx compiler support -rpath directly
12.8165 + hardcode_libdir_flag_spec='-rpath $libdir'
12.8166 + fi
12.8167 + hardcode_libdir_separator=:
12.8168 + ;;
12.8169 +
12.8170 + sco3.2v5*)
12.8171 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8172 + hardcode_shlibpath_var=no
12.8173 + export_dynamic_flag_spec='${wl}-Bexport'
12.8174 + runpath_var=LD_RUN_PATH
12.8175 + hardcode_runpath_var=yes
12.8176 + ;;
12.8177 +
12.8178 + solaris*)
12.8179 + no_undefined_flag=' -z text'
12.8180 + if test "$GCC" = yes; then
12.8181 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.8182 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.8183 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12.8184 + else
12.8185 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8186 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.8187 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12.8188 + fi
12.8189 + hardcode_libdir_flag_spec='-R$libdir'
12.8190 + hardcode_shlibpath_var=no
12.8191 + case $host_os in
12.8192 + solaris2.[0-5] | solaris2.[0-5].*) ;;
12.8193 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
12.8194 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
12.8195 + esac
12.8196 + link_all_deplibs=yes
12.8197 + ;;
12.8198 +
12.8199 + sunos4*)
12.8200 + if test "x$host_vendor" = xsequent; then
12.8201 + # Use $CC to link under sequent, because it throws in some extra .o
12.8202 + # files that make .init and .fini sections work.
12.8203 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12.8204 + else
12.8205 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12.8206 + fi
12.8207 + hardcode_libdir_flag_spec='-L$libdir'
12.8208 + hardcode_direct=yes
12.8209 + hardcode_minus_L=yes
12.8210 + hardcode_shlibpath_var=no
12.8211 + ;;
12.8212 +
12.8213 + sysv4)
12.8214 + case $host_vendor in
12.8215 + sni)
12.8216 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8217 + hardcode_direct=yes # is this really true???
12.8218 + ;;
12.8219 + siemens)
12.8220 + ## LD is ld it makes a PLAMLIB
12.8221 + ## CC just makes a GrossModule.
12.8222 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12.8223 + reload_cmds='$CC -r -o $output$reload_objs'
12.8224 + hardcode_direct=no
12.8225 + ;;
12.8226 + motorola)
12.8227 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8228 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12.8229 + ;;
12.8230 + esac
12.8231 + runpath_var='LD_RUN_PATH'
12.8232 + hardcode_shlibpath_var=no
12.8233 + ;;
12.8234 +
12.8235 + sysv4.3*)
12.8236 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8237 + hardcode_shlibpath_var=no
12.8238 + export_dynamic_flag_spec='-Bexport'
12.8239 + ;;
12.8240 +
12.8241 + sysv4*MP*)
12.8242 + if test -d /usr/nec; then
12.8243 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8244 + hardcode_shlibpath_var=no
12.8245 + runpath_var=LD_RUN_PATH
12.8246 + hardcode_runpath_var=yes
12.8247 + ld_shlibs=yes
12.8248 + fi
12.8249 + ;;
12.8250 +
12.8251 + sysv4.2uw2*)
12.8252 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12.8253 + hardcode_direct=yes
12.8254 + hardcode_minus_L=no
12.8255 + hardcode_shlibpath_var=no
12.8256 + hardcode_runpath_var=yes
12.8257 + runpath_var=LD_RUN_PATH
12.8258 + ;;
12.8259 +
12.8260 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12.8261 + no_undefined_flag='${wl}-z ${wl}text'
12.8262 + if test "$GCC" = yes; then
12.8263 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.8264 + else
12.8265 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.8266 + fi
12.8267 + runpath_var='LD_RUN_PATH'
12.8268 + hardcode_shlibpath_var=no
12.8269 + ;;
12.8270 +
12.8271 + sysv5*)
12.8272 + no_undefined_flag=' -z text'
12.8273 + # $CC -shared without GNU ld will not create a library from C++
12.8274 + # object files and a static libstdc++, better avoid it by now
12.8275 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8276 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.8277 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12.8278 + hardcode_libdir_flag_spec=
12.8279 + hardcode_shlibpath_var=no
12.8280 + runpath_var='LD_RUN_PATH'
12.8281 + ;;
12.8282 +
12.8283 + uts4*)
12.8284 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.8285 + hardcode_libdir_flag_spec='-L$libdir'
12.8286 + hardcode_shlibpath_var=no
12.8287 + ;;
12.8288 +
12.8289 + *)
12.8290 + ld_shlibs=no
12.8291 + ;;
12.8292 + esac
12.8293 + fi
12.8294 +
12.8295 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12.8296 +echo "${ECHO_T}$ld_shlibs" >&6; }
12.8297 +test "$ld_shlibs" = no && can_build_shared=no
12.8298 +
12.8299 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12.8300 +if test "$GCC" = yes; then
12.8301 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12.8302 +fi
12.8303 +
12.8304 +#
12.8305 +# Do we need to explicitly link libc?
12.8306 +#
12.8307 +case "x$archive_cmds_need_lc" in
12.8308 +x|xyes)
12.8309 + # Assume -lc should be added
12.8310 + archive_cmds_need_lc=yes
12.8311 +
12.8312 + if test "$enable_shared" = yes && test "$GCC" = yes; then
12.8313 + case $archive_cmds in
12.8314 + *'~'*)
12.8315 + # FIXME: we may have to deal with multi-command sequences.
12.8316 + ;;
12.8317 + '$CC '*)
12.8318 + # Test whether the compiler implicitly links with -lc since on some
12.8319 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
12.8320 + # to ld, don't add -lc before -lgcc.
12.8321 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12.8322 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12.8323 + $rm conftest*
12.8324 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.8325 +
12.8326 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.8327 + (eval $ac_compile) 2>&5
12.8328 + ac_status=$?
12.8329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.8330 + (exit $ac_status); } 2>conftest.err; then
12.8331 + soname=conftest
12.8332 + lib=conftest
12.8333 + libobjs=conftest.$ac_objext
12.8334 + deplibs=
12.8335 + wl=$lt_prog_compiler_wl
12.8336 + compiler_flags=-v
12.8337 + linker_flags=-v
12.8338 + verstring=
12.8339 + output_objdir=.
12.8340 + libname=conftest
12.8341 + lt_save_allow_undefined_flag=$allow_undefined_flag
12.8342 + allow_undefined_flag=
12.8343 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12.8344 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12.8345 + ac_status=$?
12.8346 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.8347 + (exit $ac_status); }
12.8348 + then
12.8349 + archive_cmds_need_lc=no
12.8350 + else
12.8351 + archive_cmds_need_lc=yes
12.8352 + fi
12.8353 + allow_undefined_flag=$lt_save_allow_undefined_flag
12.8354 + else
12.8355 + cat conftest.err 1>&5
12.8356 + fi
12.8357 + $rm conftest*
12.8358 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12.8359 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
12.8360 + ;;
12.8361 + esac
12.8362 + fi
12.8363 + ;;
12.8364 +esac
12.8365 +
12.8366 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12.8367 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12.8368 +library_names_spec=
12.8369 +libname_spec='lib$name'
12.8370 +soname_spec=
12.8371 +shrext_cmds=".so"
12.8372 +postinstall_cmds=
12.8373 +postuninstall_cmds=
12.8374 +finish_cmds=
12.8375 +finish_eval=
12.8376 +shlibpath_var=
12.8377 +shlibpath_overrides_runpath=unknown
12.8378 +version_type=none
12.8379 +dynamic_linker="$host_os ld.so"
12.8380 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
12.8381 +if test "$GCC" = yes; then
12.8382 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.8383 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12.8384 + # if the path contains ";" then we assume it to be the separator
12.8385 + # otherwise default to the standard path separator (i.e. ":") - it is
12.8386 + # assumed that no part of a normal pathname contains ";" but that should
12.8387 + # okay in the real world where ";" in dirpaths is itself problematic.
12.8388 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.8389 + else
12.8390 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.8391 + fi
12.8392 +else
12.8393 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12.8394 +fi
12.8395 +need_lib_prefix=unknown
12.8396 +hardcode_into_libs=no
12.8397 +
12.8398 +# when you set need_version to no, make sure it does not cause -set_version
12.8399 +# flags to be left without arguments
12.8400 +need_version=unknown
12.8401 +
12.8402 +case $host_os in
12.8403 +aix3*)
12.8404 + version_type=linux
12.8405 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12.8406 + shlibpath_var=LIBPATH
12.8407 +
12.8408 + # AIX 3 has no versioning support, so we append a major version to the name.
12.8409 + soname_spec='${libname}${release}${shared_ext}$major'
12.8410 + ;;
12.8411 +
12.8412 +aix4* | aix5*)
12.8413 + version_type=linux
12.8414 + need_lib_prefix=no
12.8415 + need_version=no
12.8416 + hardcode_into_libs=yes
12.8417 + if test "$host_cpu" = ia64; then
12.8418 + # AIX 5 supports IA64
12.8419 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12.8420 + shlibpath_var=LD_LIBRARY_PATH
12.8421 + else
12.8422 + # With GCC up to 2.95.x, collect2 would create an import file
12.8423 + # for dependence libraries. The import file would start with
12.8424 + # the line `#! .'. This would cause the generated library to
12.8425 + # depend on `.', always an invalid library. This was fixed in
12.8426 + # development snapshots of GCC prior to 3.0.
12.8427 + case $host_os in
12.8428 + aix4 | aix4.[01] | aix4.[01].*)
12.8429 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12.8430 + echo ' yes '
12.8431 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12.8432 + :
12.8433 + else
12.8434 + can_build_shared=no
12.8435 + fi
12.8436 + ;;
12.8437 + esac
12.8438 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12.8439 + # soname into executable. Probably we can add versioning support to
12.8440 + # collect2, so additional links can be useful in future.
12.8441 + if test "$aix_use_runtimelinking" = yes; then
12.8442 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12.8443 + # instead of lib<name>.a to let people know that these are not
12.8444 + # typical AIX shared libraries.
12.8445 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8446 + else
12.8447 + # We preserve .a as extension for shared libraries through AIX4.2
12.8448 + # and later when we are not doing run time linking.
12.8449 + library_names_spec='${libname}${release}.a $libname.a'
12.8450 + soname_spec='${libname}${release}${shared_ext}$major'
12.8451 + fi
12.8452 + shlibpath_var=LIBPATH
12.8453 + fi
12.8454 + ;;
12.8455 +
12.8456 +amigaos*)
12.8457 + library_names_spec='$libname.ixlibrary $libname.a'
12.8458 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
12.8459 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12.8460 + ;;
12.8461 +
12.8462 +beos*)
12.8463 + library_names_spec='${libname}${shared_ext}'
12.8464 + dynamic_linker="$host_os ld.so"
12.8465 + shlibpath_var=LIBRARY_PATH
12.8466 + ;;
12.8467 +
12.8468 +bsdi4*)
12.8469 + version_type=linux
12.8470 + need_version=no
12.8471 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8472 + soname_spec='${libname}${release}${shared_ext}$major'
12.8473 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12.8474 + shlibpath_var=LD_LIBRARY_PATH
12.8475 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12.8476 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12.8477 + # the default ld.so.conf also contains /usr/contrib/lib and
12.8478 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12.8479 + # libtool to hard-code these into programs
12.8480 + ;;
12.8481 +
12.8482 +cygwin* | mingw* | pw32*)
12.8483 + version_type=windows
12.8484 + shrext_cmds=".dll"
12.8485 + need_version=no
12.8486 + need_lib_prefix=no
12.8487 +
12.8488 + case $GCC,$host_os in
12.8489 + yes,cygwin* | yes,mingw* | yes,pw32*)
12.8490 + library_names_spec='$libname.dll.a'
12.8491 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
12.8492 + postinstall_cmds='base_file=`basename \${file}`~
12.8493 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12.8494 + dldir=$destdir/`dirname \$dlpath`~
12.8495 + test -d \$dldir || mkdir -p \$dldir~
12.8496 + $install_prog $dir/$dlname \$dldir/$dlname'
12.8497 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12.8498 + dlpath=$dir/\$dldll~
12.8499 + $rm \$dlpath'
12.8500 + shlibpath_overrides_runpath=yes
12.8501 +
12.8502 + case $host_os in
12.8503 + cygwin*)
12.8504 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12.8505 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.8506 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12.8507 + ;;
12.8508 + mingw*)
12.8509 + # MinGW DLLs use traditional 'lib' prefix
12.8510 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.8511 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.8512 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12.8513 + # It is most probably a Windows format PATH printed by
12.8514 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
12.8515 + # path with ; separators, and with drive letters. We can handle the
12.8516 + # drive letters (cygwin fileutils understands them), so leave them,
12.8517 + # especially as we might pass files found there to a mingw objdump,
12.8518 + # which wouldn't understand a cygwinified path. Ahh.
12.8519 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.8520 + else
12.8521 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.8522 + fi
12.8523 + ;;
12.8524 + pw32*)
12.8525 + # pw32 DLLs use 'pw' prefix rather than 'lib'
12.8526 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12.8527 + ;;
12.8528 + esac
12.8529 + ;;
12.8530 +
12.8531 + *)
12.8532 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12.8533 + ;;
12.8534 + esac
12.8535 + dynamic_linker='Win32 ld.exe'
12.8536 + # FIXME: first we should search . and the directory the executable is in
12.8537 + shlibpath_var=PATH
12.8538 + ;;
12.8539 +
12.8540 +darwin* | rhapsody*)
12.8541 + dynamic_linker="$host_os dyld"
12.8542 + version_type=darwin
12.8543 + need_lib_prefix=no
12.8544 + need_version=no
12.8545 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12.8546 + soname_spec='${libname}${release}${major}$shared_ext'
12.8547 + shlibpath_overrides_runpath=yes
12.8548 + shlibpath_var=DYLD_LIBRARY_PATH
12.8549 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
12.8550 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12.8551 + if test "$GCC" = yes; then
12.8552 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12.8553 + else
12.8554 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12.8555 + fi
12.8556 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12.8557 + ;;
12.8558 +
12.8559 +dgux*)
12.8560 + version_type=linux
12.8561 + need_lib_prefix=no
12.8562 + need_version=no
12.8563 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12.8564 + soname_spec='${libname}${release}${shared_ext}$major'
12.8565 + shlibpath_var=LD_LIBRARY_PATH
12.8566 + ;;
12.8567 +
12.8568 +freebsd1*)
12.8569 + dynamic_linker=no
12.8570 + ;;
12.8571 +
12.8572 +kfreebsd*-gnu)
12.8573 + version_type=linux
12.8574 + need_lib_prefix=no
12.8575 + need_version=no
12.8576 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.8577 + soname_spec='${libname}${release}${shared_ext}$major'
12.8578 + shlibpath_var=LD_LIBRARY_PATH
12.8579 + shlibpath_overrides_runpath=no
12.8580 + hardcode_into_libs=yes
12.8581 + dynamic_linker='GNU ld.so'
12.8582 + ;;
12.8583 +
12.8584 +freebsd*)
12.8585 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12.8586 + version_type=freebsd-$objformat
12.8587 + case $version_type in
12.8588 + freebsd-elf*)
12.8589 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12.8590 + need_version=no
12.8591 + need_lib_prefix=no
12.8592 + ;;
12.8593 + freebsd-*)
12.8594 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12.8595 + need_version=yes
12.8596 + ;;
12.8597 + esac
12.8598 + shlibpath_var=LD_LIBRARY_PATH
12.8599 + case $host_os in
12.8600 + freebsd2*)
12.8601 + shlibpath_overrides_runpath=yes
12.8602 + ;;
12.8603 + freebsd3.01* | freebsdelf3.01*)
12.8604 + shlibpath_overrides_runpath=yes
12.8605 + hardcode_into_libs=yes
12.8606 + ;;
12.8607 + *) # from 3.2 on
12.8608 + shlibpath_overrides_runpath=no
12.8609 + hardcode_into_libs=yes
12.8610 + ;;
12.8611 + esac
12.8612 + ;;
12.8613 +
12.8614 +gnu*)
12.8615 + version_type=linux
12.8616 + need_lib_prefix=no
12.8617 + need_version=no
12.8618 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12.8619 + soname_spec='${libname}${release}${shared_ext}$major'
12.8620 + shlibpath_var=LD_LIBRARY_PATH
12.8621 + hardcode_into_libs=yes
12.8622 + ;;
12.8623 +
12.8624 +hpux9* | hpux10* | hpux11*)
12.8625 + # Give a soname corresponding to the major version so that dld.sl refuses to
12.8626 + # link against other versions.
12.8627 + version_type=sunos
12.8628 + need_lib_prefix=no
12.8629 + need_version=no
12.8630 + case "$host_cpu" in
12.8631 + ia64*)
12.8632 + shrext_cmds='.so'
12.8633 + hardcode_into_libs=yes
12.8634 + dynamic_linker="$host_os dld.so"
12.8635 + shlibpath_var=LD_LIBRARY_PATH
12.8636 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.8637 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8638 + soname_spec='${libname}${release}${shared_ext}$major'
12.8639 + if test "X$HPUX_IA64_MODE" = X32; then
12.8640 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12.8641 + else
12.8642 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12.8643 + fi
12.8644 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.8645 + ;;
12.8646 + hppa*64*)
12.8647 + shrext_cmds='.sl'
12.8648 + hardcode_into_libs=yes
12.8649 + dynamic_linker="$host_os dld.sl"
12.8650 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12.8651 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.8652 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8653 + soname_spec='${libname}${release}${shared_ext}$major'
12.8654 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12.8655 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.8656 + ;;
12.8657 + *)
12.8658 + shrext_cmds='.sl'
12.8659 + dynamic_linker="$host_os dld.sl"
12.8660 + shlibpath_var=SHLIB_PATH
12.8661 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12.8662 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8663 + soname_spec='${libname}${release}${shared_ext}$major'
12.8664 + ;;
12.8665 + esac
12.8666 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
12.8667 + postinstall_cmds='chmod 555 $lib'
12.8668 + ;;
12.8669 +
12.8670 +irix5* | irix6* | nonstopux*)
12.8671 + case $host_os in
12.8672 + nonstopux*) version_type=nonstopux ;;
12.8673 + *)
12.8674 + if test "$lt_cv_prog_gnu_ld" = yes; then
12.8675 + version_type=linux
12.8676 + else
12.8677 + version_type=irix
12.8678 + fi ;;
12.8679 + esac
12.8680 + need_lib_prefix=no
12.8681 + need_version=no
12.8682 + soname_spec='${libname}${release}${shared_ext}$major'
12.8683 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12.8684 + case $host_os in
12.8685 + irix5* | nonstopux*)
12.8686 + libsuff= shlibsuff=
12.8687 + ;;
12.8688 + *)
12.8689 + case $LD in # libtool.m4 will add one of these switches to LD
12.8690 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12.8691 + libsuff= shlibsuff= libmagic=32-bit;;
12.8692 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12.8693 + libsuff=32 shlibsuff=N32 libmagic=N32;;
12.8694 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12.8695 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
12.8696 + *) libsuff= shlibsuff= libmagic=never-match;;
12.8697 + esac
12.8698 + ;;
12.8699 + esac
12.8700 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12.8701 + shlibpath_overrides_runpath=no
12.8702 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12.8703 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12.8704 + hardcode_into_libs=yes
12.8705 + ;;
12.8706 +
12.8707 +# No shared lib support for Linux oldld, aout, or coff.
12.8708 +linux*oldld* | linux*aout* | linux*coff*)
12.8709 + dynamic_linker=no
12.8710 + ;;
12.8711 +
12.8712 +# This must be Linux ELF.
12.8713 +linux*)
12.8714 + version_type=linux
12.8715 + need_lib_prefix=no
12.8716 + need_version=no
12.8717 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8718 + soname_spec='${libname}${release}${shared_ext}$major'
12.8719 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12.8720 + shlibpath_var=LD_LIBRARY_PATH
12.8721 + shlibpath_overrides_runpath=no
12.8722 + # This implies no fast_install, which is unacceptable.
12.8723 + # Some rework will be needed to allow for fast_install
12.8724 + # before this can be enabled.
12.8725 + hardcode_into_libs=yes
12.8726 +
12.8727 + # Append ld.so.conf contents to the search path
12.8728 + if test -f /etc/ld.so.conf; then
12.8729 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12.8730 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12.8731 + fi
12.8732 +
12.8733 + # We used to test for /lib/ld.so.1 and disable shared libraries on
12.8734 + # powerpc, because MkLinux only supported shared libraries with the
12.8735 + # GNU dynamic linker. Since this was broken with cross compilers,
12.8736 + # most powerpc-linux boxes support dynamic linking these days and
12.8737 + # people can always --disable-shared, the test was removed, and we
12.8738 + # assume the GNU/Linux dynamic linker is in use.
12.8739 + dynamic_linker='GNU/Linux ld.so'
12.8740 + ;;
12.8741 +
12.8742 +netbsdelf*-gnu)
12.8743 + version_type=linux
12.8744 + need_lib_prefix=no
12.8745 + need_version=no
12.8746 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.8747 + soname_spec='${libname}${release}${shared_ext}$major'
12.8748 + shlibpath_var=LD_LIBRARY_PATH
12.8749 + shlibpath_overrides_runpath=no
12.8750 + hardcode_into_libs=yes
12.8751 + dynamic_linker='NetBSD ld.elf_so'
12.8752 + ;;
12.8753 +
12.8754 +knetbsd*-gnu)
12.8755 + version_type=linux
12.8756 + need_lib_prefix=no
12.8757 + need_version=no
12.8758 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.8759 + soname_spec='${libname}${release}${shared_ext}$major'
12.8760 + shlibpath_var=LD_LIBRARY_PATH
12.8761 + shlibpath_overrides_runpath=no
12.8762 + hardcode_into_libs=yes
12.8763 + dynamic_linker='GNU ld.so'
12.8764 + ;;
12.8765 +
12.8766 +netbsd*)
12.8767 + version_type=sunos
12.8768 + need_lib_prefix=no
12.8769 + need_version=no
12.8770 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.8771 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.8772 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.8773 + dynamic_linker='NetBSD (a.out) ld.so'
12.8774 + else
12.8775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.8776 + soname_spec='${libname}${release}${shared_ext}$major'
12.8777 + dynamic_linker='NetBSD ld.elf_so'
12.8778 + fi
12.8779 + shlibpath_var=LD_LIBRARY_PATH
12.8780 + shlibpath_overrides_runpath=yes
12.8781 + hardcode_into_libs=yes
12.8782 + ;;
12.8783 +
12.8784 +newsos6)
12.8785 + version_type=linux
12.8786 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8787 + shlibpath_var=LD_LIBRARY_PATH
12.8788 + shlibpath_overrides_runpath=yes
12.8789 + ;;
12.8790 +
12.8791 +nto-qnx*)
12.8792 + version_type=linux
12.8793 + need_lib_prefix=no
12.8794 + need_version=no
12.8795 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8796 + soname_spec='${libname}${release}${shared_ext}$major'
12.8797 + shlibpath_var=LD_LIBRARY_PATH
12.8798 + shlibpath_overrides_runpath=yes
12.8799 + ;;
12.8800 +
12.8801 +openbsd*)
12.8802 + version_type=sunos
12.8803 + need_lib_prefix=no
12.8804 + need_version=yes
12.8805 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.8806 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.8807 + shlibpath_var=LD_LIBRARY_PATH
12.8808 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.8809 + case $host_os in
12.8810 + openbsd2.[89] | openbsd2.[89].*)
12.8811 + shlibpath_overrides_runpath=no
12.8812 + ;;
12.8813 + *)
12.8814 + shlibpath_overrides_runpath=yes
12.8815 + ;;
12.8816 + esac
12.8817 + else
12.8818 + shlibpath_overrides_runpath=yes
12.8819 + fi
12.8820 + ;;
12.8821 +
12.8822 +os2*)
12.8823 + libname_spec='$name'
12.8824 + shrext_cmds=".dll"
12.8825 + need_lib_prefix=no
12.8826 + library_names_spec='$libname${shared_ext} $libname.a'
12.8827 + dynamic_linker='OS/2 ld.exe'
12.8828 + shlibpath_var=LIBPATH
12.8829 + ;;
12.8830 +
12.8831 +osf3* | osf4* | osf5*)
12.8832 + version_type=osf
12.8833 + need_lib_prefix=no
12.8834 + need_version=no
12.8835 + soname_spec='${libname}${release}${shared_ext}$major'
12.8836 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8837 + shlibpath_var=LD_LIBRARY_PATH
12.8838 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12.8839 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12.8840 + ;;
12.8841 +
12.8842 +sco3.2v5*)
12.8843 + version_type=osf
12.8844 + soname_spec='${libname}${release}${shared_ext}$major'
12.8845 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8846 + shlibpath_var=LD_LIBRARY_PATH
12.8847 + ;;
12.8848 +
12.8849 +solaris*)
12.8850 + version_type=linux
12.8851 + need_lib_prefix=no
12.8852 + need_version=no
12.8853 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8854 + soname_spec='${libname}${release}${shared_ext}$major'
12.8855 + shlibpath_var=LD_LIBRARY_PATH
12.8856 + shlibpath_overrides_runpath=yes
12.8857 + hardcode_into_libs=yes
12.8858 + # ldd complains unless libraries are executable
12.8859 + postinstall_cmds='chmod +x $lib'
12.8860 + ;;
12.8861 +
12.8862 +sunos4*)
12.8863 + version_type=sunos
12.8864 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.8865 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12.8866 + shlibpath_var=LD_LIBRARY_PATH
12.8867 + shlibpath_overrides_runpath=yes
12.8868 + if test "$with_gnu_ld" = yes; then
12.8869 + need_lib_prefix=no
12.8870 + fi
12.8871 + need_version=yes
12.8872 + ;;
12.8873 +
12.8874 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.8875 + version_type=linux
12.8876 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8877 + soname_spec='${libname}${release}${shared_ext}$major'
12.8878 + shlibpath_var=LD_LIBRARY_PATH
12.8879 + case $host_vendor in
12.8880 + sni)
12.8881 + shlibpath_overrides_runpath=no
12.8882 + need_lib_prefix=no
12.8883 + export_dynamic_flag_spec='${wl}-Blargedynsym'
12.8884 + runpath_var=LD_RUN_PATH
12.8885 + ;;
12.8886 + siemens)
12.8887 + need_lib_prefix=no
12.8888 + ;;
12.8889 + motorola)
12.8890 + need_lib_prefix=no
12.8891 + need_version=no
12.8892 + shlibpath_overrides_runpath=no
12.8893 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12.8894 + ;;
12.8895 + esac
12.8896 + ;;
12.8897 +
12.8898 +sysv4*MP*)
12.8899 + if test -d /usr/nec ;then
12.8900 + version_type=linux
12.8901 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12.8902 + soname_spec='$libname${shared_ext}.$major'
12.8903 + shlibpath_var=LD_LIBRARY_PATH
12.8904 + fi
12.8905 + ;;
12.8906 +
12.8907 +uts4*)
12.8908 + version_type=linux
12.8909 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.8910 + soname_spec='${libname}${release}${shared_ext}$major'
12.8911 + shlibpath_var=LD_LIBRARY_PATH
12.8912 + ;;
12.8913 +
12.8914 +*)
12.8915 + dynamic_linker=no
12.8916 + ;;
12.8917 +esac
12.8918 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12.8919 +echo "${ECHO_T}$dynamic_linker" >&6; }
12.8920 +test "$dynamic_linker" = no && can_build_shared=no
12.8921 +
12.8922 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12.8923 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12.8924 +hardcode_action=
12.8925 +if test -n "$hardcode_libdir_flag_spec" || \
12.8926 + test -n "$runpath_var " || \
12.8927 + test "X$hardcode_automatic"="Xyes" ; then
12.8928 +
12.8929 + # We can hardcode non-existant directories.
12.8930 + if test "$hardcode_direct" != no &&
12.8931 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
12.8932 + # have to relink, otherwise we might link with an installed library
12.8933 + # when we should be linking with a yet-to-be-installed one
12.8934 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
12.8935 + test "$hardcode_minus_L" != no; then
12.8936 + # Linking always hardcodes the temporary library directory.
12.8937 + hardcode_action=relink
12.8938 + else
12.8939 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
12.8940 + hardcode_action=immediate
12.8941 + fi
12.8942 +else
12.8943 + # We cannot hardcode anything, or else we can only hardcode existing
12.8944 + # directories.
12.8945 + hardcode_action=unsupported
12.8946 +fi
12.8947 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
12.8948 +echo "${ECHO_T}$hardcode_action" >&6; }
12.8949 +
12.8950 +if test "$hardcode_action" = relink; then
12.8951 + # Fast installation is not supported
12.8952 + enable_fast_install=no
12.8953 +elif test "$shlibpath_overrides_runpath" = yes ||
12.8954 + test "$enable_shared" = no; then
12.8955 + # Fast installation is not necessary
12.8956 + enable_fast_install=needless
12.8957 +fi
12.8958 +
12.8959 +striplib=
12.8960 +old_striplib=
12.8961 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12.8962 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12.8963 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12.8964 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12.8965 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12.8966 + { echo "$as_me:$LINENO: result: yes" >&5
12.8967 +echo "${ECHO_T}yes" >&6; }
12.8968 +else
12.8969 +# FIXME - insert some real tests, host_os isn't really good enough
12.8970 + case $host_os in
12.8971 + darwin*)
12.8972 + if test -n "$STRIP" ; then
12.8973 + striplib="$STRIP -x"
12.8974 + { echo "$as_me:$LINENO: result: yes" >&5
12.8975 +echo "${ECHO_T}yes" >&6; }
12.8976 + else
12.8977 + { echo "$as_me:$LINENO: result: no" >&5
12.8978 +echo "${ECHO_T}no" >&6; }
12.8979 +fi
12.8980 + ;;
12.8981 + *)
12.8982 + { echo "$as_me:$LINENO: result: no" >&5
12.8983 +echo "${ECHO_T}no" >&6; }
12.8984 + ;;
12.8985 + esac
12.8986 +fi
12.8987 +
12.8988 +if test "x$enable_dlopen" != xyes; then
12.8989 + enable_dlopen=unknown
12.8990 + enable_dlopen_self=unknown
12.8991 + enable_dlopen_self_static=unknown
12.8992 +else
12.8993 + lt_cv_dlopen=no
12.8994 + lt_cv_dlopen_libs=
12.8995 +
12.8996 + case $host_os in
12.8997 + beos*)
12.8998 + lt_cv_dlopen="load_add_on"
12.8999 + lt_cv_dlopen_libs=
12.9000 + lt_cv_dlopen_self=yes
12.9001 + ;;
12.9002 +
12.9003 + mingw* | pw32*)
12.9004 + lt_cv_dlopen="LoadLibrary"
12.9005 + lt_cv_dlopen_libs=
12.9006 + ;;
12.9007 +
12.9008 + cygwin*)
12.9009 + lt_cv_dlopen="dlopen"
12.9010 + lt_cv_dlopen_libs=
12.9011 + ;;
12.9012 +
12.9013 + darwin*)
12.9014 + # if libdl is installed we need to link against it
12.9015 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12.9016 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12.9017 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12.9018 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9019 +else
12.9020 + ac_check_lib_save_LIBS=$LIBS
12.9021 +LIBS="-ldl $LIBS"
12.9022 +cat >conftest.$ac_ext <<_ACEOF
12.9023 +/* confdefs.h. */
12.9024 +_ACEOF
12.9025 +cat confdefs.h >>conftest.$ac_ext
12.9026 +cat >>conftest.$ac_ext <<_ACEOF
12.9027 +/* end confdefs.h. */
12.9028 +
12.9029 +/* Override any GCC internal prototype to avoid an error.
12.9030 + Use char because int might match the return type of a GCC
12.9031 + builtin and then its argument prototype would still apply. */
12.9032 +#ifdef __cplusplus
12.9033 +extern "C"
12.9034 +#endif
12.9035 +char dlopen ();
12.9036 +int
12.9037 +main ()
12.9038 +{
12.9039 +return dlopen ();
12.9040 + ;
12.9041 + return 0;
12.9042 +}
12.9043 +_ACEOF
12.9044 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9045 +if { (ac_try="$ac_link"
12.9046 +case "(($ac_try" in
12.9047 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9048 + *) ac_try_echo=$ac_try;;
12.9049 +esac
12.9050 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9051 + (eval "$ac_link") 2>conftest.er1
12.9052 + ac_status=$?
12.9053 + grep -v '^ *+' conftest.er1 >conftest.err
12.9054 + rm -f conftest.er1
12.9055 + cat conftest.err >&5
12.9056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9057 + (exit $ac_status); } && {
12.9058 + test -z "$ac_c_werror_flag" ||
12.9059 + test ! -s conftest.err
12.9060 + } && test -s conftest$ac_exeext &&
12.9061 + $as_test_x conftest$ac_exeext; then
12.9062 + ac_cv_lib_dl_dlopen=yes
12.9063 +else
12.9064 + echo "$as_me: failed program was:" >&5
12.9065 +sed 's/^/| /' conftest.$ac_ext >&5
12.9066 +
12.9067 + ac_cv_lib_dl_dlopen=no
12.9068 +fi
12.9069 +
12.9070 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9071 + conftest$ac_exeext conftest.$ac_ext
12.9072 +LIBS=$ac_check_lib_save_LIBS
12.9073 +fi
12.9074 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12.9075 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12.9076 +if test $ac_cv_lib_dl_dlopen = yes; then
12.9077 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12.9078 +else
12.9079 +
12.9080 + lt_cv_dlopen="dyld"
12.9081 + lt_cv_dlopen_libs=
12.9082 + lt_cv_dlopen_self=yes
12.9083 +
12.9084 +fi
12.9085 +
12.9086 + ;;
12.9087 +
12.9088 + *)
12.9089 + { echo "$as_me:$LINENO: checking for shl_load" >&5
12.9090 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12.9091 +if test "${ac_cv_func_shl_load+set}" = set; then
12.9092 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9093 +else
12.9094 + cat >conftest.$ac_ext <<_ACEOF
12.9095 +/* confdefs.h. */
12.9096 +_ACEOF
12.9097 +cat confdefs.h >>conftest.$ac_ext
12.9098 +cat >>conftest.$ac_ext <<_ACEOF
12.9099 +/* end confdefs.h. */
12.9100 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12.9101 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
12.9102 +#define shl_load innocuous_shl_load
12.9103 +
12.9104 +/* System header to define __stub macros and hopefully few prototypes,
12.9105 + which can conflict with char shl_load (); below.
12.9106 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.9107 + <limits.h> exists even on freestanding compilers. */
12.9108 +
12.9109 +#ifdef __STDC__
12.9110 +# include <limits.h>
12.9111 +#else
12.9112 +# include <assert.h>
12.9113 +#endif
12.9114 +
12.9115 +#undef shl_load
12.9116 +
12.9117 +/* Override any GCC internal prototype to avoid an error.
12.9118 + Use char because int might match the return type of a GCC
12.9119 + builtin and then its argument prototype would still apply. */
12.9120 +#ifdef __cplusplus
12.9121 +extern "C"
12.9122 +#endif
12.9123 +char shl_load ();
12.9124 +/* The GNU C library defines this for functions which it implements
12.9125 + to always fail with ENOSYS. Some functions are actually named
12.9126 + something starting with __ and the normal name is an alias. */
12.9127 +#if defined __stub_shl_load || defined __stub___shl_load
12.9128 +choke me
12.9129 +#endif
12.9130 +
12.9131 +int
12.9132 +main ()
12.9133 +{
12.9134 +return shl_load ();
12.9135 + ;
12.9136 + return 0;
12.9137 +}
12.9138 +_ACEOF
12.9139 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9140 +if { (ac_try="$ac_link"
12.9141 +case "(($ac_try" in
12.9142 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9143 + *) ac_try_echo=$ac_try;;
12.9144 +esac
12.9145 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9146 + (eval "$ac_link") 2>conftest.er1
12.9147 + ac_status=$?
12.9148 + grep -v '^ *+' conftest.er1 >conftest.err
12.9149 + rm -f conftest.er1
12.9150 + cat conftest.err >&5
12.9151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9152 + (exit $ac_status); } && {
12.9153 + test -z "$ac_c_werror_flag" ||
12.9154 + test ! -s conftest.err
12.9155 + } && test -s conftest$ac_exeext &&
12.9156 + $as_test_x conftest$ac_exeext; then
12.9157 + ac_cv_func_shl_load=yes
12.9158 +else
12.9159 + echo "$as_me: failed program was:" >&5
12.9160 +sed 's/^/| /' conftest.$ac_ext >&5
12.9161 +
12.9162 + ac_cv_func_shl_load=no
12.9163 +fi
12.9164 +
12.9165 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9166 + conftest$ac_exeext conftest.$ac_ext
12.9167 +fi
12.9168 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12.9169 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12.9170 +if test $ac_cv_func_shl_load = yes; then
12.9171 + lt_cv_dlopen="shl_load"
12.9172 +else
12.9173 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12.9174 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12.9175 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12.9176 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9177 +else
12.9178 + ac_check_lib_save_LIBS=$LIBS
12.9179 +LIBS="-ldld $LIBS"
12.9180 +cat >conftest.$ac_ext <<_ACEOF
12.9181 +/* confdefs.h. */
12.9182 +_ACEOF
12.9183 +cat confdefs.h >>conftest.$ac_ext
12.9184 +cat >>conftest.$ac_ext <<_ACEOF
12.9185 +/* end confdefs.h. */
12.9186 +
12.9187 +/* Override any GCC internal prototype to avoid an error.
12.9188 + Use char because int might match the return type of a GCC
12.9189 + builtin and then its argument prototype would still apply. */
12.9190 +#ifdef __cplusplus
12.9191 +extern "C"
12.9192 +#endif
12.9193 +char shl_load ();
12.9194 +int
12.9195 +main ()
12.9196 +{
12.9197 +return shl_load ();
12.9198 + ;
12.9199 + return 0;
12.9200 +}
12.9201 +_ACEOF
12.9202 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9203 +if { (ac_try="$ac_link"
12.9204 +case "(($ac_try" in
12.9205 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9206 + *) ac_try_echo=$ac_try;;
12.9207 +esac
12.9208 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9209 + (eval "$ac_link") 2>conftest.er1
12.9210 + ac_status=$?
12.9211 + grep -v '^ *+' conftest.er1 >conftest.err
12.9212 + rm -f conftest.er1
12.9213 + cat conftest.err >&5
12.9214 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9215 + (exit $ac_status); } && {
12.9216 + test -z "$ac_c_werror_flag" ||
12.9217 + test ! -s conftest.err
12.9218 + } && test -s conftest$ac_exeext &&
12.9219 + $as_test_x conftest$ac_exeext; then
12.9220 + ac_cv_lib_dld_shl_load=yes
12.9221 +else
12.9222 + echo "$as_me: failed program was:" >&5
12.9223 +sed 's/^/| /' conftest.$ac_ext >&5
12.9224 +
12.9225 + ac_cv_lib_dld_shl_load=no
12.9226 +fi
12.9227 +
12.9228 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9229 + conftest$ac_exeext conftest.$ac_ext
12.9230 +LIBS=$ac_check_lib_save_LIBS
12.9231 +fi
12.9232 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12.9233 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12.9234 +if test $ac_cv_lib_dld_shl_load = yes; then
12.9235 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12.9236 +else
12.9237 + { echo "$as_me:$LINENO: checking for dlopen" >&5
12.9238 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12.9239 +if test "${ac_cv_func_dlopen+set}" = set; then
12.9240 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9241 +else
12.9242 + cat >conftest.$ac_ext <<_ACEOF
12.9243 +/* confdefs.h. */
12.9244 +_ACEOF
12.9245 +cat confdefs.h >>conftest.$ac_ext
12.9246 +cat >>conftest.$ac_ext <<_ACEOF
12.9247 +/* end confdefs.h. */
12.9248 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12.9249 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
12.9250 +#define dlopen innocuous_dlopen
12.9251 +
12.9252 +/* System header to define __stub macros and hopefully few prototypes,
12.9253 + which can conflict with char dlopen (); below.
12.9254 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.9255 + <limits.h> exists even on freestanding compilers. */
12.9256 +
12.9257 +#ifdef __STDC__
12.9258 +# include <limits.h>
12.9259 +#else
12.9260 +# include <assert.h>
12.9261 +#endif
12.9262 +
12.9263 +#undef dlopen
12.9264 +
12.9265 +/* Override any GCC internal prototype to avoid an error.
12.9266 + Use char because int might match the return type of a GCC
12.9267 + builtin and then its argument prototype would still apply. */
12.9268 +#ifdef __cplusplus
12.9269 +extern "C"
12.9270 +#endif
12.9271 +char dlopen ();
12.9272 +/* The GNU C library defines this for functions which it implements
12.9273 + to always fail with ENOSYS. Some functions are actually named
12.9274 + something starting with __ and the normal name is an alias. */
12.9275 +#if defined __stub_dlopen || defined __stub___dlopen
12.9276 +choke me
12.9277 +#endif
12.9278 +
12.9279 +int
12.9280 +main ()
12.9281 +{
12.9282 +return dlopen ();
12.9283 + ;
12.9284 + return 0;
12.9285 +}
12.9286 +_ACEOF
12.9287 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9288 +if { (ac_try="$ac_link"
12.9289 +case "(($ac_try" in
12.9290 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9291 + *) ac_try_echo=$ac_try;;
12.9292 +esac
12.9293 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9294 + (eval "$ac_link") 2>conftest.er1
12.9295 + ac_status=$?
12.9296 + grep -v '^ *+' conftest.er1 >conftest.err
12.9297 + rm -f conftest.er1
12.9298 + cat conftest.err >&5
12.9299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9300 + (exit $ac_status); } && {
12.9301 + test -z "$ac_c_werror_flag" ||
12.9302 + test ! -s conftest.err
12.9303 + } && test -s conftest$ac_exeext &&
12.9304 + $as_test_x conftest$ac_exeext; then
12.9305 + ac_cv_func_dlopen=yes
12.9306 +else
12.9307 + echo "$as_me: failed program was:" >&5
12.9308 +sed 's/^/| /' conftest.$ac_ext >&5
12.9309 +
12.9310 + ac_cv_func_dlopen=no
12.9311 +fi
12.9312 +
12.9313 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9314 + conftest$ac_exeext conftest.$ac_ext
12.9315 +fi
12.9316 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12.9317 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12.9318 +if test $ac_cv_func_dlopen = yes; then
12.9319 + lt_cv_dlopen="dlopen"
12.9320 +else
12.9321 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12.9322 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12.9323 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12.9324 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9325 +else
12.9326 + ac_check_lib_save_LIBS=$LIBS
12.9327 +LIBS="-ldl $LIBS"
12.9328 +cat >conftest.$ac_ext <<_ACEOF
12.9329 +/* confdefs.h. */
12.9330 +_ACEOF
12.9331 +cat confdefs.h >>conftest.$ac_ext
12.9332 +cat >>conftest.$ac_ext <<_ACEOF
12.9333 +/* end confdefs.h. */
12.9334 +
12.9335 +/* Override any GCC internal prototype to avoid an error.
12.9336 + Use char because int might match the return type of a GCC
12.9337 + builtin and then its argument prototype would still apply. */
12.9338 +#ifdef __cplusplus
12.9339 +extern "C"
12.9340 +#endif
12.9341 +char dlopen ();
12.9342 +int
12.9343 +main ()
12.9344 +{
12.9345 +return dlopen ();
12.9346 + ;
12.9347 + return 0;
12.9348 +}
12.9349 +_ACEOF
12.9350 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9351 +if { (ac_try="$ac_link"
12.9352 +case "(($ac_try" in
12.9353 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9354 + *) ac_try_echo=$ac_try;;
12.9355 +esac
12.9356 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9357 + (eval "$ac_link") 2>conftest.er1
12.9358 + ac_status=$?
12.9359 + grep -v '^ *+' conftest.er1 >conftest.err
12.9360 + rm -f conftest.er1
12.9361 + cat conftest.err >&5
12.9362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9363 + (exit $ac_status); } && {
12.9364 + test -z "$ac_c_werror_flag" ||
12.9365 + test ! -s conftest.err
12.9366 + } && test -s conftest$ac_exeext &&
12.9367 + $as_test_x conftest$ac_exeext; then
12.9368 + ac_cv_lib_dl_dlopen=yes
12.9369 +else
12.9370 + echo "$as_me: failed program was:" >&5
12.9371 +sed 's/^/| /' conftest.$ac_ext >&5
12.9372 +
12.9373 + ac_cv_lib_dl_dlopen=no
12.9374 +fi
12.9375 +
12.9376 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9377 + conftest$ac_exeext conftest.$ac_ext
12.9378 +LIBS=$ac_check_lib_save_LIBS
12.9379 +fi
12.9380 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12.9381 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12.9382 +if test $ac_cv_lib_dl_dlopen = yes; then
12.9383 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12.9384 +else
12.9385 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12.9386 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12.9387 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12.9388 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9389 +else
12.9390 + ac_check_lib_save_LIBS=$LIBS
12.9391 +LIBS="-lsvld $LIBS"
12.9392 +cat >conftest.$ac_ext <<_ACEOF
12.9393 +/* confdefs.h. */
12.9394 +_ACEOF
12.9395 +cat confdefs.h >>conftest.$ac_ext
12.9396 +cat >>conftest.$ac_ext <<_ACEOF
12.9397 +/* end confdefs.h. */
12.9398 +
12.9399 +/* Override any GCC internal prototype to avoid an error.
12.9400 + Use char because int might match the return type of a GCC
12.9401 + builtin and then its argument prototype would still apply. */
12.9402 +#ifdef __cplusplus
12.9403 +extern "C"
12.9404 +#endif
12.9405 +char dlopen ();
12.9406 +int
12.9407 +main ()
12.9408 +{
12.9409 +return dlopen ();
12.9410 + ;
12.9411 + return 0;
12.9412 +}
12.9413 +_ACEOF
12.9414 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9415 +if { (ac_try="$ac_link"
12.9416 +case "(($ac_try" in
12.9417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9418 + *) ac_try_echo=$ac_try;;
12.9419 +esac
12.9420 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9421 + (eval "$ac_link") 2>conftest.er1
12.9422 + ac_status=$?
12.9423 + grep -v '^ *+' conftest.er1 >conftest.err
12.9424 + rm -f conftest.er1
12.9425 + cat conftest.err >&5
12.9426 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9427 + (exit $ac_status); } && {
12.9428 + test -z "$ac_c_werror_flag" ||
12.9429 + test ! -s conftest.err
12.9430 + } && test -s conftest$ac_exeext &&
12.9431 + $as_test_x conftest$ac_exeext; then
12.9432 + ac_cv_lib_svld_dlopen=yes
12.9433 +else
12.9434 + echo "$as_me: failed program was:" >&5
12.9435 +sed 's/^/| /' conftest.$ac_ext >&5
12.9436 +
12.9437 + ac_cv_lib_svld_dlopen=no
12.9438 +fi
12.9439 +
12.9440 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9441 + conftest$ac_exeext conftest.$ac_ext
12.9442 +LIBS=$ac_check_lib_save_LIBS
12.9443 +fi
12.9444 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12.9445 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12.9446 +if test $ac_cv_lib_svld_dlopen = yes; then
12.9447 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12.9448 +else
12.9449 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12.9450 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12.9451 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12.9452 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9453 +else
12.9454 + ac_check_lib_save_LIBS=$LIBS
12.9455 +LIBS="-ldld $LIBS"
12.9456 +cat >conftest.$ac_ext <<_ACEOF
12.9457 +/* confdefs.h. */
12.9458 +_ACEOF
12.9459 +cat confdefs.h >>conftest.$ac_ext
12.9460 +cat >>conftest.$ac_ext <<_ACEOF
12.9461 +/* end confdefs.h. */
12.9462 +
12.9463 +/* Override any GCC internal prototype to avoid an error.
12.9464 + Use char because int might match the return type of a GCC
12.9465 + builtin and then its argument prototype would still apply. */
12.9466 +#ifdef __cplusplus
12.9467 +extern "C"
12.9468 +#endif
12.9469 +char dld_link ();
12.9470 +int
12.9471 +main ()
12.9472 +{
12.9473 +return dld_link ();
12.9474 + ;
12.9475 + return 0;
12.9476 +}
12.9477 +_ACEOF
12.9478 +rm -f conftest.$ac_objext conftest$ac_exeext
12.9479 +if { (ac_try="$ac_link"
12.9480 +case "(($ac_try" in
12.9481 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.9482 + *) ac_try_echo=$ac_try;;
12.9483 +esac
12.9484 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.9485 + (eval "$ac_link") 2>conftest.er1
12.9486 + ac_status=$?
12.9487 + grep -v '^ *+' conftest.er1 >conftest.err
12.9488 + rm -f conftest.er1
12.9489 + cat conftest.err >&5
12.9490 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9491 + (exit $ac_status); } && {
12.9492 + test -z "$ac_c_werror_flag" ||
12.9493 + test ! -s conftest.err
12.9494 + } && test -s conftest$ac_exeext &&
12.9495 + $as_test_x conftest$ac_exeext; then
12.9496 + ac_cv_lib_dld_dld_link=yes
12.9497 +else
12.9498 + echo "$as_me: failed program was:" >&5
12.9499 +sed 's/^/| /' conftest.$ac_ext >&5
12.9500 +
12.9501 + ac_cv_lib_dld_dld_link=no
12.9502 +fi
12.9503 +
12.9504 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.9505 + conftest$ac_exeext conftest.$ac_ext
12.9506 +LIBS=$ac_check_lib_save_LIBS
12.9507 +fi
12.9508 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12.9509 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12.9510 +if test $ac_cv_lib_dld_dld_link = yes; then
12.9511 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12.9512 +fi
12.9513 +
12.9514 +
12.9515 +fi
12.9516 +
12.9517 +
12.9518 +fi
12.9519 +
12.9520 +
12.9521 +fi
12.9522 +
12.9523 +
12.9524 +fi
12.9525 +
12.9526 +
12.9527 +fi
12.9528 +
12.9529 + ;;
12.9530 + esac
12.9531 +
12.9532 + if test "x$lt_cv_dlopen" != xno; then
12.9533 + enable_dlopen=yes
12.9534 + else
12.9535 + enable_dlopen=no
12.9536 + fi
12.9537 +
12.9538 + case $lt_cv_dlopen in
12.9539 + dlopen)
12.9540 + save_CPPFLAGS="$CPPFLAGS"
12.9541 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12.9542 +
12.9543 + save_LDFLAGS="$LDFLAGS"
12.9544 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12.9545 +
12.9546 + save_LIBS="$LIBS"
12.9547 + LIBS="$lt_cv_dlopen_libs $LIBS"
12.9548 +
12.9549 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12.9550 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12.9551 +if test "${lt_cv_dlopen_self+set}" = set; then
12.9552 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9553 +else
12.9554 + if test "$cross_compiling" = yes; then :
12.9555 + lt_cv_dlopen_self=cross
12.9556 +else
12.9557 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12.9558 + lt_status=$lt_dlunknown
12.9559 + cat > conftest.$ac_ext <<EOF
12.9560 +#line __oline__ "configure"
12.9561 +#include "confdefs.h"
12.9562 +
12.9563 +#if HAVE_DLFCN_H
12.9564 +#include <dlfcn.h>
12.9565 +#endif
12.9566 +
12.9567 +#include <stdio.h>
12.9568 +
12.9569 +#ifdef RTLD_GLOBAL
12.9570 +# define LT_DLGLOBAL RTLD_GLOBAL
12.9571 +#else
12.9572 +# ifdef DL_GLOBAL
12.9573 +# define LT_DLGLOBAL DL_GLOBAL
12.9574 +# else
12.9575 +# define LT_DLGLOBAL 0
12.9576 +# endif
12.9577 +#endif
12.9578 +
12.9579 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12.9580 + find out it does not work in some platform. */
12.9581 +#ifndef LT_DLLAZY_OR_NOW
12.9582 +# ifdef RTLD_LAZY
12.9583 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
12.9584 +# else
12.9585 +# ifdef DL_LAZY
12.9586 +# define LT_DLLAZY_OR_NOW DL_LAZY
12.9587 +# else
12.9588 +# ifdef RTLD_NOW
12.9589 +# define LT_DLLAZY_OR_NOW RTLD_NOW
12.9590 +# else
12.9591 +# ifdef DL_NOW
12.9592 +# define LT_DLLAZY_OR_NOW DL_NOW
12.9593 +# else
12.9594 +# define LT_DLLAZY_OR_NOW 0
12.9595 +# endif
12.9596 +# endif
12.9597 +# endif
12.9598 +# endif
12.9599 +#endif
12.9600 +
12.9601 +#ifdef __cplusplus
12.9602 +extern "C" void exit (int);
12.9603 +#endif
12.9604 +
12.9605 +void fnord() { int i=42;}
12.9606 +int main ()
12.9607 +{
12.9608 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12.9609 + int status = $lt_dlunknown;
12.9610 +
12.9611 + if (self)
12.9612 + {
12.9613 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12.9614 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12.9615 + /* dlclose (self); */
12.9616 + }
12.9617 +
12.9618 + exit (status);
12.9619 +}
12.9620 +EOF
12.9621 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.9622 + (eval $ac_link) 2>&5
12.9623 + ac_status=$?
12.9624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9625 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12.9626 + (./conftest; exit; ) 2>/dev/null
12.9627 + lt_status=$?
12.9628 + case x$lt_status in
12.9629 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12.9630 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12.9631 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12.9632 + esac
12.9633 + else :
12.9634 + # compilation failed
12.9635 + lt_cv_dlopen_self=no
12.9636 + fi
12.9637 +fi
12.9638 +rm -fr conftest*
12.9639 +
12.9640 +
12.9641 +fi
12.9642 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12.9643 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12.9644 +
12.9645 + if test "x$lt_cv_dlopen_self" = xyes; then
12.9646 + LDFLAGS="$LDFLAGS $link_static_flag"
12.9647 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12.9648 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12.9649 +if test "${lt_cv_dlopen_self_static+set}" = set; then
12.9650 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.9651 +else
12.9652 + if test "$cross_compiling" = yes; then :
12.9653 + lt_cv_dlopen_self_static=cross
12.9654 +else
12.9655 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12.9656 + lt_status=$lt_dlunknown
12.9657 + cat > conftest.$ac_ext <<EOF
12.9658 +#line __oline__ "configure"
12.9659 +#include "confdefs.h"
12.9660 +
12.9661 +#if HAVE_DLFCN_H
12.9662 +#include <dlfcn.h>
12.9663 +#endif
12.9664 +
12.9665 +#include <stdio.h>
12.9666 +
12.9667 +#ifdef RTLD_GLOBAL
12.9668 +# define LT_DLGLOBAL RTLD_GLOBAL
12.9669 +#else
12.9670 +# ifdef DL_GLOBAL
12.9671 +# define LT_DLGLOBAL DL_GLOBAL
12.9672 +# else
12.9673 +# define LT_DLGLOBAL 0
12.9674 +# endif
12.9675 +#endif
12.9676 +
12.9677 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12.9678 + find out it does not work in some platform. */
12.9679 +#ifndef LT_DLLAZY_OR_NOW
12.9680 +# ifdef RTLD_LAZY
12.9681 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
12.9682 +# else
12.9683 +# ifdef DL_LAZY
12.9684 +# define LT_DLLAZY_OR_NOW DL_LAZY
12.9685 +# else
12.9686 +# ifdef RTLD_NOW
12.9687 +# define LT_DLLAZY_OR_NOW RTLD_NOW
12.9688 +# else
12.9689 +# ifdef DL_NOW
12.9690 +# define LT_DLLAZY_OR_NOW DL_NOW
12.9691 +# else
12.9692 +# define LT_DLLAZY_OR_NOW 0
12.9693 +# endif
12.9694 +# endif
12.9695 +# endif
12.9696 +# endif
12.9697 +#endif
12.9698 +
12.9699 +#ifdef __cplusplus
12.9700 +extern "C" void exit (int);
12.9701 +#endif
12.9702 +
12.9703 +void fnord() { int i=42;}
12.9704 +int main ()
12.9705 +{
12.9706 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12.9707 + int status = $lt_dlunknown;
12.9708 +
12.9709 + if (self)
12.9710 + {
12.9711 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12.9712 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12.9713 + /* dlclose (self); */
12.9714 + }
12.9715 +
12.9716 + exit (status);
12.9717 +}
12.9718 +EOF
12.9719 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.9720 + (eval $ac_link) 2>&5
12.9721 + ac_status=$?
12.9722 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.9723 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12.9724 + (./conftest; exit; ) 2>/dev/null
12.9725 + lt_status=$?
12.9726 + case x$lt_status in
12.9727 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12.9728 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12.9729 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12.9730 + esac
12.9731 + else :
12.9732 + # compilation failed
12.9733 + lt_cv_dlopen_self_static=no
12.9734 + fi
12.9735 +fi
12.9736 +rm -fr conftest*
12.9737 +
12.9738 +
12.9739 +fi
12.9740 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12.9741 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12.9742 + fi
12.9743 +
12.9744 + CPPFLAGS="$save_CPPFLAGS"
12.9745 + LDFLAGS="$save_LDFLAGS"
12.9746 + LIBS="$save_LIBS"
12.9747 + ;;
12.9748 + esac
12.9749 +
12.9750 + case $lt_cv_dlopen_self in
12.9751 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12.9752 + *) enable_dlopen_self=unknown ;;
12.9753 + esac
12.9754 +
12.9755 + case $lt_cv_dlopen_self_static in
12.9756 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12.9757 + *) enable_dlopen_self_static=unknown ;;
12.9758 + esac
12.9759 +fi
12.9760 +
12.9761 +
12.9762 +# Report which librarie types wil actually be built
12.9763 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12.9764 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12.9765 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12.9766 +echo "${ECHO_T}$can_build_shared" >&6; }
12.9767 +
12.9768 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12.9769 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12.9770 +test "$can_build_shared" = "no" && enable_shared=no
12.9771 +
12.9772 +# On AIX, shared libraries and static libraries use the same namespace, and
12.9773 +# are all built from PIC.
12.9774 +case "$host_os" in
12.9775 +aix3*)
12.9776 + test "$enable_shared" = yes && enable_static=no
12.9777 + if test -n "$RANLIB"; then
12.9778 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
12.9779 + postinstall_cmds='$RANLIB $lib'
12.9780 + fi
12.9781 + ;;
12.9782 +
12.9783 +aix4* | aix5*)
12.9784 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12.9785 + test "$enable_shared" = yes && enable_static=no
12.9786 + fi
12.9787 + ;;
12.9788 + darwin* | rhapsody*)
12.9789 + if test "$GCC" = yes; then
12.9790 + archive_cmds_need_lc=no
12.9791 + case "$host_os" in
12.9792 + rhapsody* | darwin1.[012])
12.9793 + allow_undefined_flag='-undefined suppress'
12.9794 + ;;
12.9795 + *) # Darwin 1.3 on
12.9796 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12.9797 + allow_undefined_flag='-flat_namespace -undefined suppress'
12.9798 + else
12.9799 + case ${MACOSX_DEPLOYMENT_TARGET} in
12.9800 + 10.[012])
12.9801 + allow_undefined_flag='-flat_namespace -undefined suppress'
12.9802 + ;;
12.9803 + 10.*)
12.9804 + allow_undefined_flag='-undefined dynamic_lookup'
12.9805 + ;;
12.9806 + esac
12.9807 + fi
12.9808 + ;;
12.9809 + esac
12.9810 + output_verbose_link_cmd='echo'
12.9811 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
12.9812 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12.9813 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12.9814 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.9815 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.9816 + hardcode_direct=no
12.9817 + hardcode_automatic=yes
12.9818 + hardcode_shlibpath_var=unsupported
12.9819 + whole_archive_flag_spec='-all_load $convenience'
12.9820 + link_all_deplibs=yes
12.9821 + else
12.9822 + ld_shlibs=no
12.9823 + fi
12.9824 + ;;
12.9825 +esac
12.9826 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12.9827 +echo "${ECHO_T}$enable_shared" >&6; }
12.9828 +
12.9829 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12.9830 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12.9831 +# Make sure either enable_shared or enable_static is yes.
12.9832 +test "$enable_shared" = yes || enable_static=yes
12.9833 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
12.9834 +echo "${ECHO_T}$enable_static" >&6; }
12.9835 +
12.9836 +# The else clause should only fire when bootstrapping the
12.9837 +# libtool distribution, otherwise you forgot to ship ltmain.sh
12.9838 +# with your package, and you will get complaints that there are
12.9839 +# no rules to generate ltmain.sh.
12.9840 +if test -f "$ltmain"; then
12.9841 + # See if we are running on zsh, and set the options which allow our commands through
12.9842 + # without removal of \ escapes.
12.9843 + if test -n "${ZSH_VERSION+set}" ; then
12.9844 + setopt NO_GLOB_SUBST
12.9845 + fi
12.9846 + # Now quote all the things that may contain metacharacters while being
12.9847 + # careful not to overquote the AC_SUBSTed values. We take copies of the
12.9848 + # variables and quote the copies for generation of the libtool script.
12.9849 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12.9850 + SED SHELL STRIP \
12.9851 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12.9852 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12.9853 + deplibs_check_method reload_flag reload_cmds need_locks \
12.9854 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12.9855 + lt_cv_sys_global_symbol_to_c_name_address \
12.9856 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12.9857 + old_postinstall_cmds old_postuninstall_cmds \
12.9858 + compiler \
12.9859 + CC \
12.9860 + LD \
12.9861 + lt_prog_compiler_wl \
12.9862 + lt_prog_compiler_pic \
12.9863 + lt_prog_compiler_static \
12.9864 + lt_prog_compiler_no_builtin_flag \
12.9865 + export_dynamic_flag_spec \
12.9866 + thread_safe_flag_spec \
12.9867 + whole_archive_flag_spec \
12.9868 + enable_shared_with_static_runtimes \
12.9869 + old_archive_cmds \
12.9870 + old_archive_from_new_cmds \
12.9871 + predep_objects \
12.9872 + postdep_objects \
12.9873 + predeps \
12.9874 + postdeps \
12.9875 + compiler_lib_search_path \
12.9876 + archive_cmds \
12.9877 + archive_expsym_cmds \
12.9878 + postinstall_cmds \
12.9879 + postuninstall_cmds \
12.9880 + old_archive_from_expsyms_cmds \
12.9881 + allow_undefined_flag \
12.9882 + no_undefined_flag \
12.9883 + export_symbols_cmds \
12.9884 + hardcode_libdir_flag_spec \
12.9885 + hardcode_libdir_flag_spec_ld \
12.9886 + hardcode_libdir_separator \
12.9887 + hardcode_automatic \
12.9888 + module_cmds \
12.9889 + module_expsym_cmds \
12.9890 + lt_cv_prog_compiler_c_o \
12.9891 + exclude_expsyms \
12.9892 + include_expsyms; do
12.9893 +
12.9894 + case $var in
12.9895 + old_archive_cmds | \
12.9896 + old_archive_from_new_cmds | \
12.9897 + archive_cmds | \
12.9898 + archive_expsym_cmds | \
12.9899 + module_cmds | \
12.9900 + module_expsym_cmds | \
12.9901 + old_archive_from_expsyms_cmds | \
12.9902 + export_symbols_cmds | \
12.9903 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
12.9904 + postinstall_cmds | postuninstall_cmds | \
12.9905 + old_postinstall_cmds | old_postuninstall_cmds | \
12.9906 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12.9907 + # Double-quote double-evaled strings.
12.9908 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12.9909 + ;;
12.9910 + *)
12.9911 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12.9912 + ;;
12.9913 + esac
12.9914 + done
12.9915 +
12.9916 + case $lt_echo in
12.9917 + *'\$0 --fallback-echo"')
12.9918 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12.9919 + ;;
12.9920 + esac
12.9921 +
12.9922 +cfgfile="${ofile}T"
12.9923 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12.9924 + $rm -f "$cfgfile"
12.9925 + { echo "$as_me:$LINENO: creating $ofile" >&5
12.9926 +echo "$as_me: creating $ofile" >&6;}
12.9927 +
12.9928 + cat <<__EOF__ >> "$cfgfile"
12.9929 +#! $SHELL
12.9930 +
12.9931 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12.9932 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12.9933 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12.9934 +#
12.9935 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12.9936 +# Free Software Foundation, Inc.
12.9937 +#
12.9938 +# This file is part of GNU Libtool:
12.9939 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12.9940 +#
12.9941 +# This program is free software; you can redistribute it and/or modify
12.9942 +# it under the terms of the GNU General Public License as published by
12.9943 +# the Free Software Foundation; either version 2 of the License, or
12.9944 +# (at your option) any later version.
12.9945 +#
12.9946 +# This program is distributed in the hope that it will be useful, but
12.9947 +# WITHOUT ANY WARRANTY; without even the implied warranty of
12.9948 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12.9949 +# General Public License for more details.
12.9950 +#
12.9951 +# You should have received a copy of the GNU General Public License
12.9952 +# along with this program; if not, write to the Free Software
12.9953 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
12.9954 +#
12.9955 +# As a special exception to the GNU General Public License, if you
12.9956 +# distribute this file as part of a program that contains a
12.9957 +# configuration script generated by Autoconf, you may include it under
12.9958 +# the same distribution terms that you use for the rest of that program.
12.9959 +
12.9960 +# A sed program that does not truncate output.
12.9961 +SED=$lt_SED
12.9962 +
12.9963 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12.9964 +Xsed="$SED -e s/^X//"
12.9965 +
12.9966 +# The HP-UX ksh and POSIX shell print the target directory to stdout
12.9967 +# if CDPATH is set.
12.9968 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12.9969 +
12.9970 +# The names of the tagged configurations supported by this script.
12.9971 +available_tags=
12.9972 +
12.9973 +# ### BEGIN LIBTOOL CONFIG
12.9974 +
12.9975 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12.9976 +
12.9977 +# Shell to use when invoking shell scripts.
12.9978 +SHELL=$lt_SHELL
12.9979 +
12.9980 +# Whether or not to build shared libraries.
12.9981 +build_libtool_libs=$enable_shared
12.9982 +
12.9983 +# Whether or not to build static libraries.
12.9984 +build_old_libs=$enable_static
12.9985 +
12.9986 +# Whether or not to add -lc for building shared libraries.
12.9987 +build_libtool_need_lc=$archive_cmds_need_lc
12.9988 +
12.9989 +# Whether or not to disallow shared libs when runtime libs are static
12.9990 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12.9991 +
12.9992 +# Whether or not to optimize for fast installation.
12.9993 +fast_install=$enable_fast_install
12.9994 +
12.9995 +# The host system.
12.9996 +host_alias=$host_alias
12.9997 +host=$host
12.9998 +
12.9999 +# An echo program that does not interpret backslashes.
12.10000 +echo=$lt_echo
12.10001 +
12.10002 +# The archiver.
12.10003 +AR=$lt_AR
12.10004 +AR_FLAGS=$lt_AR_FLAGS
12.10005 +
12.10006 +# A C compiler.
12.10007 +LTCC=$lt_LTCC
12.10008 +
12.10009 +# A language-specific compiler.
12.10010 +CC=$lt_compiler
12.10011 +
12.10012 +# Is the compiler the GNU C compiler?
12.10013 +with_gcc=$GCC
12.10014 +
12.10015 +# An ERE matcher.
12.10016 +EGREP=$lt_EGREP
12.10017 +
12.10018 +# The linker used to build libraries.
12.10019 +LD=$lt_LD
12.10020 +
12.10021 +# Whether we need hard or soft links.
12.10022 +LN_S=$lt_LN_S
12.10023 +
12.10024 +# A BSD-compatible nm program.
12.10025 +NM=$lt_NM
12.10026 +
12.10027 +# A symbol stripping program
12.10028 +STRIP=$lt_STRIP
12.10029 +
12.10030 +# Used to examine libraries when file_magic_cmd begins "file"
12.10031 +MAGIC_CMD=$MAGIC_CMD
12.10032 +
12.10033 +# Used on cygwin: DLL creation program.
12.10034 +DLLTOOL="$DLLTOOL"
12.10035 +
12.10036 +# Used on cygwin: object dumper.
12.10037 +OBJDUMP="$OBJDUMP"
12.10038 +
12.10039 +# Used on cygwin: assembler.
12.10040 +AS="$AS"
12.10041 +
12.10042 +# The name of the directory that contains temporary libtool files.
12.10043 +objdir=$objdir
12.10044 +
12.10045 +# How to create reloadable object files.
12.10046 +reload_flag=$lt_reload_flag
12.10047 +reload_cmds=$lt_reload_cmds
12.10048 +
12.10049 +# How to pass a linker flag through the compiler.
12.10050 +wl=$lt_lt_prog_compiler_wl
12.10051 +
12.10052 +# Object file suffix (normally "o").
12.10053 +objext="$ac_objext"
12.10054 +
12.10055 +# Old archive suffix (normally "a").
12.10056 +libext="$libext"
12.10057 +
12.10058 +# Shared library suffix (normally ".so").
12.10059 +shrext_cmds='$shrext_cmds'
12.10060 +
12.10061 +# Executable file suffix (normally "").
12.10062 +exeext="$exeext"
12.10063 +
12.10064 +# Additional compiler flags for building library objects.
12.10065 +pic_flag=$lt_lt_prog_compiler_pic
12.10066 +pic_mode=$pic_mode
12.10067 +
12.10068 +# What is the maximum length of a command?
12.10069 +max_cmd_len=$lt_cv_sys_max_cmd_len
12.10070 +
12.10071 +# Does compiler simultaneously support -c and -o options?
12.10072 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12.10073 +
12.10074 +# Must we lock files when doing compilation ?
12.10075 +need_locks=$lt_need_locks
12.10076 +
12.10077 +# Do we need the lib prefix for modules?
12.10078 +need_lib_prefix=$need_lib_prefix
12.10079 +
12.10080 +# Do we need a version for libraries?
12.10081 +need_version=$need_version
12.10082 +
12.10083 +# Whether dlopen is supported.
12.10084 +dlopen_support=$enable_dlopen
12.10085 +
12.10086 +# Whether dlopen of programs is supported.
12.10087 +dlopen_self=$enable_dlopen_self
12.10088 +
12.10089 +# Whether dlopen of statically linked programs is supported.
12.10090 +dlopen_self_static=$enable_dlopen_self_static
12.10091 +
12.10092 +# Compiler flag to prevent dynamic linking.
12.10093 +link_static_flag=$lt_lt_prog_compiler_static
12.10094 +
12.10095 +# Compiler flag to turn off builtin functions.
12.10096 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12.10097 +
12.10098 +# Compiler flag to allow reflexive dlopens.
12.10099 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12.10100 +
12.10101 +# Compiler flag to generate shared objects directly from archives.
12.10102 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
12.10103 +
12.10104 +# Compiler flag to generate thread-safe objects.
12.10105 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
12.10106 +
12.10107 +# Library versioning type.
12.10108 +version_type=$version_type
12.10109 +
12.10110 +# Format of library name prefix.
12.10111 +libname_spec=$lt_libname_spec
12.10112 +
12.10113 +# List of archive names. First name is the real one, the rest are links.
12.10114 +# The last name is the one that the linker finds with -lNAME.
12.10115 +library_names_spec=$lt_library_names_spec
12.10116 +
12.10117 +# The coded name of the library, if different from the real name.
12.10118 +soname_spec=$lt_soname_spec
12.10119 +
12.10120 +# Commands used to build and install an old-style archive.
12.10121 +RANLIB=$lt_RANLIB
12.10122 +old_archive_cmds=$lt_old_archive_cmds
12.10123 +old_postinstall_cmds=$lt_old_postinstall_cmds
12.10124 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
12.10125 +
12.10126 +# Create an old-style archive from a shared archive.
12.10127 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12.10128 +
12.10129 +# Create a temporary old-style archive to link instead of a shared archive.
12.10130 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12.10131 +
12.10132 +# Commands used to build and install a shared archive.
12.10133 +archive_cmds=$lt_archive_cmds
12.10134 +archive_expsym_cmds=$lt_archive_expsym_cmds
12.10135 +postinstall_cmds=$lt_postinstall_cmds
12.10136 +postuninstall_cmds=$lt_postuninstall_cmds
12.10137 +
12.10138 +# Commands used to build a loadable module (assumed same as above if empty)
12.10139 +module_cmds=$lt_module_cmds
12.10140 +module_expsym_cmds=$lt_module_expsym_cmds
12.10141 +
12.10142 +# Commands to strip libraries.
12.10143 +old_striplib=$lt_old_striplib
12.10144 +striplib=$lt_striplib
12.10145 +
12.10146 +# Dependencies to place before the objects being linked to create a
12.10147 +# shared library.
12.10148 +predep_objects=$lt_predep_objects
12.10149 +
12.10150 +# Dependencies to place after the objects being linked to create a
12.10151 +# shared library.
12.10152 +postdep_objects=$lt_postdep_objects
12.10153 +
12.10154 +# Dependencies to place before the objects being linked to create a
12.10155 +# shared library.
12.10156 +predeps=$lt_predeps
12.10157 +
12.10158 +# Dependencies to place after the objects being linked to create a
12.10159 +# shared library.
12.10160 +postdeps=$lt_postdeps
12.10161 +
12.10162 +# The library search path used internally by the compiler when linking
12.10163 +# a shared library.
12.10164 +compiler_lib_search_path=$lt_compiler_lib_search_path
12.10165 +
12.10166 +# Method to check whether dependent libraries are shared objects.
12.10167 +deplibs_check_method=$lt_deplibs_check_method
12.10168 +
12.10169 +# Command to use when deplibs_check_method == file_magic.
12.10170 +file_magic_cmd=$lt_file_magic_cmd
12.10171 +
12.10172 +# Flag that allows shared libraries with undefined symbols to be built.
12.10173 +allow_undefined_flag=$lt_allow_undefined_flag
12.10174 +
12.10175 +# Flag that forces no undefined symbols.
12.10176 +no_undefined_flag=$lt_no_undefined_flag
12.10177 +
12.10178 +# Commands used to finish a libtool library installation in a directory.
12.10179 +finish_cmds=$lt_finish_cmds
12.10180 +
12.10181 +# Same as above, but a single script fragment to be evaled but not shown.
12.10182 +finish_eval=$lt_finish_eval
12.10183 +
12.10184 +# Take the output of nm and produce a listing of raw symbols and C names.
12.10185 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12.10186 +
12.10187 +# Transform the output of nm in a proper C declaration
12.10188 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12.10189 +
12.10190 +# Transform the output of nm in a C name address pair
12.10191 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12.10192 +
12.10193 +# This is the shared library runtime path variable.
12.10194 +runpath_var=$runpath_var
12.10195 +
12.10196 +# This is the shared library path variable.
12.10197 +shlibpath_var=$shlibpath_var
12.10198 +
12.10199 +# Is shlibpath searched before the hard-coded library search path?
12.10200 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12.10201 +
12.10202 +# How to hardcode a shared library path into an executable.
12.10203 +hardcode_action=$hardcode_action
12.10204 +
12.10205 +# Whether we should hardcode library paths into libraries.
12.10206 +hardcode_into_libs=$hardcode_into_libs
12.10207 +
12.10208 +# Flag to hardcode \$libdir into a binary during linking.
12.10209 +# This must work even if \$libdir does not exist.
12.10210 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12.10211 +
12.10212 +# If ld is used when linking, flag to hardcode \$libdir into
12.10213 +# a binary during linking. This must work even if \$libdir does
12.10214 +# not exist.
12.10215 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12.10216 +
12.10217 +# Whether we need a single -rpath flag with a separated argument.
12.10218 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
12.10219 +
12.10220 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12.10221 +# resulting binary.
12.10222 +hardcode_direct=$hardcode_direct
12.10223 +
12.10224 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12.10225 +# resulting binary.
12.10226 +hardcode_minus_L=$hardcode_minus_L
12.10227 +
12.10228 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12.10229 +# the resulting binary.
12.10230 +hardcode_shlibpath_var=$hardcode_shlibpath_var
12.10231 +
12.10232 +# Set to yes if building a shared library automatically hardcodes DIR into the library
12.10233 +# and all subsequent libraries and executables linked against it.
12.10234 +hardcode_automatic=$hardcode_automatic
12.10235 +
12.10236 +# Variables whose values should be saved in libtool wrapper scripts and
12.10237 +# restored at relink time.
12.10238 +variables_saved_for_relink="$variables_saved_for_relink"
12.10239 +
12.10240 +# Whether libtool must link a program against all its dependency libraries.
12.10241 +link_all_deplibs=$link_all_deplibs
12.10242 +
12.10243 +# Compile-time system search path for libraries
12.10244 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12.10245 +
12.10246 +# Run-time system search path for libraries
12.10247 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12.10248 +
12.10249 +# Fix the shell variable \$srcfile for the compiler.
12.10250 +fix_srcfile_path="$fix_srcfile_path"
12.10251 +
12.10252 +# Set to yes if exported symbols are required.
12.10253 +always_export_symbols=$always_export_symbols
12.10254 +
12.10255 +# The commands to list exported symbols.
12.10256 +export_symbols_cmds=$lt_export_symbols_cmds
12.10257 +
12.10258 +# The commands to extract the exported symbol list from a shared archive.
12.10259 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
12.10260 +
12.10261 +# Symbols that should not be listed in the preloaded symbols.
12.10262 +exclude_expsyms=$lt_exclude_expsyms
12.10263 +
12.10264 +# Symbols that must always be exported.
12.10265 +include_expsyms=$lt_include_expsyms
12.10266 +
12.10267 +# ### END LIBTOOL CONFIG
12.10268 +
12.10269 +__EOF__
12.10270 +
12.10271 +
12.10272 + case $host_os in
12.10273 + aix3*)
12.10274 + cat <<\EOF >> "$cfgfile"
12.10275 +
12.10276 +# AIX sometimes has problems with the GCC collect2 program. For some
12.10277 +# reason, if we set the COLLECT_NAMES environment variable, the problems
12.10278 +# vanish in a puff of smoke.
12.10279 +if test "X${COLLECT_NAMES+set}" != Xset; then
12.10280 + COLLECT_NAMES=
12.10281 + export COLLECT_NAMES
12.10282 +fi
12.10283 +EOF
12.10284 + ;;
12.10285 + esac
12.10286 +
12.10287 + # We use sed instead of cat because bash on DJGPP gets confused if
12.10288 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
12.10289 + # text mode, it properly converts lines to CR/LF. This bash problem
12.10290 + # is reportedly fixed, but why not run on old versions too?
12.10291 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12.10292 +
12.10293 + mv -f "$cfgfile" "$ofile" || \
12.10294 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12.10295 + chmod +x "$ofile"
12.10296 +
12.10297 +else
12.10298 + # If there is no Makefile yet, we rely on a make rule to execute
12.10299 + # `config.status --recheck' to rerun these tests and create the
12.10300 + # libtool script then.
12.10301 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12.10302 + if test -f "$ltmain_in"; then
12.10303 + test -f Makefile && make "$ltmain"
12.10304 + fi
12.10305 +fi
12.10306 +
12.10307 +
12.10308 +ac_ext=c
12.10309 +ac_cpp='$CPP $CPPFLAGS'
12.10310 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.10311 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.10312 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.10313 +
12.10314 +CC="$lt_save_CC"
12.10315 +
12.10316 +
12.10317 +# Check whether --with-tags was given.
12.10318 +if test "${with_tags+set}" = set; then
12.10319 + withval=$with_tags; tagnames="$withval"
12.10320 +fi
12.10321 +
12.10322 +
12.10323 +if test -f "$ltmain" && test -n "$tagnames"; then
12.10324 + if test ! -f "${ofile}"; then
12.10325 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12.10326 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12.10327 + fi
12.10328 +
12.10329 + if test -z "$LTCC"; then
12.10330 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12.10331 + if test -z "$LTCC"; then
12.10332 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12.10333 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12.10334 + else
12.10335 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12.10336 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12.10337 + fi
12.10338 + fi
12.10339 +
12.10340 + # Extract list of available tagged configurations in $ofile.
12.10341 + # Note that this assumes the entire list is on one line.
12.10342 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12.10343 +
12.10344 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12.10345 + for tagname in $tagnames; do
12.10346 + IFS="$lt_save_ifs"
12.10347 + # Check whether tagname contains only valid characters
12.10348 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12.10349 + "") ;;
12.10350 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12.10351 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
12.10352 + { (exit 1); exit 1; }; }
12.10353 + ;;
12.10354 + esac
12.10355 +
12.10356 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12.10357 + then
12.10358 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12.10359 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12.10360 + { (exit 1); exit 1; }; }
12.10361 + fi
12.10362 +
12.10363 + # Update the list of available tags.
12.10364 + if test -n "$tagname"; then
12.10365 + echo appending configuration tag \"$tagname\" to $ofile
12.10366 +
12.10367 + case $tagname in
12.10368 + CXX)
12.10369 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
12.10370 + ac_ext=cpp
12.10371 +ac_cpp='$CXXCPP $CPPFLAGS'
12.10372 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.10373 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.10374 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.10375 +
12.10376 +
12.10377 +
12.10378 +
12.10379 +archive_cmds_need_lc_CXX=no
12.10380 +allow_undefined_flag_CXX=
12.10381 +always_export_symbols_CXX=no
12.10382 +archive_expsym_cmds_CXX=
12.10383 +export_dynamic_flag_spec_CXX=
12.10384 +hardcode_direct_CXX=no
12.10385 +hardcode_libdir_flag_spec_CXX=
12.10386 +hardcode_libdir_flag_spec_ld_CXX=
12.10387 +hardcode_libdir_separator_CXX=
12.10388 +hardcode_minus_L_CXX=no
12.10389 +hardcode_automatic_CXX=no
12.10390 +module_cmds_CXX=
12.10391 +module_expsym_cmds_CXX=
12.10392 +link_all_deplibs_CXX=unknown
12.10393 +old_archive_cmds_CXX=$old_archive_cmds
12.10394 +no_undefined_flag_CXX=
12.10395 +whole_archive_flag_spec_CXX=
12.10396 +enable_shared_with_static_runtimes_CXX=no
12.10397 +
12.10398 +# Dependencies to place before and after the object being linked:
12.10399 +predep_objects_CXX=
12.10400 +postdep_objects_CXX=
12.10401 +predeps_CXX=
12.10402 +postdeps_CXX=
12.10403 +compiler_lib_search_path_CXX=
12.10404 +
12.10405 +# Source file extension for C++ test sources.
12.10406 +ac_ext=cc
12.10407 +
12.10408 +# Object file extension for compiled C++ test sources.
12.10409 +objext=o
12.10410 +objext_CXX=$objext
12.10411 +
12.10412 +# Code to be used in simple compile tests
12.10413 +lt_simple_compile_test_code="int some_variable = 0;\n"
12.10414 +
12.10415 +# Code to be used in simple link tests
12.10416 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
12.10417 +
12.10418 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12.10419 +
12.10420 +# If no C compiler was specified, use CC.
12.10421 +LTCC=${LTCC-"$CC"}
12.10422 +
12.10423 +# Allow CC to be a program name with arguments.
12.10424 +compiler=$CC
12.10425 +
12.10426 +
12.10427 +# Allow CC to be a program name with arguments.
12.10428 +lt_save_CC=$CC
12.10429 +lt_save_LD=$LD
12.10430 +lt_save_GCC=$GCC
12.10431 +GCC=$GXX
12.10432 +lt_save_with_gnu_ld=$with_gnu_ld
12.10433 +lt_save_path_LD=$lt_cv_path_LD
12.10434 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12.10435 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12.10436 +else
12.10437 + unset lt_cv_prog_gnu_ld
12.10438 +fi
12.10439 +if test -n "${lt_cv_path_LDCXX+set}"; then
12.10440 + lt_cv_path_LD=$lt_cv_path_LDCXX
12.10441 +else
12.10442 + unset lt_cv_path_LD
12.10443 +fi
12.10444 +test -z "${LDCXX+set}" || LD=$LDCXX
12.10445 +CC=${CXX-"c++"}
12.10446 +compiler=$CC
12.10447 +compiler_CXX=$CC
12.10448 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12.10449 +
12.10450 +# We don't want -fno-exception wen compiling C++ code, so set the
12.10451 +# no_builtin_flag separately
12.10452 +if test "$GXX" = yes; then
12.10453 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12.10454 +else
12.10455 + lt_prog_compiler_no_builtin_flag_CXX=
12.10456 +fi
12.10457 +
12.10458 +if test "$GXX" = yes; then
12.10459 + # Set up default GNU C++ configuration
12.10460 +
12.10461 +
12.10462 +# Check whether --with-gnu-ld was given.
12.10463 +if test "${with_gnu_ld+set}" = set; then
12.10464 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12.10465 +else
12.10466 + with_gnu_ld=no
12.10467 +fi
12.10468 +
12.10469 +ac_prog=ld
12.10470 +if test "$GCC" = yes; then
12.10471 + # Check if gcc -print-prog-name=ld gives a path.
12.10472 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12.10473 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12.10474 + case $host in
12.10475 + *-*-mingw*)
12.10476 + # gcc leaves a trailing carriage return which upsets mingw
12.10477 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12.10478 + *)
12.10479 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12.10480 + esac
12.10481 + case $ac_prog in
12.10482 + # Accept absolute paths.
12.10483 + [\\/]* | ?:[\\/]*)
12.10484 + re_direlt='/[^/][^/]*/\.\./'
12.10485 + # Canonicalize the pathname of ld
12.10486 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12.10487 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12.10488 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12.10489 + done
12.10490 + test -z "$LD" && LD="$ac_prog"
12.10491 + ;;
12.10492 + "")
12.10493 + # If it fails, then pretend we aren't using GCC.
12.10494 + ac_prog=ld
12.10495 + ;;
12.10496 + *)
12.10497 + # If it is relative, then search for the first ld in PATH.
12.10498 + with_gnu_ld=unknown
12.10499 + ;;
12.10500 + esac
12.10501 +elif test "$with_gnu_ld" = yes; then
12.10502 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
12.10503 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12.10504 +else
12.10505 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12.10506 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12.10507 +fi
12.10508 +if test "${lt_cv_path_LD+set}" = set; then
12.10509 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.10510 +else
12.10511 + if test -z "$LD"; then
12.10512 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12.10513 + for ac_dir in $PATH; do
12.10514 + IFS="$lt_save_ifs"
12.10515 + test -z "$ac_dir" && ac_dir=.
12.10516 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12.10517 + lt_cv_path_LD="$ac_dir/$ac_prog"
12.10518 + # Check to see if the program is GNU ld. I'd rather use --version,
12.10519 + # but apparently some GNU ld's only accept -v.
12.10520 + # Break only if it was the GNU/non-GNU ld that we prefer.
12.10521 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12.10522 + *GNU* | *'with BFD'*)
12.10523 + test "$with_gnu_ld" != no && break
12.10524 + ;;
12.10525 + *)
12.10526 + test "$with_gnu_ld" != yes && break
12.10527 + ;;
12.10528 + esac
12.10529 + fi
12.10530 + done
12.10531 + IFS="$lt_save_ifs"
12.10532 +else
12.10533 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
12.10534 +fi
12.10535 +fi
12.10536 +
12.10537 +LD="$lt_cv_path_LD"
12.10538 +if test -n "$LD"; then
12.10539 + { echo "$as_me:$LINENO: result: $LD" >&5
12.10540 +echo "${ECHO_T}$LD" >&6; }
12.10541 +else
12.10542 + { echo "$as_me:$LINENO: result: no" >&5
12.10543 +echo "${ECHO_T}no" >&6; }
12.10544 +fi
12.10545 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12.10546 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12.10547 + { (exit 1); exit 1; }; }
12.10548 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12.10549 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12.10550 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
12.10551 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.10552 +else
12.10553 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12.10554 +case `$LD -v 2>&1 </dev/null` in
12.10555 +*GNU* | *'with BFD'*)
12.10556 + lt_cv_prog_gnu_ld=yes
12.10557 + ;;
12.10558 +*)
12.10559 + lt_cv_prog_gnu_ld=no
12.10560 + ;;
12.10561 +esac
12.10562 +fi
12.10563 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12.10564 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12.10565 +with_gnu_ld=$lt_cv_prog_gnu_ld
12.10566 +
12.10567 +
12.10568 +
12.10569 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
12.10570 + # archiving commands below assume that GNU ld is being used.
12.10571 + if test "$with_gnu_ld" = yes; then
12.10572 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.10573 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.10574 +
12.10575 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12.10576 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12.10577 +
12.10578 + # If archive_cmds runs LD, not CC, wlarc should be empty
12.10579 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12.10580 + # investigate it a little bit more. (MM)
12.10581 + wlarc='${wl}'
12.10582 +
12.10583 + # ancient GNU ld didn't support --whole-archive et. al.
12.10584 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12.10585 + grep 'no-whole-archive' > /dev/null; then
12.10586 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12.10587 + else
12.10588 + whole_archive_flag_spec_CXX=
12.10589 + fi
12.10590 + else
12.10591 + with_gnu_ld=no
12.10592 + wlarc=
12.10593 +
12.10594 + # A generic and very simple default shared library creation
12.10595 + # command for GNU C++ for the case where it uses the native
12.10596 + # linker, instead of GNU ld. If possible, this setting should
12.10597 + # overridden to take advantage of the native linker features on
12.10598 + # the platform it is being used on.
12.10599 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12.10600 + fi
12.10601 +
12.10602 + # Commands to make compiler produce verbose output that lists
12.10603 + # what "hidden" libraries, object files and flags are used when
12.10604 + # linking a shared library.
12.10605 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12.10606 +
12.10607 +else
12.10608 + GXX=no
12.10609 + with_gnu_ld=no
12.10610 + wlarc=
12.10611 +fi
12.10612 +
12.10613 +# PORTME: fill in a description of your system's C++ link characteristics
12.10614 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12.10615 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12.10616 +ld_shlibs_CXX=yes
12.10617 +case $host_os in
12.10618 + aix3*)
12.10619 + # FIXME: insert proper C++ library support
12.10620 + ld_shlibs_CXX=no
12.10621 + ;;
12.10622 + aix4* | aix5*)
12.10623 + if test "$host_cpu" = ia64; then
12.10624 + # On IA64, the linker does run time linking by default, so we don't
12.10625 + # have to do anything special.
12.10626 + aix_use_runtimelinking=no
12.10627 + exp_sym_flag='-Bexport'
12.10628 + no_entry_flag=""
12.10629 + else
12.10630 + aix_use_runtimelinking=no
12.10631 +
12.10632 + # Test if we are trying to use run time linking or normal
12.10633 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12.10634 + # need to do runtime linking.
12.10635 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12.10636 + for ld_flag in $LDFLAGS; do
12.10637 + case $ld_flag in
12.10638 + *-brtl*)
12.10639 + aix_use_runtimelinking=yes
12.10640 + break
12.10641 + ;;
12.10642 + esac
12.10643 + done
12.10644 + esac
12.10645 +
12.10646 + exp_sym_flag='-bexport'
12.10647 + no_entry_flag='-bnoentry'
12.10648 + fi
12.10649 +
12.10650 + # When large executables or shared objects are built, AIX ld can
12.10651 + # have problems creating the table of contents. If linking a library
12.10652 + # or program results in "error TOC overflow" add -mminimal-toc to
12.10653 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12.10654 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12.10655 +
12.10656 + archive_cmds_CXX=''
12.10657 + hardcode_direct_CXX=yes
12.10658 + hardcode_libdir_separator_CXX=':'
12.10659 + link_all_deplibs_CXX=yes
12.10660 +
12.10661 + if test "$GXX" = yes; then
12.10662 + case $host_os in aix4.012|aix4.012.*)
12.10663 + # We only want to do this on AIX 4.2 and lower, the check
12.10664 + # below for broken collect2 doesn't work under 4.3+
12.10665 + collect2name=`${CC} -print-prog-name=collect2`
12.10666 + if test -f "$collect2name" && \
12.10667 + strings "$collect2name" | grep resolve_lib_name >/dev/null
12.10668 + then
12.10669 + # We have reworked collect2
12.10670 + hardcode_direct_CXX=yes
12.10671 + else
12.10672 + # We have old collect2
12.10673 + hardcode_direct_CXX=unsupported
12.10674 + # It fails to find uninstalled libraries when the uninstalled
12.10675 + # path is not listed in the libpath. Setting hardcode_minus_L
12.10676 + # to unsupported forces relinking
12.10677 + hardcode_minus_L_CXX=yes
12.10678 + hardcode_libdir_flag_spec_CXX='-L$libdir'
12.10679 + hardcode_libdir_separator_CXX=
12.10680 + fi
12.10681 + esac
12.10682 + shared_flag='-shared'
12.10683 + else
12.10684 + # not using gcc
12.10685 + if test "$host_cpu" = ia64; then
12.10686 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12.10687 + # chokes on -Wl,-G. The following line is correct:
12.10688 + shared_flag='-G'
12.10689 + else
12.10690 + if test "$aix_use_runtimelinking" = yes; then
12.10691 + shared_flag='${wl}-G'
12.10692 + else
12.10693 + shared_flag='${wl}-bM:SRE'
12.10694 + fi
12.10695 + fi
12.10696 + fi
12.10697 +
12.10698 + # It seems that -bexpall does not export symbols beginning with
12.10699 + # underscore (_), so it is better to generate a list of symbols to export.
12.10700 + always_export_symbols_CXX=yes
12.10701 + if test "$aix_use_runtimelinking" = yes; then
12.10702 + # Warning - without using the other runtime loading flags (-brtl),
12.10703 + # -berok will link without error, but may produce a broken library.
12.10704 + allow_undefined_flag_CXX='-berok'
12.10705 + # Determine the default libpath from the value encoded in an empty executable.
12.10706 + cat >conftest.$ac_ext <<_ACEOF
12.10707 +/* confdefs.h. */
12.10708 +_ACEOF
12.10709 +cat confdefs.h >>conftest.$ac_ext
12.10710 +cat >>conftest.$ac_ext <<_ACEOF
12.10711 +/* end confdefs.h. */
12.10712 +
12.10713 +int
12.10714 +main ()
12.10715 +{
12.10716 +
12.10717 + ;
12.10718 + return 0;
12.10719 +}
12.10720 +_ACEOF
12.10721 +rm -f conftest.$ac_objext conftest$ac_exeext
12.10722 +if { (ac_try="$ac_link"
12.10723 +case "(($ac_try" in
12.10724 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.10725 + *) ac_try_echo=$ac_try;;
12.10726 +esac
12.10727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.10728 + (eval "$ac_link") 2>conftest.er1
12.10729 + ac_status=$?
12.10730 + grep -v '^ *+' conftest.er1 >conftest.err
12.10731 + rm -f conftest.er1
12.10732 + cat conftest.err >&5
12.10733 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.10734 + (exit $ac_status); } && {
12.10735 + test -z "$ac_cxx_werror_flag" ||
12.10736 + test ! -s conftest.err
12.10737 + } && test -s conftest$ac_exeext &&
12.10738 + $as_test_x conftest$ac_exeext; then
12.10739 +
12.10740 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.10741 +}'`
12.10742 +# Check for a 64-bit object if we didn't find anything.
12.10743 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.10744 +}'`; fi
12.10745 +else
12.10746 + echo "$as_me: failed program was:" >&5
12.10747 +sed 's/^/| /' conftest.$ac_ext >&5
12.10748 +
12.10749 +
12.10750 +fi
12.10751 +
12.10752 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.10753 + conftest$ac_exeext conftest.$ac_ext
12.10754 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.10755 +
12.10756 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12.10757 +
12.10758 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12.10759 + else
12.10760 + if test "$host_cpu" = ia64; then
12.10761 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12.10762 + allow_undefined_flag_CXX="-z nodefs"
12.10763 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12.10764 + else
12.10765 + # Determine the default libpath from the value encoded in an empty executable.
12.10766 + cat >conftest.$ac_ext <<_ACEOF
12.10767 +/* confdefs.h. */
12.10768 +_ACEOF
12.10769 +cat confdefs.h >>conftest.$ac_ext
12.10770 +cat >>conftest.$ac_ext <<_ACEOF
12.10771 +/* end confdefs.h. */
12.10772 +
12.10773 +int
12.10774 +main ()
12.10775 +{
12.10776 +
12.10777 + ;
12.10778 + return 0;
12.10779 +}
12.10780 +_ACEOF
12.10781 +rm -f conftest.$ac_objext conftest$ac_exeext
12.10782 +if { (ac_try="$ac_link"
12.10783 +case "(($ac_try" in
12.10784 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.10785 + *) ac_try_echo=$ac_try;;
12.10786 +esac
12.10787 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.10788 + (eval "$ac_link") 2>conftest.er1
12.10789 + ac_status=$?
12.10790 + grep -v '^ *+' conftest.er1 >conftest.err
12.10791 + rm -f conftest.er1
12.10792 + cat conftest.err >&5
12.10793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.10794 + (exit $ac_status); } && {
12.10795 + test -z "$ac_cxx_werror_flag" ||
12.10796 + test ! -s conftest.err
12.10797 + } && test -s conftest$ac_exeext &&
12.10798 + $as_test_x conftest$ac_exeext; then
12.10799 +
12.10800 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.10801 +}'`
12.10802 +# Check for a 64-bit object if we didn't find anything.
12.10803 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.10804 +}'`; fi
12.10805 +else
12.10806 + echo "$as_me: failed program was:" >&5
12.10807 +sed 's/^/| /' conftest.$ac_ext >&5
12.10808 +
12.10809 +
12.10810 +fi
12.10811 +
12.10812 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.10813 + conftest$ac_exeext conftest.$ac_ext
12.10814 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.10815 +
12.10816 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12.10817 + # Warning - without using the other run time loading flags,
12.10818 + # -berok will link without error, but may produce a broken library.
12.10819 + no_undefined_flag_CXX=' ${wl}-bernotok'
12.10820 + allow_undefined_flag_CXX=' ${wl}-berok'
12.10821 + # -bexpall does not export symbols beginning with underscore (_)
12.10822 + always_export_symbols_CXX=yes
12.10823 + # Exported symbols can be pulled into shared objects from archives
12.10824 + whole_archive_flag_spec_CXX=' '
12.10825 + archive_cmds_need_lc_CXX=yes
12.10826 + # This is similar to how AIX traditionally builds it's shared libraries.
12.10827 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12.10828 + fi
12.10829 + fi
12.10830 + ;;
12.10831 + chorus*)
12.10832 + case $cc_basename in
12.10833 + *)
12.10834 + # FIXME: insert proper C++ library support
12.10835 + ld_shlibs_CXX=no
12.10836 + ;;
12.10837 + esac
12.10838 + ;;
12.10839 +
12.10840 + cygwin* | mingw* | pw32*)
12.10841 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12.10842 + # as there is no search path for DLLs.
12.10843 + hardcode_libdir_flag_spec_CXX='-L$libdir'
12.10844 + allow_undefined_flag_CXX=unsupported
12.10845 + always_export_symbols_CXX=no
12.10846 + enable_shared_with_static_runtimes_CXX=yes
12.10847 +
12.10848 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12.10849 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.10850 + # If the export-symbols file already is a .def file (1st line
12.10851 + # is EXPORTS), use it as is; otherwise, prepend...
12.10852 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12.10853 + cp $export_symbols $output_objdir/$soname.def;
12.10854 + else
12.10855 + echo EXPORTS > $output_objdir/$soname.def;
12.10856 + cat $export_symbols >> $output_objdir/$soname.def;
12.10857 + fi~
12.10858 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.10859 + else
12.10860 + ld_shlibs_CXX=no
12.10861 + fi
12.10862 + ;;
12.10863 +
12.10864 + darwin* | rhapsody*)
12.10865 + if test "$GXX" = yes; then
12.10866 + archive_cmds_need_lc_CXX=no
12.10867 + case "$host_os" in
12.10868 + rhapsody* | darwin1.[012])
12.10869 + allow_undefined_flag_CXX='-undefined suppress'
12.10870 + ;;
12.10871 + *) # Darwin 1.3 on
12.10872 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12.10873 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12.10874 + else
12.10875 + case ${MACOSX_DEPLOYMENT_TARGET} in
12.10876 + 10.[012])
12.10877 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12.10878 + ;;
12.10879 + 10.*)
12.10880 + allow_undefined_flag_CXX='-undefined dynamic_lookup'
12.10881 + ;;
12.10882 + esac
12.10883 + fi
12.10884 + ;;
12.10885 + esac
12.10886 + lt_int_apple_cc_single_mod=no
12.10887 + output_verbose_link_cmd='echo'
12.10888 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12.10889 + lt_int_apple_cc_single_mod=yes
12.10890 + fi
12.10891 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.10892 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.10893 + else
12.10894 + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.10895 + fi
12.10896 + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12.10897 +
12.10898 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12.10899 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.10900 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.10901 + else
12.10902 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.10903 + fi
12.10904 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.10905 + hardcode_direct_CXX=no
12.10906 + hardcode_automatic_CXX=yes
12.10907 + hardcode_shlibpath_var_CXX=unsupported
12.10908 + whole_archive_flag_spec_CXX='-all_load $convenience'
12.10909 + link_all_deplibs_CXX=yes
12.10910 + else
12.10911 + ld_shlibs_CXX=no
12.10912 + fi
12.10913 + ;;
12.10914 +
12.10915 + dgux*)
12.10916 + case $cc_basename in
12.10917 + ec++)
12.10918 + # FIXME: insert proper C++ library support
12.10919 + ld_shlibs_CXX=no
12.10920 + ;;
12.10921 + ghcx)
12.10922 + # Green Hills C++ Compiler
12.10923 + # FIXME: insert proper C++ library support
12.10924 + ld_shlibs_CXX=no
12.10925 + ;;
12.10926 + *)
12.10927 + # FIXME: insert proper C++ library support
12.10928 + ld_shlibs_CXX=no
12.10929 + ;;
12.10930 + esac
12.10931 + ;;
12.10932 + freebsd12*)
12.10933 + # C++ shared libraries reported to be fairly broken before switch to ELF
12.10934 + ld_shlibs_CXX=no
12.10935 + ;;
12.10936 + freebsd-elf*)
12.10937 + archive_cmds_need_lc_CXX=no
12.10938 + ;;
12.10939 + freebsd* | kfreebsd*-gnu)
12.10940 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12.10941 + # conventions
12.10942 + ld_shlibs_CXX=yes
12.10943 + ;;
12.10944 + gnu*)
12.10945 + ;;
12.10946 + hpux9*)
12.10947 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12.10948 + hardcode_libdir_separator_CXX=:
12.10949 + export_dynamic_flag_spec_CXX='${wl}-E'
12.10950 + hardcode_direct_CXX=yes
12.10951 + hardcode_minus_L_CXX=yes # Not in the search PATH,
12.10952 + # but as the default
12.10953 + # location of the library.
12.10954 +
12.10955 + case $cc_basename in
12.10956 + CC)
12.10957 + # FIXME: insert proper C++ library support
12.10958 + ld_shlibs_CXX=no
12.10959 + ;;
12.10960 + aCC)
12.10961 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.10962 + # Commands to make compiler produce verbose output that lists
12.10963 + # what "hidden" libraries, object files and flags are used when
12.10964 + # linking a shared library.
12.10965 + #
12.10966 + # There doesn't appear to be a way to prevent this compiler from
12.10967 + # explicitly linking system object files so we need to strip them
12.10968 + # from the output so that they don't get included in the library
12.10969 + # dependencies.
12.10970 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.10971 + ;;
12.10972 + *)
12.10973 + if test "$GXX" = yes; then
12.10974 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.10975 + else
12.10976 + # FIXME: insert proper C++ library support
12.10977 + ld_shlibs_CXX=no
12.10978 + fi
12.10979 + ;;
12.10980 + esac
12.10981 + ;;
12.10982 + hpux10*|hpux11*)
12.10983 + if test $with_gnu_ld = no; then
12.10984 + case "$host_cpu" in
12.10985 + hppa*64*)
12.10986 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12.10987 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12.10988 + hardcode_libdir_separator_CXX=:
12.10989 + ;;
12.10990 + ia64*)
12.10991 + hardcode_libdir_flag_spec_CXX='-L$libdir'
12.10992 + ;;
12.10993 + *)
12.10994 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12.10995 + hardcode_libdir_separator_CXX=:
12.10996 + export_dynamic_flag_spec_CXX='${wl}-E'
12.10997 + ;;
12.10998 + esac
12.10999 + fi
12.11000 + case "$host_cpu" in
12.11001 + hppa*64*)
12.11002 + hardcode_direct_CXX=no
12.11003 + hardcode_shlibpath_var_CXX=no
12.11004 + ;;
12.11005 + ia64*)
12.11006 + hardcode_direct_CXX=no
12.11007 + hardcode_shlibpath_var_CXX=no
12.11008 + hardcode_minus_L_CXX=yes # Not in the search PATH,
12.11009 + # but as the default
12.11010 + # location of the library.
12.11011 + ;;
12.11012 + *)
12.11013 + hardcode_direct_CXX=yes
12.11014 + hardcode_minus_L_CXX=yes # Not in the search PATH,
12.11015 + # but as the default
12.11016 + # location of the library.
12.11017 + ;;
12.11018 + esac
12.11019 +
12.11020 + case $cc_basename in
12.11021 + CC)
12.11022 + # FIXME: insert proper C++ library support
12.11023 + ld_shlibs_CXX=no
12.11024 + ;;
12.11025 + aCC)
12.11026 + case "$host_cpu" in
12.11027 + hppa*64*|ia64*)
12.11028 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12.11029 + ;;
12.11030 + *)
12.11031 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12.11032 + ;;
12.11033 + esac
12.11034 + # Commands to make compiler produce verbose output that lists
12.11035 + # what "hidden" libraries, object files and flags are used when
12.11036 + # linking a shared library.
12.11037 + #
12.11038 + # There doesn't appear to be a way to prevent this compiler from
12.11039 + # explicitly linking system object files so we need to strip them
12.11040 + # from the output so that they don't get included in the library
12.11041 + # dependencies.
12.11042 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.11043 + ;;
12.11044 + *)
12.11045 + if test "$GXX" = yes; then
12.11046 + if test $with_gnu_ld = no; then
12.11047 + case "$host_cpu" in
12.11048 + ia64*|hppa*64*)
12.11049 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12.11050 + ;;
12.11051 + *)
12.11052 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12.11053 + ;;
12.11054 + esac
12.11055 + fi
12.11056 + else
12.11057 + # FIXME: insert proper C++ library support
12.11058 + ld_shlibs_CXX=no
12.11059 + fi
12.11060 + ;;
12.11061 + esac
12.11062 + ;;
12.11063 + irix5* | irix6*)
12.11064 + case $cc_basename in
12.11065 + CC)
12.11066 + # SGI C++
12.11067 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12.11068 +
12.11069 + # Archives containing C++ object files must be created using
12.11070 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12.11071 + # necessary to make sure instantiated templates are included
12.11072 + # in the archive.
12.11073 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12.11074 + ;;
12.11075 + *)
12.11076 + if test "$GXX" = yes; then
12.11077 + if test "$with_gnu_ld" = no; then
12.11078 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12.11079 + else
12.11080 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12.11081 + fi
12.11082 + fi
12.11083 + link_all_deplibs_CXX=yes
12.11084 + ;;
12.11085 + esac
12.11086 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12.11087 + hardcode_libdir_separator_CXX=:
12.11088 + ;;
12.11089 + linux*)
12.11090 + case $cc_basename in
12.11091 + KCC)
12.11092 + # Kuck and Associates, Inc. (KAI) C++ Compiler
12.11093 +
12.11094 + # KCC will only create a shared library if the output file
12.11095 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
12.11096 + # to its proper name (with version) after linking.
12.11097 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12.11098 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12.11099 + # Commands to make compiler produce verbose output that lists
12.11100 + # what "hidden" libraries, object files and flags are used when
12.11101 + # linking a shared library.
12.11102 + #
12.11103 + # There doesn't appear to be a way to prevent this compiler from
12.11104 + # explicitly linking system object files so we need to strip them
12.11105 + # from the output so that they don't get included in the library
12.11106 + # dependencies.
12.11107 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.11108 +
12.11109 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12.11110 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12.11111 +
12.11112 + # Archives containing C++ object files must be created using
12.11113 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12.11114 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12.11115 + ;;
12.11116 + icpc)
12.11117 + # Intel C++
12.11118 + with_gnu_ld=yes
12.11119 + archive_cmds_need_lc_CXX=no
12.11120 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.11121 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.11122 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12.11123 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12.11124 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12.11125 + ;;
12.11126 + cxx)
12.11127 + # Compaq C++
12.11128 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.11129 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12.11130 +
12.11131 + runpath_var=LD_RUN_PATH
12.11132 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12.11133 + hardcode_libdir_separator_CXX=:
12.11134 +
12.11135 + # Commands to make compiler produce verbose output that lists
12.11136 + # what "hidden" libraries, object files and flags are used when
12.11137 + # linking a shared library.
12.11138 + #
12.11139 + # There doesn't appear to be a way to prevent this compiler from
12.11140 + # explicitly linking system object files so we need to strip them
12.11141 + # from the output so that they don't get included in the library
12.11142 + # dependencies.
12.11143 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.11144 + ;;
12.11145 + esac
12.11146 + ;;
12.11147 + lynxos*)
12.11148 + # FIXME: insert proper C++ library support
12.11149 + ld_shlibs_CXX=no
12.11150 + ;;
12.11151 + m88k*)
12.11152 + # FIXME: insert proper C++ library support
12.11153 + ld_shlibs_CXX=no
12.11154 + ;;
12.11155 + mvs*)
12.11156 + case $cc_basename in
12.11157 + cxx)
12.11158 + # FIXME: insert proper C++ library support
12.11159 + ld_shlibs_CXX=no
12.11160 + ;;
12.11161 + *)
12.11162 + # FIXME: insert proper C++ library support
12.11163 + ld_shlibs_CXX=no
12.11164 + ;;
12.11165 + esac
12.11166 + ;;
12.11167 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.11168 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.11169 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12.11170 + wlarc=
12.11171 + hardcode_libdir_flag_spec_CXX='-R$libdir'
12.11172 + hardcode_direct_CXX=yes
12.11173 + hardcode_shlibpath_var_CXX=no
12.11174 + fi
12.11175 + # Workaround some broken pre-1.5 toolchains
12.11176 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12.11177 + ;;
12.11178 + osf3*)
12.11179 + case $cc_basename in
12.11180 + KCC)
12.11181 + # Kuck and Associates, Inc. (KAI) C++ Compiler
12.11182 +
12.11183 + # KCC will only create a shared library if the output file
12.11184 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
12.11185 + # to its proper name (with version) after linking.
12.11186 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12.11187 +
12.11188 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12.11189 + hardcode_libdir_separator_CXX=:
12.11190 +
12.11191 + # Archives containing C++ object files must be created using
12.11192 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12.11193 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12.11194 +
12.11195 + ;;
12.11196 + RCC)
12.11197 + # Rational C++ 2.4.1
12.11198 + # FIXME: insert proper C++ library support
12.11199 + ld_shlibs_CXX=no
12.11200 + ;;
12.11201 + cxx)
12.11202 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12.11203 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12.11204 +
12.11205 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12.11206 + hardcode_libdir_separator_CXX=:
12.11207 +
12.11208 + # Commands to make compiler produce verbose output that lists
12.11209 + # what "hidden" libraries, object files and flags are used when
12.11210 + # linking a shared library.
12.11211 + #
12.11212 + # There doesn't appear to be a way to prevent this compiler from
12.11213 + # explicitly linking system object files so we need to strip them
12.11214 + # from the output so that they don't get included in the library
12.11215 + # dependencies.
12.11216 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.11217 + ;;
12.11218 + *)
12.11219 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12.11220 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12.11221 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12.11222 +
12.11223 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12.11224 + hardcode_libdir_separator_CXX=:
12.11225 +
12.11226 + # Commands to make compiler produce verbose output that lists
12.11227 + # what "hidden" libraries, object files and flags are used when
12.11228 + # linking a shared library.
12.11229 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12.11230 +
12.11231 + else
12.11232 + # FIXME: insert proper C++ library support
12.11233 + ld_shlibs_CXX=no
12.11234 + fi
12.11235 + ;;
12.11236 + esac
12.11237 + ;;
12.11238 + osf4* | osf5*)
12.11239 + case $cc_basename in
12.11240 + KCC)
12.11241 + # Kuck and Associates, Inc. (KAI) C++ Compiler
12.11242 +
12.11243 + # KCC will only create a shared library if the output file
12.11244 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
12.11245 + # to its proper name (with version) after linking.
12.11246 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12.11247 +
12.11248 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12.11249 + hardcode_libdir_separator_CXX=:
12.11250 +
12.11251 + # Archives containing C++ object files must be created using
12.11252 + # the KAI C++ compiler.
12.11253 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12.11254 + ;;
12.11255 + RCC)
12.11256 + # Rational C++ 2.4.1
12.11257 + # FIXME: insert proper C++ library support
12.11258 + ld_shlibs_CXX=no
12.11259 + ;;
12.11260 + cxx)
12.11261 + allow_undefined_flag_CXX=' -expect_unresolved \*'
12.11262 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12.11263 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12.11264 + echo "-hidden">> $lib.exp~
12.11265 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
12.11266 + $rm $lib.exp'
12.11267 +
12.11268 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12.11269 + hardcode_libdir_separator_CXX=:
12.11270 +
12.11271 + # Commands to make compiler produce verbose output that lists
12.11272 + # what "hidden" libraries, object files and flags are used when
12.11273 + # linking a shared library.
12.11274 + #
12.11275 + # There doesn't appear to be a way to prevent this compiler from
12.11276 + # explicitly linking system object files so we need to strip them
12.11277 + # from the output so that they don't get included in the library
12.11278 + # dependencies.
12.11279 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.11280 + ;;
12.11281 + *)
12.11282 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12.11283 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12.11284 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12.11285 +
12.11286 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12.11287 + hardcode_libdir_separator_CXX=:
12.11288 +
12.11289 + # Commands to make compiler produce verbose output that lists
12.11290 + # what "hidden" libraries, object files and flags are used when
12.11291 + # linking a shared library.
12.11292 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12.11293 +
12.11294 + else
12.11295 + # FIXME: insert proper C++ library support
12.11296 + ld_shlibs_CXX=no
12.11297 + fi
12.11298 + ;;
12.11299 + esac
12.11300 + ;;
12.11301 + psos*)
12.11302 + # FIXME: insert proper C++ library support
12.11303 + ld_shlibs_CXX=no
12.11304 + ;;
12.11305 + sco*)
12.11306 + archive_cmds_need_lc_CXX=no
12.11307 + case $cc_basename in
12.11308 + CC)
12.11309 + # FIXME: insert proper C++ library support
12.11310 + ld_shlibs_CXX=no
12.11311 + ;;
12.11312 + *)
12.11313 + # FIXME: insert proper C++ library support
12.11314 + ld_shlibs_CXX=no
12.11315 + ;;
12.11316 + esac
12.11317 + ;;
12.11318 + sunos4*)
12.11319 + case $cc_basename in
12.11320 + CC)
12.11321 + # Sun C++ 4.x
12.11322 + # FIXME: insert proper C++ library support
12.11323 + ld_shlibs_CXX=no
12.11324 + ;;
12.11325 + lcc)
12.11326 + # Lucid
12.11327 + # FIXME: insert proper C++ library support
12.11328 + ld_shlibs_CXX=no
12.11329 + ;;
12.11330 + *)
12.11331 + # FIXME: insert proper C++ library support
12.11332 + ld_shlibs_CXX=no
12.11333 + ;;
12.11334 + esac
12.11335 + ;;
12.11336 + solaris*)
12.11337 + case $cc_basename in
12.11338 + CC)
12.11339 + # Sun C++ 4.2, 5.x and Centerline C++
12.11340 + no_undefined_flag_CXX=' -zdefs'
12.11341 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12.11342 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.11343 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12.11344 +
12.11345 + hardcode_libdir_flag_spec_CXX='-R$libdir'
12.11346 + hardcode_shlibpath_var_CXX=no
12.11347 + case $host_os in
12.11348 + solaris2.0-5 | solaris2.0-5.*) ;;
12.11349 + *)
12.11350 + # The C++ compiler is used as linker so we must use $wl
12.11351 + # flag to pass the commands to the underlying system
12.11352 + # linker.
12.11353 + # Supported since Solaris 2.6 (maybe 2.5.1?)
12.11354 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12.11355 + ;;
12.11356 + esac
12.11357 + link_all_deplibs_CXX=yes
12.11358 +
12.11359 + # Commands to make compiler produce verbose output that lists
12.11360 + # what "hidden" libraries, object files and flags are used when
12.11361 + # linking a shared library.
12.11362 + #
12.11363 + # There doesn't appear to be a way to prevent this compiler from
12.11364 + # explicitly linking system object files so we need to strip them
12.11365 + # from the output so that they don't get included in the library
12.11366 + # dependencies.
12.11367 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12.11368 +
12.11369 + # Archives containing C++ object files must be created using
12.11370 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
12.11371 + # necessary to make sure instantiated templates are included
12.11372 + # in the archive.
12.11373 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12.11374 + ;;
12.11375 + gcx)
12.11376 + # Green Hills C++ Compiler
12.11377 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12.11378 +
12.11379 + # The C++ compiler must be used to create the archive.
12.11380 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12.11381 + ;;
12.11382 + *)
12.11383 + # GNU C++ compiler with Solaris linker
12.11384 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12.11385 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12.11386 + if $CC --version | grep -v '^2\.7' > /dev/null; then
12.11387 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12.11388 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.11389 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12.11390 +
12.11391 + # Commands to make compiler produce verbose output that lists
12.11392 + # what "hidden" libraries, object files and flags are used when
12.11393 + # linking a shared library.
12.11394 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12.11395 + else
12.11396 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
12.11397 + # platform.
12.11398 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12.11399 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.11400 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12.11401 +
12.11402 + # Commands to make compiler produce verbose output that lists
12.11403 + # what "hidden" libraries, object files and flags are used when
12.11404 + # linking a shared library.
12.11405 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12.11406 + fi
12.11407 +
12.11408 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12.11409 + fi
12.11410 + ;;
12.11411 + esac
12.11412 + ;;
12.11413 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12.11414 + archive_cmds_need_lc_CXX=no
12.11415 + ;;
12.11416 + tandem*)
12.11417 + case $cc_basename in
12.11418 + NCC)
12.11419 + # NonStop-UX NCC 3.20
12.11420 + # FIXME: insert proper C++ library support
12.11421 + ld_shlibs_CXX=no
12.11422 + ;;
12.11423 + *)
12.11424 + # FIXME: insert proper C++ library support
12.11425 + ld_shlibs_CXX=no
12.11426 + ;;
12.11427 + esac
12.11428 + ;;
12.11429 + vxworks*)
12.11430 + # FIXME: insert proper C++ library support
12.11431 + ld_shlibs_CXX=no
12.11432 + ;;
12.11433 + *)
12.11434 + # FIXME: insert proper C++ library support
12.11435 + ld_shlibs_CXX=no
12.11436 + ;;
12.11437 +esac
12.11438 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12.11439 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12.11440 +test "$ld_shlibs_CXX" = no && can_build_shared=no
12.11441 +
12.11442 +GCC_CXX="$GXX"
12.11443 +LD_CXX="$LD"
12.11444 +
12.11445 +## CAVEAT EMPTOR:
12.11446 +## There is no encapsulation within the following macros, do not change
12.11447 +## the running order or otherwise move them around unless you know exactly
12.11448 +## what you are doing...
12.11449 +
12.11450 +cat > conftest.$ac_ext <<EOF
12.11451 +class Foo
12.11452 +{
12.11453 +public:
12.11454 + Foo (void) { a = 0; }
12.11455 +private:
12.11456 + int a;
12.11457 +};
12.11458 +EOF
12.11459 +
12.11460 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.11461 + (eval $ac_compile) 2>&5
12.11462 + ac_status=$?
12.11463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.11464 + (exit $ac_status); }; then
12.11465 + # Parse the compiler output and extract the necessary
12.11466 + # objects, libraries and library flags.
12.11467 +
12.11468 + # Sentinel used to keep track of whether or not we are before
12.11469 + # the conftest object file.
12.11470 + pre_test_object_deps_done=no
12.11471 +
12.11472 + # The `*' in the case matches for architectures that use `case' in
12.11473 + # $output_verbose_cmd can trigger glob expansion during the loop
12.11474 + # eval without this substitution.
12.11475 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
12.11476 +
12.11477 + for p in `eval $output_verbose_link_cmd`; do
12.11478 + case $p in
12.11479 +
12.11480 + -L* | -R* | -l*)
12.11481 + # Some compilers place space between "-{L,R}" and the path.
12.11482 + # Remove the space.
12.11483 + if test $p = "-L" \
12.11484 + || test $p = "-R"; then
12.11485 + prev=$p
12.11486 + continue
12.11487 + else
12.11488 + prev=
12.11489 + fi
12.11490 +
12.11491 + if test "$pre_test_object_deps_done" = no; then
12.11492 + case $p in
12.11493 + -L* | -R*)
12.11494 + # Internal compiler library paths should come after those
12.11495 + # provided the user. The postdeps already come after the
12.11496 + # user supplied libs so there is no need to process them.
12.11497 + if test -z "$compiler_lib_search_path_CXX"; then
12.11498 + compiler_lib_search_path_CXX="${prev}${p}"
12.11499 + else
12.11500 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12.11501 + fi
12.11502 + ;;
12.11503 + # The "-l" case would never come before the object being
12.11504 + # linked, so don't bother handling this case.
12.11505 + esac
12.11506 + else
12.11507 + if test -z "$postdeps_CXX"; then
12.11508 + postdeps_CXX="${prev}${p}"
12.11509 + else
12.11510 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12.11511 + fi
12.11512 + fi
12.11513 + ;;
12.11514 +
12.11515 + *.$objext)
12.11516 + # This assumes that the test object file only shows up
12.11517 + # once in the compiler output.
12.11518 + if test "$p" = "conftest.$objext"; then
12.11519 + pre_test_object_deps_done=yes
12.11520 + continue
12.11521 + fi
12.11522 +
12.11523 + if test "$pre_test_object_deps_done" = no; then
12.11524 + if test -z "$predep_objects_CXX"; then
12.11525 + predep_objects_CXX="$p"
12.11526 + else
12.11527 + predep_objects_CXX="$predep_objects_CXX $p"
12.11528 + fi
12.11529 + else
12.11530 + if test -z "$postdep_objects_CXX"; then
12.11531 + postdep_objects_CXX="$p"
12.11532 + else
12.11533 + postdep_objects_CXX="$postdep_objects_CXX $p"
12.11534 + fi
12.11535 + fi
12.11536 + ;;
12.11537 +
12.11538 + *) ;; # Ignore the rest.
12.11539 +
12.11540 + esac
12.11541 + done
12.11542 +
12.11543 + # Clean up.
12.11544 + rm -f a.out a.exe
12.11545 +else
12.11546 + echo "libtool.m4: error: problem compiling CXX test program"
12.11547 +fi
12.11548 +
12.11549 +$rm -f confest.$objext
12.11550 +
12.11551 +case " $postdeps_CXX " in
12.11552 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12.11553 +esac
12.11554 +
12.11555 +lt_prog_compiler_wl_CXX=
12.11556 +lt_prog_compiler_pic_CXX=
12.11557 +lt_prog_compiler_static_CXX=
12.11558 +
12.11559 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12.11560 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12.11561 +
12.11562 + # C++ specific cases for pic, static, wl, etc.
12.11563 + if test "$GXX" = yes; then
12.11564 + lt_prog_compiler_wl_CXX='-Wl,'
12.11565 + lt_prog_compiler_static_CXX='-static'
12.11566 +
12.11567 + case $host_os in
12.11568 + aix*)
12.11569 + # All AIX code is PIC.
12.11570 + if test "$host_cpu" = ia64; then
12.11571 + # AIX 5 now supports IA64 processor
12.11572 + lt_prog_compiler_static_CXX='-Bstatic'
12.11573 + fi
12.11574 + ;;
12.11575 + amigaos*)
12.11576 + # FIXME: we need at least 68020 code to build shared libraries, but
12.11577 + # adding the `-m68020' flag to GCC prevents building anything better,
12.11578 + # like `-m68040'.
12.11579 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12.11580 + ;;
12.11581 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12.11582 + # PIC is the default for these OSes.
12.11583 + ;;
12.11584 + mingw* | os2* | pw32*)
12.11585 + # This hack is so that the source file can tell whether it is being
12.11586 + # built for inclusion in a dll (and should export symbols for example).
12.11587 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12.11588 + ;;
12.11589 + darwin* | rhapsody*)
12.11590 + # PIC is the default on this platform
12.11591 + # Common symbols not allowed in MH_DYLIB files
12.11592 + lt_prog_compiler_pic_CXX='-fno-common'
12.11593 + ;;
12.11594 + *djgpp*)
12.11595 + # DJGPP does not support shared libraries at all
12.11596 + lt_prog_compiler_pic_CXX=
12.11597 + ;;
12.11598 + sysv4*MP*)
12.11599 + if test -d /usr/nec; then
12.11600 + lt_prog_compiler_pic_CXX=-Kconform_pic
12.11601 + fi
12.11602 + ;;
12.11603 + hpux*)
12.11604 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.11605 + # not for PA HP-UX.
12.11606 + case "$host_cpu" in
12.11607 + hppa*64*|ia64*)
12.11608 + ;;
12.11609 + *)
12.11610 + lt_prog_compiler_pic_CXX='-fPIC'
12.11611 + ;;
12.11612 + esac
12.11613 + ;;
12.11614 + *)
12.11615 + lt_prog_compiler_pic_CXX='-fPIC'
12.11616 + ;;
12.11617 + esac
12.11618 + else
12.11619 + case $host_os in
12.11620 + aix4* | aix5*)
12.11621 + # All AIX code is PIC.
12.11622 + if test "$host_cpu" = ia64; then
12.11623 + # AIX 5 now supports IA64 processor
12.11624 + lt_prog_compiler_static_CXX='-Bstatic'
12.11625 + else
12.11626 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12.11627 + fi
12.11628 + ;;
12.11629 + chorus*)
12.11630 + case $cc_basename in
12.11631 + cxch68)
12.11632 + # Green Hills C++ Compiler
12.11633 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12.11634 + ;;
12.11635 + esac
12.11636 + ;;
12.11637 + dgux*)
12.11638 + case $cc_basename in
12.11639 + ec++)
12.11640 + lt_prog_compiler_pic_CXX='-KPIC'
12.11641 + ;;
12.11642 + ghcx)
12.11643 + # Green Hills C++ Compiler
12.11644 + lt_prog_compiler_pic_CXX='-pic'
12.11645 + ;;
12.11646 + *)
12.11647 + ;;
12.11648 + esac
12.11649 + ;;
12.11650 + freebsd* | kfreebsd*-gnu)
12.11651 + # FreeBSD uses GNU C++
12.11652 + ;;
12.11653 + hpux9* | hpux10* | hpux11*)
12.11654 + case $cc_basename in
12.11655 + CC)
12.11656 + lt_prog_compiler_wl_CXX='-Wl,'
12.11657 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12.11658 + if test "$host_cpu" != ia64; then
12.11659 + lt_prog_compiler_pic_CXX='+Z'
12.11660 + fi
12.11661 + ;;
12.11662 + aCC)
12.11663 + lt_prog_compiler_wl_CXX='-Wl,'
12.11664 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12.11665 + case "$host_cpu" in
12.11666 + hppa*64*|ia64*)
12.11667 + # +Z the default
12.11668 + ;;
12.11669 + *)
12.11670 + lt_prog_compiler_pic_CXX='+Z'
12.11671 + ;;
12.11672 + esac
12.11673 + ;;
12.11674 + *)
12.11675 + ;;
12.11676 + esac
12.11677 + ;;
12.11678 + irix5* | irix6* | nonstopux*)
12.11679 + case $cc_basename in
12.11680 + CC)
12.11681 + lt_prog_compiler_wl_CXX='-Wl,'
12.11682 + lt_prog_compiler_static_CXX='-non_shared'
12.11683 + # CC pic flag -KPIC is the default.
12.11684 + ;;
12.11685 + *)
12.11686 + ;;
12.11687 + esac
12.11688 + ;;
12.11689 + linux*)
12.11690 + case $cc_basename in
12.11691 + KCC)
12.11692 + # KAI C++ Compiler
12.11693 + lt_prog_compiler_wl_CXX='--backend -Wl,'
12.11694 + lt_prog_compiler_pic_CXX='-fPIC'
12.11695 + ;;
12.11696 + icpc)
12.11697 + # Intel C++
12.11698 + lt_prog_compiler_wl_CXX='-Wl,'
12.11699 + lt_prog_compiler_pic_CXX='-KPIC'
12.11700 + lt_prog_compiler_static_CXX='-static'
12.11701 + ;;
12.11702 + cxx)
12.11703 + # Compaq C++
12.11704 + # Make sure the PIC flag is empty. It appears that all Alpha
12.11705 + # Linux and Compaq Tru64 Unix objects are PIC.
12.11706 + lt_prog_compiler_pic_CXX=
12.11707 + lt_prog_compiler_static_CXX='-non_shared'
12.11708 + ;;
12.11709 + *)
12.11710 + ;;
12.11711 + esac
12.11712 + ;;
12.11713 + lynxos*)
12.11714 + ;;
12.11715 + m88k*)
12.11716 + ;;
12.11717 + mvs*)
12.11718 + case $cc_basename in
12.11719 + cxx)
12.11720 + lt_prog_compiler_pic_CXX='-W c,exportall'
12.11721 + ;;
12.11722 + *)
12.11723 + ;;
12.11724 + esac
12.11725 + ;;
12.11726 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.11727 + ;;
12.11728 + osf3* | osf4* | osf5*)
12.11729 + case $cc_basename in
12.11730 + KCC)
12.11731 + lt_prog_compiler_wl_CXX='--backend -Wl,'
12.11732 + ;;
12.11733 + RCC)
12.11734 + # Rational C++ 2.4.1
12.11735 + lt_prog_compiler_pic_CXX='-pic'
12.11736 + ;;
12.11737 + cxx)
12.11738 + # Digital/Compaq C++
12.11739 + lt_prog_compiler_wl_CXX='-Wl,'
12.11740 + # Make sure the PIC flag is empty. It appears that all Alpha
12.11741 + # Linux and Compaq Tru64 Unix objects are PIC.
12.11742 + lt_prog_compiler_pic_CXX=
12.11743 + lt_prog_compiler_static_CXX='-non_shared'
12.11744 + ;;
12.11745 + *)
12.11746 + ;;
12.11747 + esac
12.11748 + ;;
12.11749 + psos*)
12.11750 + ;;
12.11751 + sco*)
12.11752 + case $cc_basename in
12.11753 + CC)
12.11754 + lt_prog_compiler_pic_CXX='-fPIC'
12.11755 + ;;
12.11756 + *)
12.11757 + ;;
12.11758 + esac
12.11759 + ;;
12.11760 + solaris*)
12.11761 + case $cc_basename in
12.11762 + CC)
12.11763 + # Sun C++ 4.2, 5.x and Centerline C++
12.11764 + lt_prog_compiler_pic_CXX='-KPIC'
12.11765 + lt_prog_compiler_static_CXX='-Bstatic'
12.11766 + lt_prog_compiler_wl_CXX='-Qoption ld '
12.11767 + ;;
12.11768 + gcx)
12.11769 + # Green Hills C++ Compiler
12.11770 + lt_prog_compiler_pic_CXX='-PIC'
12.11771 + ;;
12.11772 + *)
12.11773 + ;;
12.11774 + esac
12.11775 + ;;
12.11776 + sunos4*)
12.11777 + case $cc_basename in
12.11778 + CC)
12.11779 + # Sun C++ 4.x
12.11780 + lt_prog_compiler_pic_CXX='-pic'
12.11781 + lt_prog_compiler_static_CXX='-Bstatic'
12.11782 + ;;
12.11783 + lcc)
12.11784 + # Lucid
12.11785 + lt_prog_compiler_pic_CXX='-pic'
12.11786 + ;;
12.11787 + *)
12.11788 + ;;
12.11789 + esac
12.11790 + ;;
12.11791 + tandem*)
12.11792 + case $cc_basename in
12.11793 + NCC)
12.11794 + # NonStop-UX NCC 3.20
12.11795 + lt_prog_compiler_pic_CXX='-KPIC'
12.11796 + ;;
12.11797 + *)
12.11798 + ;;
12.11799 + esac
12.11800 + ;;
12.11801 + unixware*)
12.11802 + ;;
12.11803 + vxworks*)
12.11804 + ;;
12.11805 + *)
12.11806 + lt_prog_compiler_can_build_shared_CXX=no
12.11807 + ;;
12.11808 + esac
12.11809 + fi
12.11810 +
12.11811 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12.11812 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12.11813 +
12.11814 +#
12.11815 +# Check to make sure the PIC flag actually works.
12.11816 +#
12.11817 +if test -n "$lt_prog_compiler_pic_CXX"; then
12.11818 +
12.11819 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12.11820 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12.11821 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12.11822 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.11823 +else
12.11824 + lt_prog_compiler_pic_works_CXX=no
12.11825 + ac_outfile=conftest.$ac_objext
12.11826 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.11827 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12.11828 + # Insert the option either (1) after the last *FLAGS variable, or
12.11829 + # (2) before a word containing "conftest.", or (3) at the end.
12.11830 + # Note that $ac_compile itself does not contain backslashes and begins
12.11831 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.11832 + # The option is referenced via a variable to avoid confusing sed.
12.11833 + lt_compile=`echo "$ac_compile" | $SED \
12.11834 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.11835 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.11836 + -e 's:$: $lt_compiler_flag:'`
12.11837 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.11838 + (eval "$lt_compile" 2>conftest.err)
12.11839 + ac_status=$?
12.11840 + cat conftest.err >&5
12.11841 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.11842 + if (exit $ac_status) && test -s "$ac_outfile"; then
12.11843 + # The compiler can only warn and ignore the option if not recognized
12.11844 + # So say no if there are warnings
12.11845 + if test ! -s conftest.err; then
12.11846 + lt_prog_compiler_pic_works_CXX=yes
12.11847 + fi
12.11848 + fi
12.11849 + $rm conftest*
12.11850 +
12.11851 +fi
12.11852 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12.11853 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12.11854 +
12.11855 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12.11856 + case $lt_prog_compiler_pic_CXX in
12.11857 + "" | " "*) ;;
12.11858 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12.11859 + esac
12.11860 +else
12.11861 + lt_prog_compiler_pic_CXX=
12.11862 + lt_prog_compiler_can_build_shared_CXX=no
12.11863 +fi
12.11864 +
12.11865 +fi
12.11866 +case "$host_os" in
12.11867 + # For platforms which do not support PIC, -DPIC is meaningless:
12.11868 + *djgpp*)
12.11869 + lt_prog_compiler_pic_CXX=
12.11870 + ;;
12.11871 + *)
12.11872 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12.11873 + ;;
12.11874 +esac
12.11875 +
12.11876 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12.11877 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12.11878 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12.11879 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.11880 +else
12.11881 + lt_cv_prog_compiler_c_o_CXX=no
12.11882 + $rm -r conftest 2>/dev/null
12.11883 + mkdir conftest
12.11884 + cd conftest
12.11885 + mkdir out
12.11886 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.11887 +
12.11888 + lt_compiler_flag="-o out/conftest2.$ac_objext"
12.11889 + # Insert the option either (1) after the last *FLAGS variable, or
12.11890 + # (2) before a word containing "conftest.", or (3) at the end.
12.11891 + # Note that $ac_compile itself does not contain backslashes and begins
12.11892 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.11893 + lt_compile=`echo "$ac_compile" | $SED \
12.11894 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.11895 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.11896 + -e 's:$: $lt_compiler_flag:'`
12.11897 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.11898 + (eval "$lt_compile" 2>out/conftest.err)
12.11899 + ac_status=$?
12.11900 + cat out/conftest.err >&5
12.11901 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.11902 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
12.11903 + then
12.11904 + # The compiler can only warn and ignore the option if not recognized
12.11905 + # So say no if there are warnings
12.11906 + if test ! -s out/conftest.err; then
12.11907 + lt_cv_prog_compiler_c_o_CXX=yes
12.11908 + fi
12.11909 + fi
12.11910 + chmod u+w .
12.11911 + $rm conftest*
12.11912 + # SGI C++ compiler will create directory out/ii_files/ for
12.11913 + # template instantiation
12.11914 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12.11915 + $rm out/* && rmdir out
12.11916 + cd ..
12.11917 + rmdir conftest
12.11918 + $rm conftest*
12.11919 +
12.11920 +fi
12.11921 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12.11922 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12.11923 +
12.11924 +
12.11925 +hard_links="nottested"
12.11926 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12.11927 + # do not overwrite the value of need_locks provided by the user
12.11928 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12.11929 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12.11930 + hard_links=yes
12.11931 + $rm conftest*
12.11932 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.11933 + touch conftest.a
12.11934 + ln conftest.a conftest.b 2>&5 || hard_links=no
12.11935 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.11936 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12.11937 +echo "${ECHO_T}$hard_links" >&6; }
12.11938 + if test "$hard_links" = no; then
12.11939 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12.11940 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12.11941 + need_locks=warn
12.11942 + fi
12.11943 +else
12.11944 + need_locks=no
12.11945 +fi
12.11946 +
12.11947 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12.11948 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12.11949 +
12.11950 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12.11951 + case $host_os in
12.11952 + aix4* | aix5*)
12.11953 + # If we're using GNU nm, then we don't want the "-C" option.
12.11954 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
12.11955 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12.11956 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.11957 + else
12.11958 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.11959 + fi
12.11960 + ;;
12.11961 + pw32*)
12.11962 + export_symbols_cmds_CXX="$ltdll_cmds"
12.11963 + ;;
12.11964 + cygwin* | mingw*)
12.11965 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12.11966 + ;;
12.11967 + linux*)
12.11968 + link_all_deplibs_CXX=no
12.11969 + ;;
12.11970 + *)
12.11971 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12.11972 + ;;
12.11973 + esac
12.11974 +
12.11975 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12.11976 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12.11977 +test "$ld_shlibs_CXX" = no && can_build_shared=no
12.11978 +
12.11979 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12.11980 +if test "$GCC" = yes; then
12.11981 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12.11982 +fi
12.11983 +
12.11984 +#
12.11985 +# Do we need to explicitly link libc?
12.11986 +#
12.11987 +case "x$archive_cmds_need_lc_CXX" in
12.11988 +x|xyes)
12.11989 + # Assume -lc should be added
12.11990 + archive_cmds_need_lc_CXX=yes
12.11991 +
12.11992 + if test "$enable_shared" = yes && test "$GCC" = yes; then
12.11993 + case $archive_cmds_CXX in
12.11994 + *'~'*)
12.11995 + # FIXME: we may have to deal with multi-command sequences.
12.11996 + ;;
12.11997 + '$CC '*)
12.11998 + # Test whether the compiler implicitly links with -lc since on some
12.11999 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
12.12000 + # to ld, don't add -lc before -lgcc.
12.12001 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12.12002 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12.12003 + $rm conftest*
12.12004 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.12005 +
12.12006 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.12007 + (eval $ac_compile) 2>&5
12.12008 + ac_status=$?
12.12009 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.12010 + (exit $ac_status); } 2>conftest.err; then
12.12011 + soname=conftest
12.12012 + lib=conftest
12.12013 + libobjs=conftest.$ac_objext
12.12014 + deplibs=
12.12015 + wl=$lt_prog_compiler_wl_CXX
12.12016 + compiler_flags=-v
12.12017 + linker_flags=-v
12.12018 + verstring=
12.12019 + output_objdir=.
12.12020 + libname=conftest
12.12021 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12.12022 + allow_undefined_flag_CXX=
12.12023 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12.12024 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12.12025 + ac_status=$?
12.12026 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.12027 + (exit $ac_status); }
12.12028 + then
12.12029 + archive_cmds_need_lc_CXX=no
12.12030 + else
12.12031 + archive_cmds_need_lc_CXX=yes
12.12032 + fi
12.12033 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12.12034 + else
12.12035 + cat conftest.err 1>&5
12.12036 + fi
12.12037 + $rm conftest*
12.12038 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12.12039 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12.12040 + ;;
12.12041 + esac
12.12042 + fi
12.12043 + ;;
12.12044 +esac
12.12045 +
12.12046 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12.12047 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12.12048 +library_names_spec=
12.12049 +libname_spec='lib$name'
12.12050 +soname_spec=
12.12051 +shrext_cmds=".so"
12.12052 +postinstall_cmds=
12.12053 +postuninstall_cmds=
12.12054 +finish_cmds=
12.12055 +finish_eval=
12.12056 +shlibpath_var=
12.12057 +shlibpath_overrides_runpath=unknown
12.12058 +version_type=none
12.12059 +dynamic_linker="$host_os ld.so"
12.12060 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
12.12061 +if test "$GCC" = yes; then
12.12062 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.12063 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12.12064 + # if the path contains ";" then we assume it to be the separator
12.12065 + # otherwise default to the standard path separator (i.e. ":") - it is
12.12066 + # assumed that no part of a normal pathname contains ";" but that should
12.12067 + # okay in the real world where ";" in dirpaths is itself problematic.
12.12068 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.12069 + else
12.12070 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.12071 + fi
12.12072 +else
12.12073 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12.12074 +fi
12.12075 +need_lib_prefix=unknown
12.12076 +hardcode_into_libs=no
12.12077 +
12.12078 +# when you set need_version to no, make sure it does not cause -set_version
12.12079 +# flags to be left without arguments
12.12080 +need_version=unknown
12.12081 +
12.12082 +case $host_os in
12.12083 +aix3*)
12.12084 + version_type=linux
12.12085 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12.12086 + shlibpath_var=LIBPATH
12.12087 +
12.12088 + # AIX 3 has no versioning support, so we append a major version to the name.
12.12089 + soname_spec='${libname}${release}${shared_ext}$major'
12.12090 + ;;
12.12091 +
12.12092 +aix4* | aix5*)
12.12093 + version_type=linux
12.12094 + need_lib_prefix=no
12.12095 + need_version=no
12.12096 + hardcode_into_libs=yes
12.12097 + if test "$host_cpu" = ia64; then
12.12098 + # AIX 5 supports IA64
12.12099 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12.12100 + shlibpath_var=LD_LIBRARY_PATH
12.12101 + else
12.12102 + # With GCC up to 2.95.x, collect2 would create an import file
12.12103 + # for dependence libraries. The import file would start with
12.12104 + # the line `#! .'. This would cause the generated library to
12.12105 + # depend on `.', always an invalid library. This was fixed in
12.12106 + # development snapshots of GCC prior to 3.0.
12.12107 + case $host_os in
12.12108 + aix4 | aix4.[01] | aix4.[01].*)
12.12109 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12.12110 + echo ' yes '
12.12111 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12.12112 + :
12.12113 + else
12.12114 + can_build_shared=no
12.12115 + fi
12.12116 + ;;
12.12117 + esac
12.12118 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12.12119 + # soname into executable. Probably we can add versioning support to
12.12120 + # collect2, so additional links can be useful in future.
12.12121 + if test "$aix_use_runtimelinking" = yes; then
12.12122 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12.12123 + # instead of lib<name>.a to let people know that these are not
12.12124 + # typical AIX shared libraries.
12.12125 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12126 + else
12.12127 + # We preserve .a as extension for shared libraries through AIX4.2
12.12128 + # and later when we are not doing run time linking.
12.12129 + library_names_spec='${libname}${release}.a $libname.a'
12.12130 + soname_spec='${libname}${release}${shared_ext}$major'
12.12131 + fi
12.12132 + shlibpath_var=LIBPATH
12.12133 + fi
12.12134 + ;;
12.12135 +
12.12136 +amigaos*)
12.12137 + library_names_spec='$libname.ixlibrary $libname.a'
12.12138 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
12.12139 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12.12140 + ;;
12.12141 +
12.12142 +beos*)
12.12143 + library_names_spec='${libname}${shared_ext}'
12.12144 + dynamic_linker="$host_os ld.so"
12.12145 + shlibpath_var=LIBRARY_PATH
12.12146 + ;;
12.12147 +
12.12148 +bsdi4*)
12.12149 + version_type=linux
12.12150 + need_version=no
12.12151 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12152 + soname_spec='${libname}${release}${shared_ext}$major'
12.12153 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12.12154 + shlibpath_var=LD_LIBRARY_PATH
12.12155 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12.12156 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12.12157 + # the default ld.so.conf also contains /usr/contrib/lib and
12.12158 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12.12159 + # libtool to hard-code these into programs
12.12160 + ;;
12.12161 +
12.12162 +cygwin* | mingw* | pw32*)
12.12163 + version_type=windows
12.12164 + shrext_cmds=".dll"
12.12165 + need_version=no
12.12166 + need_lib_prefix=no
12.12167 +
12.12168 + case $GCC,$host_os in
12.12169 + yes,cygwin* | yes,mingw* | yes,pw32*)
12.12170 + library_names_spec='$libname.dll.a'
12.12171 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
12.12172 + postinstall_cmds='base_file=`basename \${file}`~
12.12173 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12.12174 + dldir=$destdir/`dirname \$dlpath`~
12.12175 + test -d \$dldir || mkdir -p \$dldir~
12.12176 + $install_prog $dir/$dlname \$dldir/$dlname'
12.12177 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12.12178 + dlpath=$dir/\$dldll~
12.12179 + $rm \$dlpath'
12.12180 + shlibpath_overrides_runpath=yes
12.12181 +
12.12182 + case $host_os in
12.12183 + cygwin*)
12.12184 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12.12185 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.12186 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12.12187 + ;;
12.12188 + mingw*)
12.12189 + # MinGW DLLs use traditional 'lib' prefix
12.12190 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.12191 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.12192 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12.12193 + # It is most probably a Windows format PATH printed by
12.12194 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
12.12195 + # path with ; separators, and with drive letters. We can handle the
12.12196 + # drive letters (cygwin fileutils understands them), so leave them,
12.12197 + # especially as we might pass files found there to a mingw objdump,
12.12198 + # which wouldn't understand a cygwinified path. Ahh.
12.12199 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.12200 + else
12.12201 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.12202 + fi
12.12203 + ;;
12.12204 + pw32*)
12.12205 + # pw32 DLLs use 'pw' prefix rather than 'lib'
12.12206 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12.12207 + ;;
12.12208 + esac
12.12209 + ;;
12.12210 +
12.12211 + *)
12.12212 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12.12213 + ;;
12.12214 + esac
12.12215 + dynamic_linker='Win32 ld.exe'
12.12216 + # FIXME: first we should search . and the directory the executable is in
12.12217 + shlibpath_var=PATH
12.12218 + ;;
12.12219 +
12.12220 +darwin* | rhapsody*)
12.12221 + dynamic_linker="$host_os dyld"
12.12222 + version_type=darwin
12.12223 + need_lib_prefix=no
12.12224 + need_version=no
12.12225 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12.12226 + soname_spec='${libname}${release}${major}$shared_ext'
12.12227 + shlibpath_overrides_runpath=yes
12.12228 + shlibpath_var=DYLD_LIBRARY_PATH
12.12229 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
12.12230 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12.12231 + if test "$GCC" = yes; then
12.12232 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12.12233 + else
12.12234 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12.12235 + fi
12.12236 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12.12237 + ;;
12.12238 +
12.12239 +dgux*)
12.12240 + version_type=linux
12.12241 + need_lib_prefix=no
12.12242 + need_version=no
12.12243 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12.12244 + soname_spec='${libname}${release}${shared_ext}$major'
12.12245 + shlibpath_var=LD_LIBRARY_PATH
12.12246 + ;;
12.12247 +
12.12248 +freebsd1*)
12.12249 + dynamic_linker=no
12.12250 + ;;
12.12251 +
12.12252 +kfreebsd*-gnu)
12.12253 + version_type=linux
12.12254 + need_lib_prefix=no
12.12255 + need_version=no
12.12256 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.12257 + soname_spec='${libname}${release}${shared_ext}$major'
12.12258 + shlibpath_var=LD_LIBRARY_PATH
12.12259 + shlibpath_overrides_runpath=no
12.12260 + hardcode_into_libs=yes
12.12261 + dynamic_linker='GNU ld.so'
12.12262 + ;;
12.12263 +
12.12264 +freebsd*)
12.12265 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12.12266 + version_type=freebsd-$objformat
12.12267 + case $version_type in
12.12268 + freebsd-elf*)
12.12269 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12.12270 + need_version=no
12.12271 + need_lib_prefix=no
12.12272 + ;;
12.12273 + freebsd-*)
12.12274 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12.12275 + need_version=yes
12.12276 + ;;
12.12277 + esac
12.12278 + shlibpath_var=LD_LIBRARY_PATH
12.12279 + case $host_os in
12.12280 + freebsd2*)
12.12281 + shlibpath_overrides_runpath=yes
12.12282 + ;;
12.12283 + freebsd3.01* | freebsdelf3.01*)
12.12284 + shlibpath_overrides_runpath=yes
12.12285 + hardcode_into_libs=yes
12.12286 + ;;
12.12287 + *) # from 3.2 on
12.12288 + shlibpath_overrides_runpath=no
12.12289 + hardcode_into_libs=yes
12.12290 + ;;
12.12291 + esac
12.12292 + ;;
12.12293 +
12.12294 +gnu*)
12.12295 + version_type=linux
12.12296 + need_lib_prefix=no
12.12297 + need_version=no
12.12298 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12.12299 + soname_spec='${libname}${release}${shared_ext}$major'
12.12300 + shlibpath_var=LD_LIBRARY_PATH
12.12301 + hardcode_into_libs=yes
12.12302 + ;;
12.12303 +
12.12304 +hpux9* | hpux10* | hpux11*)
12.12305 + # Give a soname corresponding to the major version so that dld.sl refuses to
12.12306 + # link against other versions.
12.12307 + version_type=sunos
12.12308 + need_lib_prefix=no
12.12309 + need_version=no
12.12310 + case "$host_cpu" in
12.12311 + ia64*)
12.12312 + shrext_cmds='.so'
12.12313 + hardcode_into_libs=yes
12.12314 + dynamic_linker="$host_os dld.so"
12.12315 + shlibpath_var=LD_LIBRARY_PATH
12.12316 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.12317 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12318 + soname_spec='${libname}${release}${shared_ext}$major'
12.12319 + if test "X$HPUX_IA64_MODE" = X32; then
12.12320 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12.12321 + else
12.12322 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12.12323 + fi
12.12324 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.12325 + ;;
12.12326 + hppa*64*)
12.12327 + shrext_cmds='.sl'
12.12328 + hardcode_into_libs=yes
12.12329 + dynamic_linker="$host_os dld.sl"
12.12330 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12.12331 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.12332 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12333 + soname_spec='${libname}${release}${shared_ext}$major'
12.12334 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12.12335 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.12336 + ;;
12.12337 + *)
12.12338 + shrext_cmds='.sl'
12.12339 + dynamic_linker="$host_os dld.sl"
12.12340 + shlibpath_var=SHLIB_PATH
12.12341 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12.12342 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12343 + soname_spec='${libname}${release}${shared_ext}$major'
12.12344 + ;;
12.12345 + esac
12.12346 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
12.12347 + postinstall_cmds='chmod 555 $lib'
12.12348 + ;;
12.12349 +
12.12350 +irix5* | irix6* | nonstopux*)
12.12351 + case $host_os in
12.12352 + nonstopux*) version_type=nonstopux ;;
12.12353 + *)
12.12354 + if test "$lt_cv_prog_gnu_ld" = yes; then
12.12355 + version_type=linux
12.12356 + else
12.12357 + version_type=irix
12.12358 + fi ;;
12.12359 + esac
12.12360 + need_lib_prefix=no
12.12361 + need_version=no
12.12362 + soname_spec='${libname}${release}${shared_ext}$major'
12.12363 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12.12364 + case $host_os in
12.12365 + irix5* | nonstopux*)
12.12366 + libsuff= shlibsuff=
12.12367 + ;;
12.12368 + *)
12.12369 + case $LD in # libtool.m4 will add one of these switches to LD
12.12370 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12.12371 + libsuff= shlibsuff= libmagic=32-bit;;
12.12372 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12.12373 + libsuff=32 shlibsuff=N32 libmagic=N32;;
12.12374 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12.12375 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
12.12376 + *) libsuff= shlibsuff= libmagic=never-match;;
12.12377 + esac
12.12378 + ;;
12.12379 + esac
12.12380 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12.12381 + shlibpath_overrides_runpath=no
12.12382 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12.12383 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12.12384 + hardcode_into_libs=yes
12.12385 + ;;
12.12386 +
12.12387 +# No shared lib support for Linux oldld, aout, or coff.
12.12388 +linux*oldld* | linux*aout* | linux*coff*)
12.12389 + dynamic_linker=no
12.12390 + ;;
12.12391 +
12.12392 +# This must be Linux ELF.
12.12393 +linux*)
12.12394 + version_type=linux
12.12395 + need_lib_prefix=no
12.12396 + need_version=no
12.12397 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12398 + soname_spec='${libname}${release}${shared_ext}$major'
12.12399 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12.12400 + shlibpath_var=LD_LIBRARY_PATH
12.12401 + shlibpath_overrides_runpath=no
12.12402 + # This implies no fast_install, which is unacceptable.
12.12403 + # Some rework will be needed to allow for fast_install
12.12404 + # before this can be enabled.
12.12405 + hardcode_into_libs=yes
12.12406 +
12.12407 + # Append ld.so.conf contents to the search path
12.12408 + if test -f /etc/ld.so.conf; then
12.12409 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12.12410 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12.12411 + fi
12.12412 +
12.12413 + # We used to test for /lib/ld.so.1 and disable shared libraries on
12.12414 + # powerpc, because MkLinux only supported shared libraries with the
12.12415 + # GNU dynamic linker. Since this was broken with cross compilers,
12.12416 + # most powerpc-linux boxes support dynamic linking these days and
12.12417 + # people can always --disable-shared, the test was removed, and we
12.12418 + # assume the GNU/Linux dynamic linker is in use.
12.12419 + dynamic_linker='GNU/Linux ld.so'
12.12420 + ;;
12.12421 +
12.12422 +netbsdelf*-gnu)
12.12423 + version_type=linux
12.12424 + need_lib_prefix=no
12.12425 + need_version=no
12.12426 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.12427 + soname_spec='${libname}${release}${shared_ext}$major'
12.12428 + shlibpath_var=LD_LIBRARY_PATH
12.12429 + shlibpath_overrides_runpath=no
12.12430 + hardcode_into_libs=yes
12.12431 + dynamic_linker='NetBSD ld.elf_so'
12.12432 + ;;
12.12433 +
12.12434 +knetbsd*-gnu)
12.12435 + version_type=linux
12.12436 + need_lib_prefix=no
12.12437 + need_version=no
12.12438 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.12439 + soname_spec='${libname}${release}${shared_ext}$major'
12.12440 + shlibpath_var=LD_LIBRARY_PATH
12.12441 + shlibpath_overrides_runpath=no
12.12442 + hardcode_into_libs=yes
12.12443 + dynamic_linker='GNU ld.so'
12.12444 + ;;
12.12445 +
12.12446 +netbsd*)
12.12447 + version_type=sunos
12.12448 + need_lib_prefix=no
12.12449 + need_version=no
12.12450 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.12451 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.12452 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.12453 + dynamic_linker='NetBSD (a.out) ld.so'
12.12454 + else
12.12455 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.12456 + soname_spec='${libname}${release}${shared_ext}$major'
12.12457 + dynamic_linker='NetBSD ld.elf_so'
12.12458 + fi
12.12459 + shlibpath_var=LD_LIBRARY_PATH
12.12460 + shlibpath_overrides_runpath=yes
12.12461 + hardcode_into_libs=yes
12.12462 + ;;
12.12463 +
12.12464 +newsos6)
12.12465 + version_type=linux
12.12466 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12467 + shlibpath_var=LD_LIBRARY_PATH
12.12468 + shlibpath_overrides_runpath=yes
12.12469 + ;;
12.12470 +
12.12471 +nto-qnx*)
12.12472 + version_type=linux
12.12473 + need_lib_prefix=no
12.12474 + need_version=no
12.12475 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12476 + soname_spec='${libname}${release}${shared_ext}$major'
12.12477 + shlibpath_var=LD_LIBRARY_PATH
12.12478 + shlibpath_overrides_runpath=yes
12.12479 + ;;
12.12480 +
12.12481 +openbsd*)
12.12482 + version_type=sunos
12.12483 + need_lib_prefix=no
12.12484 + need_version=yes
12.12485 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.12486 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.12487 + shlibpath_var=LD_LIBRARY_PATH
12.12488 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.12489 + case $host_os in
12.12490 + openbsd2.[89] | openbsd2.[89].*)
12.12491 + shlibpath_overrides_runpath=no
12.12492 + ;;
12.12493 + *)
12.12494 + shlibpath_overrides_runpath=yes
12.12495 + ;;
12.12496 + esac
12.12497 + else
12.12498 + shlibpath_overrides_runpath=yes
12.12499 + fi
12.12500 + ;;
12.12501 +
12.12502 +os2*)
12.12503 + libname_spec='$name'
12.12504 + shrext_cmds=".dll"
12.12505 + need_lib_prefix=no
12.12506 + library_names_spec='$libname${shared_ext} $libname.a'
12.12507 + dynamic_linker='OS/2 ld.exe'
12.12508 + shlibpath_var=LIBPATH
12.12509 + ;;
12.12510 +
12.12511 +osf3* | osf4* | osf5*)
12.12512 + version_type=osf
12.12513 + need_lib_prefix=no
12.12514 + need_version=no
12.12515 + soname_spec='${libname}${release}${shared_ext}$major'
12.12516 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12517 + shlibpath_var=LD_LIBRARY_PATH
12.12518 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12.12519 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12.12520 + ;;
12.12521 +
12.12522 +sco3.2v5*)
12.12523 + version_type=osf
12.12524 + soname_spec='${libname}${release}${shared_ext}$major'
12.12525 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12526 + shlibpath_var=LD_LIBRARY_PATH
12.12527 + ;;
12.12528 +
12.12529 +solaris*)
12.12530 + version_type=linux
12.12531 + need_lib_prefix=no
12.12532 + need_version=no
12.12533 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12534 + soname_spec='${libname}${release}${shared_ext}$major'
12.12535 + shlibpath_var=LD_LIBRARY_PATH
12.12536 + shlibpath_overrides_runpath=yes
12.12537 + hardcode_into_libs=yes
12.12538 + # ldd complains unless libraries are executable
12.12539 + postinstall_cmds='chmod +x $lib'
12.12540 + ;;
12.12541 +
12.12542 +sunos4*)
12.12543 + version_type=sunos
12.12544 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.12545 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12.12546 + shlibpath_var=LD_LIBRARY_PATH
12.12547 + shlibpath_overrides_runpath=yes
12.12548 + if test "$with_gnu_ld" = yes; then
12.12549 + need_lib_prefix=no
12.12550 + fi
12.12551 + need_version=yes
12.12552 + ;;
12.12553 +
12.12554 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.12555 + version_type=linux
12.12556 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12557 + soname_spec='${libname}${release}${shared_ext}$major'
12.12558 + shlibpath_var=LD_LIBRARY_PATH
12.12559 + case $host_vendor in
12.12560 + sni)
12.12561 + shlibpath_overrides_runpath=no
12.12562 + need_lib_prefix=no
12.12563 + export_dynamic_flag_spec='${wl}-Blargedynsym'
12.12564 + runpath_var=LD_RUN_PATH
12.12565 + ;;
12.12566 + siemens)
12.12567 + need_lib_prefix=no
12.12568 + ;;
12.12569 + motorola)
12.12570 + need_lib_prefix=no
12.12571 + need_version=no
12.12572 + shlibpath_overrides_runpath=no
12.12573 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12.12574 + ;;
12.12575 + esac
12.12576 + ;;
12.12577 +
12.12578 +sysv4*MP*)
12.12579 + if test -d /usr/nec ;then
12.12580 + version_type=linux
12.12581 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12.12582 + soname_spec='$libname${shared_ext}.$major'
12.12583 + shlibpath_var=LD_LIBRARY_PATH
12.12584 + fi
12.12585 + ;;
12.12586 +
12.12587 +uts4*)
12.12588 + version_type=linux
12.12589 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.12590 + soname_spec='${libname}${release}${shared_ext}$major'
12.12591 + shlibpath_var=LD_LIBRARY_PATH
12.12592 + ;;
12.12593 +
12.12594 +*)
12.12595 + dynamic_linker=no
12.12596 + ;;
12.12597 +esac
12.12598 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12.12599 +echo "${ECHO_T}$dynamic_linker" >&6; }
12.12600 +test "$dynamic_linker" = no && can_build_shared=no
12.12601 +
12.12602 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12.12603 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12.12604 +hardcode_action_CXX=
12.12605 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
12.12606 + test -n "$runpath_var CXX" || \
12.12607 + test "X$hardcode_automatic_CXX"="Xyes" ; then
12.12608 +
12.12609 + # We can hardcode non-existant directories.
12.12610 + if test "$hardcode_direct_CXX" != no &&
12.12611 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
12.12612 + # have to relink, otherwise we might link with an installed library
12.12613 + # when we should be linking with a yet-to-be-installed one
12.12614 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12.12615 + test "$hardcode_minus_L_CXX" != no; then
12.12616 + # Linking always hardcodes the temporary library directory.
12.12617 + hardcode_action_CXX=relink
12.12618 + else
12.12619 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
12.12620 + hardcode_action_CXX=immediate
12.12621 + fi
12.12622 +else
12.12623 + # We cannot hardcode anything, or else we can only hardcode existing
12.12624 + # directories.
12.12625 + hardcode_action_CXX=unsupported
12.12626 +fi
12.12627 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12.12628 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12.12629 +
12.12630 +if test "$hardcode_action_CXX" = relink; then
12.12631 + # Fast installation is not supported
12.12632 + enable_fast_install=no
12.12633 +elif test "$shlibpath_overrides_runpath" = yes ||
12.12634 + test "$enable_shared" = no; then
12.12635 + # Fast installation is not necessary
12.12636 + enable_fast_install=needless
12.12637 +fi
12.12638 +
12.12639 +striplib=
12.12640 +old_striplib=
12.12641 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12.12642 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12.12643 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12.12644 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12.12645 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12.12646 + { echo "$as_me:$LINENO: result: yes" >&5
12.12647 +echo "${ECHO_T}yes" >&6; }
12.12648 +else
12.12649 +# FIXME - insert some real tests, host_os isn't really good enough
12.12650 + case $host_os in
12.12651 + darwin*)
12.12652 + if test -n "$STRIP" ; then
12.12653 + striplib="$STRIP -x"
12.12654 + { echo "$as_me:$LINENO: result: yes" >&5
12.12655 +echo "${ECHO_T}yes" >&6; }
12.12656 + else
12.12657 + { echo "$as_me:$LINENO: result: no" >&5
12.12658 +echo "${ECHO_T}no" >&6; }
12.12659 +fi
12.12660 + ;;
12.12661 + *)
12.12662 + { echo "$as_me:$LINENO: result: no" >&5
12.12663 +echo "${ECHO_T}no" >&6; }
12.12664 + ;;
12.12665 + esac
12.12666 +fi
12.12667 +
12.12668 +if test "x$enable_dlopen" != xyes; then
12.12669 + enable_dlopen=unknown
12.12670 + enable_dlopen_self=unknown
12.12671 + enable_dlopen_self_static=unknown
12.12672 +else
12.12673 + lt_cv_dlopen=no
12.12674 + lt_cv_dlopen_libs=
12.12675 +
12.12676 + case $host_os in
12.12677 + beos*)
12.12678 + lt_cv_dlopen="load_add_on"
12.12679 + lt_cv_dlopen_libs=
12.12680 + lt_cv_dlopen_self=yes
12.12681 + ;;
12.12682 +
12.12683 + mingw* | pw32*)
12.12684 + lt_cv_dlopen="LoadLibrary"
12.12685 + lt_cv_dlopen_libs=
12.12686 + ;;
12.12687 +
12.12688 + cygwin*)
12.12689 + lt_cv_dlopen="dlopen"
12.12690 + lt_cv_dlopen_libs=
12.12691 + ;;
12.12692 +
12.12693 + darwin*)
12.12694 + # if libdl is installed we need to link against it
12.12695 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12.12696 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12.12697 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12.12698 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.12699 +else
12.12700 + ac_check_lib_save_LIBS=$LIBS
12.12701 +LIBS="-ldl $LIBS"
12.12702 +cat >conftest.$ac_ext <<_ACEOF
12.12703 +/* confdefs.h. */
12.12704 +_ACEOF
12.12705 +cat confdefs.h >>conftest.$ac_ext
12.12706 +cat >>conftest.$ac_ext <<_ACEOF
12.12707 +/* end confdefs.h. */
12.12708 +
12.12709 +/* Override any GCC internal prototype to avoid an error.
12.12710 + Use char because int might match the return type of a GCC
12.12711 + builtin and then its argument prototype would still apply. */
12.12712 +#ifdef __cplusplus
12.12713 +extern "C"
12.12714 +#endif
12.12715 +char dlopen ();
12.12716 +int
12.12717 +main ()
12.12718 +{
12.12719 +return dlopen ();
12.12720 + ;
12.12721 + return 0;
12.12722 +}
12.12723 +_ACEOF
12.12724 +rm -f conftest.$ac_objext conftest$ac_exeext
12.12725 +if { (ac_try="$ac_link"
12.12726 +case "(($ac_try" in
12.12727 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.12728 + *) ac_try_echo=$ac_try;;
12.12729 +esac
12.12730 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.12731 + (eval "$ac_link") 2>conftest.er1
12.12732 + ac_status=$?
12.12733 + grep -v '^ *+' conftest.er1 >conftest.err
12.12734 + rm -f conftest.er1
12.12735 + cat conftest.err >&5
12.12736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.12737 + (exit $ac_status); } && {
12.12738 + test -z "$ac_cxx_werror_flag" ||
12.12739 + test ! -s conftest.err
12.12740 + } && test -s conftest$ac_exeext &&
12.12741 + $as_test_x conftest$ac_exeext; then
12.12742 + ac_cv_lib_dl_dlopen=yes
12.12743 +else
12.12744 + echo "$as_me: failed program was:" >&5
12.12745 +sed 's/^/| /' conftest.$ac_ext >&5
12.12746 +
12.12747 + ac_cv_lib_dl_dlopen=no
12.12748 +fi
12.12749 +
12.12750 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.12751 + conftest$ac_exeext conftest.$ac_ext
12.12752 +LIBS=$ac_check_lib_save_LIBS
12.12753 +fi
12.12754 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12.12755 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12.12756 +if test $ac_cv_lib_dl_dlopen = yes; then
12.12757 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12.12758 +else
12.12759 +
12.12760 + lt_cv_dlopen="dyld"
12.12761 + lt_cv_dlopen_libs=
12.12762 + lt_cv_dlopen_self=yes
12.12763 +
12.12764 +fi
12.12765 +
12.12766 + ;;
12.12767 +
12.12768 + *)
12.12769 + { echo "$as_me:$LINENO: checking for shl_load" >&5
12.12770 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12.12771 +if test "${ac_cv_func_shl_load+set}" = set; then
12.12772 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.12773 +else
12.12774 + cat >conftest.$ac_ext <<_ACEOF
12.12775 +/* confdefs.h. */
12.12776 +_ACEOF
12.12777 +cat confdefs.h >>conftest.$ac_ext
12.12778 +cat >>conftest.$ac_ext <<_ACEOF
12.12779 +/* end confdefs.h. */
12.12780 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12.12781 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
12.12782 +#define shl_load innocuous_shl_load
12.12783 +
12.12784 +/* System header to define __stub macros and hopefully few prototypes,
12.12785 + which can conflict with char shl_load (); below.
12.12786 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.12787 + <limits.h> exists even on freestanding compilers. */
12.12788 +
12.12789 +#ifdef __STDC__
12.12790 +# include <limits.h>
12.12791 +#else
12.12792 +# include <assert.h>
12.12793 +#endif
12.12794 +
12.12795 +#undef shl_load
12.12796 +
12.12797 +/* Override any GCC internal prototype to avoid an error.
12.12798 + Use char because int might match the return type of a GCC
12.12799 + builtin and then its argument prototype would still apply. */
12.12800 +#ifdef __cplusplus
12.12801 +extern "C"
12.12802 +#endif
12.12803 +char shl_load ();
12.12804 +/* The GNU C library defines this for functions which it implements
12.12805 + to always fail with ENOSYS. Some functions are actually named
12.12806 + something starting with __ and the normal name is an alias. */
12.12807 +#if defined __stub_shl_load || defined __stub___shl_load
12.12808 +choke me
12.12809 +#endif
12.12810 +
12.12811 +int
12.12812 +main ()
12.12813 +{
12.12814 +return shl_load ();
12.12815 + ;
12.12816 + return 0;
12.12817 +}
12.12818 +_ACEOF
12.12819 +rm -f conftest.$ac_objext conftest$ac_exeext
12.12820 +if { (ac_try="$ac_link"
12.12821 +case "(($ac_try" in
12.12822 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.12823 + *) ac_try_echo=$ac_try;;
12.12824 +esac
12.12825 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.12826 + (eval "$ac_link") 2>conftest.er1
12.12827 + ac_status=$?
12.12828 + grep -v '^ *+' conftest.er1 >conftest.err
12.12829 + rm -f conftest.er1
12.12830 + cat conftest.err >&5
12.12831 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.12832 + (exit $ac_status); } && {
12.12833 + test -z "$ac_cxx_werror_flag" ||
12.12834 + test ! -s conftest.err
12.12835 + } && test -s conftest$ac_exeext &&
12.12836 + $as_test_x conftest$ac_exeext; then
12.12837 + ac_cv_func_shl_load=yes
12.12838 +else
12.12839 + echo "$as_me: failed program was:" >&5
12.12840 +sed 's/^/| /' conftest.$ac_ext >&5
12.12841 +
12.12842 + ac_cv_func_shl_load=no
12.12843 +fi
12.12844 +
12.12845 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.12846 + conftest$ac_exeext conftest.$ac_ext
12.12847 +fi
12.12848 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12.12849 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12.12850 +if test $ac_cv_func_shl_load = yes; then
12.12851 + lt_cv_dlopen="shl_load"
12.12852 +else
12.12853 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12.12854 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12.12855 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12.12856 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.12857 +else
12.12858 + ac_check_lib_save_LIBS=$LIBS
12.12859 +LIBS="-ldld $LIBS"
12.12860 +cat >conftest.$ac_ext <<_ACEOF
12.12861 +/* confdefs.h. */
12.12862 +_ACEOF
12.12863 +cat confdefs.h >>conftest.$ac_ext
12.12864 +cat >>conftest.$ac_ext <<_ACEOF
12.12865 +/* end confdefs.h. */
12.12866 +
12.12867 +/* Override any GCC internal prototype to avoid an error.
12.12868 + Use char because int might match the return type of a GCC
12.12869 + builtin and then its argument prototype would still apply. */
12.12870 +#ifdef __cplusplus
12.12871 +extern "C"
12.12872 +#endif
12.12873 +char shl_load ();
12.12874 +int
12.12875 +main ()
12.12876 +{
12.12877 +return shl_load ();
12.12878 + ;
12.12879 + return 0;
12.12880 +}
12.12881 +_ACEOF
12.12882 +rm -f conftest.$ac_objext conftest$ac_exeext
12.12883 +if { (ac_try="$ac_link"
12.12884 +case "(($ac_try" in
12.12885 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.12886 + *) ac_try_echo=$ac_try;;
12.12887 +esac
12.12888 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.12889 + (eval "$ac_link") 2>conftest.er1
12.12890 + ac_status=$?
12.12891 + grep -v '^ *+' conftest.er1 >conftest.err
12.12892 + rm -f conftest.er1
12.12893 + cat conftest.err >&5
12.12894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.12895 + (exit $ac_status); } && {
12.12896 + test -z "$ac_cxx_werror_flag" ||
12.12897 + test ! -s conftest.err
12.12898 + } && test -s conftest$ac_exeext &&
12.12899 + $as_test_x conftest$ac_exeext; then
12.12900 + ac_cv_lib_dld_shl_load=yes
12.12901 +else
12.12902 + echo "$as_me: failed program was:" >&5
12.12903 +sed 's/^/| /' conftest.$ac_ext >&5
12.12904 +
12.12905 + ac_cv_lib_dld_shl_load=no
12.12906 +fi
12.12907 +
12.12908 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.12909 + conftest$ac_exeext conftest.$ac_ext
12.12910 +LIBS=$ac_check_lib_save_LIBS
12.12911 +fi
12.12912 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12.12913 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12.12914 +if test $ac_cv_lib_dld_shl_load = yes; then
12.12915 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12.12916 +else
12.12917 + { echo "$as_me:$LINENO: checking for dlopen" >&5
12.12918 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12.12919 +if test "${ac_cv_func_dlopen+set}" = set; then
12.12920 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.12921 +else
12.12922 + cat >conftest.$ac_ext <<_ACEOF
12.12923 +/* confdefs.h. */
12.12924 +_ACEOF
12.12925 +cat confdefs.h >>conftest.$ac_ext
12.12926 +cat >>conftest.$ac_ext <<_ACEOF
12.12927 +/* end confdefs.h. */
12.12928 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12.12929 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
12.12930 +#define dlopen innocuous_dlopen
12.12931 +
12.12932 +/* System header to define __stub macros and hopefully few prototypes,
12.12933 + which can conflict with char dlopen (); below.
12.12934 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.12935 + <limits.h> exists even on freestanding compilers. */
12.12936 +
12.12937 +#ifdef __STDC__
12.12938 +# include <limits.h>
12.12939 +#else
12.12940 +# include <assert.h>
12.12941 +#endif
12.12942 +
12.12943 +#undef dlopen
12.12944 +
12.12945 +/* Override any GCC internal prototype to avoid an error.
12.12946 + Use char because int might match the return type of a GCC
12.12947 + builtin and then its argument prototype would still apply. */
12.12948 +#ifdef __cplusplus
12.12949 +extern "C"
12.12950 +#endif
12.12951 +char dlopen ();
12.12952 +/* The GNU C library defines this for functions which it implements
12.12953 + to always fail with ENOSYS. Some functions are actually named
12.12954 + something starting with __ and the normal name is an alias. */
12.12955 +#if defined __stub_dlopen || defined __stub___dlopen
12.12956 +choke me
12.12957 +#endif
12.12958 +
12.12959 +int
12.12960 +main ()
12.12961 +{
12.12962 +return dlopen ();
12.12963 + ;
12.12964 + return 0;
12.12965 +}
12.12966 +_ACEOF
12.12967 +rm -f conftest.$ac_objext conftest$ac_exeext
12.12968 +if { (ac_try="$ac_link"
12.12969 +case "(($ac_try" in
12.12970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.12971 + *) ac_try_echo=$ac_try;;
12.12972 +esac
12.12973 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.12974 + (eval "$ac_link") 2>conftest.er1
12.12975 + ac_status=$?
12.12976 + grep -v '^ *+' conftest.er1 >conftest.err
12.12977 + rm -f conftest.er1
12.12978 + cat conftest.err >&5
12.12979 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.12980 + (exit $ac_status); } && {
12.12981 + test -z "$ac_cxx_werror_flag" ||
12.12982 + test ! -s conftest.err
12.12983 + } && test -s conftest$ac_exeext &&
12.12984 + $as_test_x conftest$ac_exeext; then
12.12985 + ac_cv_func_dlopen=yes
12.12986 +else
12.12987 + echo "$as_me: failed program was:" >&5
12.12988 +sed 's/^/| /' conftest.$ac_ext >&5
12.12989 +
12.12990 + ac_cv_func_dlopen=no
12.12991 +fi
12.12992 +
12.12993 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.12994 + conftest$ac_exeext conftest.$ac_ext
12.12995 +fi
12.12996 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12.12997 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12.12998 +if test $ac_cv_func_dlopen = yes; then
12.12999 + lt_cv_dlopen="dlopen"
12.13000 +else
12.13001 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12.13002 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12.13003 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12.13004 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.13005 +else
12.13006 + ac_check_lib_save_LIBS=$LIBS
12.13007 +LIBS="-ldl $LIBS"
12.13008 +cat >conftest.$ac_ext <<_ACEOF
12.13009 +/* confdefs.h. */
12.13010 +_ACEOF
12.13011 +cat confdefs.h >>conftest.$ac_ext
12.13012 +cat >>conftest.$ac_ext <<_ACEOF
12.13013 +/* end confdefs.h. */
12.13014 +
12.13015 +/* Override any GCC internal prototype to avoid an error.
12.13016 + Use char because int might match the return type of a GCC
12.13017 + builtin and then its argument prototype would still apply. */
12.13018 +#ifdef __cplusplus
12.13019 +extern "C"
12.13020 +#endif
12.13021 +char dlopen ();
12.13022 +int
12.13023 +main ()
12.13024 +{
12.13025 +return dlopen ();
12.13026 + ;
12.13027 + return 0;
12.13028 +}
12.13029 +_ACEOF
12.13030 +rm -f conftest.$ac_objext conftest$ac_exeext
12.13031 +if { (ac_try="$ac_link"
12.13032 +case "(($ac_try" in
12.13033 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.13034 + *) ac_try_echo=$ac_try;;
12.13035 +esac
12.13036 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.13037 + (eval "$ac_link") 2>conftest.er1
12.13038 + ac_status=$?
12.13039 + grep -v '^ *+' conftest.er1 >conftest.err
12.13040 + rm -f conftest.er1
12.13041 + cat conftest.err >&5
12.13042 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.13043 + (exit $ac_status); } && {
12.13044 + test -z "$ac_cxx_werror_flag" ||
12.13045 + test ! -s conftest.err
12.13046 + } && test -s conftest$ac_exeext &&
12.13047 + $as_test_x conftest$ac_exeext; then
12.13048 + ac_cv_lib_dl_dlopen=yes
12.13049 +else
12.13050 + echo "$as_me: failed program was:" >&5
12.13051 +sed 's/^/| /' conftest.$ac_ext >&5
12.13052 +
12.13053 + ac_cv_lib_dl_dlopen=no
12.13054 +fi
12.13055 +
12.13056 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.13057 + conftest$ac_exeext conftest.$ac_ext
12.13058 +LIBS=$ac_check_lib_save_LIBS
12.13059 +fi
12.13060 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12.13061 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12.13062 +if test $ac_cv_lib_dl_dlopen = yes; then
12.13063 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12.13064 +else
12.13065 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12.13066 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12.13067 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12.13068 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.13069 +else
12.13070 + ac_check_lib_save_LIBS=$LIBS
12.13071 +LIBS="-lsvld $LIBS"
12.13072 +cat >conftest.$ac_ext <<_ACEOF
12.13073 +/* confdefs.h. */
12.13074 +_ACEOF
12.13075 +cat confdefs.h >>conftest.$ac_ext
12.13076 +cat >>conftest.$ac_ext <<_ACEOF
12.13077 +/* end confdefs.h. */
12.13078 +
12.13079 +/* Override any GCC internal prototype to avoid an error.
12.13080 + Use char because int might match the return type of a GCC
12.13081 + builtin and then its argument prototype would still apply. */
12.13082 +#ifdef __cplusplus
12.13083 +extern "C"
12.13084 +#endif
12.13085 +char dlopen ();
12.13086 +int
12.13087 +main ()
12.13088 +{
12.13089 +return dlopen ();
12.13090 + ;
12.13091 + return 0;
12.13092 +}
12.13093 +_ACEOF
12.13094 +rm -f conftest.$ac_objext conftest$ac_exeext
12.13095 +if { (ac_try="$ac_link"
12.13096 +case "(($ac_try" in
12.13097 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.13098 + *) ac_try_echo=$ac_try;;
12.13099 +esac
12.13100 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.13101 + (eval "$ac_link") 2>conftest.er1
12.13102 + ac_status=$?
12.13103 + grep -v '^ *+' conftest.er1 >conftest.err
12.13104 + rm -f conftest.er1
12.13105 + cat conftest.err >&5
12.13106 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.13107 + (exit $ac_status); } && {
12.13108 + test -z "$ac_cxx_werror_flag" ||
12.13109 + test ! -s conftest.err
12.13110 + } && test -s conftest$ac_exeext &&
12.13111 + $as_test_x conftest$ac_exeext; then
12.13112 + ac_cv_lib_svld_dlopen=yes
12.13113 +else
12.13114 + echo "$as_me: failed program was:" >&5
12.13115 +sed 's/^/| /' conftest.$ac_ext >&5
12.13116 +
12.13117 + ac_cv_lib_svld_dlopen=no
12.13118 +fi
12.13119 +
12.13120 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.13121 + conftest$ac_exeext conftest.$ac_ext
12.13122 +LIBS=$ac_check_lib_save_LIBS
12.13123 +fi
12.13124 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12.13125 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12.13126 +if test $ac_cv_lib_svld_dlopen = yes; then
12.13127 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12.13128 +else
12.13129 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12.13130 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12.13131 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12.13132 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.13133 +else
12.13134 + ac_check_lib_save_LIBS=$LIBS
12.13135 +LIBS="-ldld $LIBS"
12.13136 +cat >conftest.$ac_ext <<_ACEOF
12.13137 +/* confdefs.h. */
12.13138 +_ACEOF
12.13139 +cat confdefs.h >>conftest.$ac_ext
12.13140 +cat >>conftest.$ac_ext <<_ACEOF
12.13141 +/* end confdefs.h. */
12.13142 +
12.13143 +/* Override any GCC internal prototype to avoid an error.
12.13144 + Use char because int might match the return type of a GCC
12.13145 + builtin and then its argument prototype would still apply. */
12.13146 +#ifdef __cplusplus
12.13147 +extern "C"
12.13148 +#endif
12.13149 +char dld_link ();
12.13150 +int
12.13151 +main ()
12.13152 +{
12.13153 +return dld_link ();
12.13154 + ;
12.13155 + return 0;
12.13156 +}
12.13157 +_ACEOF
12.13158 +rm -f conftest.$ac_objext conftest$ac_exeext
12.13159 +if { (ac_try="$ac_link"
12.13160 +case "(($ac_try" in
12.13161 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.13162 + *) ac_try_echo=$ac_try;;
12.13163 +esac
12.13164 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.13165 + (eval "$ac_link") 2>conftest.er1
12.13166 + ac_status=$?
12.13167 + grep -v '^ *+' conftest.er1 >conftest.err
12.13168 + rm -f conftest.er1
12.13169 + cat conftest.err >&5
12.13170 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.13171 + (exit $ac_status); } && {
12.13172 + test -z "$ac_cxx_werror_flag" ||
12.13173 + test ! -s conftest.err
12.13174 + } && test -s conftest$ac_exeext &&
12.13175 + $as_test_x conftest$ac_exeext; then
12.13176 + ac_cv_lib_dld_dld_link=yes
12.13177 +else
12.13178 + echo "$as_me: failed program was:" >&5
12.13179 +sed 's/^/| /' conftest.$ac_ext >&5
12.13180 +
12.13181 + ac_cv_lib_dld_dld_link=no
12.13182 +fi
12.13183 +
12.13184 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.13185 + conftest$ac_exeext conftest.$ac_ext
12.13186 +LIBS=$ac_check_lib_save_LIBS
12.13187 +fi
12.13188 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12.13189 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12.13190 +if test $ac_cv_lib_dld_dld_link = yes; then
12.13191 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12.13192 +fi
12.13193 +
12.13194 +
12.13195 +fi
12.13196 +
12.13197 +
12.13198 +fi
12.13199 +
12.13200 +
12.13201 +fi
12.13202 +
12.13203 +
12.13204 +fi
12.13205 +
12.13206 +
12.13207 +fi
12.13208 +
12.13209 + ;;
12.13210 + esac
12.13211 +
12.13212 + if test "x$lt_cv_dlopen" != xno; then
12.13213 + enable_dlopen=yes
12.13214 + else
12.13215 + enable_dlopen=no
12.13216 + fi
12.13217 +
12.13218 + case $lt_cv_dlopen in
12.13219 + dlopen)
12.13220 + save_CPPFLAGS="$CPPFLAGS"
12.13221 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12.13222 +
12.13223 + save_LDFLAGS="$LDFLAGS"
12.13224 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12.13225 +
12.13226 + save_LIBS="$LIBS"
12.13227 + LIBS="$lt_cv_dlopen_libs $LIBS"
12.13228 +
12.13229 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12.13230 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12.13231 +if test "${lt_cv_dlopen_self+set}" = set; then
12.13232 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.13233 +else
12.13234 + if test "$cross_compiling" = yes; then :
12.13235 + lt_cv_dlopen_self=cross
12.13236 +else
12.13237 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12.13238 + lt_status=$lt_dlunknown
12.13239 + cat > conftest.$ac_ext <<EOF
12.13240 +#line __oline__ "configure"
12.13241 +#include "confdefs.h"
12.13242 +
12.13243 +#if HAVE_DLFCN_H
12.13244 +#include <dlfcn.h>
12.13245 +#endif
12.13246 +
12.13247 +#include <stdio.h>
12.13248 +
12.13249 +#ifdef RTLD_GLOBAL
12.13250 +# define LT_DLGLOBAL RTLD_GLOBAL
12.13251 +#else
12.13252 +# ifdef DL_GLOBAL
12.13253 +# define LT_DLGLOBAL DL_GLOBAL
12.13254 +# else
12.13255 +# define LT_DLGLOBAL 0
12.13256 +# endif
12.13257 +#endif
12.13258 +
12.13259 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12.13260 + find out it does not work in some platform. */
12.13261 +#ifndef LT_DLLAZY_OR_NOW
12.13262 +# ifdef RTLD_LAZY
12.13263 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
12.13264 +# else
12.13265 +# ifdef DL_LAZY
12.13266 +# define LT_DLLAZY_OR_NOW DL_LAZY
12.13267 +# else
12.13268 +# ifdef RTLD_NOW
12.13269 +# define LT_DLLAZY_OR_NOW RTLD_NOW
12.13270 +# else
12.13271 +# ifdef DL_NOW
12.13272 +# define LT_DLLAZY_OR_NOW DL_NOW
12.13273 +# else
12.13274 +# define LT_DLLAZY_OR_NOW 0
12.13275 +# endif
12.13276 +# endif
12.13277 +# endif
12.13278 +# endif
12.13279 +#endif
12.13280 +
12.13281 +#ifdef __cplusplus
12.13282 +extern "C" void exit (int);
12.13283 +#endif
12.13284 +
12.13285 +void fnord() { int i=42;}
12.13286 +int main ()
12.13287 +{
12.13288 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12.13289 + int status = $lt_dlunknown;
12.13290 +
12.13291 + if (self)
12.13292 + {
12.13293 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12.13294 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12.13295 + /* dlclose (self); */
12.13296 + }
12.13297 +
12.13298 + exit (status);
12.13299 +}
12.13300 +EOF
12.13301 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.13302 + (eval $ac_link) 2>&5
12.13303 + ac_status=$?
12.13304 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.13305 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12.13306 + (./conftest; exit; ) 2>/dev/null
12.13307 + lt_status=$?
12.13308 + case x$lt_status in
12.13309 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12.13310 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12.13311 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12.13312 + esac
12.13313 + else :
12.13314 + # compilation failed
12.13315 + lt_cv_dlopen_self=no
12.13316 + fi
12.13317 +fi
12.13318 +rm -fr conftest*
12.13319 +
12.13320 +
12.13321 +fi
12.13322 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12.13323 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12.13324 +
12.13325 + if test "x$lt_cv_dlopen_self" = xyes; then
12.13326 + LDFLAGS="$LDFLAGS $link_static_flag"
12.13327 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12.13328 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12.13329 +if test "${lt_cv_dlopen_self_static+set}" = set; then
12.13330 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.13331 +else
12.13332 + if test "$cross_compiling" = yes; then :
12.13333 + lt_cv_dlopen_self_static=cross
12.13334 +else
12.13335 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12.13336 + lt_status=$lt_dlunknown
12.13337 + cat > conftest.$ac_ext <<EOF
12.13338 +#line __oline__ "configure"
12.13339 +#include "confdefs.h"
12.13340 +
12.13341 +#if HAVE_DLFCN_H
12.13342 +#include <dlfcn.h>
12.13343 +#endif
12.13344 +
12.13345 +#include <stdio.h>
12.13346 +
12.13347 +#ifdef RTLD_GLOBAL
12.13348 +# define LT_DLGLOBAL RTLD_GLOBAL
12.13349 +#else
12.13350 +# ifdef DL_GLOBAL
12.13351 +# define LT_DLGLOBAL DL_GLOBAL
12.13352 +# else
12.13353 +# define LT_DLGLOBAL 0
12.13354 +# endif
12.13355 +#endif
12.13356 +
12.13357 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12.13358 + find out it does not work in some platform. */
12.13359 +#ifndef LT_DLLAZY_OR_NOW
12.13360 +# ifdef RTLD_LAZY
12.13361 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
12.13362 +# else
12.13363 +# ifdef DL_LAZY
12.13364 +# define LT_DLLAZY_OR_NOW DL_LAZY
12.13365 +# else
12.13366 +# ifdef RTLD_NOW
12.13367 +# define LT_DLLAZY_OR_NOW RTLD_NOW
12.13368 +# else
12.13369 +# ifdef DL_NOW
12.13370 +# define LT_DLLAZY_OR_NOW DL_NOW
12.13371 +# else
12.13372 +# define LT_DLLAZY_OR_NOW 0
12.13373 +# endif
12.13374 +# endif
12.13375 +# endif
12.13376 +# endif
12.13377 +#endif
12.13378 +
12.13379 +#ifdef __cplusplus
12.13380 +extern "C" void exit (int);
12.13381 +#endif
12.13382 +
12.13383 +void fnord() { int i=42;}
12.13384 +int main ()
12.13385 +{
12.13386 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12.13387 + int status = $lt_dlunknown;
12.13388 +
12.13389 + if (self)
12.13390 + {
12.13391 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12.13392 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12.13393 + /* dlclose (self); */
12.13394 + }
12.13395 +
12.13396 + exit (status);
12.13397 +}
12.13398 +EOF
12.13399 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.13400 + (eval $ac_link) 2>&5
12.13401 + ac_status=$?
12.13402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.13403 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12.13404 + (./conftest; exit; ) 2>/dev/null
12.13405 + lt_status=$?
12.13406 + case x$lt_status in
12.13407 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12.13408 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12.13409 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12.13410 + esac
12.13411 + else :
12.13412 + # compilation failed
12.13413 + lt_cv_dlopen_self_static=no
12.13414 + fi
12.13415 +fi
12.13416 +rm -fr conftest*
12.13417 +
12.13418 +
12.13419 +fi
12.13420 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12.13421 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12.13422 + fi
12.13423 +
12.13424 + CPPFLAGS="$save_CPPFLAGS"
12.13425 + LDFLAGS="$save_LDFLAGS"
12.13426 + LIBS="$save_LIBS"
12.13427 + ;;
12.13428 + esac
12.13429 +
12.13430 + case $lt_cv_dlopen_self in
12.13431 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12.13432 + *) enable_dlopen_self=unknown ;;
12.13433 + esac
12.13434 +
12.13435 + case $lt_cv_dlopen_self_static in
12.13436 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12.13437 + *) enable_dlopen_self_static=unknown ;;
12.13438 + esac
12.13439 +fi
12.13440 +
12.13441 +
12.13442 +# The else clause should only fire when bootstrapping the
12.13443 +# libtool distribution, otherwise you forgot to ship ltmain.sh
12.13444 +# with your package, and you will get complaints that there are
12.13445 +# no rules to generate ltmain.sh.
12.13446 +if test -f "$ltmain"; then
12.13447 + # See if we are running on zsh, and set the options which allow our commands through
12.13448 + # without removal of \ escapes.
12.13449 + if test -n "${ZSH_VERSION+set}" ; then
12.13450 + setopt NO_GLOB_SUBST
12.13451 + fi
12.13452 + # Now quote all the things that may contain metacharacters while being
12.13453 + # careful not to overquote the AC_SUBSTed values. We take copies of the
12.13454 + # variables and quote the copies for generation of the libtool script.
12.13455 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12.13456 + SED SHELL STRIP \
12.13457 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12.13458 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12.13459 + deplibs_check_method reload_flag reload_cmds need_locks \
12.13460 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12.13461 + lt_cv_sys_global_symbol_to_c_name_address \
12.13462 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12.13463 + old_postinstall_cmds old_postuninstall_cmds \
12.13464 + compiler_CXX \
12.13465 + CC_CXX \
12.13466 + LD_CXX \
12.13467 + lt_prog_compiler_wl_CXX \
12.13468 + lt_prog_compiler_pic_CXX \
12.13469 + lt_prog_compiler_static_CXX \
12.13470 + lt_prog_compiler_no_builtin_flag_CXX \
12.13471 + export_dynamic_flag_spec_CXX \
12.13472 + thread_safe_flag_spec_CXX \
12.13473 + whole_archive_flag_spec_CXX \
12.13474 + enable_shared_with_static_runtimes_CXX \
12.13475 + old_archive_cmds_CXX \
12.13476 + old_archive_from_new_cmds_CXX \
12.13477 + predep_objects_CXX \
12.13478 + postdep_objects_CXX \
12.13479 + predeps_CXX \
12.13480 + postdeps_CXX \
12.13481 + compiler_lib_search_path_CXX \
12.13482 + archive_cmds_CXX \
12.13483 + archive_expsym_cmds_CXX \
12.13484 + postinstall_cmds_CXX \
12.13485 + postuninstall_cmds_CXX \
12.13486 + old_archive_from_expsyms_cmds_CXX \
12.13487 + allow_undefined_flag_CXX \
12.13488 + no_undefined_flag_CXX \
12.13489 + export_symbols_cmds_CXX \
12.13490 + hardcode_libdir_flag_spec_CXX \
12.13491 + hardcode_libdir_flag_spec_ld_CXX \
12.13492 + hardcode_libdir_separator_CXX \
12.13493 + hardcode_automatic_CXX \
12.13494 + module_cmds_CXX \
12.13495 + module_expsym_cmds_CXX \
12.13496 + lt_cv_prog_compiler_c_o_CXX \
12.13497 + exclude_expsyms_CXX \
12.13498 + include_expsyms_CXX; do
12.13499 +
12.13500 + case $var in
12.13501 + old_archive_cmds_CXX | \
12.13502 + old_archive_from_new_cmds_CXX | \
12.13503 + archive_cmds_CXX | \
12.13504 + archive_expsym_cmds_CXX | \
12.13505 + module_cmds_CXX | \
12.13506 + module_expsym_cmds_CXX | \
12.13507 + old_archive_from_expsyms_cmds_CXX | \
12.13508 + export_symbols_cmds_CXX | \
12.13509 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
12.13510 + postinstall_cmds | postuninstall_cmds | \
12.13511 + old_postinstall_cmds | old_postuninstall_cmds | \
12.13512 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12.13513 + # Double-quote double-evaled strings.
12.13514 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12.13515 + ;;
12.13516 + *)
12.13517 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12.13518 + ;;
12.13519 + esac
12.13520 + done
12.13521 +
12.13522 + case $lt_echo in
12.13523 + *'\$0 --fallback-echo"')
12.13524 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12.13525 + ;;
12.13526 + esac
12.13527 +
12.13528 +cfgfile="$ofile"
12.13529 +
12.13530 + cat <<__EOF__ >> "$cfgfile"
12.13531 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12.13532 +
12.13533 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12.13534 +
12.13535 +# Shell to use when invoking shell scripts.
12.13536 +SHELL=$lt_SHELL
12.13537 +
12.13538 +# Whether or not to build shared libraries.
12.13539 +build_libtool_libs=$enable_shared
12.13540 +
12.13541 +# Whether or not to build static libraries.
12.13542 +build_old_libs=$enable_static
12.13543 +
12.13544 +# Whether or not to add -lc for building shared libraries.
12.13545 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
12.13546 +
12.13547 +# Whether or not to disallow shared libs when runtime libs are static
12.13548 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12.13549 +
12.13550 +# Whether or not to optimize for fast installation.
12.13551 +fast_install=$enable_fast_install
12.13552 +
12.13553 +# The host system.
12.13554 +host_alias=$host_alias
12.13555 +host=$host
12.13556 +
12.13557 +# An echo program that does not interpret backslashes.
12.13558 +echo=$lt_echo
12.13559 +
12.13560 +# The archiver.
12.13561 +AR=$lt_AR
12.13562 +AR_FLAGS=$lt_AR_FLAGS
12.13563 +
12.13564 +# A C compiler.
12.13565 +LTCC=$lt_LTCC
12.13566 +
12.13567 +# A language-specific compiler.
12.13568 +CC=$lt_compiler_CXX
12.13569 +
12.13570 +# Is the compiler the GNU C compiler?
12.13571 +with_gcc=$GCC_CXX
12.13572 +
12.13573 +# An ERE matcher.
12.13574 +EGREP=$lt_EGREP
12.13575 +
12.13576 +# The linker used to build libraries.
12.13577 +LD=$lt_LD_CXX
12.13578 +
12.13579 +# Whether we need hard or soft links.
12.13580 +LN_S=$lt_LN_S
12.13581 +
12.13582 +# A BSD-compatible nm program.
12.13583 +NM=$lt_NM
12.13584 +
12.13585 +# A symbol stripping program
12.13586 +STRIP=$lt_STRIP
12.13587 +
12.13588 +# Used to examine libraries when file_magic_cmd begins "file"
12.13589 +MAGIC_CMD=$MAGIC_CMD
12.13590 +
12.13591 +# Used on cygwin: DLL creation program.
12.13592 +DLLTOOL="$DLLTOOL"
12.13593 +
12.13594 +# Used on cygwin: object dumper.
12.13595 +OBJDUMP="$OBJDUMP"
12.13596 +
12.13597 +# Used on cygwin: assembler.
12.13598 +AS="$AS"
12.13599 +
12.13600 +# The name of the directory that contains temporary libtool files.
12.13601 +objdir=$objdir
12.13602 +
12.13603 +# How to create reloadable object files.
12.13604 +reload_flag=$lt_reload_flag
12.13605 +reload_cmds=$lt_reload_cmds
12.13606 +
12.13607 +# How to pass a linker flag through the compiler.
12.13608 +wl=$lt_lt_prog_compiler_wl_CXX
12.13609 +
12.13610 +# Object file suffix (normally "o").
12.13611 +objext="$ac_objext"
12.13612 +
12.13613 +# Old archive suffix (normally "a").
12.13614 +libext="$libext"
12.13615 +
12.13616 +# Shared library suffix (normally ".so").
12.13617 +shrext_cmds='$shrext_cmds'
12.13618 +
12.13619 +# Executable file suffix (normally "").
12.13620 +exeext="$exeext"
12.13621 +
12.13622 +# Additional compiler flags for building library objects.
12.13623 +pic_flag=$lt_lt_prog_compiler_pic_CXX
12.13624 +pic_mode=$pic_mode
12.13625 +
12.13626 +# What is the maximum length of a command?
12.13627 +max_cmd_len=$lt_cv_sys_max_cmd_len
12.13628 +
12.13629 +# Does compiler simultaneously support -c and -o options?
12.13630 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12.13631 +
12.13632 +# Must we lock files when doing compilation ?
12.13633 +need_locks=$lt_need_locks
12.13634 +
12.13635 +# Do we need the lib prefix for modules?
12.13636 +need_lib_prefix=$need_lib_prefix
12.13637 +
12.13638 +# Do we need a version for libraries?
12.13639 +need_version=$need_version
12.13640 +
12.13641 +# Whether dlopen is supported.
12.13642 +dlopen_support=$enable_dlopen
12.13643 +
12.13644 +# Whether dlopen of programs is supported.
12.13645 +dlopen_self=$enable_dlopen_self
12.13646 +
12.13647 +# Whether dlopen of statically linked programs is supported.
12.13648 +dlopen_self_static=$enable_dlopen_self_static
12.13649 +
12.13650 +# Compiler flag to prevent dynamic linking.
12.13651 +link_static_flag=$lt_lt_prog_compiler_static_CXX
12.13652 +
12.13653 +# Compiler flag to turn off builtin functions.
12.13654 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12.13655 +
12.13656 +# Compiler flag to allow reflexive dlopens.
12.13657 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12.13658 +
12.13659 +# Compiler flag to generate shared objects directly from archives.
12.13660 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12.13661 +
12.13662 +# Compiler flag to generate thread-safe objects.
12.13663 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12.13664 +
12.13665 +# Library versioning type.
12.13666 +version_type=$version_type
12.13667 +
12.13668 +# Format of library name prefix.
12.13669 +libname_spec=$lt_libname_spec
12.13670 +
12.13671 +# List of archive names. First name is the real one, the rest are links.
12.13672 +# The last name is the one that the linker finds with -lNAME.
12.13673 +library_names_spec=$lt_library_names_spec
12.13674 +
12.13675 +# The coded name of the library, if different from the real name.
12.13676 +soname_spec=$lt_soname_spec
12.13677 +
12.13678 +# Commands used to build and install an old-style archive.
12.13679 +RANLIB=$lt_RANLIB
12.13680 +old_archive_cmds=$lt_old_archive_cmds_CXX
12.13681 +old_postinstall_cmds=$lt_old_postinstall_cmds
12.13682 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
12.13683 +
12.13684 +# Create an old-style archive from a shared archive.
12.13685 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12.13686 +
12.13687 +# Create a temporary old-style archive to link instead of a shared archive.
12.13688 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12.13689 +
12.13690 +# Commands used to build and install a shared archive.
12.13691 +archive_cmds=$lt_archive_cmds_CXX
12.13692 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12.13693 +postinstall_cmds=$lt_postinstall_cmds
12.13694 +postuninstall_cmds=$lt_postuninstall_cmds
12.13695 +
12.13696 +# Commands used to build a loadable module (assumed same as above if empty)
12.13697 +module_cmds=$lt_module_cmds_CXX
12.13698 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
12.13699 +
12.13700 +# Commands to strip libraries.
12.13701 +old_striplib=$lt_old_striplib
12.13702 +striplib=$lt_striplib
12.13703 +
12.13704 +# Dependencies to place before the objects being linked to create a
12.13705 +# shared library.
12.13706 +predep_objects=$lt_predep_objects_CXX
12.13707 +
12.13708 +# Dependencies to place after the objects being linked to create a
12.13709 +# shared library.
12.13710 +postdep_objects=$lt_postdep_objects_CXX
12.13711 +
12.13712 +# Dependencies to place before the objects being linked to create a
12.13713 +# shared library.
12.13714 +predeps=$lt_predeps_CXX
12.13715 +
12.13716 +# Dependencies to place after the objects being linked to create a
12.13717 +# shared library.
12.13718 +postdeps=$lt_postdeps_CXX
12.13719 +
12.13720 +# The library search path used internally by the compiler when linking
12.13721 +# a shared library.
12.13722 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12.13723 +
12.13724 +# Method to check whether dependent libraries are shared objects.
12.13725 +deplibs_check_method=$lt_deplibs_check_method
12.13726 +
12.13727 +# Command to use when deplibs_check_method == file_magic.
12.13728 +file_magic_cmd=$lt_file_magic_cmd
12.13729 +
12.13730 +# Flag that allows shared libraries with undefined symbols to be built.
12.13731 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
12.13732 +
12.13733 +# Flag that forces no undefined symbols.
12.13734 +no_undefined_flag=$lt_no_undefined_flag_CXX
12.13735 +
12.13736 +# Commands used to finish a libtool library installation in a directory.
12.13737 +finish_cmds=$lt_finish_cmds
12.13738 +
12.13739 +# Same as above, but a single script fragment to be evaled but not shown.
12.13740 +finish_eval=$lt_finish_eval
12.13741 +
12.13742 +# Take the output of nm and produce a listing of raw symbols and C names.
12.13743 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12.13744 +
12.13745 +# Transform the output of nm in a proper C declaration
12.13746 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12.13747 +
12.13748 +# Transform the output of nm in a C name address pair
12.13749 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12.13750 +
12.13751 +# This is the shared library runtime path variable.
12.13752 +runpath_var=$runpath_var
12.13753 +
12.13754 +# This is the shared library path variable.
12.13755 +shlibpath_var=$shlibpath_var
12.13756 +
12.13757 +# Is shlibpath searched before the hard-coded library search path?
12.13758 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12.13759 +
12.13760 +# How to hardcode a shared library path into an executable.
12.13761 +hardcode_action=$hardcode_action_CXX
12.13762 +
12.13763 +# Whether we should hardcode library paths into libraries.
12.13764 +hardcode_into_libs=$hardcode_into_libs
12.13765 +
12.13766 +# Flag to hardcode \$libdir into a binary during linking.
12.13767 +# This must work even if \$libdir does not exist.
12.13768 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12.13769 +
12.13770 +# If ld is used when linking, flag to hardcode \$libdir into
12.13771 +# a binary during linking. This must work even if \$libdir does
12.13772 +# not exist.
12.13773 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12.13774 +
12.13775 +# Whether we need a single -rpath flag with a separated argument.
12.13776 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12.13777 +
12.13778 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12.13779 +# resulting binary.
12.13780 +hardcode_direct=$hardcode_direct_CXX
12.13781 +
12.13782 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12.13783 +# resulting binary.
12.13784 +hardcode_minus_L=$hardcode_minus_L_CXX
12.13785 +
12.13786 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12.13787 +# the resulting binary.
12.13788 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12.13789 +
12.13790 +# Set to yes if building a shared library automatically hardcodes DIR into the library
12.13791 +# and all subsequent libraries and executables linked against it.
12.13792 +hardcode_automatic=$hardcode_automatic_CXX
12.13793 +
12.13794 +# Variables whose values should be saved in libtool wrapper scripts and
12.13795 +# restored at relink time.
12.13796 +variables_saved_for_relink="$variables_saved_for_relink"
12.13797 +
12.13798 +# Whether libtool must link a program against all its dependency libraries.
12.13799 +link_all_deplibs=$link_all_deplibs_CXX
12.13800 +
12.13801 +# Compile-time system search path for libraries
12.13802 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12.13803 +
12.13804 +# Run-time system search path for libraries
12.13805 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12.13806 +
12.13807 +# Fix the shell variable \$srcfile for the compiler.
12.13808 +fix_srcfile_path="$fix_srcfile_path_CXX"
12.13809 +
12.13810 +# Set to yes if exported symbols are required.
12.13811 +always_export_symbols=$always_export_symbols_CXX
12.13812 +
12.13813 +# The commands to list exported symbols.
12.13814 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
12.13815 +
12.13816 +# The commands to extract the exported symbol list from a shared archive.
12.13817 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
12.13818 +
12.13819 +# Symbols that should not be listed in the preloaded symbols.
12.13820 +exclude_expsyms=$lt_exclude_expsyms_CXX
12.13821 +
12.13822 +# Symbols that must always be exported.
12.13823 +include_expsyms=$lt_include_expsyms_CXX
12.13824 +
12.13825 +# ### END LIBTOOL TAG CONFIG: $tagname
12.13826 +
12.13827 +__EOF__
12.13828 +
12.13829 +
12.13830 +else
12.13831 + # If there is no Makefile yet, we rely on a make rule to execute
12.13832 + # `config.status --recheck' to rerun these tests and create the
12.13833 + # libtool script then.
12.13834 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12.13835 + if test -f "$ltmain_in"; then
12.13836 + test -f Makefile && make "$ltmain"
12.13837 + fi
12.13838 +fi
12.13839 +
12.13840 +
12.13841 +ac_ext=c
12.13842 +ac_cpp='$CPP $CPPFLAGS'
12.13843 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.13844 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.13845 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.13846 +
12.13847 +CC=$lt_save_CC
12.13848 +LDCXX=$LD
12.13849 +LD=$lt_save_LD
12.13850 +GCC=$lt_save_GCC
12.13851 +with_gnu_ldcxx=$with_gnu_ld
12.13852 +with_gnu_ld=$lt_save_with_gnu_ld
12.13853 +lt_cv_path_LDCXX=$lt_cv_path_LD
12.13854 +lt_cv_path_LD=$lt_save_path_LD
12.13855 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12.13856 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12.13857 +
12.13858 + else
12.13859 + tagname=""
12.13860 + fi
12.13861 + ;;
12.13862 +
12.13863 + F77)
12.13864 + if test -n "$F77" && test "X$F77" != "Xno"; then
12.13865 +
12.13866 +ac_ext=f
12.13867 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12.13868 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.13869 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12.13870 +
12.13871 +
12.13872 +archive_cmds_need_lc_F77=no
12.13873 +allow_undefined_flag_F77=
12.13874 +always_export_symbols_F77=no
12.13875 +archive_expsym_cmds_F77=
12.13876 +export_dynamic_flag_spec_F77=
12.13877 +hardcode_direct_F77=no
12.13878 +hardcode_libdir_flag_spec_F77=
12.13879 +hardcode_libdir_flag_spec_ld_F77=
12.13880 +hardcode_libdir_separator_F77=
12.13881 +hardcode_minus_L_F77=no
12.13882 +hardcode_automatic_F77=no
12.13883 +module_cmds_F77=
12.13884 +module_expsym_cmds_F77=
12.13885 +link_all_deplibs_F77=unknown
12.13886 +old_archive_cmds_F77=$old_archive_cmds
12.13887 +no_undefined_flag_F77=
12.13888 +whole_archive_flag_spec_F77=
12.13889 +enable_shared_with_static_runtimes_F77=no
12.13890 +
12.13891 +# Source file extension for f77 test sources.
12.13892 +ac_ext=f
12.13893 +
12.13894 +# Object file extension for compiled f77 test sources.
12.13895 +objext=o
12.13896 +objext_F77=$objext
12.13897 +
12.13898 +# Code to be used in simple compile tests
12.13899 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12.13900 +
12.13901 +# Code to be used in simple link tests
12.13902 +lt_simple_link_test_code=" program t\n end\n"
12.13903 +
12.13904 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12.13905 +
12.13906 +# If no C compiler was specified, use CC.
12.13907 +LTCC=${LTCC-"$CC"}
12.13908 +
12.13909 +# Allow CC to be a program name with arguments.
12.13910 +compiler=$CC
12.13911 +
12.13912 +
12.13913 +# Allow CC to be a program name with arguments.
12.13914 +lt_save_CC="$CC"
12.13915 +CC=${F77-"f77"}
12.13916 +compiler=$CC
12.13917 +compiler_F77=$CC
12.13918 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12.13919 +
12.13920 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12.13921 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12.13922 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12.13923 +echo "${ECHO_T}$can_build_shared" >&6; }
12.13924 +
12.13925 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12.13926 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12.13927 +test "$can_build_shared" = "no" && enable_shared=no
12.13928 +
12.13929 +# On AIX, shared libraries and static libraries use the same namespace, and
12.13930 +# are all built from PIC.
12.13931 +case "$host_os" in
12.13932 +aix3*)
12.13933 + test "$enable_shared" = yes && enable_static=no
12.13934 + if test -n "$RANLIB"; then
12.13935 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
12.13936 + postinstall_cmds='$RANLIB $lib'
12.13937 + fi
12.13938 + ;;
12.13939 +aix4* | aix5*)
12.13940 + test "$enable_shared" = yes && enable_static=no
12.13941 + ;;
12.13942 +esac
12.13943 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12.13944 +echo "${ECHO_T}$enable_shared" >&6; }
12.13945 +
12.13946 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12.13947 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12.13948 +# Make sure either enable_shared or enable_static is yes.
12.13949 +test "$enable_shared" = yes || enable_static=yes
12.13950 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
12.13951 +echo "${ECHO_T}$enable_static" >&6; }
12.13952 +
12.13953 +test "$ld_shlibs_F77" = no && can_build_shared=no
12.13954 +
12.13955 +GCC_F77="$G77"
12.13956 +LD_F77="$LD"
12.13957 +
12.13958 +lt_prog_compiler_wl_F77=
12.13959 +lt_prog_compiler_pic_F77=
12.13960 +lt_prog_compiler_static_F77=
12.13961 +
12.13962 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12.13963 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12.13964 +
12.13965 + if test "$GCC" = yes; then
12.13966 + lt_prog_compiler_wl_F77='-Wl,'
12.13967 + lt_prog_compiler_static_F77='-static'
12.13968 +
12.13969 + case $host_os in
12.13970 + aix*)
12.13971 + # All AIX code is PIC.
12.13972 + if test "$host_cpu" = ia64; then
12.13973 + # AIX 5 now supports IA64 processor
12.13974 + lt_prog_compiler_static_F77='-Bstatic'
12.13975 + fi
12.13976 + ;;
12.13977 +
12.13978 + amigaos*)
12.13979 + # FIXME: we need at least 68020 code to build shared libraries, but
12.13980 + # adding the `-m68020' flag to GCC prevents building anything better,
12.13981 + # like `-m68040'.
12.13982 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12.13983 + ;;
12.13984 +
12.13985 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12.13986 + # PIC is the default for these OSes.
12.13987 + ;;
12.13988 +
12.13989 + mingw* | pw32* | os2*)
12.13990 + # This hack is so that the source file can tell whether it is being
12.13991 + # built for inclusion in a dll (and should export symbols for example).
12.13992 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12.13993 + ;;
12.13994 +
12.13995 + darwin* | rhapsody*)
12.13996 + # PIC is the default on this platform
12.13997 + # Common symbols not allowed in MH_DYLIB files
12.13998 + lt_prog_compiler_pic_F77='-fno-common'
12.13999 + ;;
12.14000 +
12.14001 + msdosdjgpp*)
12.14002 + # Just because we use GCC doesn't mean we suddenly get shared libraries
12.14003 + # on systems that don't support them.
12.14004 + lt_prog_compiler_can_build_shared_F77=no
12.14005 + enable_shared=no
12.14006 + ;;
12.14007 +
12.14008 + sysv4*MP*)
12.14009 + if test -d /usr/nec; then
12.14010 + lt_prog_compiler_pic_F77=-Kconform_pic
12.14011 + fi
12.14012 + ;;
12.14013 +
12.14014 + hpux*)
12.14015 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.14016 + # not for PA HP-UX.
12.14017 + case "$host_cpu" in
12.14018 + hppa*64*|ia64*)
12.14019 + # +Z the default
12.14020 + ;;
12.14021 + *)
12.14022 + lt_prog_compiler_pic_F77='-fPIC'
12.14023 + ;;
12.14024 + esac
12.14025 + ;;
12.14026 +
12.14027 + *)
12.14028 + lt_prog_compiler_pic_F77='-fPIC'
12.14029 + ;;
12.14030 + esac
12.14031 + else
12.14032 + # PORTME Check for flag to pass linker flags through the system compiler.
12.14033 + case $host_os in
12.14034 + aix*)
12.14035 + lt_prog_compiler_wl_F77='-Wl,'
12.14036 + if test "$host_cpu" = ia64; then
12.14037 + # AIX 5 now supports IA64 processor
12.14038 + lt_prog_compiler_static_F77='-Bstatic'
12.14039 + else
12.14040 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12.14041 + fi
12.14042 + ;;
12.14043 +
12.14044 + mingw* | pw32* | os2*)
12.14045 + # This hack is so that the source file can tell whether it is being
12.14046 + # built for inclusion in a dll (and should export symbols for example).
12.14047 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12.14048 + ;;
12.14049 +
12.14050 + hpux9* | hpux10* | hpux11*)
12.14051 + lt_prog_compiler_wl_F77='-Wl,'
12.14052 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.14053 + # not for PA HP-UX.
12.14054 + case "$host_cpu" in
12.14055 + hppa*64*|ia64*)
12.14056 + # +Z the default
12.14057 + ;;
12.14058 + *)
12.14059 + lt_prog_compiler_pic_F77='+Z'
12.14060 + ;;
12.14061 + esac
12.14062 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
12.14063 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12.14064 + ;;
12.14065 +
12.14066 + irix5* | irix6* | nonstopux*)
12.14067 + lt_prog_compiler_wl_F77='-Wl,'
12.14068 + # PIC (with -KPIC) is the default.
12.14069 + lt_prog_compiler_static_F77='-non_shared'
12.14070 + ;;
12.14071 +
12.14072 + newsos6)
12.14073 + lt_prog_compiler_pic_F77='-KPIC'
12.14074 + lt_prog_compiler_static_F77='-Bstatic'
12.14075 + ;;
12.14076 +
12.14077 + linux*)
12.14078 + case $CC in
12.14079 + icc* | ecc*)
12.14080 + lt_prog_compiler_wl_F77='-Wl,'
12.14081 + lt_prog_compiler_pic_F77='-KPIC'
12.14082 + lt_prog_compiler_static_F77='-static'
12.14083 + ;;
12.14084 + ccc*)
12.14085 + lt_prog_compiler_wl_F77='-Wl,'
12.14086 + # All Alpha code is PIC.
12.14087 + lt_prog_compiler_static_F77='-non_shared'
12.14088 + ;;
12.14089 + esac
12.14090 + ;;
12.14091 +
12.14092 + osf3* | osf4* | osf5*)
12.14093 + lt_prog_compiler_wl_F77='-Wl,'
12.14094 + # All OSF/1 code is PIC.
12.14095 + lt_prog_compiler_static_F77='-non_shared'
12.14096 + ;;
12.14097 +
12.14098 + sco3.2v5*)
12.14099 + lt_prog_compiler_pic_F77='-Kpic'
12.14100 + lt_prog_compiler_static_F77='-dn'
12.14101 + ;;
12.14102 +
12.14103 + solaris*)
12.14104 + lt_prog_compiler_wl_F77='-Wl,'
12.14105 + lt_prog_compiler_pic_F77='-KPIC'
12.14106 + lt_prog_compiler_static_F77='-Bstatic'
12.14107 + ;;
12.14108 +
12.14109 + sunos4*)
12.14110 + lt_prog_compiler_wl_F77='-Qoption ld '
12.14111 + lt_prog_compiler_pic_F77='-PIC'
12.14112 + lt_prog_compiler_static_F77='-Bstatic'
12.14113 + ;;
12.14114 +
12.14115 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.14116 + lt_prog_compiler_wl_F77='-Wl,'
12.14117 + lt_prog_compiler_pic_F77='-KPIC'
12.14118 + lt_prog_compiler_static_F77='-Bstatic'
12.14119 + ;;
12.14120 +
12.14121 + sysv4*MP*)
12.14122 + if test -d /usr/nec ;then
12.14123 + lt_prog_compiler_pic_F77='-Kconform_pic'
12.14124 + lt_prog_compiler_static_F77='-Bstatic'
12.14125 + fi
12.14126 + ;;
12.14127 +
12.14128 + uts4*)
12.14129 + lt_prog_compiler_pic_F77='-pic'
12.14130 + lt_prog_compiler_static_F77='-Bstatic'
12.14131 + ;;
12.14132 +
12.14133 + *)
12.14134 + lt_prog_compiler_can_build_shared_F77=no
12.14135 + ;;
12.14136 + esac
12.14137 + fi
12.14138 +
12.14139 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12.14140 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
12.14141 +
12.14142 +#
12.14143 +# Check to make sure the PIC flag actually works.
12.14144 +#
12.14145 +if test -n "$lt_prog_compiler_pic_F77"; then
12.14146 +
12.14147 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12.14148 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
12.14149 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12.14150 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.14151 +else
12.14152 + lt_prog_compiler_pic_works_F77=no
12.14153 + ac_outfile=conftest.$ac_objext
12.14154 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.14155 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
12.14156 + # Insert the option either (1) after the last *FLAGS variable, or
12.14157 + # (2) before a word containing "conftest.", or (3) at the end.
12.14158 + # Note that $ac_compile itself does not contain backslashes and begins
12.14159 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.14160 + # The option is referenced via a variable to avoid confusing sed.
12.14161 + lt_compile=`echo "$ac_compile" | $SED \
12.14162 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.14163 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.14164 + -e 's:$: $lt_compiler_flag:'`
12.14165 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.14166 + (eval "$lt_compile" 2>conftest.err)
12.14167 + ac_status=$?
12.14168 + cat conftest.err >&5
12.14169 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.14170 + if (exit $ac_status) && test -s "$ac_outfile"; then
12.14171 + # The compiler can only warn and ignore the option if not recognized
12.14172 + # So say no if there are warnings
12.14173 + if test ! -s conftest.err; then
12.14174 + lt_prog_compiler_pic_works_F77=yes
12.14175 + fi
12.14176 + fi
12.14177 + $rm conftest*
12.14178 +
12.14179 +fi
12.14180 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
12.14181 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
12.14182 +
12.14183 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
12.14184 + case $lt_prog_compiler_pic_F77 in
12.14185 + "" | " "*) ;;
12.14186 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
12.14187 + esac
12.14188 +else
12.14189 + lt_prog_compiler_pic_F77=
12.14190 + lt_prog_compiler_can_build_shared_F77=no
12.14191 +fi
12.14192 +
12.14193 +fi
12.14194 +case "$host_os" in
12.14195 + # For platforms which do not support PIC, -DPIC is meaningless:
12.14196 + *djgpp*)
12.14197 + lt_prog_compiler_pic_F77=
12.14198 + ;;
12.14199 + *)
12.14200 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
12.14201 + ;;
12.14202 +esac
12.14203 +
12.14204 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12.14205 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12.14206 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
12.14207 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.14208 +else
12.14209 + lt_cv_prog_compiler_c_o_F77=no
12.14210 + $rm -r conftest 2>/dev/null
12.14211 + mkdir conftest
12.14212 + cd conftest
12.14213 + mkdir out
12.14214 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.14215 +
12.14216 + lt_compiler_flag="-o out/conftest2.$ac_objext"
12.14217 + # Insert the option either (1) after the last *FLAGS variable, or
12.14218 + # (2) before a word containing "conftest.", or (3) at the end.
12.14219 + # Note that $ac_compile itself does not contain backslashes and begins
12.14220 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.14221 + lt_compile=`echo "$ac_compile" | $SED \
12.14222 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.14223 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.14224 + -e 's:$: $lt_compiler_flag:'`
12.14225 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.14226 + (eval "$lt_compile" 2>out/conftest.err)
12.14227 + ac_status=$?
12.14228 + cat out/conftest.err >&5
12.14229 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.14230 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
12.14231 + then
12.14232 + # The compiler can only warn and ignore the option if not recognized
12.14233 + # So say no if there are warnings
12.14234 + if test ! -s out/conftest.err; then
12.14235 + lt_cv_prog_compiler_c_o_F77=yes
12.14236 + fi
12.14237 + fi
12.14238 + chmod u+w .
12.14239 + $rm conftest*
12.14240 + # SGI C++ compiler will create directory out/ii_files/ for
12.14241 + # template instantiation
12.14242 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12.14243 + $rm out/* && rmdir out
12.14244 + cd ..
12.14245 + rmdir conftest
12.14246 + $rm conftest*
12.14247 +
12.14248 +fi
12.14249 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
12.14250 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
12.14251 +
12.14252 +
12.14253 +hard_links="nottested"
12.14254 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
12.14255 + # do not overwrite the value of need_locks provided by the user
12.14256 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12.14257 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12.14258 + hard_links=yes
12.14259 + $rm conftest*
12.14260 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.14261 + touch conftest.a
12.14262 + ln conftest.a conftest.b 2>&5 || hard_links=no
12.14263 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.14264 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12.14265 +echo "${ECHO_T}$hard_links" >&6; }
12.14266 + if test "$hard_links" = no; then
12.14267 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12.14268 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12.14269 + need_locks=warn
12.14270 + fi
12.14271 +else
12.14272 + need_locks=no
12.14273 +fi
12.14274 +
12.14275 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12.14276 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12.14277 +
12.14278 + runpath_var=
12.14279 + allow_undefined_flag_F77=
12.14280 + enable_shared_with_static_runtimes_F77=no
12.14281 + archive_cmds_F77=
12.14282 + archive_expsym_cmds_F77=
12.14283 + old_archive_From_new_cmds_F77=
12.14284 + old_archive_from_expsyms_cmds_F77=
12.14285 + export_dynamic_flag_spec_F77=
12.14286 + whole_archive_flag_spec_F77=
12.14287 + thread_safe_flag_spec_F77=
12.14288 + hardcode_libdir_flag_spec_F77=
12.14289 + hardcode_libdir_flag_spec_ld_F77=
12.14290 + hardcode_libdir_separator_F77=
12.14291 + hardcode_direct_F77=no
12.14292 + hardcode_minus_L_F77=no
12.14293 + hardcode_shlibpath_var_F77=unsupported
12.14294 + link_all_deplibs_F77=unknown
12.14295 + hardcode_automatic_F77=no
12.14296 + module_cmds_F77=
12.14297 + module_expsym_cmds_F77=
12.14298 + always_export_symbols_F77=no
12.14299 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12.14300 + # include_expsyms should be a list of space-separated symbols to be *always*
12.14301 + # included in the symbol list
12.14302 + include_expsyms_F77=
12.14303 + # exclude_expsyms can be an extended regexp of symbols to exclude
12.14304 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
12.14305 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12.14306 + # as well as any symbol that contains `d'.
12.14307 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
12.14308 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12.14309 + # platforms (ab)use it in PIC code, but their linkers get confused if
12.14310 + # the symbol is explicitly referenced. Since portable code cannot
12.14311 + # rely on this symbol name, it's probably fine to never include it in
12.14312 + # preloaded symbol tables.
12.14313 + extract_expsyms_cmds=
12.14314 +
12.14315 + case $host_os in
12.14316 + cygwin* | mingw* | pw32*)
12.14317 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
12.14318 + # When not using gcc, we currently assume that we are using
12.14319 + # Microsoft Visual C++.
12.14320 + if test "$GCC" != yes; then
12.14321 + with_gnu_ld=no
12.14322 + fi
12.14323 + ;;
12.14324 + openbsd*)
12.14325 + with_gnu_ld=no
12.14326 + ;;
12.14327 + esac
12.14328 +
12.14329 + ld_shlibs_F77=yes
12.14330 + if test "$with_gnu_ld" = yes; then
12.14331 + # If archive_cmds runs LD, not CC, wlarc should be empty
12.14332 + wlarc='${wl}'
12.14333 +
12.14334 + # See if GNU ld supports shared libraries.
12.14335 + case $host_os in
12.14336 + aix3* | aix4* | aix5*)
12.14337 + # On AIX/PPC, the GNU linker is very broken
12.14338 + if test "$host_cpu" != ia64; then
12.14339 + ld_shlibs_F77=no
12.14340 + cat <<EOF 1>&2
12.14341 +
12.14342 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
12.14343 +*** to be unable to reliably create shared libraries on AIX.
12.14344 +*** Therefore, libtool is disabling shared libraries support. If you
12.14345 +*** really care for shared libraries, you may want to modify your PATH
12.14346 +*** so that a non-GNU linker is found, and then restart.
12.14347 +
12.14348 +EOF
12.14349 + fi
12.14350 + ;;
12.14351 +
12.14352 + amigaos*)
12.14353 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12.14354 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14355 + hardcode_minus_L_F77=yes
12.14356 +
12.14357 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12.14358 + # that the semantics of dynamic libraries on AmigaOS, at least up
12.14359 + # to version 4, is to share data among multiple programs linked
12.14360 + # with the same dynamic library. Since this doesn't match the
12.14361 + # behavior of shared libraries on other platforms, we can't use
12.14362 + # them.
12.14363 + ld_shlibs_F77=no
12.14364 + ;;
12.14365 +
12.14366 + beos*)
12.14367 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.14368 + allow_undefined_flag_F77=unsupported
12.14369 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12.14370 + # support --undefined. This deserves some investigation. FIXME
12.14371 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.14372 + else
12.14373 + ld_shlibs_F77=no
12.14374 + fi
12.14375 + ;;
12.14376 +
12.14377 + cygwin* | mingw* | pw32*)
12.14378 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
12.14379 + # as there is no search path for DLLs.
12.14380 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14381 + allow_undefined_flag_F77=unsupported
12.14382 + always_export_symbols_F77=no
12.14383 + enable_shared_with_static_runtimes_F77=yes
12.14384 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12.14385 +
12.14386 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12.14387 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.14388 + # If the export-symbols file already is a .def file (1st line
12.14389 + # is EXPORTS), use it as is; otherwise, prepend...
12.14390 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12.14391 + cp $export_symbols $output_objdir/$soname.def;
12.14392 + else
12.14393 + echo EXPORTS > $output_objdir/$soname.def;
12.14394 + cat $export_symbols >> $output_objdir/$soname.def;
12.14395 + fi~
12.14396 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.14397 + else
12.14398 + ld_shlibs=no
12.14399 + fi
12.14400 + ;;
12.14401 +
12.14402 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.14403 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.14404 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12.14405 + wlarc=
12.14406 + else
12.14407 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.14408 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.14409 + fi
12.14410 + ;;
12.14411 +
12.14412 + solaris* | sysv5*)
12.14413 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12.14414 + ld_shlibs_F77=no
12.14415 + cat <<EOF 1>&2
12.14416 +
12.14417 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12.14418 +*** create shared libraries on Solaris systems. Therefore, libtool
12.14419 +*** is disabling shared libraries support. We urge you to upgrade GNU
12.14420 +*** binutils to release 2.9.1 or newer. Another option is to modify
12.14421 +*** your PATH or compiler configuration so that the native linker is
12.14422 +*** used, and then restart.
12.14423 +
12.14424 +EOF
12.14425 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.14426 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.14427 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.14428 + else
12.14429 + ld_shlibs_F77=no
12.14430 + fi
12.14431 + ;;
12.14432 +
12.14433 + sunos4*)
12.14434 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.14435 + wlarc=
12.14436 + hardcode_direct_F77=yes
12.14437 + hardcode_shlibpath_var_F77=no
12.14438 + ;;
12.14439 +
12.14440 + linux*)
12.14441 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.14442 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.14443 + archive_cmds_F77="$tmp_archive_cmds"
12.14444 + supports_anon_versioning=no
12.14445 + case `$LD -v 2>/dev/null` in
12.14446 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12.14447 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12.14448 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12.14449 + *\ 2.11.*) ;; # other 2.11 versions
12.14450 + *) supports_anon_versioning=yes ;;
12.14451 + esac
12.14452 + if test $supports_anon_versioning = yes; then
12.14453 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
12.14454 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12.14455 +$echo "local: *; };" >> $output_objdir/$libname.ver~
12.14456 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12.14457 + else
12.14458 + archive_expsym_cmds_F77="$tmp_archive_cmds"
12.14459 + fi
12.14460 + link_all_deplibs_F77=no
12.14461 + else
12.14462 + ld_shlibs_F77=no
12.14463 + fi
12.14464 + ;;
12.14465 +
12.14466 + *)
12.14467 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.14468 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.14469 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.14470 + else
12.14471 + ld_shlibs_F77=no
12.14472 + fi
12.14473 + ;;
12.14474 + esac
12.14475 +
12.14476 + if test "$ld_shlibs_F77" = yes; then
12.14477 + runpath_var=LD_RUN_PATH
12.14478 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
12.14479 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
12.14480 + # ancient GNU ld didn't support --whole-archive et. al.
12.14481 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
12.14482 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12.14483 + else
12.14484 + whole_archive_flag_spec_F77=
12.14485 + fi
12.14486 + fi
12.14487 + else
12.14488 + # PORTME fill in a description of your system's linker (not GNU ld)
12.14489 + case $host_os in
12.14490 + aix3*)
12.14491 + allow_undefined_flag_F77=unsupported
12.14492 + always_export_symbols_F77=yes
12.14493 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12.14494 + # Note: this linker hardcodes the directories in LIBPATH if there
12.14495 + # are no directories specified by -L.
12.14496 + hardcode_minus_L_F77=yes
12.14497 + if test "$GCC" = yes && test -z "$link_static_flag"; then
12.14498 + # Neither direct hardcoding nor static linking is supported with a
12.14499 + # broken collect2.
12.14500 + hardcode_direct_F77=unsupported
12.14501 + fi
12.14502 + ;;
12.14503 +
12.14504 + aix4* | aix5*)
12.14505 + if test "$host_cpu" = ia64; then
12.14506 + # On IA64, the linker does run time linking by default, so we don't
12.14507 + # have to do anything special.
12.14508 + aix_use_runtimelinking=no
12.14509 + exp_sym_flag='-Bexport'
12.14510 + no_entry_flag=""
12.14511 + else
12.14512 + # If we're using GNU nm, then we don't want the "-C" option.
12.14513 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
12.14514 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12.14515 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.14516 + else
12.14517 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.14518 + fi
12.14519 + aix_use_runtimelinking=no
12.14520 +
12.14521 + # Test if we are trying to use run time linking or normal
12.14522 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12.14523 + # need to do runtime linking.
12.14524 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12.14525 + for ld_flag in $LDFLAGS; do
12.14526 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12.14527 + aix_use_runtimelinking=yes
12.14528 + break
12.14529 + fi
12.14530 + done
12.14531 + esac
12.14532 +
12.14533 + exp_sym_flag='-bexport'
12.14534 + no_entry_flag='-bnoentry'
12.14535 + fi
12.14536 +
12.14537 + # When large executables or shared objects are built, AIX ld can
12.14538 + # have problems creating the table of contents. If linking a library
12.14539 + # or program results in "error TOC overflow" add -mminimal-toc to
12.14540 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12.14541 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12.14542 +
12.14543 + archive_cmds_F77=''
12.14544 + hardcode_direct_F77=yes
12.14545 + hardcode_libdir_separator_F77=':'
12.14546 + link_all_deplibs_F77=yes
12.14547 +
12.14548 + if test "$GCC" = yes; then
12.14549 + case $host_os in aix4.012|aix4.012.*)
12.14550 + # We only want to do this on AIX 4.2 and lower, the check
12.14551 + # below for broken collect2 doesn't work under 4.3+
12.14552 + collect2name=`${CC} -print-prog-name=collect2`
12.14553 + if test -f "$collect2name" && \
12.14554 + strings "$collect2name" | grep resolve_lib_name >/dev/null
12.14555 + then
12.14556 + # We have reworked collect2
12.14557 + hardcode_direct_F77=yes
12.14558 + else
12.14559 + # We have old collect2
12.14560 + hardcode_direct_F77=unsupported
12.14561 + # It fails to find uninstalled libraries when the uninstalled
12.14562 + # path is not listed in the libpath. Setting hardcode_minus_L
12.14563 + # to unsupported forces relinking
12.14564 + hardcode_minus_L_F77=yes
12.14565 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14566 + hardcode_libdir_separator_F77=
12.14567 + fi
12.14568 + esac
12.14569 + shared_flag='-shared'
12.14570 + else
12.14571 + # not using gcc
12.14572 + if test "$host_cpu" = ia64; then
12.14573 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12.14574 + # chokes on -Wl,-G. The following line is correct:
12.14575 + shared_flag='-G'
12.14576 + else
12.14577 + if test "$aix_use_runtimelinking" = yes; then
12.14578 + shared_flag='${wl}-G'
12.14579 + else
12.14580 + shared_flag='${wl}-bM:SRE'
12.14581 + fi
12.14582 + fi
12.14583 + fi
12.14584 +
12.14585 + # It seems that -bexpall does not export symbols beginning with
12.14586 + # underscore (_), so it is better to generate a list of symbols to export.
12.14587 + always_export_symbols_F77=yes
12.14588 + if test "$aix_use_runtimelinking" = yes; then
12.14589 + # Warning - without using the other runtime loading flags (-brtl),
12.14590 + # -berok will link without error, but may produce a broken library.
12.14591 + allow_undefined_flag_F77='-berok'
12.14592 + # Determine the default libpath from the value encoded in an empty executable.
12.14593 + cat >conftest.$ac_ext <<_ACEOF
12.14594 + program main
12.14595 +
12.14596 + end
12.14597 +_ACEOF
12.14598 +rm -f conftest.$ac_objext conftest$ac_exeext
12.14599 +if { (ac_try="$ac_link"
12.14600 +case "(($ac_try" in
12.14601 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.14602 + *) ac_try_echo=$ac_try;;
12.14603 +esac
12.14604 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.14605 + (eval "$ac_link") 2>conftest.er1
12.14606 + ac_status=$?
12.14607 + grep -v '^ *+' conftest.er1 >conftest.err
12.14608 + rm -f conftest.er1
12.14609 + cat conftest.err >&5
12.14610 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.14611 + (exit $ac_status); } && {
12.14612 + test -z "$ac_f77_werror_flag" ||
12.14613 + test ! -s conftest.err
12.14614 + } && test -s conftest$ac_exeext &&
12.14615 + $as_test_x conftest$ac_exeext; then
12.14616 +
12.14617 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.14618 +}'`
12.14619 +# Check for a 64-bit object if we didn't find anything.
12.14620 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.14621 +}'`; fi
12.14622 +else
12.14623 + echo "$as_me: failed program was:" >&5
12.14624 +sed 's/^/| /' conftest.$ac_ext >&5
12.14625 +
12.14626 +
12.14627 +fi
12.14628 +
12.14629 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.14630 + conftest$ac_exeext conftest.$ac_ext
12.14631 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.14632 +
12.14633 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
12.14634 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12.14635 + else
12.14636 + if test "$host_cpu" = ia64; then
12.14637 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
12.14638 + allow_undefined_flag_F77="-z nodefs"
12.14639 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12.14640 + else
12.14641 + # Determine the default libpath from the value encoded in an empty executable.
12.14642 + cat >conftest.$ac_ext <<_ACEOF
12.14643 + program main
12.14644 +
12.14645 + end
12.14646 +_ACEOF
12.14647 +rm -f conftest.$ac_objext conftest$ac_exeext
12.14648 +if { (ac_try="$ac_link"
12.14649 +case "(($ac_try" in
12.14650 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.14651 + *) ac_try_echo=$ac_try;;
12.14652 +esac
12.14653 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.14654 + (eval "$ac_link") 2>conftest.er1
12.14655 + ac_status=$?
12.14656 + grep -v '^ *+' conftest.er1 >conftest.err
12.14657 + rm -f conftest.er1
12.14658 + cat conftest.err >&5
12.14659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.14660 + (exit $ac_status); } && {
12.14661 + test -z "$ac_f77_werror_flag" ||
12.14662 + test ! -s conftest.err
12.14663 + } && test -s conftest$ac_exeext &&
12.14664 + $as_test_x conftest$ac_exeext; then
12.14665 +
12.14666 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.14667 +}'`
12.14668 +# Check for a 64-bit object if we didn't find anything.
12.14669 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.14670 +}'`; fi
12.14671 +else
12.14672 + echo "$as_me: failed program was:" >&5
12.14673 +sed 's/^/| /' conftest.$ac_ext >&5
12.14674 +
12.14675 +
12.14676 +fi
12.14677 +
12.14678 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.14679 + conftest$ac_exeext conftest.$ac_ext
12.14680 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.14681 +
12.14682 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
12.14683 + # Warning - without using the other run time loading flags,
12.14684 + # -berok will link without error, but may produce a broken library.
12.14685 + no_undefined_flag_F77=' ${wl}-bernotok'
12.14686 + allow_undefined_flag_F77=' ${wl}-berok'
12.14687 + # -bexpall does not export symbols beginning with underscore (_)
12.14688 + always_export_symbols_F77=yes
12.14689 + # Exported symbols can be pulled into shared objects from archives
12.14690 + whole_archive_flag_spec_F77=' '
12.14691 + archive_cmds_need_lc_F77=yes
12.14692 + # This is similar to how AIX traditionally builds it's shared libraries.
12.14693 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12.14694 + fi
12.14695 + fi
12.14696 + ;;
12.14697 +
12.14698 + amigaos*)
12.14699 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12.14700 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14701 + hardcode_minus_L_F77=yes
12.14702 + # see comment about different semantics on the GNU ld section
12.14703 + ld_shlibs_F77=no
12.14704 + ;;
12.14705 +
12.14706 + bsdi4*)
12.14707 + export_dynamic_flag_spec_F77=-rdynamic
12.14708 + ;;
12.14709 +
12.14710 + cygwin* | mingw* | pw32*)
12.14711 + # When not using gcc, we currently assume that we are using
12.14712 + # Microsoft Visual C++.
12.14713 + # hardcode_libdir_flag_spec is actually meaningless, as there is
12.14714 + # no search path for DLLs.
12.14715 + hardcode_libdir_flag_spec_F77=' '
12.14716 + allow_undefined_flag_F77=unsupported
12.14717 + # Tell ltmain to make .lib files, not .a files.
12.14718 + libext=lib
12.14719 + # Tell ltmain to make .dll files, not .so files.
12.14720 + shrext_cmds=".dll"
12.14721 + # FIXME: Setting linknames here is a bad hack.
12.14722 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12.14723 + # The linker will automatically build a .lib file if we build a DLL.
12.14724 + old_archive_From_new_cmds_F77='true'
12.14725 + # FIXME: Should let the user specify the lib program.
12.14726 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
12.14727 + fix_srcfile_path='`cygpath -w "$srcfile"`'
12.14728 + enable_shared_with_static_runtimes_F77=yes
12.14729 + ;;
12.14730 +
12.14731 + darwin* | rhapsody*)
12.14732 + if test "$GXX" = yes ; then
12.14733 + archive_cmds_need_lc_F77=no
12.14734 + case "$host_os" in
12.14735 + rhapsody* | darwin1.[012])
12.14736 + allow_undefined_flag_F77='-undefined suppress'
12.14737 + ;;
12.14738 + *) # Darwin 1.3 on
12.14739 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12.14740 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
12.14741 + else
12.14742 + case ${MACOSX_DEPLOYMENT_TARGET} in
12.14743 + 10.[012])
12.14744 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
12.14745 + ;;
12.14746 + 10.*)
12.14747 + allow_undefined_flag_F77='-undefined dynamic_lookup'
12.14748 + ;;
12.14749 + esac
12.14750 + fi
12.14751 + ;;
12.14752 + esac
12.14753 + lt_int_apple_cc_single_mod=no
12.14754 + output_verbose_link_cmd='echo'
12.14755 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12.14756 + lt_int_apple_cc_single_mod=yes
12.14757 + fi
12.14758 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.14759 + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.14760 + else
12.14761 + archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.14762 + fi
12.14763 + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12.14764 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12.14765 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.14766 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.14767 + else
12.14768 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.14769 + fi
12.14770 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.14771 + hardcode_direct_F77=no
12.14772 + hardcode_automatic_F77=yes
12.14773 + hardcode_shlibpath_var_F77=unsupported
12.14774 + whole_archive_flag_spec_F77='-all_load $convenience'
12.14775 + link_all_deplibs_F77=yes
12.14776 + else
12.14777 + ld_shlibs_F77=no
12.14778 + fi
12.14779 + ;;
12.14780 +
12.14781 + dgux*)
12.14782 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.14783 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14784 + hardcode_shlibpath_var_F77=no
12.14785 + ;;
12.14786 +
12.14787 + freebsd1*)
12.14788 + ld_shlibs_F77=no
12.14789 + ;;
12.14790 +
12.14791 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12.14792 + # support. Future versions do this automatically, but an explicit c++rt0.o
12.14793 + # does not break anything, and helps significantly (at the cost of a little
12.14794 + # extra space).
12.14795 + freebsd2.2*)
12.14796 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12.14797 + hardcode_libdir_flag_spec_F77='-R$libdir'
12.14798 + hardcode_direct_F77=yes
12.14799 + hardcode_shlibpath_var_F77=no
12.14800 + ;;
12.14801 +
12.14802 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12.14803 + freebsd2*)
12.14804 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.14805 + hardcode_direct_F77=yes
12.14806 + hardcode_minus_L_F77=yes
12.14807 + hardcode_shlibpath_var_F77=no
12.14808 + ;;
12.14809 +
12.14810 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12.14811 + freebsd* | kfreebsd*-gnu)
12.14812 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12.14813 + hardcode_libdir_flag_spec_F77='-R$libdir'
12.14814 + hardcode_direct_F77=yes
12.14815 + hardcode_shlibpath_var_F77=no
12.14816 + ;;
12.14817 +
12.14818 + hpux9*)
12.14819 + if test "$GCC" = yes; then
12.14820 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.14821 + else
12.14822 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.14823 + fi
12.14824 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
12.14825 + hardcode_libdir_separator_F77=:
12.14826 + hardcode_direct_F77=yes
12.14827 +
12.14828 + # hardcode_minus_L: Not really in the search PATH,
12.14829 + # but as the default location of the library.
12.14830 + hardcode_minus_L_F77=yes
12.14831 + export_dynamic_flag_spec_F77='${wl}-E'
12.14832 + ;;
12.14833 +
12.14834 + hpux10* | hpux11*)
12.14835 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12.14836 + case "$host_cpu" in
12.14837 + hppa*64*|ia64*)
12.14838 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.14839 + ;;
12.14840 + *)
12.14841 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12.14842 + ;;
12.14843 + esac
12.14844 + else
12.14845 + case "$host_cpu" in
12.14846 + hppa*64*|ia64*)
12.14847 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
12.14848 + ;;
12.14849 + *)
12.14850 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12.14851 + ;;
12.14852 + esac
12.14853 + fi
12.14854 + if test "$with_gnu_ld" = no; then
12.14855 + case "$host_cpu" in
12.14856 + hppa*64*)
12.14857 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
12.14858 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
12.14859 + hardcode_libdir_separator_F77=:
12.14860 + hardcode_direct_F77=no
12.14861 + hardcode_shlibpath_var_F77=no
12.14862 + ;;
12.14863 + ia64*)
12.14864 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14865 + hardcode_direct_F77=no
12.14866 + hardcode_shlibpath_var_F77=no
12.14867 +
12.14868 + # hardcode_minus_L: Not really in the search PATH,
12.14869 + # but as the default location of the library.
12.14870 + hardcode_minus_L_F77=yes
12.14871 + ;;
12.14872 + *)
12.14873 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
12.14874 + hardcode_libdir_separator_F77=:
12.14875 + hardcode_direct_F77=yes
12.14876 + export_dynamic_flag_spec_F77='${wl}-E'
12.14877 +
12.14878 + # hardcode_minus_L: Not really in the search PATH,
12.14879 + # but as the default location of the library.
12.14880 + hardcode_minus_L_F77=yes
12.14881 + ;;
12.14882 + esac
12.14883 + fi
12.14884 + ;;
12.14885 +
12.14886 + irix5* | irix6* | nonstopux*)
12.14887 + if test "$GCC" = yes; then
12.14888 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.14889 + else
12.14890 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.14891 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
12.14892 + fi
12.14893 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12.14894 + hardcode_libdir_separator_F77=:
12.14895 + link_all_deplibs_F77=yes
12.14896 + ;;
12.14897 +
12.14898 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.14899 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.14900 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12.14901 + else
12.14902 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12.14903 + fi
12.14904 + hardcode_libdir_flag_spec_F77='-R$libdir'
12.14905 + hardcode_direct_F77=yes
12.14906 + hardcode_shlibpath_var_F77=no
12.14907 + ;;
12.14908 +
12.14909 + newsos6)
12.14910 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.14911 + hardcode_direct_F77=yes
12.14912 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12.14913 + hardcode_libdir_separator_F77=:
12.14914 + hardcode_shlibpath_var_F77=no
12.14915 + ;;
12.14916 +
12.14917 + openbsd*)
12.14918 + hardcode_direct_F77=yes
12.14919 + hardcode_shlibpath_var_F77=no
12.14920 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.14921 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12.14922 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
12.14923 + export_dynamic_flag_spec_F77='${wl}-E'
12.14924 + else
12.14925 + case $host_os in
12.14926 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12.14927 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.14928 + hardcode_libdir_flag_spec_F77='-R$libdir'
12.14929 + ;;
12.14930 + *)
12.14931 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12.14932 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
12.14933 + ;;
12.14934 + esac
12.14935 + fi
12.14936 + ;;
12.14937 +
12.14938 + os2*)
12.14939 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.14940 + hardcode_minus_L_F77=yes
12.14941 + allow_undefined_flag_F77=unsupported
12.14942 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12.14943 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12.14944 + ;;
12.14945 +
12.14946 + osf3*)
12.14947 + if test "$GCC" = yes; then
12.14948 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
12.14949 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.14950 + else
12.14951 + allow_undefined_flag_F77=' -expect_unresolved \*'
12.14952 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.14953 + fi
12.14954 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12.14955 + hardcode_libdir_separator_F77=:
12.14956 + ;;
12.14957 +
12.14958 + osf4* | osf5*) # as osf3* with the addition of -msym flag
12.14959 + if test "$GCC" = yes; then
12.14960 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
12.14961 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.14962 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12.14963 + else
12.14964 + allow_undefined_flag_F77=' -expect_unresolved \*'
12.14965 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.14966 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12.14967 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
12.14968 +
12.14969 + # Both c and cxx compiler support -rpath directly
12.14970 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
12.14971 + fi
12.14972 + hardcode_libdir_separator_F77=:
12.14973 + ;;
12.14974 +
12.14975 + sco3.2v5*)
12.14976 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.14977 + hardcode_shlibpath_var_F77=no
12.14978 + export_dynamic_flag_spec_F77='${wl}-Bexport'
12.14979 + runpath_var=LD_RUN_PATH
12.14980 + hardcode_runpath_var=yes
12.14981 + ;;
12.14982 +
12.14983 + solaris*)
12.14984 + no_undefined_flag_F77=' -z text'
12.14985 + if test "$GCC" = yes; then
12.14986 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.14987 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.14988 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12.14989 + else
12.14990 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.14991 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.14992 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12.14993 + fi
12.14994 + hardcode_libdir_flag_spec_F77='-R$libdir'
12.14995 + hardcode_shlibpath_var_F77=no
12.14996 + case $host_os in
12.14997 + solaris2.[0-5] | solaris2.[0-5].*) ;;
12.14998 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
12.14999 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
12.15000 + esac
12.15001 + link_all_deplibs_F77=yes
12.15002 + ;;
12.15003 +
12.15004 + sunos4*)
12.15005 + if test "x$host_vendor" = xsequent; then
12.15006 + # Use $CC to link under sequent, because it throws in some extra .o
12.15007 + # files that make .init and .fini sections work.
12.15008 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12.15009 + else
12.15010 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12.15011 + fi
12.15012 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.15013 + hardcode_direct_F77=yes
12.15014 + hardcode_minus_L_F77=yes
12.15015 + hardcode_shlibpath_var_F77=no
12.15016 + ;;
12.15017 +
12.15018 + sysv4)
12.15019 + case $host_vendor in
12.15020 + sni)
12.15021 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.15022 + hardcode_direct_F77=yes # is this really true???
12.15023 + ;;
12.15024 + siemens)
12.15025 + ## LD is ld it makes a PLAMLIB
12.15026 + ## CC just makes a GrossModule.
12.15027 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12.15028 + reload_cmds_F77='$CC -r -o $output$reload_objs'
12.15029 + hardcode_direct_F77=no
12.15030 + ;;
12.15031 + motorola)
12.15032 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.15033 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
12.15034 + ;;
12.15035 + esac
12.15036 + runpath_var='LD_RUN_PATH'
12.15037 + hardcode_shlibpath_var_F77=no
12.15038 + ;;
12.15039 +
12.15040 + sysv4.3*)
12.15041 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.15042 + hardcode_shlibpath_var_F77=no
12.15043 + export_dynamic_flag_spec_F77='-Bexport'
12.15044 + ;;
12.15045 +
12.15046 + sysv4*MP*)
12.15047 + if test -d /usr/nec; then
12.15048 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.15049 + hardcode_shlibpath_var_F77=no
12.15050 + runpath_var=LD_RUN_PATH
12.15051 + hardcode_runpath_var=yes
12.15052 + ld_shlibs_F77=yes
12.15053 + fi
12.15054 + ;;
12.15055 +
12.15056 + sysv4.2uw2*)
12.15057 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12.15058 + hardcode_direct_F77=yes
12.15059 + hardcode_minus_L_F77=no
12.15060 + hardcode_shlibpath_var_F77=no
12.15061 + hardcode_runpath_var=yes
12.15062 + runpath_var=LD_RUN_PATH
12.15063 + ;;
12.15064 +
12.15065 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12.15066 + no_undefined_flag_F77='${wl}-z ${wl}text'
12.15067 + if test "$GCC" = yes; then
12.15068 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.15069 + else
12.15070 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.15071 + fi
12.15072 + runpath_var='LD_RUN_PATH'
12.15073 + hardcode_shlibpath_var_F77=no
12.15074 + ;;
12.15075 +
12.15076 + sysv5*)
12.15077 + no_undefined_flag_F77=' -z text'
12.15078 + # $CC -shared without GNU ld will not create a library from C++
12.15079 + # object files and a static libstdc++, better avoid it by now
12.15080 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.15081 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.15082 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12.15083 + hardcode_libdir_flag_spec_F77=
12.15084 + hardcode_shlibpath_var_F77=no
12.15085 + runpath_var='LD_RUN_PATH'
12.15086 + ;;
12.15087 +
12.15088 + uts4*)
12.15089 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.15090 + hardcode_libdir_flag_spec_F77='-L$libdir'
12.15091 + hardcode_shlibpath_var_F77=no
12.15092 + ;;
12.15093 +
12.15094 + *)
12.15095 + ld_shlibs_F77=no
12.15096 + ;;
12.15097 + esac
12.15098 + fi
12.15099 +
12.15100 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
12.15101 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
12.15102 +test "$ld_shlibs_F77" = no && can_build_shared=no
12.15103 +
12.15104 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12.15105 +if test "$GCC" = yes; then
12.15106 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12.15107 +fi
12.15108 +
12.15109 +#
12.15110 +# Do we need to explicitly link libc?
12.15111 +#
12.15112 +case "x$archive_cmds_need_lc_F77" in
12.15113 +x|xyes)
12.15114 + # Assume -lc should be added
12.15115 + archive_cmds_need_lc_F77=yes
12.15116 +
12.15117 + if test "$enable_shared" = yes && test "$GCC" = yes; then
12.15118 + case $archive_cmds_F77 in
12.15119 + *'~'*)
12.15120 + # FIXME: we may have to deal with multi-command sequences.
12.15121 + ;;
12.15122 + '$CC '*)
12.15123 + # Test whether the compiler implicitly links with -lc since on some
12.15124 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
12.15125 + # to ld, don't add -lc before -lgcc.
12.15126 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12.15127 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12.15128 + $rm conftest*
12.15129 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.15130 +
12.15131 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.15132 + (eval $ac_compile) 2>&5
12.15133 + ac_status=$?
12.15134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.15135 + (exit $ac_status); } 2>conftest.err; then
12.15136 + soname=conftest
12.15137 + lib=conftest
12.15138 + libobjs=conftest.$ac_objext
12.15139 + deplibs=
12.15140 + wl=$lt_prog_compiler_wl_F77
12.15141 + compiler_flags=-v
12.15142 + linker_flags=-v
12.15143 + verstring=
12.15144 + output_objdir=.
12.15145 + libname=conftest
12.15146 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
12.15147 + allow_undefined_flag_F77=
12.15148 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12.15149 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12.15150 + ac_status=$?
12.15151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.15152 + (exit $ac_status); }
12.15153 + then
12.15154 + archive_cmds_need_lc_F77=no
12.15155 + else
12.15156 + archive_cmds_need_lc_F77=yes
12.15157 + fi
12.15158 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
12.15159 + else
12.15160 + cat conftest.err 1>&5
12.15161 + fi
12.15162 + $rm conftest*
12.15163 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
12.15164 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
12.15165 + ;;
12.15166 + esac
12.15167 + fi
12.15168 + ;;
12.15169 +esac
12.15170 +
12.15171 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12.15172 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12.15173 +library_names_spec=
12.15174 +libname_spec='lib$name'
12.15175 +soname_spec=
12.15176 +shrext_cmds=".so"
12.15177 +postinstall_cmds=
12.15178 +postuninstall_cmds=
12.15179 +finish_cmds=
12.15180 +finish_eval=
12.15181 +shlibpath_var=
12.15182 +shlibpath_overrides_runpath=unknown
12.15183 +version_type=none
12.15184 +dynamic_linker="$host_os ld.so"
12.15185 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
12.15186 +if test "$GCC" = yes; then
12.15187 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.15188 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12.15189 + # if the path contains ";" then we assume it to be the separator
12.15190 + # otherwise default to the standard path separator (i.e. ":") - it is
12.15191 + # assumed that no part of a normal pathname contains ";" but that should
12.15192 + # okay in the real world where ";" in dirpaths is itself problematic.
12.15193 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.15194 + else
12.15195 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.15196 + fi
12.15197 +else
12.15198 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12.15199 +fi
12.15200 +need_lib_prefix=unknown
12.15201 +hardcode_into_libs=no
12.15202 +
12.15203 +# when you set need_version to no, make sure it does not cause -set_version
12.15204 +# flags to be left without arguments
12.15205 +need_version=unknown
12.15206 +
12.15207 +case $host_os in
12.15208 +aix3*)
12.15209 + version_type=linux
12.15210 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12.15211 + shlibpath_var=LIBPATH
12.15212 +
12.15213 + # AIX 3 has no versioning support, so we append a major version to the name.
12.15214 + soname_spec='${libname}${release}${shared_ext}$major'
12.15215 + ;;
12.15216 +
12.15217 +aix4* | aix5*)
12.15218 + version_type=linux
12.15219 + need_lib_prefix=no
12.15220 + need_version=no
12.15221 + hardcode_into_libs=yes
12.15222 + if test "$host_cpu" = ia64; then
12.15223 + # AIX 5 supports IA64
12.15224 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12.15225 + shlibpath_var=LD_LIBRARY_PATH
12.15226 + else
12.15227 + # With GCC up to 2.95.x, collect2 would create an import file
12.15228 + # for dependence libraries. The import file would start with
12.15229 + # the line `#! .'. This would cause the generated library to
12.15230 + # depend on `.', always an invalid library. This was fixed in
12.15231 + # development snapshots of GCC prior to 3.0.
12.15232 + case $host_os in
12.15233 + aix4 | aix4.[01] | aix4.[01].*)
12.15234 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12.15235 + echo ' yes '
12.15236 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12.15237 + :
12.15238 + else
12.15239 + can_build_shared=no
12.15240 + fi
12.15241 + ;;
12.15242 + esac
12.15243 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12.15244 + # soname into executable. Probably we can add versioning support to
12.15245 + # collect2, so additional links can be useful in future.
12.15246 + if test "$aix_use_runtimelinking" = yes; then
12.15247 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12.15248 + # instead of lib<name>.a to let people know that these are not
12.15249 + # typical AIX shared libraries.
12.15250 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15251 + else
12.15252 + # We preserve .a as extension for shared libraries through AIX4.2
12.15253 + # and later when we are not doing run time linking.
12.15254 + library_names_spec='${libname}${release}.a $libname.a'
12.15255 + soname_spec='${libname}${release}${shared_ext}$major'
12.15256 + fi
12.15257 + shlibpath_var=LIBPATH
12.15258 + fi
12.15259 + ;;
12.15260 +
12.15261 +amigaos*)
12.15262 + library_names_spec='$libname.ixlibrary $libname.a'
12.15263 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
12.15264 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12.15265 + ;;
12.15266 +
12.15267 +beos*)
12.15268 + library_names_spec='${libname}${shared_ext}'
12.15269 + dynamic_linker="$host_os ld.so"
12.15270 + shlibpath_var=LIBRARY_PATH
12.15271 + ;;
12.15272 +
12.15273 +bsdi4*)
12.15274 + version_type=linux
12.15275 + need_version=no
12.15276 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15277 + soname_spec='${libname}${release}${shared_ext}$major'
12.15278 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12.15279 + shlibpath_var=LD_LIBRARY_PATH
12.15280 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12.15281 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12.15282 + # the default ld.so.conf also contains /usr/contrib/lib and
12.15283 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12.15284 + # libtool to hard-code these into programs
12.15285 + ;;
12.15286 +
12.15287 +cygwin* | mingw* | pw32*)
12.15288 + version_type=windows
12.15289 + shrext_cmds=".dll"
12.15290 + need_version=no
12.15291 + need_lib_prefix=no
12.15292 +
12.15293 + case $GCC,$host_os in
12.15294 + yes,cygwin* | yes,mingw* | yes,pw32*)
12.15295 + library_names_spec='$libname.dll.a'
12.15296 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
12.15297 + postinstall_cmds='base_file=`basename \${file}`~
12.15298 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12.15299 + dldir=$destdir/`dirname \$dlpath`~
12.15300 + test -d \$dldir || mkdir -p \$dldir~
12.15301 + $install_prog $dir/$dlname \$dldir/$dlname'
12.15302 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12.15303 + dlpath=$dir/\$dldll~
12.15304 + $rm \$dlpath'
12.15305 + shlibpath_overrides_runpath=yes
12.15306 +
12.15307 + case $host_os in
12.15308 + cygwin*)
12.15309 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12.15310 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.15311 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12.15312 + ;;
12.15313 + mingw*)
12.15314 + # MinGW DLLs use traditional 'lib' prefix
12.15315 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.15316 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.15317 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12.15318 + # It is most probably a Windows format PATH printed by
12.15319 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
12.15320 + # path with ; separators, and with drive letters. We can handle the
12.15321 + # drive letters (cygwin fileutils understands them), so leave them,
12.15322 + # especially as we might pass files found there to a mingw objdump,
12.15323 + # which wouldn't understand a cygwinified path. Ahh.
12.15324 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.15325 + else
12.15326 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.15327 + fi
12.15328 + ;;
12.15329 + pw32*)
12.15330 + # pw32 DLLs use 'pw' prefix rather than 'lib'
12.15331 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12.15332 + ;;
12.15333 + esac
12.15334 + ;;
12.15335 +
12.15336 + *)
12.15337 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12.15338 + ;;
12.15339 + esac
12.15340 + dynamic_linker='Win32 ld.exe'
12.15341 + # FIXME: first we should search . and the directory the executable is in
12.15342 + shlibpath_var=PATH
12.15343 + ;;
12.15344 +
12.15345 +darwin* | rhapsody*)
12.15346 + dynamic_linker="$host_os dyld"
12.15347 + version_type=darwin
12.15348 + need_lib_prefix=no
12.15349 + need_version=no
12.15350 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12.15351 + soname_spec='${libname}${release}${major}$shared_ext'
12.15352 + shlibpath_overrides_runpath=yes
12.15353 + shlibpath_var=DYLD_LIBRARY_PATH
12.15354 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
12.15355 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12.15356 + if test "$GCC" = yes; then
12.15357 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12.15358 + else
12.15359 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12.15360 + fi
12.15361 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12.15362 + ;;
12.15363 +
12.15364 +dgux*)
12.15365 + version_type=linux
12.15366 + need_lib_prefix=no
12.15367 + need_version=no
12.15368 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12.15369 + soname_spec='${libname}${release}${shared_ext}$major'
12.15370 + shlibpath_var=LD_LIBRARY_PATH
12.15371 + ;;
12.15372 +
12.15373 +freebsd1*)
12.15374 + dynamic_linker=no
12.15375 + ;;
12.15376 +
12.15377 +kfreebsd*-gnu)
12.15378 + version_type=linux
12.15379 + need_lib_prefix=no
12.15380 + need_version=no
12.15381 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.15382 + soname_spec='${libname}${release}${shared_ext}$major'
12.15383 + shlibpath_var=LD_LIBRARY_PATH
12.15384 + shlibpath_overrides_runpath=no
12.15385 + hardcode_into_libs=yes
12.15386 + dynamic_linker='GNU ld.so'
12.15387 + ;;
12.15388 +
12.15389 +freebsd*)
12.15390 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12.15391 + version_type=freebsd-$objformat
12.15392 + case $version_type in
12.15393 + freebsd-elf*)
12.15394 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12.15395 + need_version=no
12.15396 + need_lib_prefix=no
12.15397 + ;;
12.15398 + freebsd-*)
12.15399 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12.15400 + need_version=yes
12.15401 + ;;
12.15402 + esac
12.15403 + shlibpath_var=LD_LIBRARY_PATH
12.15404 + case $host_os in
12.15405 + freebsd2*)
12.15406 + shlibpath_overrides_runpath=yes
12.15407 + ;;
12.15408 + freebsd3.01* | freebsdelf3.01*)
12.15409 + shlibpath_overrides_runpath=yes
12.15410 + hardcode_into_libs=yes
12.15411 + ;;
12.15412 + *) # from 3.2 on
12.15413 + shlibpath_overrides_runpath=no
12.15414 + hardcode_into_libs=yes
12.15415 + ;;
12.15416 + esac
12.15417 + ;;
12.15418 +
12.15419 +gnu*)
12.15420 + version_type=linux
12.15421 + need_lib_prefix=no
12.15422 + need_version=no
12.15423 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12.15424 + soname_spec='${libname}${release}${shared_ext}$major'
12.15425 + shlibpath_var=LD_LIBRARY_PATH
12.15426 + hardcode_into_libs=yes
12.15427 + ;;
12.15428 +
12.15429 +hpux9* | hpux10* | hpux11*)
12.15430 + # Give a soname corresponding to the major version so that dld.sl refuses to
12.15431 + # link against other versions.
12.15432 + version_type=sunos
12.15433 + need_lib_prefix=no
12.15434 + need_version=no
12.15435 + case "$host_cpu" in
12.15436 + ia64*)
12.15437 + shrext_cmds='.so'
12.15438 + hardcode_into_libs=yes
12.15439 + dynamic_linker="$host_os dld.so"
12.15440 + shlibpath_var=LD_LIBRARY_PATH
12.15441 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.15442 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15443 + soname_spec='${libname}${release}${shared_ext}$major'
12.15444 + if test "X$HPUX_IA64_MODE" = X32; then
12.15445 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12.15446 + else
12.15447 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12.15448 + fi
12.15449 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.15450 + ;;
12.15451 + hppa*64*)
12.15452 + shrext_cmds='.sl'
12.15453 + hardcode_into_libs=yes
12.15454 + dynamic_linker="$host_os dld.sl"
12.15455 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12.15456 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.15457 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15458 + soname_spec='${libname}${release}${shared_ext}$major'
12.15459 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12.15460 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.15461 + ;;
12.15462 + *)
12.15463 + shrext_cmds='.sl'
12.15464 + dynamic_linker="$host_os dld.sl"
12.15465 + shlibpath_var=SHLIB_PATH
12.15466 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12.15467 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15468 + soname_spec='${libname}${release}${shared_ext}$major'
12.15469 + ;;
12.15470 + esac
12.15471 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
12.15472 + postinstall_cmds='chmod 555 $lib'
12.15473 + ;;
12.15474 +
12.15475 +irix5* | irix6* | nonstopux*)
12.15476 + case $host_os in
12.15477 + nonstopux*) version_type=nonstopux ;;
12.15478 + *)
12.15479 + if test "$lt_cv_prog_gnu_ld" = yes; then
12.15480 + version_type=linux
12.15481 + else
12.15482 + version_type=irix
12.15483 + fi ;;
12.15484 + esac
12.15485 + need_lib_prefix=no
12.15486 + need_version=no
12.15487 + soname_spec='${libname}${release}${shared_ext}$major'
12.15488 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12.15489 + case $host_os in
12.15490 + irix5* | nonstopux*)
12.15491 + libsuff= shlibsuff=
12.15492 + ;;
12.15493 + *)
12.15494 + case $LD in # libtool.m4 will add one of these switches to LD
12.15495 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12.15496 + libsuff= shlibsuff= libmagic=32-bit;;
12.15497 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12.15498 + libsuff=32 shlibsuff=N32 libmagic=N32;;
12.15499 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12.15500 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
12.15501 + *) libsuff= shlibsuff= libmagic=never-match;;
12.15502 + esac
12.15503 + ;;
12.15504 + esac
12.15505 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12.15506 + shlibpath_overrides_runpath=no
12.15507 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12.15508 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12.15509 + hardcode_into_libs=yes
12.15510 + ;;
12.15511 +
12.15512 +# No shared lib support for Linux oldld, aout, or coff.
12.15513 +linux*oldld* | linux*aout* | linux*coff*)
12.15514 + dynamic_linker=no
12.15515 + ;;
12.15516 +
12.15517 +# This must be Linux ELF.
12.15518 +linux*)
12.15519 + version_type=linux
12.15520 + need_lib_prefix=no
12.15521 + need_version=no
12.15522 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15523 + soname_spec='${libname}${release}${shared_ext}$major'
12.15524 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12.15525 + shlibpath_var=LD_LIBRARY_PATH
12.15526 + shlibpath_overrides_runpath=no
12.15527 + # This implies no fast_install, which is unacceptable.
12.15528 + # Some rework will be needed to allow for fast_install
12.15529 + # before this can be enabled.
12.15530 + hardcode_into_libs=yes
12.15531 +
12.15532 + # Append ld.so.conf contents to the search path
12.15533 + if test -f /etc/ld.so.conf; then
12.15534 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12.15535 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12.15536 + fi
12.15537 +
12.15538 + # We used to test for /lib/ld.so.1 and disable shared libraries on
12.15539 + # powerpc, because MkLinux only supported shared libraries with the
12.15540 + # GNU dynamic linker. Since this was broken with cross compilers,
12.15541 + # most powerpc-linux boxes support dynamic linking these days and
12.15542 + # people can always --disable-shared, the test was removed, and we
12.15543 + # assume the GNU/Linux dynamic linker is in use.
12.15544 + dynamic_linker='GNU/Linux ld.so'
12.15545 + ;;
12.15546 +
12.15547 +netbsdelf*-gnu)
12.15548 + version_type=linux
12.15549 + need_lib_prefix=no
12.15550 + need_version=no
12.15551 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.15552 + soname_spec='${libname}${release}${shared_ext}$major'
12.15553 + shlibpath_var=LD_LIBRARY_PATH
12.15554 + shlibpath_overrides_runpath=no
12.15555 + hardcode_into_libs=yes
12.15556 + dynamic_linker='NetBSD ld.elf_so'
12.15557 + ;;
12.15558 +
12.15559 +knetbsd*-gnu)
12.15560 + version_type=linux
12.15561 + need_lib_prefix=no
12.15562 + need_version=no
12.15563 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.15564 + soname_spec='${libname}${release}${shared_ext}$major'
12.15565 + shlibpath_var=LD_LIBRARY_PATH
12.15566 + shlibpath_overrides_runpath=no
12.15567 + hardcode_into_libs=yes
12.15568 + dynamic_linker='GNU ld.so'
12.15569 + ;;
12.15570 +
12.15571 +netbsd*)
12.15572 + version_type=sunos
12.15573 + need_lib_prefix=no
12.15574 + need_version=no
12.15575 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.15576 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.15577 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.15578 + dynamic_linker='NetBSD (a.out) ld.so'
12.15579 + else
12.15580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.15581 + soname_spec='${libname}${release}${shared_ext}$major'
12.15582 + dynamic_linker='NetBSD ld.elf_so'
12.15583 + fi
12.15584 + shlibpath_var=LD_LIBRARY_PATH
12.15585 + shlibpath_overrides_runpath=yes
12.15586 + hardcode_into_libs=yes
12.15587 + ;;
12.15588 +
12.15589 +newsos6)
12.15590 + version_type=linux
12.15591 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15592 + shlibpath_var=LD_LIBRARY_PATH
12.15593 + shlibpath_overrides_runpath=yes
12.15594 + ;;
12.15595 +
12.15596 +nto-qnx*)
12.15597 + version_type=linux
12.15598 + need_lib_prefix=no
12.15599 + need_version=no
12.15600 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15601 + soname_spec='${libname}${release}${shared_ext}$major'
12.15602 + shlibpath_var=LD_LIBRARY_PATH
12.15603 + shlibpath_overrides_runpath=yes
12.15604 + ;;
12.15605 +
12.15606 +openbsd*)
12.15607 + version_type=sunos
12.15608 + need_lib_prefix=no
12.15609 + need_version=yes
12.15610 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.15611 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.15612 + shlibpath_var=LD_LIBRARY_PATH
12.15613 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.15614 + case $host_os in
12.15615 + openbsd2.[89] | openbsd2.[89].*)
12.15616 + shlibpath_overrides_runpath=no
12.15617 + ;;
12.15618 + *)
12.15619 + shlibpath_overrides_runpath=yes
12.15620 + ;;
12.15621 + esac
12.15622 + else
12.15623 + shlibpath_overrides_runpath=yes
12.15624 + fi
12.15625 + ;;
12.15626 +
12.15627 +os2*)
12.15628 + libname_spec='$name'
12.15629 + shrext_cmds=".dll"
12.15630 + need_lib_prefix=no
12.15631 + library_names_spec='$libname${shared_ext} $libname.a'
12.15632 + dynamic_linker='OS/2 ld.exe'
12.15633 + shlibpath_var=LIBPATH
12.15634 + ;;
12.15635 +
12.15636 +osf3* | osf4* | osf5*)
12.15637 + version_type=osf
12.15638 + need_lib_prefix=no
12.15639 + need_version=no
12.15640 + soname_spec='${libname}${release}${shared_ext}$major'
12.15641 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15642 + shlibpath_var=LD_LIBRARY_PATH
12.15643 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12.15644 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12.15645 + ;;
12.15646 +
12.15647 +sco3.2v5*)
12.15648 + version_type=osf
12.15649 + soname_spec='${libname}${release}${shared_ext}$major'
12.15650 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15651 + shlibpath_var=LD_LIBRARY_PATH
12.15652 + ;;
12.15653 +
12.15654 +solaris*)
12.15655 + version_type=linux
12.15656 + need_lib_prefix=no
12.15657 + need_version=no
12.15658 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15659 + soname_spec='${libname}${release}${shared_ext}$major'
12.15660 + shlibpath_var=LD_LIBRARY_PATH
12.15661 + shlibpath_overrides_runpath=yes
12.15662 + hardcode_into_libs=yes
12.15663 + # ldd complains unless libraries are executable
12.15664 + postinstall_cmds='chmod +x $lib'
12.15665 + ;;
12.15666 +
12.15667 +sunos4*)
12.15668 + version_type=sunos
12.15669 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.15670 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12.15671 + shlibpath_var=LD_LIBRARY_PATH
12.15672 + shlibpath_overrides_runpath=yes
12.15673 + if test "$with_gnu_ld" = yes; then
12.15674 + need_lib_prefix=no
12.15675 + fi
12.15676 + need_version=yes
12.15677 + ;;
12.15678 +
12.15679 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.15680 + version_type=linux
12.15681 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15682 + soname_spec='${libname}${release}${shared_ext}$major'
12.15683 + shlibpath_var=LD_LIBRARY_PATH
12.15684 + case $host_vendor in
12.15685 + sni)
12.15686 + shlibpath_overrides_runpath=no
12.15687 + need_lib_prefix=no
12.15688 + export_dynamic_flag_spec='${wl}-Blargedynsym'
12.15689 + runpath_var=LD_RUN_PATH
12.15690 + ;;
12.15691 + siemens)
12.15692 + need_lib_prefix=no
12.15693 + ;;
12.15694 + motorola)
12.15695 + need_lib_prefix=no
12.15696 + need_version=no
12.15697 + shlibpath_overrides_runpath=no
12.15698 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12.15699 + ;;
12.15700 + esac
12.15701 + ;;
12.15702 +
12.15703 +sysv4*MP*)
12.15704 + if test -d /usr/nec ;then
12.15705 + version_type=linux
12.15706 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12.15707 + soname_spec='$libname${shared_ext}.$major'
12.15708 + shlibpath_var=LD_LIBRARY_PATH
12.15709 + fi
12.15710 + ;;
12.15711 +
12.15712 +uts4*)
12.15713 + version_type=linux
12.15714 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.15715 + soname_spec='${libname}${release}${shared_ext}$major'
12.15716 + shlibpath_var=LD_LIBRARY_PATH
12.15717 + ;;
12.15718 +
12.15719 +*)
12.15720 + dynamic_linker=no
12.15721 + ;;
12.15722 +esac
12.15723 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12.15724 +echo "${ECHO_T}$dynamic_linker" >&6; }
12.15725 +test "$dynamic_linker" = no && can_build_shared=no
12.15726 +
12.15727 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12.15728 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12.15729 +hardcode_action_F77=
12.15730 +if test -n "$hardcode_libdir_flag_spec_F77" || \
12.15731 + test -n "$runpath_var F77" || \
12.15732 + test "X$hardcode_automatic_F77"="Xyes" ; then
12.15733 +
12.15734 + # We can hardcode non-existant directories.
12.15735 + if test "$hardcode_direct_F77" != no &&
12.15736 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
12.15737 + # have to relink, otherwise we might link with an installed library
12.15738 + # when we should be linking with a yet-to-be-installed one
12.15739 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
12.15740 + test "$hardcode_minus_L_F77" != no; then
12.15741 + # Linking always hardcodes the temporary library directory.
12.15742 + hardcode_action_F77=relink
12.15743 + else
12.15744 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
12.15745 + hardcode_action_F77=immediate
12.15746 + fi
12.15747 +else
12.15748 + # We cannot hardcode anything, or else we can only hardcode existing
12.15749 + # directories.
12.15750 + hardcode_action_F77=unsupported
12.15751 +fi
12.15752 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
12.15753 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
12.15754 +
12.15755 +if test "$hardcode_action_F77" = relink; then
12.15756 + # Fast installation is not supported
12.15757 + enable_fast_install=no
12.15758 +elif test "$shlibpath_overrides_runpath" = yes ||
12.15759 + test "$enable_shared" = no; then
12.15760 + # Fast installation is not necessary
12.15761 + enable_fast_install=needless
12.15762 +fi
12.15763 +
12.15764 +striplib=
12.15765 +old_striplib=
12.15766 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12.15767 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12.15768 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12.15769 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12.15770 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12.15771 + { echo "$as_me:$LINENO: result: yes" >&5
12.15772 +echo "${ECHO_T}yes" >&6; }
12.15773 +else
12.15774 +# FIXME - insert some real tests, host_os isn't really good enough
12.15775 + case $host_os in
12.15776 + darwin*)
12.15777 + if test -n "$STRIP" ; then
12.15778 + striplib="$STRIP -x"
12.15779 + { echo "$as_me:$LINENO: result: yes" >&5
12.15780 +echo "${ECHO_T}yes" >&6; }
12.15781 + else
12.15782 + { echo "$as_me:$LINENO: result: no" >&5
12.15783 +echo "${ECHO_T}no" >&6; }
12.15784 +fi
12.15785 + ;;
12.15786 + *)
12.15787 + { echo "$as_me:$LINENO: result: no" >&5
12.15788 +echo "${ECHO_T}no" >&6; }
12.15789 + ;;
12.15790 + esac
12.15791 +fi
12.15792 +
12.15793 +
12.15794 +
12.15795 +# The else clause should only fire when bootstrapping the
12.15796 +# libtool distribution, otherwise you forgot to ship ltmain.sh
12.15797 +# with your package, and you will get complaints that there are
12.15798 +# no rules to generate ltmain.sh.
12.15799 +if test -f "$ltmain"; then
12.15800 + # See if we are running on zsh, and set the options which allow our commands through
12.15801 + # without removal of \ escapes.
12.15802 + if test -n "${ZSH_VERSION+set}" ; then
12.15803 + setopt NO_GLOB_SUBST
12.15804 + fi
12.15805 + # Now quote all the things that may contain metacharacters while being
12.15806 + # careful not to overquote the AC_SUBSTed values. We take copies of the
12.15807 + # variables and quote the copies for generation of the libtool script.
12.15808 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12.15809 + SED SHELL STRIP \
12.15810 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12.15811 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12.15812 + deplibs_check_method reload_flag reload_cmds need_locks \
12.15813 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12.15814 + lt_cv_sys_global_symbol_to_c_name_address \
12.15815 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12.15816 + old_postinstall_cmds old_postuninstall_cmds \
12.15817 + compiler_F77 \
12.15818 + CC_F77 \
12.15819 + LD_F77 \
12.15820 + lt_prog_compiler_wl_F77 \
12.15821 + lt_prog_compiler_pic_F77 \
12.15822 + lt_prog_compiler_static_F77 \
12.15823 + lt_prog_compiler_no_builtin_flag_F77 \
12.15824 + export_dynamic_flag_spec_F77 \
12.15825 + thread_safe_flag_spec_F77 \
12.15826 + whole_archive_flag_spec_F77 \
12.15827 + enable_shared_with_static_runtimes_F77 \
12.15828 + old_archive_cmds_F77 \
12.15829 + old_archive_from_new_cmds_F77 \
12.15830 + predep_objects_F77 \
12.15831 + postdep_objects_F77 \
12.15832 + predeps_F77 \
12.15833 + postdeps_F77 \
12.15834 + compiler_lib_search_path_F77 \
12.15835 + archive_cmds_F77 \
12.15836 + archive_expsym_cmds_F77 \
12.15837 + postinstall_cmds_F77 \
12.15838 + postuninstall_cmds_F77 \
12.15839 + old_archive_from_expsyms_cmds_F77 \
12.15840 + allow_undefined_flag_F77 \
12.15841 + no_undefined_flag_F77 \
12.15842 + export_symbols_cmds_F77 \
12.15843 + hardcode_libdir_flag_spec_F77 \
12.15844 + hardcode_libdir_flag_spec_ld_F77 \
12.15845 + hardcode_libdir_separator_F77 \
12.15846 + hardcode_automatic_F77 \
12.15847 + module_cmds_F77 \
12.15848 + module_expsym_cmds_F77 \
12.15849 + lt_cv_prog_compiler_c_o_F77 \
12.15850 + exclude_expsyms_F77 \
12.15851 + include_expsyms_F77; do
12.15852 +
12.15853 + case $var in
12.15854 + old_archive_cmds_F77 | \
12.15855 + old_archive_from_new_cmds_F77 | \
12.15856 + archive_cmds_F77 | \
12.15857 + archive_expsym_cmds_F77 | \
12.15858 + module_cmds_F77 | \
12.15859 + module_expsym_cmds_F77 | \
12.15860 + old_archive_from_expsyms_cmds_F77 | \
12.15861 + export_symbols_cmds_F77 | \
12.15862 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
12.15863 + postinstall_cmds | postuninstall_cmds | \
12.15864 + old_postinstall_cmds | old_postuninstall_cmds | \
12.15865 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12.15866 + # Double-quote double-evaled strings.
12.15867 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12.15868 + ;;
12.15869 + *)
12.15870 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12.15871 + ;;
12.15872 + esac
12.15873 + done
12.15874 +
12.15875 + case $lt_echo in
12.15876 + *'\$0 --fallback-echo"')
12.15877 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12.15878 + ;;
12.15879 + esac
12.15880 +
12.15881 +cfgfile="$ofile"
12.15882 +
12.15883 + cat <<__EOF__ >> "$cfgfile"
12.15884 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12.15885 +
12.15886 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12.15887 +
12.15888 +# Shell to use when invoking shell scripts.
12.15889 +SHELL=$lt_SHELL
12.15890 +
12.15891 +# Whether or not to build shared libraries.
12.15892 +build_libtool_libs=$enable_shared
12.15893 +
12.15894 +# Whether or not to build static libraries.
12.15895 +build_old_libs=$enable_static
12.15896 +
12.15897 +# Whether or not to add -lc for building shared libraries.
12.15898 +build_libtool_need_lc=$archive_cmds_need_lc_F77
12.15899 +
12.15900 +# Whether or not to disallow shared libs when runtime libs are static
12.15901 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
12.15902 +
12.15903 +# Whether or not to optimize for fast installation.
12.15904 +fast_install=$enable_fast_install
12.15905 +
12.15906 +# The host system.
12.15907 +host_alias=$host_alias
12.15908 +host=$host
12.15909 +
12.15910 +# An echo program that does not interpret backslashes.
12.15911 +echo=$lt_echo
12.15912 +
12.15913 +# The archiver.
12.15914 +AR=$lt_AR
12.15915 +AR_FLAGS=$lt_AR_FLAGS
12.15916 +
12.15917 +# A C compiler.
12.15918 +LTCC=$lt_LTCC
12.15919 +
12.15920 +# A language-specific compiler.
12.15921 +CC=$lt_compiler_F77
12.15922 +
12.15923 +# Is the compiler the GNU C compiler?
12.15924 +with_gcc=$GCC_F77
12.15925 +
12.15926 +# An ERE matcher.
12.15927 +EGREP=$lt_EGREP
12.15928 +
12.15929 +# The linker used to build libraries.
12.15930 +LD=$lt_LD_F77
12.15931 +
12.15932 +# Whether we need hard or soft links.
12.15933 +LN_S=$lt_LN_S
12.15934 +
12.15935 +# A BSD-compatible nm program.
12.15936 +NM=$lt_NM
12.15937 +
12.15938 +# A symbol stripping program
12.15939 +STRIP=$lt_STRIP
12.15940 +
12.15941 +# Used to examine libraries when file_magic_cmd begins "file"
12.15942 +MAGIC_CMD=$MAGIC_CMD
12.15943 +
12.15944 +# Used on cygwin: DLL creation program.
12.15945 +DLLTOOL="$DLLTOOL"
12.15946 +
12.15947 +# Used on cygwin: object dumper.
12.15948 +OBJDUMP="$OBJDUMP"
12.15949 +
12.15950 +# Used on cygwin: assembler.
12.15951 +AS="$AS"
12.15952 +
12.15953 +# The name of the directory that contains temporary libtool files.
12.15954 +objdir=$objdir
12.15955 +
12.15956 +# How to create reloadable object files.
12.15957 +reload_flag=$lt_reload_flag
12.15958 +reload_cmds=$lt_reload_cmds
12.15959 +
12.15960 +# How to pass a linker flag through the compiler.
12.15961 +wl=$lt_lt_prog_compiler_wl_F77
12.15962 +
12.15963 +# Object file suffix (normally "o").
12.15964 +objext="$ac_objext"
12.15965 +
12.15966 +# Old archive suffix (normally "a").
12.15967 +libext="$libext"
12.15968 +
12.15969 +# Shared library suffix (normally ".so").
12.15970 +shrext_cmds='$shrext_cmds'
12.15971 +
12.15972 +# Executable file suffix (normally "").
12.15973 +exeext="$exeext"
12.15974 +
12.15975 +# Additional compiler flags for building library objects.
12.15976 +pic_flag=$lt_lt_prog_compiler_pic_F77
12.15977 +pic_mode=$pic_mode
12.15978 +
12.15979 +# What is the maximum length of a command?
12.15980 +max_cmd_len=$lt_cv_sys_max_cmd_len
12.15981 +
12.15982 +# Does compiler simultaneously support -c and -o options?
12.15983 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
12.15984 +
12.15985 +# Must we lock files when doing compilation ?
12.15986 +need_locks=$lt_need_locks
12.15987 +
12.15988 +# Do we need the lib prefix for modules?
12.15989 +need_lib_prefix=$need_lib_prefix
12.15990 +
12.15991 +# Do we need a version for libraries?
12.15992 +need_version=$need_version
12.15993 +
12.15994 +# Whether dlopen is supported.
12.15995 +dlopen_support=$enable_dlopen
12.15996 +
12.15997 +# Whether dlopen of programs is supported.
12.15998 +dlopen_self=$enable_dlopen_self
12.15999 +
12.16000 +# Whether dlopen of statically linked programs is supported.
12.16001 +dlopen_self_static=$enable_dlopen_self_static
12.16002 +
12.16003 +# Compiler flag to prevent dynamic linking.
12.16004 +link_static_flag=$lt_lt_prog_compiler_static_F77
12.16005 +
12.16006 +# Compiler flag to turn off builtin functions.
12.16007 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
12.16008 +
12.16009 +# Compiler flag to allow reflexive dlopens.
12.16010 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
12.16011 +
12.16012 +# Compiler flag to generate shared objects directly from archives.
12.16013 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
12.16014 +
12.16015 +# Compiler flag to generate thread-safe objects.
12.16016 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
12.16017 +
12.16018 +# Library versioning type.
12.16019 +version_type=$version_type
12.16020 +
12.16021 +# Format of library name prefix.
12.16022 +libname_spec=$lt_libname_spec
12.16023 +
12.16024 +# List of archive names. First name is the real one, the rest are links.
12.16025 +# The last name is the one that the linker finds with -lNAME.
12.16026 +library_names_spec=$lt_library_names_spec
12.16027 +
12.16028 +# The coded name of the library, if different from the real name.
12.16029 +soname_spec=$lt_soname_spec
12.16030 +
12.16031 +# Commands used to build and install an old-style archive.
12.16032 +RANLIB=$lt_RANLIB
12.16033 +old_archive_cmds=$lt_old_archive_cmds_F77
12.16034 +old_postinstall_cmds=$lt_old_postinstall_cmds
12.16035 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
12.16036 +
12.16037 +# Create an old-style archive from a shared archive.
12.16038 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
12.16039 +
12.16040 +# Create a temporary old-style archive to link instead of a shared archive.
12.16041 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
12.16042 +
12.16043 +# Commands used to build and install a shared archive.
12.16044 +archive_cmds=$lt_archive_cmds_F77
12.16045 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
12.16046 +postinstall_cmds=$lt_postinstall_cmds
12.16047 +postuninstall_cmds=$lt_postuninstall_cmds
12.16048 +
12.16049 +# Commands used to build a loadable module (assumed same as above if empty)
12.16050 +module_cmds=$lt_module_cmds_F77
12.16051 +module_expsym_cmds=$lt_module_expsym_cmds_F77
12.16052 +
12.16053 +# Commands to strip libraries.
12.16054 +old_striplib=$lt_old_striplib
12.16055 +striplib=$lt_striplib
12.16056 +
12.16057 +# Dependencies to place before the objects being linked to create a
12.16058 +# shared library.
12.16059 +predep_objects=$lt_predep_objects_F77
12.16060 +
12.16061 +# Dependencies to place after the objects being linked to create a
12.16062 +# shared library.
12.16063 +postdep_objects=$lt_postdep_objects_F77
12.16064 +
12.16065 +# Dependencies to place before the objects being linked to create a
12.16066 +# shared library.
12.16067 +predeps=$lt_predeps_F77
12.16068 +
12.16069 +# Dependencies to place after the objects being linked to create a
12.16070 +# shared library.
12.16071 +postdeps=$lt_postdeps_F77
12.16072 +
12.16073 +# The library search path used internally by the compiler when linking
12.16074 +# a shared library.
12.16075 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
12.16076 +
12.16077 +# Method to check whether dependent libraries are shared objects.
12.16078 +deplibs_check_method=$lt_deplibs_check_method
12.16079 +
12.16080 +# Command to use when deplibs_check_method == file_magic.
12.16081 +file_magic_cmd=$lt_file_magic_cmd
12.16082 +
12.16083 +# Flag that allows shared libraries with undefined symbols to be built.
12.16084 +allow_undefined_flag=$lt_allow_undefined_flag_F77
12.16085 +
12.16086 +# Flag that forces no undefined symbols.
12.16087 +no_undefined_flag=$lt_no_undefined_flag_F77
12.16088 +
12.16089 +# Commands used to finish a libtool library installation in a directory.
12.16090 +finish_cmds=$lt_finish_cmds
12.16091 +
12.16092 +# Same as above, but a single script fragment to be evaled but not shown.
12.16093 +finish_eval=$lt_finish_eval
12.16094 +
12.16095 +# Take the output of nm and produce a listing of raw symbols and C names.
12.16096 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12.16097 +
12.16098 +# Transform the output of nm in a proper C declaration
12.16099 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12.16100 +
12.16101 +# Transform the output of nm in a C name address pair
12.16102 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12.16103 +
12.16104 +# This is the shared library runtime path variable.
12.16105 +runpath_var=$runpath_var
12.16106 +
12.16107 +# This is the shared library path variable.
12.16108 +shlibpath_var=$shlibpath_var
12.16109 +
12.16110 +# Is shlibpath searched before the hard-coded library search path?
12.16111 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12.16112 +
12.16113 +# How to hardcode a shared library path into an executable.
12.16114 +hardcode_action=$hardcode_action_F77
12.16115 +
12.16116 +# Whether we should hardcode library paths into libraries.
12.16117 +hardcode_into_libs=$hardcode_into_libs
12.16118 +
12.16119 +# Flag to hardcode \$libdir into a binary during linking.
12.16120 +# This must work even if \$libdir does not exist.
12.16121 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
12.16122 +
12.16123 +# If ld is used when linking, flag to hardcode \$libdir into
12.16124 +# a binary during linking. This must work even if \$libdir does
12.16125 +# not exist.
12.16126 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
12.16127 +
12.16128 +# Whether we need a single -rpath flag with a separated argument.
12.16129 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
12.16130 +
12.16131 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12.16132 +# resulting binary.
12.16133 +hardcode_direct=$hardcode_direct_F77
12.16134 +
12.16135 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12.16136 +# resulting binary.
12.16137 +hardcode_minus_L=$hardcode_minus_L_F77
12.16138 +
12.16139 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12.16140 +# the resulting binary.
12.16141 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
12.16142 +
12.16143 +# Set to yes if building a shared library automatically hardcodes DIR into the library
12.16144 +# and all subsequent libraries and executables linked against it.
12.16145 +hardcode_automatic=$hardcode_automatic_F77
12.16146 +
12.16147 +# Variables whose values should be saved in libtool wrapper scripts and
12.16148 +# restored at relink time.
12.16149 +variables_saved_for_relink="$variables_saved_for_relink"
12.16150 +
12.16151 +# Whether libtool must link a program against all its dependency libraries.
12.16152 +link_all_deplibs=$link_all_deplibs_F77
12.16153 +
12.16154 +# Compile-time system search path for libraries
12.16155 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12.16156 +
12.16157 +# Run-time system search path for libraries
12.16158 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12.16159 +
12.16160 +# Fix the shell variable \$srcfile for the compiler.
12.16161 +fix_srcfile_path="$fix_srcfile_path_F77"
12.16162 +
12.16163 +# Set to yes if exported symbols are required.
12.16164 +always_export_symbols=$always_export_symbols_F77
12.16165 +
12.16166 +# The commands to list exported symbols.
12.16167 +export_symbols_cmds=$lt_export_symbols_cmds_F77
12.16168 +
12.16169 +# The commands to extract the exported symbol list from a shared archive.
12.16170 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
12.16171 +
12.16172 +# Symbols that should not be listed in the preloaded symbols.
12.16173 +exclude_expsyms=$lt_exclude_expsyms_F77
12.16174 +
12.16175 +# Symbols that must always be exported.
12.16176 +include_expsyms=$lt_include_expsyms_F77
12.16177 +
12.16178 +# ### END LIBTOOL TAG CONFIG: $tagname
12.16179 +
12.16180 +__EOF__
12.16181 +
12.16182 +
12.16183 +else
12.16184 + # If there is no Makefile yet, we rely on a make rule to execute
12.16185 + # `config.status --recheck' to rerun these tests and create the
12.16186 + # libtool script then.
12.16187 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12.16188 + if test -f "$ltmain_in"; then
12.16189 + test -f Makefile && make "$ltmain"
12.16190 + fi
12.16191 +fi
12.16192 +
12.16193 +
12.16194 +ac_ext=c
12.16195 +ac_cpp='$CPP $CPPFLAGS'
12.16196 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.16197 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.16198 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.16199 +
12.16200 +CC="$lt_save_CC"
12.16201 +
12.16202 + else
12.16203 + tagname=""
12.16204 + fi
12.16205 + ;;
12.16206 +
12.16207 + GCJ)
12.16208 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
12.16209 +
12.16210 +
12.16211 +# Source file extension for Java test sources.
12.16212 +ac_ext=java
12.16213 +
12.16214 +# Object file extension for compiled Java test sources.
12.16215 +objext=o
12.16216 +objext_GCJ=$objext
12.16217 +
12.16218 +# Code to be used in simple compile tests
12.16219 +lt_simple_compile_test_code="class foo {}\n"
12.16220 +
12.16221 +# Code to be used in simple link tests
12.16222 +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
12.16223 +
12.16224 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12.16225 +
12.16226 +# If no C compiler was specified, use CC.
12.16227 +LTCC=${LTCC-"$CC"}
12.16228 +
12.16229 +# Allow CC to be a program name with arguments.
12.16230 +compiler=$CC
12.16231 +
12.16232 +
12.16233 +# Allow CC to be a program name with arguments.
12.16234 +lt_save_CC="$CC"
12.16235 +CC=${GCJ-"gcj"}
12.16236 +compiler=$CC
12.16237 +compiler_GCJ=$CC
12.16238 +
12.16239 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
12.16240 +archive_cmds_need_lc_GCJ=no
12.16241 +
12.16242 +## CAVEAT EMPTOR:
12.16243 +## There is no encapsulation within the following macros, do not change
12.16244 +## the running order or otherwise move them around unless you know exactly
12.16245 +## what you are doing...
12.16246 +
12.16247 +lt_prog_compiler_no_builtin_flag_GCJ=
12.16248 +
12.16249 +if test "$GCC" = yes; then
12.16250 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
12.16251 +
12.16252 +
12.16253 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12.16254 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
12.16255 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12.16256 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.16257 +else
12.16258 + lt_cv_prog_compiler_rtti_exceptions=no
12.16259 + ac_outfile=conftest.$ac_objext
12.16260 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.16261 + lt_compiler_flag="-fno-rtti -fno-exceptions"
12.16262 + # Insert the option either (1) after the last *FLAGS variable, or
12.16263 + # (2) before a word containing "conftest.", or (3) at the end.
12.16264 + # Note that $ac_compile itself does not contain backslashes and begins
12.16265 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.16266 + # The option is referenced via a variable to avoid confusing sed.
12.16267 + lt_compile=`echo "$ac_compile" | $SED \
12.16268 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.16269 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.16270 + -e 's:$: $lt_compiler_flag:'`
12.16271 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.16272 + (eval "$lt_compile" 2>conftest.err)
12.16273 + ac_status=$?
12.16274 + cat conftest.err >&5
12.16275 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.16276 + if (exit $ac_status) && test -s "$ac_outfile"; then
12.16277 + # The compiler can only warn and ignore the option if not recognized
12.16278 + # So say no if there are warnings
12.16279 + if test ! -s conftest.err; then
12.16280 + lt_cv_prog_compiler_rtti_exceptions=yes
12.16281 + fi
12.16282 + fi
12.16283 + $rm conftest*
12.16284 +
12.16285 +fi
12.16286 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12.16287 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12.16288 +
12.16289 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12.16290 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
12.16291 +else
12.16292 + :
12.16293 +fi
12.16294 +
12.16295 +fi
12.16296 +
12.16297 +lt_prog_compiler_wl_GCJ=
12.16298 +lt_prog_compiler_pic_GCJ=
12.16299 +lt_prog_compiler_static_GCJ=
12.16300 +
12.16301 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12.16302 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12.16303 +
12.16304 + if test "$GCC" = yes; then
12.16305 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16306 + lt_prog_compiler_static_GCJ='-static'
12.16307 +
12.16308 + case $host_os in
12.16309 + aix*)
12.16310 + # All AIX code is PIC.
12.16311 + if test "$host_cpu" = ia64; then
12.16312 + # AIX 5 now supports IA64 processor
12.16313 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16314 + fi
12.16315 + ;;
12.16316 +
12.16317 + amigaos*)
12.16318 + # FIXME: we need at least 68020 code to build shared libraries, but
12.16319 + # adding the `-m68020' flag to GCC prevents building anything better,
12.16320 + # like `-m68040'.
12.16321 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
12.16322 + ;;
12.16323 +
12.16324 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12.16325 + # PIC is the default for these OSes.
12.16326 + ;;
12.16327 +
12.16328 + mingw* | pw32* | os2*)
12.16329 + # This hack is so that the source file can tell whether it is being
12.16330 + # built for inclusion in a dll (and should export symbols for example).
12.16331 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
12.16332 + ;;
12.16333 +
12.16334 + darwin* | rhapsody*)
12.16335 + # PIC is the default on this platform
12.16336 + # Common symbols not allowed in MH_DYLIB files
12.16337 + lt_prog_compiler_pic_GCJ='-fno-common'
12.16338 + ;;
12.16339 +
12.16340 + msdosdjgpp*)
12.16341 + # Just because we use GCC doesn't mean we suddenly get shared libraries
12.16342 + # on systems that don't support them.
12.16343 + lt_prog_compiler_can_build_shared_GCJ=no
12.16344 + enable_shared=no
12.16345 + ;;
12.16346 +
12.16347 + sysv4*MP*)
12.16348 + if test -d /usr/nec; then
12.16349 + lt_prog_compiler_pic_GCJ=-Kconform_pic
12.16350 + fi
12.16351 + ;;
12.16352 +
12.16353 + hpux*)
12.16354 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.16355 + # not for PA HP-UX.
12.16356 + case "$host_cpu" in
12.16357 + hppa*64*|ia64*)
12.16358 + # +Z the default
12.16359 + ;;
12.16360 + *)
12.16361 + lt_prog_compiler_pic_GCJ='-fPIC'
12.16362 + ;;
12.16363 + esac
12.16364 + ;;
12.16365 +
12.16366 + *)
12.16367 + lt_prog_compiler_pic_GCJ='-fPIC'
12.16368 + ;;
12.16369 + esac
12.16370 + else
12.16371 + # PORTME Check for flag to pass linker flags through the system compiler.
12.16372 + case $host_os in
12.16373 + aix*)
12.16374 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16375 + if test "$host_cpu" = ia64; then
12.16376 + # AIX 5 now supports IA64 processor
12.16377 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16378 + else
12.16379 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
12.16380 + fi
12.16381 + ;;
12.16382 +
12.16383 + mingw* | pw32* | os2*)
12.16384 + # This hack is so that the source file can tell whether it is being
12.16385 + # built for inclusion in a dll (and should export symbols for example).
12.16386 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
12.16387 + ;;
12.16388 +
12.16389 + hpux9* | hpux10* | hpux11*)
12.16390 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16391 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12.16392 + # not for PA HP-UX.
12.16393 + case "$host_cpu" in
12.16394 + hppa*64*|ia64*)
12.16395 + # +Z the default
12.16396 + ;;
12.16397 + *)
12.16398 + lt_prog_compiler_pic_GCJ='+Z'
12.16399 + ;;
12.16400 + esac
12.16401 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
12.16402 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
12.16403 + ;;
12.16404 +
12.16405 + irix5* | irix6* | nonstopux*)
12.16406 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16407 + # PIC (with -KPIC) is the default.
12.16408 + lt_prog_compiler_static_GCJ='-non_shared'
12.16409 + ;;
12.16410 +
12.16411 + newsos6)
12.16412 + lt_prog_compiler_pic_GCJ='-KPIC'
12.16413 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16414 + ;;
12.16415 +
12.16416 + linux*)
12.16417 + case $CC in
12.16418 + icc* | ecc*)
12.16419 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16420 + lt_prog_compiler_pic_GCJ='-KPIC'
12.16421 + lt_prog_compiler_static_GCJ='-static'
12.16422 + ;;
12.16423 + ccc*)
12.16424 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16425 + # All Alpha code is PIC.
12.16426 + lt_prog_compiler_static_GCJ='-non_shared'
12.16427 + ;;
12.16428 + esac
12.16429 + ;;
12.16430 +
12.16431 + osf3* | osf4* | osf5*)
12.16432 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16433 + # All OSF/1 code is PIC.
12.16434 + lt_prog_compiler_static_GCJ='-non_shared'
12.16435 + ;;
12.16436 +
12.16437 + sco3.2v5*)
12.16438 + lt_prog_compiler_pic_GCJ='-Kpic'
12.16439 + lt_prog_compiler_static_GCJ='-dn'
12.16440 + ;;
12.16441 +
12.16442 + solaris*)
12.16443 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16444 + lt_prog_compiler_pic_GCJ='-KPIC'
12.16445 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16446 + ;;
12.16447 +
12.16448 + sunos4*)
12.16449 + lt_prog_compiler_wl_GCJ='-Qoption ld '
12.16450 + lt_prog_compiler_pic_GCJ='-PIC'
12.16451 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16452 + ;;
12.16453 +
12.16454 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.16455 + lt_prog_compiler_wl_GCJ='-Wl,'
12.16456 + lt_prog_compiler_pic_GCJ='-KPIC'
12.16457 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16458 + ;;
12.16459 +
12.16460 + sysv4*MP*)
12.16461 + if test -d /usr/nec ;then
12.16462 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
12.16463 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16464 + fi
12.16465 + ;;
12.16466 +
12.16467 + uts4*)
12.16468 + lt_prog_compiler_pic_GCJ='-pic'
12.16469 + lt_prog_compiler_static_GCJ='-Bstatic'
12.16470 + ;;
12.16471 +
12.16472 + *)
12.16473 + lt_prog_compiler_can_build_shared_GCJ=no
12.16474 + ;;
12.16475 + esac
12.16476 + fi
12.16477 +
12.16478 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
12.16479 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
12.16480 +
12.16481 +#
12.16482 +# Check to make sure the PIC flag actually works.
12.16483 +#
12.16484 +if test -n "$lt_prog_compiler_pic_GCJ"; then
12.16485 +
12.16486 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
12.16487 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
12.16488 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
12.16489 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.16490 +else
12.16491 + lt_prog_compiler_pic_works_GCJ=no
12.16492 + ac_outfile=conftest.$ac_objext
12.16493 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.16494 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
12.16495 + # Insert the option either (1) after the last *FLAGS variable, or
12.16496 + # (2) before a word containing "conftest.", or (3) at the end.
12.16497 + # Note that $ac_compile itself does not contain backslashes and begins
12.16498 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.16499 + # The option is referenced via a variable to avoid confusing sed.
12.16500 + lt_compile=`echo "$ac_compile" | $SED \
12.16501 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.16502 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.16503 + -e 's:$: $lt_compiler_flag:'`
12.16504 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.16505 + (eval "$lt_compile" 2>conftest.err)
12.16506 + ac_status=$?
12.16507 + cat conftest.err >&5
12.16508 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.16509 + if (exit $ac_status) && test -s "$ac_outfile"; then
12.16510 + # The compiler can only warn and ignore the option if not recognized
12.16511 + # So say no if there are warnings
12.16512 + if test ! -s conftest.err; then
12.16513 + lt_prog_compiler_pic_works_GCJ=yes
12.16514 + fi
12.16515 + fi
12.16516 + $rm conftest*
12.16517 +
12.16518 +fi
12.16519 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
12.16520 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
12.16521 +
12.16522 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
12.16523 + case $lt_prog_compiler_pic_GCJ in
12.16524 + "" | " "*) ;;
12.16525 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
12.16526 + esac
12.16527 +else
12.16528 + lt_prog_compiler_pic_GCJ=
12.16529 + lt_prog_compiler_can_build_shared_GCJ=no
12.16530 +fi
12.16531 +
12.16532 +fi
12.16533 +case "$host_os" in
12.16534 + # For platforms which do not support PIC, -DPIC is meaningless:
12.16535 + *djgpp*)
12.16536 + lt_prog_compiler_pic_GCJ=
12.16537 + ;;
12.16538 + *)
12.16539 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
12.16540 + ;;
12.16541 +esac
12.16542 +
12.16543 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12.16544 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12.16545 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
12.16546 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.16547 +else
12.16548 + lt_cv_prog_compiler_c_o_GCJ=no
12.16549 + $rm -r conftest 2>/dev/null
12.16550 + mkdir conftest
12.16551 + cd conftest
12.16552 + mkdir out
12.16553 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.16554 +
12.16555 + lt_compiler_flag="-o out/conftest2.$ac_objext"
12.16556 + # Insert the option either (1) after the last *FLAGS variable, or
12.16557 + # (2) before a word containing "conftest.", or (3) at the end.
12.16558 + # Note that $ac_compile itself does not contain backslashes and begins
12.16559 + # with a dollar sign (not a hyphen), so the echo should work correctly.
12.16560 + lt_compile=`echo "$ac_compile" | $SED \
12.16561 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12.16562 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12.16563 + -e 's:$: $lt_compiler_flag:'`
12.16564 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12.16565 + (eval "$lt_compile" 2>out/conftest.err)
12.16566 + ac_status=$?
12.16567 + cat out/conftest.err >&5
12.16568 + echo "$as_me:__oline__: \$? = $ac_status" >&5
12.16569 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
12.16570 + then
12.16571 + # The compiler can only warn and ignore the option if not recognized
12.16572 + # So say no if there are warnings
12.16573 + if test ! -s out/conftest.err; then
12.16574 + lt_cv_prog_compiler_c_o_GCJ=yes
12.16575 + fi
12.16576 + fi
12.16577 + chmod u+w .
12.16578 + $rm conftest*
12.16579 + # SGI C++ compiler will create directory out/ii_files/ for
12.16580 + # template instantiation
12.16581 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12.16582 + $rm out/* && rmdir out
12.16583 + cd ..
12.16584 + rmdir conftest
12.16585 + $rm conftest*
12.16586 +
12.16587 +fi
12.16588 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
12.16589 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
12.16590 +
12.16591 +
12.16592 +hard_links="nottested"
12.16593 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
12.16594 + # do not overwrite the value of need_locks provided by the user
12.16595 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12.16596 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12.16597 + hard_links=yes
12.16598 + $rm conftest*
12.16599 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.16600 + touch conftest.a
12.16601 + ln conftest.a conftest.b 2>&5 || hard_links=no
12.16602 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
12.16603 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12.16604 +echo "${ECHO_T}$hard_links" >&6; }
12.16605 + if test "$hard_links" = no; then
12.16606 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12.16607 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12.16608 + need_locks=warn
12.16609 + fi
12.16610 +else
12.16611 + need_locks=no
12.16612 +fi
12.16613 +
12.16614 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12.16615 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12.16616 +
12.16617 + runpath_var=
12.16618 + allow_undefined_flag_GCJ=
12.16619 + enable_shared_with_static_runtimes_GCJ=no
12.16620 + archive_cmds_GCJ=
12.16621 + archive_expsym_cmds_GCJ=
12.16622 + old_archive_From_new_cmds_GCJ=
12.16623 + old_archive_from_expsyms_cmds_GCJ=
12.16624 + export_dynamic_flag_spec_GCJ=
12.16625 + whole_archive_flag_spec_GCJ=
12.16626 + thread_safe_flag_spec_GCJ=
12.16627 + hardcode_libdir_flag_spec_GCJ=
12.16628 + hardcode_libdir_flag_spec_ld_GCJ=
12.16629 + hardcode_libdir_separator_GCJ=
12.16630 + hardcode_direct_GCJ=no
12.16631 + hardcode_minus_L_GCJ=no
12.16632 + hardcode_shlibpath_var_GCJ=unsupported
12.16633 + link_all_deplibs_GCJ=unknown
12.16634 + hardcode_automatic_GCJ=no
12.16635 + module_cmds_GCJ=
12.16636 + module_expsym_cmds_GCJ=
12.16637 + always_export_symbols_GCJ=no
12.16638 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12.16639 + # include_expsyms should be a list of space-separated symbols to be *always*
12.16640 + # included in the symbol list
12.16641 + include_expsyms_GCJ=
12.16642 + # exclude_expsyms can be an extended regexp of symbols to exclude
12.16643 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
12.16644 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12.16645 + # as well as any symbol that contains `d'.
12.16646 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
12.16647 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12.16648 + # platforms (ab)use it in PIC code, but their linkers get confused if
12.16649 + # the symbol is explicitly referenced. Since portable code cannot
12.16650 + # rely on this symbol name, it's probably fine to never include it in
12.16651 + # preloaded symbol tables.
12.16652 + extract_expsyms_cmds=
12.16653 +
12.16654 + case $host_os in
12.16655 + cygwin* | mingw* | pw32*)
12.16656 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
12.16657 + # When not using gcc, we currently assume that we are using
12.16658 + # Microsoft Visual C++.
12.16659 + if test "$GCC" != yes; then
12.16660 + with_gnu_ld=no
12.16661 + fi
12.16662 + ;;
12.16663 + openbsd*)
12.16664 + with_gnu_ld=no
12.16665 + ;;
12.16666 + esac
12.16667 +
12.16668 + ld_shlibs_GCJ=yes
12.16669 + if test "$with_gnu_ld" = yes; then
12.16670 + # If archive_cmds runs LD, not CC, wlarc should be empty
12.16671 + wlarc='${wl}'
12.16672 +
12.16673 + # See if GNU ld supports shared libraries.
12.16674 + case $host_os in
12.16675 + aix3* | aix4* | aix5*)
12.16676 + # On AIX/PPC, the GNU linker is very broken
12.16677 + if test "$host_cpu" != ia64; then
12.16678 + ld_shlibs_GCJ=no
12.16679 + cat <<EOF 1>&2
12.16680 +
12.16681 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
12.16682 +*** to be unable to reliably create shared libraries on AIX.
12.16683 +*** Therefore, libtool is disabling shared libraries support. If you
12.16684 +*** really care for shared libraries, you may want to modify your PATH
12.16685 +*** so that a non-GNU linker is found, and then restart.
12.16686 +
12.16687 +EOF
12.16688 + fi
12.16689 + ;;
12.16690 +
12.16691 + amigaos*)
12.16692 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12.16693 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.16694 + hardcode_minus_L_GCJ=yes
12.16695 +
12.16696 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12.16697 + # that the semantics of dynamic libraries on AmigaOS, at least up
12.16698 + # to version 4, is to share data among multiple programs linked
12.16699 + # with the same dynamic library. Since this doesn't match the
12.16700 + # behavior of shared libraries on other platforms, we can't use
12.16701 + # them.
12.16702 + ld_shlibs_GCJ=no
12.16703 + ;;
12.16704 +
12.16705 + beos*)
12.16706 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.16707 + allow_undefined_flag_GCJ=unsupported
12.16708 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12.16709 + # support --undefined. This deserves some investigation. FIXME
12.16710 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.16711 + else
12.16712 + ld_shlibs_GCJ=no
12.16713 + fi
12.16714 + ;;
12.16715 +
12.16716 + cygwin* | mingw* | pw32*)
12.16717 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
12.16718 + # as there is no search path for DLLs.
12.16719 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.16720 + allow_undefined_flag_GCJ=unsupported
12.16721 + always_export_symbols_GCJ=no
12.16722 + enable_shared_with_static_runtimes_GCJ=yes
12.16723 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12.16724 +
12.16725 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12.16726 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.16727 + # If the export-symbols file already is a .def file (1st line
12.16728 + # is EXPORTS), use it as is; otherwise, prepend...
12.16729 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12.16730 + cp $export_symbols $output_objdir/$soname.def;
12.16731 + else
12.16732 + echo EXPORTS > $output_objdir/$soname.def;
12.16733 + cat $export_symbols >> $output_objdir/$soname.def;
12.16734 + fi~
12.16735 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12.16736 + else
12.16737 + ld_shlibs=no
12.16738 + fi
12.16739 + ;;
12.16740 +
12.16741 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.16742 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.16743 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12.16744 + wlarc=
12.16745 + else
12.16746 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.16747 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.16748 + fi
12.16749 + ;;
12.16750 +
12.16751 + solaris* | sysv5*)
12.16752 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12.16753 + ld_shlibs_GCJ=no
12.16754 + cat <<EOF 1>&2
12.16755 +
12.16756 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12.16757 +*** create shared libraries on Solaris systems. Therefore, libtool
12.16758 +*** is disabling shared libraries support. We urge you to upgrade GNU
12.16759 +*** binutils to release 2.9.1 or newer. Another option is to modify
12.16760 +*** your PATH or compiler configuration so that the native linker is
12.16761 +*** used, and then restart.
12.16762 +
12.16763 +EOF
12.16764 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.16765 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.16766 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.16767 + else
12.16768 + ld_shlibs_GCJ=no
12.16769 + fi
12.16770 + ;;
12.16771 +
12.16772 + sunos4*)
12.16773 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.16774 + wlarc=
12.16775 + hardcode_direct_GCJ=yes
12.16776 + hardcode_shlibpath_var_GCJ=no
12.16777 + ;;
12.16778 +
12.16779 + linux*)
12.16780 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.16781 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.16782 + archive_cmds_GCJ="$tmp_archive_cmds"
12.16783 + supports_anon_versioning=no
12.16784 + case `$LD -v 2>/dev/null` in
12.16785 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12.16786 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12.16787 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12.16788 + *\ 2.11.*) ;; # other 2.11 versions
12.16789 + *) supports_anon_versioning=yes ;;
12.16790 + esac
12.16791 + if test $supports_anon_versioning = yes; then
12.16792 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
12.16793 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12.16794 +$echo "local: *; };" >> $output_objdir/$libname.ver~
12.16795 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12.16796 + else
12.16797 + archive_expsym_cmds_GCJ="$tmp_archive_cmds"
12.16798 + fi
12.16799 + link_all_deplibs_GCJ=no
12.16800 + else
12.16801 + ld_shlibs_GCJ=no
12.16802 + fi
12.16803 + ;;
12.16804 +
12.16805 + *)
12.16806 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12.16807 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12.16808 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12.16809 + else
12.16810 + ld_shlibs_GCJ=no
12.16811 + fi
12.16812 + ;;
12.16813 + esac
12.16814 +
12.16815 + if test "$ld_shlibs_GCJ" = yes; then
12.16816 + runpath_var=LD_RUN_PATH
12.16817 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
12.16818 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
12.16819 + # ancient GNU ld didn't support --whole-archive et. al.
12.16820 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
12.16821 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12.16822 + else
12.16823 + whole_archive_flag_spec_GCJ=
12.16824 + fi
12.16825 + fi
12.16826 + else
12.16827 + # PORTME fill in a description of your system's linker (not GNU ld)
12.16828 + case $host_os in
12.16829 + aix3*)
12.16830 + allow_undefined_flag_GCJ=unsupported
12.16831 + always_export_symbols_GCJ=yes
12.16832 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12.16833 + # Note: this linker hardcodes the directories in LIBPATH if there
12.16834 + # are no directories specified by -L.
12.16835 + hardcode_minus_L_GCJ=yes
12.16836 + if test "$GCC" = yes && test -z "$link_static_flag"; then
12.16837 + # Neither direct hardcoding nor static linking is supported with a
12.16838 + # broken collect2.
12.16839 + hardcode_direct_GCJ=unsupported
12.16840 + fi
12.16841 + ;;
12.16842 +
12.16843 + aix4* | aix5*)
12.16844 + if test "$host_cpu" = ia64; then
12.16845 + # On IA64, the linker does run time linking by default, so we don't
12.16846 + # have to do anything special.
12.16847 + aix_use_runtimelinking=no
12.16848 + exp_sym_flag='-Bexport'
12.16849 + no_entry_flag=""
12.16850 + else
12.16851 + # If we're using GNU nm, then we don't want the "-C" option.
12.16852 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
12.16853 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12.16854 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.16855 + else
12.16856 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12.16857 + fi
12.16858 + aix_use_runtimelinking=no
12.16859 +
12.16860 + # Test if we are trying to use run time linking or normal
12.16861 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12.16862 + # need to do runtime linking.
12.16863 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12.16864 + for ld_flag in $LDFLAGS; do
12.16865 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12.16866 + aix_use_runtimelinking=yes
12.16867 + break
12.16868 + fi
12.16869 + done
12.16870 + esac
12.16871 +
12.16872 + exp_sym_flag='-bexport'
12.16873 + no_entry_flag='-bnoentry'
12.16874 + fi
12.16875 +
12.16876 + # When large executables or shared objects are built, AIX ld can
12.16877 + # have problems creating the table of contents. If linking a library
12.16878 + # or program results in "error TOC overflow" add -mminimal-toc to
12.16879 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12.16880 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12.16881 +
12.16882 + archive_cmds_GCJ=''
12.16883 + hardcode_direct_GCJ=yes
12.16884 + hardcode_libdir_separator_GCJ=':'
12.16885 + link_all_deplibs_GCJ=yes
12.16886 +
12.16887 + if test "$GCC" = yes; then
12.16888 + case $host_os in aix4.012|aix4.012.*)
12.16889 + # We only want to do this on AIX 4.2 and lower, the check
12.16890 + # below for broken collect2 doesn't work under 4.3+
12.16891 + collect2name=`${CC} -print-prog-name=collect2`
12.16892 + if test -f "$collect2name" && \
12.16893 + strings "$collect2name" | grep resolve_lib_name >/dev/null
12.16894 + then
12.16895 + # We have reworked collect2
12.16896 + hardcode_direct_GCJ=yes
12.16897 + else
12.16898 + # We have old collect2
12.16899 + hardcode_direct_GCJ=unsupported
12.16900 + # It fails to find uninstalled libraries when the uninstalled
12.16901 + # path is not listed in the libpath. Setting hardcode_minus_L
12.16902 + # to unsupported forces relinking
12.16903 + hardcode_minus_L_GCJ=yes
12.16904 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.16905 + hardcode_libdir_separator_GCJ=
12.16906 + fi
12.16907 + esac
12.16908 + shared_flag='-shared'
12.16909 + else
12.16910 + # not using gcc
12.16911 + if test "$host_cpu" = ia64; then
12.16912 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12.16913 + # chokes on -Wl,-G. The following line is correct:
12.16914 + shared_flag='-G'
12.16915 + else
12.16916 + if test "$aix_use_runtimelinking" = yes; then
12.16917 + shared_flag='${wl}-G'
12.16918 + else
12.16919 + shared_flag='${wl}-bM:SRE'
12.16920 + fi
12.16921 + fi
12.16922 + fi
12.16923 +
12.16924 + # It seems that -bexpall does not export symbols beginning with
12.16925 + # underscore (_), so it is better to generate a list of symbols to export.
12.16926 + always_export_symbols_GCJ=yes
12.16927 + if test "$aix_use_runtimelinking" = yes; then
12.16928 + # Warning - without using the other runtime loading flags (-brtl),
12.16929 + # -berok will link without error, but may produce a broken library.
12.16930 + allow_undefined_flag_GCJ='-berok'
12.16931 + # Determine the default libpath from the value encoded in an empty executable.
12.16932 + cat >conftest.$ac_ext <<_ACEOF
12.16933 +/* confdefs.h. */
12.16934 +_ACEOF
12.16935 +cat confdefs.h >>conftest.$ac_ext
12.16936 +cat >>conftest.$ac_ext <<_ACEOF
12.16937 +/* end confdefs.h. */
12.16938 +
12.16939 +int
12.16940 +main ()
12.16941 +{
12.16942 +
12.16943 + ;
12.16944 + return 0;
12.16945 +}
12.16946 +_ACEOF
12.16947 +rm -f conftest.$ac_objext conftest$ac_exeext
12.16948 +if { (ac_try="$ac_link"
12.16949 +case "(($ac_try" in
12.16950 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.16951 + *) ac_try_echo=$ac_try;;
12.16952 +esac
12.16953 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.16954 + (eval "$ac_link") 2>conftest.er1
12.16955 + ac_status=$?
12.16956 + grep -v '^ *+' conftest.er1 >conftest.err
12.16957 + rm -f conftest.er1
12.16958 + cat conftest.err >&5
12.16959 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.16960 + (exit $ac_status); } && {
12.16961 + test -z "$ac_c_werror_flag" ||
12.16962 + test ! -s conftest.err
12.16963 + } && test -s conftest$ac_exeext &&
12.16964 + $as_test_x conftest$ac_exeext; then
12.16965 +
12.16966 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.16967 +}'`
12.16968 +# Check for a 64-bit object if we didn't find anything.
12.16969 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.16970 +}'`; fi
12.16971 +else
12.16972 + echo "$as_me: failed program was:" >&5
12.16973 +sed 's/^/| /' conftest.$ac_ext >&5
12.16974 +
12.16975 +
12.16976 +fi
12.16977 +
12.16978 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.16979 + conftest$ac_exeext conftest.$ac_ext
12.16980 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.16981 +
12.16982 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
12.16983 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12.16984 + else
12.16985 + if test "$host_cpu" = ia64; then
12.16986 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
12.16987 + allow_undefined_flag_GCJ="-z nodefs"
12.16988 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12.16989 + else
12.16990 + # Determine the default libpath from the value encoded in an empty executable.
12.16991 + cat >conftest.$ac_ext <<_ACEOF
12.16992 +/* confdefs.h. */
12.16993 +_ACEOF
12.16994 +cat confdefs.h >>conftest.$ac_ext
12.16995 +cat >>conftest.$ac_ext <<_ACEOF
12.16996 +/* end confdefs.h. */
12.16997 +
12.16998 +int
12.16999 +main ()
12.17000 +{
12.17001 +
12.17002 + ;
12.17003 + return 0;
12.17004 +}
12.17005 +_ACEOF
12.17006 +rm -f conftest.$ac_objext conftest$ac_exeext
12.17007 +if { (ac_try="$ac_link"
12.17008 +case "(($ac_try" in
12.17009 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.17010 + *) ac_try_echo=$ac_try;;
12.17011 +esac
12.17012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.17013 + (eval "$ac_link") 2>conftest.er1
12.17014 + ac_status=$?
12.17015 + grep -v '^ *+' conftest.er1 >conftest.err
12.17016 + rm -f conftest.er1
12.17017 + cat conftest.err >&5
12.17018 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.17019 + (exit $ac_status); } && {
12.17020 + test -z "$ac_c_werror_flag" ||
12.17021 + test ! -s conftest.err
12.17022 + } && test -s conftest$ac_exeext &&
12.17023 + $as_test_x conftest$ac_exeext; then
12.17024 +
12.17025 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.17026 +}'`
12.17027 +# Check for a 64-bit object if we didn't find anything.
12.17028 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12.17029 +}'`; fi
12.17030 +else
12.17031 + echo "$as_me: failed program was:" >&5
12.17032 +sed 's/^/| /' conftest.$ac_ext >&5
12.17033 +
12.17034 +
12.17035 +fi
12.17036 +
12.17037 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.17038 + conftest$ac_exeext conftest.$ac_ext
12.17039 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12.17040 +
12.17041 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
12.17042 + # Warning - without using the other run time loading flags,
12.17043 + # -berok will link without error, but may produce a broken library.
12.17044 + no_undefined_flag_GCJ=' ${wl}-bernotok'
12.17045 + allow_undefined_flag_GCJ=' ${wl}-berok'
12.17046 + # -bexpall does not export symbols beginning with underscore (_)
12.17047 + always_export_symbols_GCJ=yes
12.17048 + # Exported symbols can be pulled into shared objects from archives
12.17049 + whole_archive_flag_spec_GCJ=' '
12.17050 + archive_cmds_need_lc_GCJ=yes
12.17051 + # This is similar to how AIX traditionally builds it's shared libraries.
12.17052 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12.17053 + fi
12.17054 + fi
12.17055 + ;;
12.17056 +
12.17057 + amigaos*)
12.17058 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12.17059 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.17060 + hardcode_minus_L_GCJ=yes
12.17061 + # see comment about different semantics on the GNU ld section
12.17062 + ld_shlibs_GCJ=no
12.17063 + ;;
12.17064 +
12.17065 + bsdi4*)
12.17066 + export_dynamic_flag_spec_GCJ=-rdynamic
12.17067 + ;;
12.17068 +
12.17069 + cygwin* | mingw* | pw32*)
12.17070 + # When not using gcc, we currently assume that we are using
12.17071 + # Microsoft Visual C++.
12.17072 + # hardcode_libdir_flag_spec is actually meaningless, as there is
12.17073 + # no search path for DLLs.
12.17074 + hardcode_libdir_flag_spec_GCJ=' '
12.17075 + allow_undefined_flag_GCJ=unsupported
12.17076 + # Tell ltmain to make .lib files, not .a files.
12.17077 + libext=lib
12.17078 + # Tell ltmain to make .dll files, not .so files.
12.17079 + shrext_cmds=".dll"
12.17080 + # FIXME: Setting linknames here is a bad hack.
12.17081 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12.17082 + # The linker will automatically build a .lib file if we build a DLL.
12.17083 + old_archive_From_new_cmds_GCJ='true'
12.17084 + # FIXME: Should let the user specify the lib program.
12.17085 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
12.17086 + fix_srcfile_path='`cygpath -w "$srcfile"`'
12.17087 + enable_shared_with_static_runtimes_GCJ=yes
12.17088 + ;;
12.17089 +
12.17090 + darwin* | rhapsody*)
12.17091 + if test "$GXX" = yes ; then
12.17092 + archive_cmds_need_lc_GCJ=no
12.17093 + case "$host_os" in
12.17094 + rhapsody* | darwin1.[012])
12.17095 + allow_undefined_flag_GCJ='-undefined suppress'
12.17096 + ;;
12.17097 + *) # Darwin 1.3 on
12.17098 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12.17099 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
12.17100 + else
12.17101 + case ${MACOSX_DEPLOYMENT_TARGET} in
12.17102 + 10.[012])
12.17103 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
12.17104 + ;;
12.17105 + 10.*)
12.17106 + allow_undefined_flag_GCJ='-undefined dynamic_lookup'
12.17107 + ;;
12.17108 + esac
12.17109 + fi
12.17110 + ;;
12.17111 + esac
12.17112 + lt_int_apple_cc_single_mod=no
12.17113 + output_verbose_link_cmd='echo'
12.17114 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12.17115 + lt_int_apple_cc_single_mod=yes
12.17116 + fi
12.17117 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.17118 + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.17119 + else
12.17120 + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12.17121 + fi
12.17122 + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12.17123 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12.17124 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12.17125 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.17126 + else
12.17127 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.17128 + fi
12.17129 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12.17130 + hardcode_direct_GCJ=no
12.17131 + hardcode_automatic_GCJ=yes
12.17132 + hardcode_shlibpath_var_GCJ=unsupported
12.17133 + whole_archive_flag_spec_GCJ='-all_load $convenience'
12.17134 + link_all_deplibs_GCJ=yes
12.17135 + else
12.17136 + ld_shlibs_GCJ=no
12.17137 + fi
12.17138 + ;;
12.17139 +
12.17140 + dgux*)
12.17141 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17142 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.17143 + hardcode_shlibpath_var_GCJ=no
12.17144 + ;;
12.17145 +
12.17146 + freebsd1*)
12.17147 + ld_shlibs_GCJ=no
12.17148 + ;;
12.17149 +
12.17150 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12.17151 + # support. Future versions do this automatically, but an explicit c++rt0.o
12.17152 + # does not break anything, and helps significantly (at the cost of a little
12.17153 + # extra space).
12.17154 + freebsd2.2*)
12.17155 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12.17156 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
12.17157 + hardcode_direct_GCJ=yes
12.17158 + hardcode_shlibpath_var_GCJ=no
12.17159 + ;;
12.17160 +
12.17161 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12.17162 + freebsd2*)
12.17163 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.17164 + hardcode_direct_GCJ=yes
12.17165 + hardcode_minus_L_GCJ=yes
12.17166 + hardcode_shlibpath_var_GCJ=no
12.17167 + ;;
12.17168 +
12.17169 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12.17170 + freebsd* | kfreebsd*-gnu)
12.17171 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12.17172 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
12.17173 + hardcode_direct_GCJ=yes
12.17174 + hardcode_shlibpath_var_GCJ=no
12.17175 + ;;
12.17176 +
12.17177 + hpux9*)
12.17178 + if test "$GCC" = yes; then
12.17179 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.17180 + else
12.17181 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12.17182 + fi
12.17183 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
12.17184 + hardcode_libdir_separator_GCJ=:
12.17185 + hardcode_direct_GCJ=yes
12.17186 +
12.17187 + # hardcode_minus_L: Not really in the search PATH,
12.17188 + # but as the default location of the library.
12.17189 + hardcode_minus_L_GCJ=yes
12.17190 + export_dynamic_flag_spec_GCJ='${wl}-E'
12.17191 + ;;
12.17192 +
12.17193 + hpux10* | hpux11*)
12.17194 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12.17195 + case "$host_cpu" in
12.17196 + hppa*64*|ia64*)
12.17197 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.17198 + ;;
12.17199 + *)
12.17200 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12.17201 + ;;
12.17202 + esac
12.17203 + else
12.17204 + case "$host_cpu" in
12.17205 + hppa*64*|ia64*)
12.17206 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17207 + ;;
12.17208 + *)
12.17209 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12.17210 + ;;
12.17211 + esac
12.17212 + fi
12.17213 + if test "$with_gnu_ld" = no; then
12.17214 + case "$host_cpu" in
12.17215 + hppa*64*)
12.17216 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
12.17217 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
12.17218 + hardcode_libdir_separator_GCJ=:
12.17219 + hardcode_direct_GCJ=no
12.17220 + hardcode_shlibpath_var_GCJ=no
12.17221 + ;;
12.17222 + ia64*)
12.17223 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.17224 + hardcode_direct_GCJ=no
12.17225 + hardcode_shlibpath_var_GCJ=no
12.17226 +
12.17227 + # hardcode_minus_L: Not really in the search PATH,
12.17228 + # but as the default location of the library.
12.17229 + hardcode_minus_L_GCJ=yes
12.17230 + ;;
12.17231 + *)
12.17232 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
12.17233 + hardcode_libdir_separator_GCJ=:
12.17234 + hardcode_direct_GCJ=yes
12.17235 + export_dynamic_flag_spec_GCJ='${wl}-E'
12.17236 +
12.17237 + # hardcode_minus_L: Not really in the search PATH,
12.17238 + # but as the default location of the library.
12.17239 + hardcode_minus_L_GCJ=yes
12.17240 + ;;
12.17241 + esac
12.17242 + fi
12.17243 + ;;
12.17244 +
12.17245 + irix5* | irix6* | nonstopux*)
12.17246 + if test "$GCC" = yes; then
12.17247 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.17248 + else
12.17249 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.17250 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
12.17251 + fi
12.17252 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
12.17253 + hardcode_libdir_separator_GCJ=:
12.17254 + link_all_deplibs_GCJ=yes
12.17255 + ;;
12.17256 +
12.17257 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12.17258 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.17259 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12.17260 + else
12.17261 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12.17262 + fi
12.17263 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
12.17264 + hardcode_direct_GCJ=yes
12.17265 + hardcode_shlibpath_var_GCJ=no
12.17266 + ;;
12.17267 +
12.17268 + newsos6)
12.17269 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17270 + hardcode_direct_GCJ=yes
12.17271 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
12.17272 + hardcode_libdir_separator_GCJ=:
12.17273 + hardcode_shlibpath_var_GCJ=no
12.17274 + ;;
12.17275 +
12.17276 + openbsd*)
12.17277 + hardcode_direct_GCJ=yes
12.17278 + hardcode_shlibpath_var_GCJ=no
12.17279 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.17280 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12.17281 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
12.17282 + export_dynamic_flag_spec_GCJ='${wl}-E'
12.17283 + else
12.17284 + case $host_os in
12.17285 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12.17286 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12.17287 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
12.17288 + ;;
12.17289 + *)
12.17290 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12.17291 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
12.17292 + ;;
12.17293 + esac
12.17294 + fi
12.17295 + ;;
12.17296 +
12.17297 + os2*)
12.17298 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.17299 + hardcode_minus_L_GCJ=yes
12.17300 + allow_undefined_flag_GCJ=unsupported
12.17301 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12.17302 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12.17303 + ;;
12.17304 +
12.17305 + osf3*)
12.17306 + if test "$GCC" = yes; then
12.17307 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
12.17308 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.17309 + else
12.17310 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
12.17311 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.17312 + fi
12.17313 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
12.17314 + hardcode_libdir_separator_GCJ=:
12.17315 + ;;
12.17316 +
12.17317 + osf4* | osf5*) # as osf3* with the addition of -msym flag
12.17318 + if test "$GCC" = yes; then
12.17319 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
12.17320 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12.17321 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
12.17322 + else
12.17323 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
12.17324 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12.17325 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12.17326 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
12.17327 +
12.17328 + # Both c and cxx compiler support -rpath directly
12.17329 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
12.17330 + fi
12.17331 + hardcode_libdir_separator_GCJ=:
12.17332 + ;;
12.17333 +
12.17334 + sco3.2v5*)
12.17335 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17336 + hardcode_shlibpath_var_GCJ=no
12.17337 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
12.17338 + runpath_var=LD_RUN_PATH
12.17339 + hardcode_runpath_var=yes
12.17340 + ;;
12.17341 +
12.17342 + solaris*)
12.17343 + no_undefined_flag_GCJ=' -z text'
12.17344 + if test "$GCC" = yes; then
12.17345 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.17346 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.17347 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12.17348 + else
12.17349 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17350 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.17351 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12.17352 + fi
12.17353 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
12.17354 + hardcode_shlibpath_var_GCJ=no
12.17355 + case $host_os in
12.17356 + solaris2.[0-5] | solaris2.[0-5].*) ;;
12.17357 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
12.17358 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
12.17359 + esac
12.17360 + link_all_deplibs_GCJ=yes
12.17361 + ;;
12.17362 +
12.17363 + sunos4*)
12.17364 + if test "x$host_vendor" = xsequent; then
12.17365 + # Use $CC to link under sequent, because it throws in some extra .o
12.17366 + # files that make .init and .fini sections work.
12.17367 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12.17368 + else
12.17369 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12.17370 + fi
12.17371 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.17372 + hardcode_direct_GCJ=yes
12.17373 + hardcode_minus_L_GCJ=yes
12.17374 + hardcode_shlibpath_var_GCJ=no
12.17375 + ;;
12.17376 +
12.17377 + sysv4)
12.17378 + case $host_vendor in
12.17379 + sni)
12.17380 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17381 + hardcode_direct_GCJ=yes # is this really true???
12.17382 + ;;
12.17383 + siemens)
12.17384 + ## LD is ld it makes a PLAMLIB
12.17385 + ## CC just makes a GrossModule.
12.17386 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12.17387 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
12.17388 + hardcode_direct_GCJ=no
12.17389 + ;;
12.17390 + motorola)
12.17391 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17392 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
12.17393 + ;;
12.17394 + esac
12.17395 + runpath_var='LD_RUN_PATH'
12.17396 + hardcode_shlibpath_var_GCJ=no
12.17397 + ;;
12.17398 +
12.17399 + sysv4.3*)
12.17400 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17401 + hardcode_shlibpath_var_GCJ=no
12.17402 + export_dynamic_flag_spec_GCJ='-Bexport'
12.17403 + ;;
12.17404 +
12.17405 + sysv4*MP*)
12.17406 + if test -d /usr/nec; then
12.17407 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17408 + hardcode_shlibpath_var_GCJ=no
12.17409 + runpath_var=LD_RUN_PATH
12.17410 + hardcode_runpath_var=yes
12.17411 + ld_shlibs_GCJ=yes
12.17412 + fi
12.17413 + ;;
12.17414 +
12.17415 + sysv4.2uw2*)
12.17416 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12.17417 + hardcode_direct_GCJ=yes
12.17418 + hardcode_minus_L_GCJ=no
12.17419 + hardcode_shlibpath_var_GCJ=no
12.17420 + hardcode_runpath_var=yes
12.17421 + runpath_var=LD_RUN_PATH
12.17422 + ;;
12.17423 +
12.17424 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12.17425 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
12.17426 + if test "$GCC" = yes; then
12.17427 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.17428 + else
12.17429 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12.17430 + fi
12.17431 + runpath_var='LD_RUN_PATH'
12.17432 + hardcode_shlibpath_var_GCJ=no
12.17433 + ;;
12.17434 +
12.17435 + sysv5*)
12.17436 + no_undefined_flag_GCJ=' -z text'
12.17437 + # $CC -shared without GNU ld will not create a library from C++
12.17438 + # object files and a static libstdc++, better avoid it by now
12.17439 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17440 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12.17441 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12.17442 + hardcode_libdir_flag_spec_GCJ=
12.17443 + hardcode_shlibpath_var_GCJ=no
12.17444 + runpath_var='LD_RUN_PATH'
12.17445 + ;;
12.17446 +
12.17447 + uts4*)
12.17448 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12.17449 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
12.17450 + hardcode_shlibpath_var_GCJ=no
12.17451 + ;;
12.17452 +
12.17453 + *)
12.17454 + ld_shlibs_GCJ=no
12.17455 + ;;
12.17456 + esac
12.17457 + fi
12.17458 +
12.17459 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
12.17460 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
12.17461 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
12.17462 +
12.17463 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12.17464 +if test "$GCC" = yes; then
12.17465 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12.17466 +fi
12.17467 +
12.17468 +#
12.17469 +# Do we need to explicitly link libc?
12.17470 +#
12.17471 +case "x$archive_cmds_need_lc_GCJ" in
12.17472 +x|xyes)
12.17473 + # Assume -lc should be added
12.17474 + archive_cmds_need_lc_GCJ=yes
12.17475 +
12.17476 + if test "$enable_shared" = yes && test "$GCC" = yes; then
12.17477 + case $archive_cmds_GCJ in
12.17478 + *'~'*)
12.17479 + # FIXME: we may have to deal with multi-command sequences.
12.17480 + ;;
12.17481 + '$CC '*)
12.17482 + # Test whether the compiler implicitly links with -lc since on some
12.17483 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
12.17484 + # to ld, don't add -lc before -lgcc.
12.17485 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12.17486 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12.17487 + $rm conftest*
12.17488 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12.17489 +
12.17490 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12.17491 + (eval $ac_compile) 2>&5
12.17492 + ac_status=$?
12.17493 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.17494 + (exit $ac_status); } 2>conftest.err; then
12.17495 + soname=conftest
12.17496 + lib=conftest
12.17497 + libobjs=conftest.$ac_objext
12.17498 + deplibs=
12.17499 + wl=$lt_prog_compiler_wl_GCJ
12.17500 + compiler_flags=-v
12.17501 + linker_flags=-v
12.17502 + verstring=
12.17503 + output_objdir=.
12.17504 + libname=conftest
12.17505 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
12.17506 + allow_undefined_flag_GCJ=
12.17507 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12.17508 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12.17509 + ac_status=$?
12.17510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.17511 + (exit $ac_status); }
12.17512 + then
12.17513 + archive_cmds_need_lc_GCJ=no
12.17514 + else
12.17515 + archive_cmds_need_lc_GCJ=yes
12.17516 + fi
12.17517 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
12.17518 + else
12.17519 + cat conftest.err 1>&5
12.17520 + fi
12.17521 + $rm conftest*
12.17522 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
12.17523 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
12.17524 + ;;
12.17525 + esac
12.17526 + fi
12.17527 + ;;
12.17528 +esac
12.17529 +
12.17530 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12.17531 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12.17532 +library_names_spec=
12.17533 +libname_spec='lib$name'
12.17534 +soname_spec=
12.17535 +shrext_cmds=".so"
12.17536 +postinstall_cmds=
12.17537 +postuninstall_cmds=
12.17538 +finish_cmds=
12.17539 +finish_eval=
12.17540 +shlibpath_var=
12.17541 +shlibpath_overrides_runpath=unknown
12.17542 +version_type=none
12.17543 +dynamic_linker="$host_os ld.so"
12.17544 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
12.17545 +if test "$GCC" = yes; then
12.17546 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.17547 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12.17548 + # if the path contains ";" then we assume it to be the separator
12.17549 + # otherwise default to the standard path separator (i.e. ":") - it is
12.17550 + # assumed that no part of a normal pathname contains ";" but that should
12.17551 + # okay in the real world where ";" in dirpaths is itself problematic.
12.17552 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.17553 + else
12.17554 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.17555 + fi
12.17556 +else
12.17557 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12.17558 +fi
12.17559 +need_lib_prefix=unknown
12.17560 +hardcode_into_libs=no
12.17561 +
12.17562 +# when you set need_version to no, make sure it does not cause -set_version
12.17563 +# flags to be left without arguments
12.17564 +need_version=unknown
12.17565 +
12.17566 +case $host_os in
12.17567 +aix3*)
12.17568 + version_type=linux
12.17569 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12.17570 + shlibpath_var=LIBPATH
12.17571 +
12.17572 + # AIX 3 has no versioning support, so we append a major version to the name.
12.17573 + soname_spec='${libname}${release}${shared_ext}$major'
12.17574 + ;;
12.17575 +
12.17576 +aix4* | aix5*)
12.17577 + version_type=linux
12.17578 + need_lib_prefix=no
12.17579 + need_version=no
12.17580 + hardcode_into_libs=yes
12.17581 + if test "$host_cpu" = ia64; then
12.17582 + # AIX 5 supports IA64
12.17583 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12.17584 + shlibpath_var=LD_LIBRARY_PATH
12.17585 + else
12.17586 + # With GCC up to 2.95.x, collect2 would create an import file
12.17587 + # for dependence libraries. The import file would start with
12.17588 + # the line `#! .'. This would cause the generated library to
12.17589 + # depend on `.', always an invalid library. This was fixed in
12.17590 + # development snapshots of GCC prior to 3.0.
12.17591 + case $host_os in
12.17592 + aix4 | aix4.[01] | aix4.[01].*)
12.17593 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12.17594 + echo ' yes '
12.17595 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12.17596 + :
12.17597 + else
12.17598 + can_build_shared=no
12.17599 + fi
12.17600 + ;;
12.17601 + esac
12.17602 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12.17603 + # soname into executable. Probably we can add versioning support to
12.17604 + # collect2, so additional links can be useful in future.
12.17605 + if test "$aix_use_runtimelinking" = yes; then
12.17606 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12.17607 + # instead of lib<name>.a to let people know that these are not
12.17608 + # typical AIX shared libraries.
12.17609 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17610 + else
12.17611 + # We preserve .a as extension for shared libraries through AIX4.2
12.17612 + # and later when we are not doing run time linking.
12.17613 + library_names_spec='${libname}${release}.a $libname.a'
12.17614 + soname_spec='${libname}${release}${shared_ext}$major'
12.17615 + fi
12.17616 + shlibpath_var=LIBPATH
12.17617 + fi
12.17618 + ;;
12.17619 +
12.17620 +amigaos*)
12.17621 + library_names_spec='$libname.ixlibrary $libname.a'
12.17622 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
12.17623 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12.17624 + ;;
12.17625 +
12.17626 +beos*)
12.17627 + library_names_spec='${libname}${shared_ext}'
12.17628 + dynamic_linker="$host_os ld.so"
12.17629 + shlibpath_var=LIBRARY_PATH
12.17630 + ;;
12.17631 +
12.17632 +bsdi4*)
12.17633 + version_type=linux
12.17634 + need_version=no
12.17635 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17636 + soname_spec='${libname}${release}${shared_ext}$major'
12.17637 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12.17638 + shlibpath_var=LD_LIBRARY_PATH
12.17639 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12.17640 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12.17641 + # the default ld.so.conf also contains /usr/contrib/lib and
12.17642 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12.17643 + # libtool to hard-code these into programs
12.17644 + ;;
12.17645 +
12.17646 +cygwin* | mingw* | pw32*)
12.17647 + version_type=windows
12.17648 + shrext_cmds=".dll"
12.17649 + need_version=no
12.17650 + need_lib_prefix=no
12.17651 +
12.17652 + case $GCC,$host_os in
12.17653 + yes,cygwin* | yes,mingw* | yes,pw32*)
12.17654 + library_names_spec='$libname.dll.a'
12.17655 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
12.17656 + postinstall_cmds='base_file=`basename \${file}`~
12.17657 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12.17658 + dldir=$destdir/`dirname \$dlpath`~
12.17659 + test -d \$dldir || mkdir -p \$dldir~
12.17660 + $install_prog $dir/$dlname \$dldir/$dlname'
12.17661 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12.17662 + dlpath=$dir/\$dldll~
12.17663 + $rm \$dlpath'
12.17664 + shlibpath_overrides_runpath=yes
12.17665 +
12.17666 + case $host_os in
12.17667 + cygwin*)
12.17668 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12.17669 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.17670 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12.17671 + ;;
12.17672 + mingw*)
12.17673 + # MinGW DLLs use traditional 'lib' prefix
12.17674 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12.17675 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12.17676 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12.17677 + # It is most probably a Windows format PATH printed by
12.17678 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
12.17679 + # path with ; separators, and with drive letters. We can handle the
12.17680 + # drive letters (cygwin fileutils understands them), so leave them,
12.17681 + # especially as we might pass files found there to a mingw objdump,
12.17682 + # which wouldn't understand a cygwinified path. Ahh.
12.17683 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12.17684 + else
12.17685 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12.17686 + fi
12.17687 + ;;
12.17688 + pw32*)
12.17689 + # pw32 DLLs use 'pw' prefix rather than 'lib'
12.17690 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12.17691 + ;;
12.17692 + esac
12.17693 + ;;
12.17694 +
12.17695 + *)
12.17696 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12.17697 + ;;
12.17698 + esac
12.17699 + dynamic_linker='Win32 ld.exe'
12.17700 + # FIXME: first we should search . and the directory the executable is in
12.17701 + shlibpath_var=PATH
12.17702 + ;;
12.17703 +
12.17704 +darwin* | rhapsody*)
12.17705 + dynamic_linker="$host_os dyld"
12.17706 + version_type=darwin
12.17707 + need_lib_prefix=no
12.17708 + need_version=no
12.17709 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12.17710 + soname_spec='${libname}${release}${major}$shared_ext'
12.17711 + shlibpath_overrides_runpath=yes
12.17712 + shlibpath_var=DYLD_LIBRARY_PATH
12.17713 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
12.17714 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12.17715 + if test "$GCC" = yes; then
12.17716 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12.17717 + else
12.17718 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12.17719 + fi
12.17720 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12.17721 + ;;
12.17722 +
12.17723 +dgux*)
12.17724 + version_type=linux
12.17725 + need_lib_prefix=no
12.17726 + need_version=no
12.17727 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12.17728 + soname_spec='${libname}${release}${shared_ext}$major'
12.17729 + shlibpath_var=LD_LIBRARY_PATH
12.17730 + ;;
12.17731 +
12.17732 +freebsd1*)
12.17733 + dynamic_linker=no
12.17734 + ;;
12.17735 +
12.17736 +kfreebsd*-gnu)
12.17737 + version_type=linux
12.17738 + need_lib_prefix=no
12.17739 + need_version=no
12.17740 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.17741 + soname_spec='${libname}${release}${shared_ext}$major'
12.17742 + shlibpath_var=LD_LIBRARY_PATH
12.17743 + shlibpath_overrides_runpath=no
12.17744 + hardcode_into_libs=yes
12.17745 + dynamic_linker='GNU ld.so'
12.17746 + ;;
12.17747 +
12.17748 +freebsd*)
12.17749 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12.17750 + version_type=freebsd-$objformat
12.17751 + case $version_type in
12.17752 + freebsd-elf*)
12.17753 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12.17754 + need_version=no
12.17755 + need_lib_prefix=no
12.17756 + ;;
12.17757 + freebsd-*)
12.17758 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12.17759 + need_version=yes
12.17760 + ;;
12.17761 + esac
12.17762 + shlibpath_var=LD_LIBRARY_PATH
12.17763 + case $host_os in
12.17764 + freebsd2*)
12.17765 + shlibpath_overrides_runpath=yes
12.17766 + ;;
12.17767 + freebsd3.01* | freebsdelf3.01*)
12.17768 + shlibpath_overrides_runpath=yes
12.17769 + hardcode_into_libs=yes
12.17770 + ;;
12.17771 + *) # from 3.2 on
12.17772 + shlibpath_overrides_runpath=no
12.17773 + hardcode_into_libs=yes
12.17774 + ;;
12.17775 + esac
12.17776 + ;;
12.17777 +
12.17778 +gnu*)
12.17779 + version_type=linux
12.17780 + need_lib_prefix=no
12.17781 + need_version=no
12.17782 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12.17783 + soname_spec='${libname}${release}${shared_ext}$major'
12.17784 + shlibpath_var=LD_LIBRARY_PATH
12.17785 + hardcode_into_libs=yes
12.17786 + ;;
12.17787 +
12.17788 +hpux9* | hpux10* | hpux11*)
12.17789 + # Give a soname corresponding to the major version so that dld.sl refuses to
12.17790 + # link against other versions.
12.17791 + version_type=sunos
12.17792 + need_lib_prefix=no
12.17793 + need_version=no
12.17794 + case "$host_cpu" in
12.17795 + ia64*)
12.17796 + shrext_cmds='.so'
12.17797 + hardcode_into_libs=yes
12.17798 + dynamic_linker="$host_os dld.so"
12.17799 + shlibpath_var=LD_LIBRARY_PATH
12.17800 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.17801 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17802 + soname_spec='${libname}${release}${shared_ext}$major'
12.17803 + if test "X$HPUX_IA64_MODE" = X32; then
12.17804 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12.17805 + else
12.17806 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12.17807 + fi
12.17808 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.17809 + ;;
12.17810 + hppa*64*)
12.17811 + shrext_cmds='.sl'
12.17812 + hardcode_into_libs=yes
12.17813 + dynamic_linker="$host_os dld.sl"
12.17814 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12.17815 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12.17816 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17817 + soname_spec='${libname}${release}${shared_ext}$major'
12.17818 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12.17819 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12.17820 + ;;
12.17821 + *)
12.17822 + shrext_cmds='.sl'
12.17823 + dynamic_linker="$host_os dld.sl"
12.17824 + shlibpath_var=SHLIB_PATH
12.17825 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12.17826 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17827 + soname_spec='${libname}${release}${shared_ext}$major'
12.17828 + ;;
12.17829 + esac
12.17830 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
12.17831 + postinstall_cmds='chmod 555 $lib'
12.17832 + ;;
12.17833 +
12.17834 +irix5* | irix6* | nonstopux*)
12.17835 + case $host_os in
12.17836 + nonstopux*) version_type=nonstopux ;;
12.17837 + *)
12.17838 + if test "$lt_cv_prog_gnu_ld" = yes; then
12.17839 + version_type=linux
12.17840 + else
12.17841 + version_type=irix
12.17842 + fi ;;
12.17843 + esac
12.17844 + need_lib_prefix=no
12.17845 + need_version=no
12.17846 + soname_spec='${libname}${release}${shared_ext}$major'
12.17847 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12.17848 + case $host_os in
12.17849 + irix5* | nonstopux*)
12.17850 + libsuff= shlibsuff=
12.17851 + ;;
12.17852 + *)
12.17853 + case $LD in # libtool.m4 will add one of these switches to LD
12.17854 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12.17855 + libsuff= shlibsuff= libmagic=32-bit;;
12.17856 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12.17857 + libsuff=32 shlibsuff=N32 libmagic=N32;;
12.17858 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12.17859 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
12.17860 + *) libsuff= shlibsuff= libmagic=never-match;;
12.17861 + esac
12.17862 + ;;
12.17863 + esac
12.17864 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12.17865 + shlibpath_overrides_runpath=no
12.17866 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12.17867 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12.17868 + hardcode_into_libs=yes
12.17869 + ;;
12.17870 +
12.17871 +# No shared lib support for Linux oldld, aout, or coff.
12.17872 +linux*oldld* | linux*aout* | linux*coff*)
12.17873 + dynamic_linker=no
12.17874 + ;;
12.17875 +
12.17876 +# This must be Linux ELF.
12.17877 +linux*)
12.17878 + version_type=linux
12.17879 + need_lib_prefix=no
12.17880 + need_version=no
12.17881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17882 + soname_spec='${libname}${release}${shared_ext}$major'
12.17883 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12.17884 + shlibpath_var=LD_LIBRARY_PATH
12.17885 + shlibpath_overrides_runpath=no
12.17886 + # This implies no fast_install, which is unacceptable.
12.17887 + # Some rework will be needed to allow for fast_install
12.17888 + # before this can be enabled.
12.17889 + hardcode_into_libs=yes
12.17890 +
12.17891 + # Append ld.so.conf contents to the search path
12.17892 + if test -f /etc/ld.so.conf; then
12.17893 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12.17894 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12.17895 + fi
12.17896 +
12.17897 + # We used to test for /lib/ld.so.1 and disable shared libraries on
12.17898 + # powerpc, because MkLinux only supported shared libraries with the
12.17899 + # GNU dynamic linker. Since this was broken with cross compilers,
12.17900 + # most powerpc-linux boxes support dynamic linking these days and
12.17901 + # people can always --disable-shared, the test was removed, and we
12.17902 + # assume the GNU/Linux dynamic linker is in use.
12.17903 + dynamic_linker='GNU/Linux ld.so'
12.17904 + ;;
12.17905 +
12.17906 +netbsdelf*-gnu)
12.17907 + version_type=linux
12.17908 + need_lib_prefix=no
12.17909 + need_version=no
12.17910 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.17911 + soname_spec='${libname}${release}${shared_ext}$major'
12.17912 + shlibpath_var=LD_LIBRARY_PATH
12.17913 + shlibpath_overrides_runpath=no
12.17914 + hardcode_into_libs=yes
12.17915 + dynamic_linker='NetBSD ld.elf_so'
12.17916 + ;;
12.17917 +
12.17918 +knetbsd*-gnu)
12.17919 + version_type=linux
12.17920 + need_lib_prefix=no
12.17921 + need_version=no
12.17922 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.17923 + soname_spec='${libname}${release}${shared_ext}$major'
12.17924 + shlibpath_var=LD_LIBRARY_PATH
12.17925 + shlibpath_overrides_runpath=no
12.17926 + hardcode_into_libs=yes
12.17927 + dynamic_linker='GNU ld.so'
12.17928 + ;;
12.17929 +
12.17930 +netbsd*)
12.17931 + version_type=sunos
12.17932 + need_lib_prefix=no
12.17933 + need_version=no
12.17934 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12.17935 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.17936 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.17937 + dynamic_linker='NetBSD (a.out) ld.so'
12.17938 + else
12.17939 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12.17940 + soname_spec='${libname}${release}${shared_ext}$major'
12.17941 + dynamic_linker='NetBSD ld.elf_so'
12.17942 + fi
12.17943 + shlibpath_var=LD_LIBRARY_PATH
12.17944 + shlibpath_overrides_runpath=yes
12.17945 + hardcode_into_libs=yes
12.17946 + ;;
12.17947 +
12.17948 +newsos6)
12.17949 + version_type=linux
12.17950 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17951 + shlibpath_var=LD_LIBRARY_PATH
12.17952 + shlibpath_overrides_runpath=yes
12.17953 + ;;
12.17954 +
12.17955 +nto-qnx*)
12.17956 + version_type=linux
12.17957 + need_lib_prefix=no
12.17958 + need_version=no
12.17959 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.17960 + soname_spec='${libname}${release}${shared_ext}$major'
12.17961 + shlibpath_var=LD_LIBRARY_PATH
12.17962 + shlibpath_overrides_runpath=yes
12.17963 + ;;
12.17964 +
12.17965 +openbsd*)
12.17966 + version_type=sunos
12.17967 + need_lib_prefix=no
12.17968 + need_version=yes
12.17969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.17970 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12.17971 + shlibpath_var=LD_LIBRARY_PATH
12.17972 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12.17973 + case $host_os in
12.17974 + openbsd2.[89] | openbsd2.[89].*)
12.17975 + shlibpath_overrides_runpath=no
12.17976 + ;;
12.17977 + *)
12.17978 + shlibpath_overrides_runpath=yes
12.17979 + ;;
12.17980 + esac
12.17981 + else
12.17982 + shlibpath_overrides_runpath=yes
12.17983 + fi
12.17984 + ;;
12.17985 +
12.17986 +os2*)
12.17987 + libname_spec='$name'
12.17988 + shrext_cmds=".dll"
12.17989 + need_lib_prefix=no
12.17990 + library_names_spec='$libname${shared_ext} $libname.a'
12.17991 + dynamic_linker='OS/2 ld.exe'
12.17992 + shlibpath_var=LIBPATH
12.17993 + ;;
12.17994 +
12.17995 +osf3* | osf4* | osf5*)
12.17996 + version_type=osf
12.17997 + need_lib_prefix=no
12.17998 + need_version=no
12.17999 + soname_spec='${libname}${release}${shared_ext}$major'
12.18000 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.18001 + shlibpath_var=LD_LIBRARY_PATH
12.18002 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12.18003 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12.18004 + ;;
12.18005 +
12.18006 +sco3.2v5*)
12.18007 + version_type=osf
12.18008 + soname_spec='${libname}${release}${shared_ext}$major'
12.18009 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.18010 + shlibpath_var=LD_LIBRARY_PATH
12.18011 + ;;
12.18012 +
12.18013 +solaris*)
12.18014 + version_type=linux
12.18015 + need_lib_prefix=no
12.18016 + need_version=no
12.18017 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.18018 + soname_spec='${libname}${release}${shared_ext}$major'
12.18019 + shlibpath_var=LD_LIBRARY_PATH
12.18020 + shlibpath_overrides_runpath=yes
12.18021 + hardcode_into_libs=yes
12.18022 + # ldd complains unless libraries are executable
12.18023 + postinstall_cmds='chmod +x $lib'
12.18024 + ;;
12.18025 +
12.18026 +sunos4*)
12.18027 + version_type=sunos
12.18028 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12.18029 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12.18030 + shlibpath_var=LD_LIBRARY_PATH
12.18031 + shlibpath_overrides_runpath=yes
12.18032 + if test "$with_gnu_ld" = yes; then
12.18033 + need_lib_prefix=no
12.18034 + fi
12.18035 + need_version=yes
12.18036 + ;;
12.18037 +
12.18038 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12.18039 + version_type=linux
12.18040 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.18041 + soname_spec='${libname}${release}${shared_ext}$major'
12.18042 + shlibpath_var=LD_LIBRARY_PATH
12.18043 + case $host_vendor in
12.18044 + sni)
12.18045 + shlibpath_overrides_runpath=no
12.18046 + need_lib_prefix=no
12.18047 + export_dynamic_flag_spec='${wl}-Blargedynsym'
12.18048 + runpath_var=LD_RUN_PATH
12.18049 + ;;
12.18050 + siemens)
12.18051 + need_lib_prefix=no
12.18052 + ;;
12.18053 + motorola)
12.18054 + need_lib_prefix=no
12.18055 + need_version=no
12.18056 + shlibpath_overrides_runpath=no
12.18057 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12.18058 + ;;
12.18059 + esac
12.18060 + ;;
12.18061 +
12.18062 +sysv4*MP*)
12.18063 + if test -d /usr/nec ;then
12.18064 + version_type=linux
12.18065 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12.18066 + soname_spec='$libname${shared_ext}.$major'
12.18067 + shlibpath_var=LD_LIBRARY_PATH
12.18068 + fi
12.18069 + ;;
12.18070 +
12.18071 +uts4*)
12.18072 + version_type=linux
12.18073 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12.18074 + soname_spec='${libname}${release}${shared_ext}$major'
12.18075 + shlibpath_var=LD_LIBRARY_PATH
12.18076 + ;;
12.18077 +
12.18078 +*)
12.18079 + dynamic_linker=no
12.18080 + ;;
12.18081 +esac
12.18082 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12.18083 +echo "${ECHO_T}$dynamic_linker" >&6; }
12.18084 +test "$dynamic_linker" = no && can_build_shared=no
12.18085 +
12.18086 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12.18087 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12.18088 +hardcode_action_GCJ=
12.18089 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
12.18090 + test -n "$runpath_var GCJ" || \
12.18091 + test "X$hardcode_automatic_GCJ"="Xyes" ; then
12.18092 +
12.18093 + # We can hardcode non-existant directories.
12.18094 + if test "$hardcode_direct_GCJ" != no &&
12.18095 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
12.18096 + # have to relink, otherwise we might link with an installed library
12.18097 + # when we should be linking with a yet-to-be-installed one
12.18098 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
12.18099 + test "$hardcode_minus_L_GCJ" != no; then
12.18100 + # Linking always hardcodes the temporary library directory.
12.18101 + hardcode_action_GCJ=relink
12.18102 + else
12.18103 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
12.18104 + hardcode_action_GCJ=immediate
12.18105 + fi
12.18106 +else
12.18107 + # We cannot hardcode anything, or else we can only hardcode existing
12.18108 + # directories.
12.18109 + hardcode_action_GCJ=unsupported
12.18110 +fi
12.18111 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
12.18112 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
12.18113 +
12.18114 +if test "$hardcode_action_GCJ" = relink; then
12.18115 + # Fast installation is not supported
12.18116 + enable_fast_install=no
12.18117 +elif test "$shlibpath_overrides_runpath" = yes ||
12.18118 + test "$enable_shared" = no; then
12.18119 + # Fast installation is not necessary
12.18120 + enable_fast_install=needless
12.18121 +fi
12.18122 +
12.18123 +striplib=
12.18124 +old_striplib=
12.18125 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12.18126 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12.18127 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12.18128 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12.18129 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12.18130 + { echo "$as_me:$LINENO: result: yes" >&5
12.18131 +echo "${ECHO_T}yes" >&6; }
12.18132 +else
12.18133 +# FIXME - insert some real tests, host_os isn't really good enough
12.18134 + case $host_os in
12.18135 + darwin*)
12.18136 + if test -n "$STRIP" ; then
12.18137 + striplib="$STRIP -x"
12.18138 + { echo "$as_me:$LINENO: result: yes" >&5
12.18139 +echo "${ECHO_T}yes" >&6; }
12.18140 + else
12.18141 + { echo "$as_me:$LINENO: result: no" >&5
12.18142 +echo "${ECHO_T}no" >&6; }
12.18143 +fi
12.18144 + ;;
12.18145 + *)
12.18146 + { echo "$as_me:$LINENO: result: no" >&5
12.18147 +echo "${ECHO_T}no" >&6; }
12.18148 + ;;
12.18149 + esac
12.18150 +fi
12.18151 +
12.18152 +if test "x$enable_dlopen" != xyes; then
12.18153 + enable_dlopen=unknown
12.18154 + enable_dlopen_self=unknown
12.18155 + enable_dlopen_self_static=unknown
12.18156 +else
12.18157 + lt_cv_dlopen=no
12.18158 + lt_cv_dlopen_libs=
12.18159 +
12.18160 + case $host_os in
12.18161 + beos*)
12.18162 + lt_cv_dlopen="load_add_on"
12.18163 + lt_cv_dlopen_libs=
12.18164 + lt_cv_dlopen_self=yes
12.18165 + ;;
12.18166 +
12.18167 + mingw* | pw32*)
12.18168 + lt_cv_dlopen="LoadLibrary"
12.18169 + lt_cv_dlopen_libs=
12.18170 + ;;
12.18171 +
12.18172 + cygwin*)
12.18173 + lt_cv_dlopen="dlopen"
12.18174 + lt_cv_dlopen_libs=
12.18175 + ;;
12.18176 +
12.18177 + darwin*)
12.18178 + # if libdl is installed we need to link against it
12.18179 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12.18180 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12.18181 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12.18182 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18183 +else
12.18184 + ac_check_lib_save_LIBS=$LIBS
12.18185 +LIBS="-ldl $LIBS"
12.18186 +cat >conftest.$ac_ext <<_ACEOF
12.18187 +/* confdefs.h. */
12.18188 +_ACEOF
12.18189 +cat confdefs.h >>conftest.$ac_ext
12.18190 +cat >>conftest.$ac_ext <<_ACEOF
12.18191 +/* end confdefs.h. */
12.18192 +
12.18193 +/* Override any GCC internal prototype to avoid an error.
12.18194 + Use char because int might match the return type of a GCC
12.18195 + builtin and then its argument prototype would still apply. */
12.18196 +#ifdef __cplusplus
12.18197 +extern "C"
12.18198 +#endif
12.18199 +char dlopen ();
12.18200 +int
12.18201 +main ()
12.18202 +{
12.18203 +return dlopen ();
12.18204 + ;
12.18205 + return 0;
12.18206 +}
12.18207 +_ACEOF
12.18208 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18209 +if { (ac_try="$ac_link"
12.18210 +case "(($ac_try" in
12.18211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18212 + *) ac_try_echo=$ac_try;;
12.18213 +esac
12.18214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18215 + (eval "$ac_link") 2>conftest.er1
12.18216 + ac_status=$?
12.18217 + grep -v '^ *+' conftest.er1 >conftest.err
12.18218 + rm -f conftest.er1
12.18219 + cat conftest.err >&5
12.18220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18221 + (exit $ac_status); } && {
12.18222 + test -z "$ac_c_werror_flag" ||
12.18223 + test ! -s conftest.err
12.18224 + } && test -s conftest$ac_exeext &&
12.18225 + $as_test_x conftest$ac_exeext; then
12.18226 + ac_cv_lib_dl_dlopen=yes
12.18227 +else
12.18228 + echo "$as_me: failed program was:" >&5
12.18229 +sed 's/^/| /' conftest.$ac_ext >&5
12.18230 +
12.18231 + ac_cv_lib_dl_dlopen=no
12.18232 +fi
12.18233 +
12.18234 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18235 + conftest$ac_exeext conftest.$ac_ext
12.18236 +LIBS=$ac_check_lib_save_LIBS
12.18237 +fi
12.18238 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12.18239 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12.18240 +if test $ac_cv_lib_dl_dlopen = yes; then
12.18241 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12.18242 +else
12.18243 +
12.18244 + lt_cv_dlopen="dyld"
12.18245 + lt_cv_dlopen_libs=
12.18246 + lt_cv_dlopen_self=yes
12.18247 +
12.18248 +fi
12.18249 +
12.18250 + ;;
12.18251 +
12.18252 + *)
12.18253 + { echo "$as_me:$LINENO: checking for shl_load" >&5
12.18254 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12.18255 +if test "${ac_cv_func_shl_load+set}" = set; then
12.18256 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18257 +else
12.18258 + cat >conftest.$ac_ext <<_ACEOF
12.18259 +/* confdefs.h. */
12.18260 +_ACEOF
12.18261 +cat confdefs.h >>conftest.$ac_ext
12.18262 +cat >>conftest.$ac_ext <<_ACEOF
12.18263 +/* end confdefs.h. */
12.18264 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12.18265 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
12.18266 +#define shl_load innocuous_shl_load
12.18267 +
12.18268 +/* System header to define __stub macros and hopefully few prototypes,
12.18269 + which can conflict with char shl_load (); below.
12.18270 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.18271 + <limits.h> exists even on freestanding compilers. */
12.18272 +
12.18273 +#ifdef __STDC__
12.18274 +# include <limits.h>
12.18275 +#else
12.18276 +# include <assert.h>
12.18277 +#endif
12.18278 +
12.18279 +#undef shl_load
12.18280 +
12.18281 +/* Override any GCC internal prototype to avoid an error.
12.18282 + Use char because int might match the return type of a GCC
12.18283 + builtin and then its argument prototype would still apply. */
12.18284 +#ifdef __cplusplus
12.18285 +extern "C"
12.18286 +#endif
12.18287 +char shl_load ();
12.18288 +/* The GNU C library defines this for functions which it implements
12.18289 + to always fail with ENOSYS. Some functions are actually named
12.18290 + something starting with __ and the normal name is an alias. */
12.18291 +#if defined __stub_shl_load || defined __stub___shl_load
12.18292 +choke me
12.18293 +#endif
12.18294 +
12.18295 +int
12.18296 +main ()
12.18297 +{
12.18298 +return shl_load ();
12.18299 + ;
12.18300 + return 0;
12.18301 +}
12.18302 +_ACEOF
12.18303 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18304 +if { (ac_try="$ac_link"
12.18305 +case "(($ac_try" in
12.18306 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18307 + *) ac_try_echo=$ac_try;;
12.18308 +esac
12.18309 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18310 + (eval "$ac_link") 2>conftest.er1
12.18311 + ac_status=$?
12.18312 + grep -v '^ *+' conftest.er1 >conftest.err
12.18313 + rm -f conftest.er1
12.18314 + cat conftest.err >&5
12.18315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18316 + (exit $ac_status); } && {
12.18317 + test -z "$ac_c_werror_flag" ||
12.18318 + test ! -s conftest.err
12.18319 + } && test -s conftest$ac_exeext &&
12.18320 + $as_test_x conftest$ac_exeext; then
12.18321 + ac_cv_func_shl_load=yes
12.18322 +else
12.18323 + echo "$as_me: failed program was:" >&5
12.18324 +sed 's/^/| /' conftest.$ac_ext >&5
12.18325 +
12.18326 + ac_cv_func_shl_load=no
12.18327 +fi
12.18328 +
12.18329 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18330 + conftest$ac_exeext conftest.$ac_ext
12.18331 +fi
12.18332 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12.18333 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12.18334 +if test $ac_cv_func_shl_load = yes; then
12.18335 + lt_cv_dlopen="shl_load"
12.18336 +else
12.18337 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12.18338 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12.18339 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12.18340 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18341 +else
12.18342 + ac_check_lib_save_LIBS=$LIBS
12.18343 +LIBS="-ldld $LIBS"
12.18344 +cat >conftest.$ac_ext <<_ACEOF
12.18345 +/* confdefs.h. */
12.18346 +_ACEOF
12.18347 +cat confdefs.h >>conftest.$ac_ext
12.18348 +cat >>conftest.$ac_ext <<_ACEOF
12.18349 +/* end confdefs.h. */
12.18350 +
12.18351 +/* Override any GCC internal prototype to avoid an error.
12.18352 + Use char because int might match the return type of a GCC
12.18353 + builtin and then its argument prototype would still apply. */
12.18354 +#ifdef __cplusplus
12.18355 +extern "C"
12.18356 +#endif
12.18357 +char shl_load ();
12.18358 +int
12.18359 +main ()
12.18360 +{
12.18361 +return shl_load ();
12.18362 + ;
12.18363 + return 0;
12.18364 +}
12.18365 +_ACEOF
12.18366 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18367 +if { (ac_try="$ac_link"
12.18368 +case "(($ac_try" in
12.18369 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18370 + *) ac_try_echo=$ac_try;;
12.18371 +esac
12.18372 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18373 + (eval "$ac_link") 2>conftest.er1
12.18374 + ac_status=$?
12.18375 + grep -v '^ *+' conftest.er1 >conftest.err
12.18376 + rm -f conftest.er1
12.18377 + cat conftest.err >&5
12.18378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18379 + (exit $ac_status); } && {
12.18380 + test -z "$ac_c_werror_flag" ||
12.18381 + test ! -s conftest.err
12.18382 + } && test -s conftest$ac_exeext &&
12.18383 + $as_test_x conftest$ac_exeext; then
12.18384 + ac_cv_lib_dld_shl_load=yes
12.18385 +else
12.18386 + echo "$as_me: failed program was:" >&5
12.18387 +sed 's/^/| /' conftest.$ac_ext >&5
12.18388 +
12.18389 + ac_cv_lib_dld_shl_load=no
12.18390 +fi
12.18391 +
12.18392 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18393 + conftest$ac_exeext conftest.$ac_ext
12.18394 +LIBS=$ac_check_lib_save_LIBS
12.18395 +fi
12.18396 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12.18397 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12.18398 +if test $ac_cv_lib_dld_shl_load = yes; then
12.18399 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12.18400 +else
12.18401 + { echo "$as_me:$LINENO: checking for dlopen" >&5
12.18402 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12.18403 +if test "${ac_cv_func_dlopen+set}" = set; then
12.18404 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18405 +else
12.18406 + cat >conftest.$ac_ext <<_ACEOF
12.18407 +/* confdefs.h. */
12.18408 +_ACEOF
12.18409 +cat confdefs.h >>conftest.$ac_ext
12.18410 +cat >>conftest.$ac_ext <<_ACEOF
12.18411 +/* end confdefs.h. */
12.18412 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12.18413 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
12.18414 +#define dlopen innocuous_dlopen
12.18415 +
12.18416 +/* System header to define __stub macros and hopefully few prototypes,
12.18417 + which can conflict with char dlopen (); below.
12.18418 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.18419 + <limits.h> exists even on freestanding compilers. */
12.18420 +
12.18421 +#ifdef __STDC__
12.18422 +# include <limits.h>
12.18423 +#else
12.18424 +# include <assert.h>
12.18425 +#endif
12.18426 +
12.18427 +#undef dlopen
12.18428 +
12.18429 +/* Override any GCC internal prototype to avoid an error.
12.18430 + Use char because int might match the return type of a GCC
12.18431 + builtin and then its argument prototype would still apply. */
12.18432 +#ifdef __cplusplus
12.18433 +extern "C"
12.18434 +#endif
12.18435 +char dlopen ();
12.18436 +/* The GNU C library defines this for functions which it implements
12.18437 + to always fail with ENOSYS. Some functions are actually named
12.18438 + something starting with __ and the normal name is an alias. */
12.18439 +#if defined __stub_dlopen || defined __stub___dlopen
12.18440 +choke me
12.18441 +#endif
12.18442 +
12.18443 +int
12.18444 +main ()
12.18445 +{
12.18446 +return dlopen ();
12.18447 + ;
12.18448 + return 0;
12.18449 +}
12.18450 +_ACEOF
12.18451 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18452 +if { (ac_try="$ac_link"
12.18453 +case "(($ac_try" in
12.18454 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18455 + *) ac_try_echo=$ac_try;;
12.18456 +esac
12.18457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18458 + (eval "$ac_link") 2>conftest.er1
12.18459 + ac_status=$?
12.18460 + grep -v '^ *+' conftest.er1 >conftest.err
12.18461 + rm -f conftest.er1
12.18462 + cat conftest.err >&5
12.18463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18464 + (exit $ac_status); } && {
12.18465 + test -z "$ac_c_werror_flag" ||
12.18466 + test ! -s conftest.err
12.18467 + } && test -s conftest$ac_exeext &&
12.18468 + $as_test_x conftest$ac_exeext; then
12.18469 + ac_cv_func_dlopen=yes
12.18470 +else
12.18471 + echo "$as_me: failed program was:" >&5
12.18472 +sed 's/^/| /' conftest.$ac_ext >&5
12.18473 +
12.18474 + ac_cv_func_dlopen=no
12.18475 +fi
12.18476 +
12.18477 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18478 + conftest$ac_exeext conftest.$ac_ext
12.18479 +fi
12.18480 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12.18481 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12.18482 +if test $ac_cv_func_dlopen = yes; then
12.18483 + lt_cv_dlopen="dlopen"
12.18484 +else
12.18485 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12.18486 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12.18487 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12.18488 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18489 +else
12.18490 + ac_check_lib_save_LIBS=$LIBS
12.18491 +LIBS="-ldl $LIBS"
12.18492 +cat >conftest.$ac_ext <<_ACEOF
12.18493 +/* confdefs.h. */
12.18494 +_ACEOF
12.18495 +cat confdefs.h >>conftest.$ac_ext
12.18496 +cat >>conftest.$ac_ext <<_ACEOF
12.18497 +/* end confdefs.h. */
12.18498 +
12.18499 +/* Override any GCC internal prototype to avoid an error.
12.18500 + Use char because int might match the return type of a GCC
12.18501 + builtin and then its argument prototype would still apply. */
12.18502 +#ifdef __cplusplus
12.18503 +extern "C"
12.18504 +#endif
12.18505 +char dlopen ();
12.18506 +int
12.18507 +main ()
12.18508 +{
12.18509 +return dlopen ();
12.18510 + ;
12.18511 + return 0;
12.18512 +}
12.18513 +_ACEOF
12.18514 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18515 +if { (ac_try="$ac_link"
12.18516 +case "(($ac_try" in
12.18517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18518 + *) ac_try_echo=$ac_try;;
12.18519 +esac
12.18520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18521 + (eval "$ac_link") 2>conftest.er1
12.18522 + ac_status=$?
12.18523 + grep -v '^ *+' conftest.er1 >conftest.err
12.18524 + rm -f conftest.er1
12.18525 + cat conftest.err >&5
12.18526 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18527 + (exit $ac_status); } && {
12.18528 + test -z "$ac_c_werror_flag" ||
12.18529 + test ! -s conftest.err
12.18530 + } && test -s conftest$ac_exeext &&
12.18531 + $as_test_x conftest$ac_exeext; then
12.18532 + ac_cv_lib_dl_dlopen=yes
12.18533 +else
12.18534 + echo "$as_me: failed program was:" >&5
12.18535 +sed 's/^/| /' conftest.$ac_ext >&5
12.18536 +
12.18537 + ac_cv_lib_dl_dlopen=no
12.18538 +fi
12.18539 +
12.18540 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18541 + conftest$ac_exeext conftest.$ac_ext
12.18542 +LIBS=$ac_check_lib_save_LIBS
12.18543 +fi
12.18544 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12.18545 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12.18546 +if test $ac_cv_lib_dl_dlopen = yes; then
12.18547 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12.18548 +else
12.18549 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12.18550 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12.18551 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12.18552 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18553 +else
12.18554 + ac_check_lib_save_LIBS=$LIBS
12.18555 +LIBS="-lsvld $LIBS"
12.18556 +cat >conftest.$ac_ext <<_ACEOF
12.18557 +/* confdefs.h. */
12.18558 +_ACEOF
12.18559 +cat confdefs.h >>conftest.$ac_ext
12.18560 +cat >>conftest.$ac_ext <<_ACEOF
12.18561 +/* end confdefs.h. */
12.18562 +
12.18563 +/* Override any GCC internal prototype to avoid an error.
12.18564 + Use char because int might match the return type of a GCC
12.18565 + builtin and then its argument prototype would still apply. */
12.18566 +#ifdef __cplusplus
12.18567 +extern "C"
12.18568 +#endif
12.18569 +char dlopen ();
12.18570 +int
12.18571 +main ()
12.18572 +{
12.18573 +return dlopen ();
12.18574 + ;
12.18575 + return 0;
12.18576 +}
12.18577 +_ACEOF
12.18578 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18579 +if { (ac_try="$ac_link"
12.18580 +case "(($ac_try" in
12.18581 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18582 + *) ac_try_echo=$ac_try;;
12.18583 +esac
12.18584 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18585 + (eval "$ac_link") 2>conftest.er1
12.18586 + ac_status=$?
12.18587 + grep -v '^ *+' conftest.er1 >conftest.err
12.18588 + rm -f conftest.er1
12.18589 + cat conftest.err >&5
12.18590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18591 + (exit $ac_status); } && {
12.18592 + test -z "$ac_c_werror_flag" ||
12.18593 + test ! -s conftest.err
12.18594 + } && test -s conftest$ac_exeext &&
12.18595 + $as_test_x conftest$ac_exeext; then
12.18596 + ac_cv_lib_svld_dlopen=yes
12.18597 +else
12.18598 + echo "$as_me: failed program was:" >&5
12.18599 +sed 's/^/| /' conftest.$ac_ext >&5
12.18600 +
12.18601 + ac_cv_lib_svld_dlopen=no
12.18602 +fi
12.18603 +
12.18604 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18605 + conftest$ac_exeext conftest.$ac_ext
12.18606 +LIBS=$ac_check_lib_save_LIBS
12.18607 +fi
12.18608 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12.18609 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12.18610 +if test $ac_cv_lib_svld_dlopen = yes; then
12.18611 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12.18612 +else
12.18613 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12.18614 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12.18615 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12.18616 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18617 +else
12.18618 + ac_check_lib_save_LIBS=$LIBS
12.18619 +LIBS="-ldld $LIBS"
12.18620 +cat >conftest.$ac_ext <<_ACEOF
12.18621 +/* confdefs.h. */
12.18622 +_ACEOF
12.18623 +cat confdefs.h >>conftest.$ac_ext
12.18624 +cat >>conftest.$ac_ext <<_ACEOF
12.18625 +/* end confdefs.h. */
12.18626 +
12.18627 +/* Override any GCC internal prototype to avoid an error.
12.18628 + Use char because int might match the return type of a GCC
12.18629 + builtin and then its argument prototype would still apply. */
12.18630 +#ifdef __cplusplus
12.18631 +extern "C"
12.18632 +#endif
12.18633 +char dld_link ();
12.18634 +int
12.18635 +main ()
12.18636 +{
12.18637 +return dld_link ();
12.18638 + ;
12.18639 + return 0;
12.18640 +}
12.18641 +_ACEOF
12.18642 +rm -f conftest.$ac_objext conftest$ac_exeext
12.18643 +if { (ac_try="$ac_link"
12.18644 +case "(($ac_try" in
12.18645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.18646 + *) ac_try_echo=$ac_try;;
12.18647 +esac
12.18648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.18649 + (eval "$ac_link") 2>conftest.er1
12.18650 + ac_status=$?
12.18651 + grep -v '^ *+' conftest.er1 >conftest.err
12.18652 + rm -f conftest.er1
12.18653 + cat conftest.err >&5
12.18654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18655 + (exit $ac_status); } && {
12.18656 + test -z "$ac_c_werror_flag" ||
12.18657 + test ! -s conftest.err
12.18658 + } && test -s conftest$ac_exeext &&
12.18659 + $as_test_x conftest$ac_exeext; then
12.18660 + ac_cv_lib_dld_dld_link=yes
12.18661 +else
12.18662 + echo "$as_me: failed program was:" >&5
12.18663 +sed 's/^/| /' conftest.$ac_ext >&5
12.18664 +
12.18665 + ac_cv_lib_dld_dld_link=no
12.18666 +fi
12.18667 +
12.18668 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.18669 + conftest$ac_exeext conftest.$ac_ext
12.18670 +LIBS=$ac_check_lib_save_LIBS
12.18671 +fi
12.18672 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12.18673 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12.18674 +if test $ac_cv_lib_dld_dld_link = yes; then
12.18675 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12.18676 +fi
12.18677 +
12.18678 +
12.18679 +fi
12.18680 +
12.18681 +
12.18682 +fi
12.18683 +
12.18684 +
12.18685 +fi
12.18686 +
12.18687 +
12.18688 +fi
12.18689 +
12.18690 +
12.18691 +fi
12.18692 +
12.18693 + ;;
12.18694 + esac
12.18695 +
12.18696 + if test "x$lt_cv_dlopen" != xno; then
12.18697 + enable_dlopen=yes
12.18698 + else
12.18699 + enable_dlopen=no
12.18700 + fi
12.18701 +
12.18702 + case $lt_cv_dlopen in
12.18703 + dlopen)
12.18704 + save_CPPFLAGS="$CPPFLAGS"
12.18705 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12.18706 +
12.18707 + save_LDFLAGS="$LDFLAGS"
12.18708 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12.18709 +
12.18710 + save_LIBS="$LIBS"
12.18711 + LIBS="$lt_cv_dlopen_libs $LIBS"
12.18712 +
12.18713 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12.18714 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12.18715 +if test "${lt_cv_dlopen_self+set}" = set; then
12.18716 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18717 +else
12.18718 + if test "$cross_compiling" = yes; then :
12.18719 + lt_cv_dlopen_self=cross
12.18720 +else
12.18721 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12.18722 + lt_status=$lt_dlunknown
12.18723 + cat > conftest.$ac_ext <<EOF
12.18724 +#line __oline__ "configure"
12.18725 +#include "confdefs.h"
12.18726 +
12.18727 +#if HAVE_DLFCN_H
12.18728 +#include <dlfcn.h>
12.18729 +#endif
12.18730 +
12.18731 +#include <stdio.h>
12.18732 +
12.18733 +#ifdef RTLD_GLOBAL
12.18734 +# define LT_DLGLOBAL RTLD_GLOBAL
12.18735 +#else
12.18736 +# ifdef DL_GLOBAL
12.18737 +# define LT_DLGLOBAL DL_GLOBAL
12.18738 +# else
12.18739 +# define LT_DLGLOBAL 0
12.18740 +# endif
12.18741 +#endif
12.18742 +
12.18743 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12.18744 + find out it does not work in some platform. */
12.18745 +#ifndef LT_DLLAZY_OR_NOW
12.18746 +# ifdef RTLD_LAZY
12.18747 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
12.18748 +# else
12.18749 +# ifdef DL_LAZY
12.18750 +# define LT_DLLAZY_OR_NOW DL_LAZY
12.18751 +# else
12.18752 +# ifdef RTLD_NOW
12.18753 +# define LT_DLLAZY_OR_NOW RTLD_NOW
12.18754 +# else
12.18755 +# ifdef DL_NOW
12.18756 +# define LT_DLLAZY_OR_NOW DL_NOW
12.18757 +# else
12.18758 +# define LT_DLLAZY_OR_NOW 0
12.18759 +# endif
12.18760 +# endif
12.18761 +# endif
12.18762 +# endif
12.18763 +#endif
12.18764 +
12.18765 +#ifdef __cplusplus
12.18766 +extern "C" void exit (int);
12.18767 +#endif
12.18768 +
12.18769 +void fnord() { int i=42;}
12.18770 +int main ()
12.18771 +{
12.18772 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12.18773 + int status = $lt_dlunknown;
12.18774 +
12.18775 + if (self)
12.18776 + {
12.18777 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12.18778 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12.18779 + /* dlclose (self); */
12.18780 + }
12.18781 +
12.18782 + exit (status);
12.18783 +}
12.18784 +EOF
12.18785 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.18786 + (eval $ac_link) 2>&5
12.18787 + ac_status=$?
12.18788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18789 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12.18790 + (./conftest; exit; ) 2>/dev/null
12.18791 + lt_status=$?
12.18792 + case x$lt_status in
12.18793 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12.18794 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12.18795 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12.18796 + esac
12.18797 + else :
12.18798 + # compilation failed
12.18799 + lt_cv_dlopen_self=no
12.18800 + fi
12.18801 +fi
12.18802 +rm -fr conftest*
12.18803 +
12.18804 +
12.18805 +fi
12.18806 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12.18807 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12.18808 +
12.18809 + if test "x$lt_cv_dlopen_self" = xyes; then
12.18810 + LDFLAGS="$LDFLAGS $link_static_flag"
12.18811 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12.18812 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12.18813 +if test "${lt_cv_dlopen_self_static+set}" = set; then
12.18814 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.18815 +else
12.18816 + if test "$cross_compiling" = yes; then :
12.18817 + lt_cv_dlopen_self_static=cross
12.18818 +else
12.18819 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12.18820 + lt_status=$lt_dlunknown
12.18821 + cat > conftest.$ac_ext <<EOF
12.18822 +#line __oline__ "configure"
12.18823 +#include "confdefs.h"
12.18824 +
12.18825 +#if HAVE_DLFCN_H
12.18826 +#include <dlfcn.h>
12.18827 +#endif
12.18828 +
12.18829 +#include <stdio.h>
12.18830 +
12.18831 +#ifdef RTLD_GLOBAL
12.18832 +# define LT_DLGLOBAL RTLD_GLOBAL
12.18833 +#else
12.18834 +# ifdef DL_GLOBAL
12.18835 +# define LT_DLGLOBAL DL_GLOBAL
12.18836 +# else
12.18837 +# define LT_DLGLOBAL 0
12.18838 +# endif
12.18839 +#endif
12.18840 +
12.18841 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12.18842 + find out it does not work in some platform. */
12.18843 +#ifndef LT_DLLAZY_OR_NOW
12.18844 +# ifdef RTLD_LAZY
12.18845 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
12.18846 +# else
12.18847 +# ifdef DL_LAZY
12.18848 +# define LT_DLLAZY_OR_NOW DL_LAZY
12.18849 +# else
12.18850 +# ifdef RTLD_NOW
12.18851 +# define LT_DLLAZY_OR_NOW RTLD_NOW
12.18852 +# else
12.18853 +# ifdef DL_NOW
12.18854 +# define LT_DLLAZY_OR_NOW DL_NOW
12.18855 +# else
12.18856 +# define LT_DLLAZY_OR_NOW 0
12.18857 +# endif
12.18858 +# endif
12.18859 +# endif
12.18860 +# endif
12.18861 +#endif
12.18862 +
12.18863 +#ifdef __cplusplus
12.18864 +extern "C" void exit (int);
12.18865 +#endif
12.18866 +
12.18867 +void fnord() { int i=42;}
12.18868 +int main ()
12.18869 +{
12.18870 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12.18871 + int status = $lt_dlunknown;
12.18872 +
12.18873 + if (self)
12.18874 + {
12.18875 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12.18876 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12.18877 + /* dlclose (self); */
12.18878 + }
12.18879 +
12.18880 + exit (status);
12.18881 +}
12.18882 +EOF
12.18883 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12.18884 + (eval $ac_link) 2>&5
12.18885 + ac_status=$?
12.18886 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.18887 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12.18888 + (./conftest; exit; ) 2>/dev/null
12.18889 + lt_status=$?
12.18890 + case x$lt_status in
12.18891 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12.18892 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12.18893 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12.18894 + esac
12.18895 + else :
12.18896 + # compilation failed
12.18897 + lt_cv_dlopen_self_static=no
12.18898 + fi
12.18899 +fi
12.18900 +rm -fr conftest*
12.18901 +
12.18902 +
12.18903 +fi
12.18904 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12.18905 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12.18906 + fi
12.18907 +
12.18908 + CPPFLAGS="$save_CPPFLAGS"
12.18909 + LDFLAGS="$save_LDFLAGS"
12.18910 + LIBS="$save_LIBS"
12.18911 + ;;
12.18912 + esac
12.18913 +
12.18914 + case $lt_cv_dlopen_self in
12.18915 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12.18916 + *) enable_dlopen_self=unknown ;;
12.18917 + esac
12.18918 +
12.18919 + case $lt_cv_dlopen_self_static in
12.18920 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12.18921 + *) enable_dlopen_self_static=unknown ;;
12.18922 + esac
12.18923 +fi
12.18924 +
12.18925 +
12.18926 +# The else clause should only fire when bootstrapping the
12.18927 +# libtool distribution, otherwise you forgot to ship ltmain.sh
12.18928 +# with your package, and you will get complaints that there are
12.18929 +# no rules to generate ltmain.sh.
12.18930 +if test -f "$ltmain"; then
12.18931 + # See if we are running on zsh, and set the options which allow our commands through
12.18932 + # without removal of \ escapes.
12.18933 + if test -n "${ZSH_VERSION+set}" ; then
12.18934 + setopt NO_GLOB_SUBST
12.18935 + fi
12.18936 + # Now quote all the things that may contain metacharacters while being
12.18937 + # careful not to overquote the AC_SUBSTed values. We take copies of the
12.18938 + # variables and quote the copies for generation of the libtool script.
12.18939 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12.18940 + SED SHELL STRIP \
12.18941 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12.18942 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12.18943 + deplibs_check_method reload_flag reload_cmds need_locks \
12.18944 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12.18945 + lt_cv_sys_global_symbol_to_c_name_address \
12.18946 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12.18947 + old_postinstall_cmds old_postuninstall_cmds \
12.18948 + compiler_GCJ \
12.18949 + CC_GCJ \
12.18950 + LD_GCJ \
12.18951 + lt_prog_compiler_wl_GCJ \
12.18952 + lt_prog_compiler_pic_GCJ \
12.18953 + lt_prog_compiler_static_GCJ \
12.18954 + lt_prog_compiler_no_builtin_flag_GCJ \
12.18955 + export_dynamic_flag_spec_GCJ \
12.18956 + thread_safe_flag_spec_GCJ \
12.18957 + whole_archive_flag_spec_GCJ \
12.18958 + enable_shared_with_static_runtimes_GCJ \
12.18959 + old_archive_cmds_GCJ \
12.18960 + old_archive_from_new_cmds_GCJ \
12.18961 + predep_objects_GCJ \
12.18962 + postdep_objects_GCJ \
12.18963 + predeps_GCJ \
12.18964 + postdeps_GCJ \
12.18965 + compiler_lib_search_path_GCJ \
12.18966 + archive_cmds_GCJ \
12.18967 + archive_expsym_cmds_GCJ \
12.18968 + postinstall_cmds_GCJ \
12.18969 + postuninstall_cmds_GCJ \
12.18970 + old_archive_from_expsyms_cmds_GCJ \
12.18971 + allow_undefined_flag_GCJ \
12.18972 + no_undefined_flag_GCJ \
12.18973 + export_symbols_cmds_GCJ \
12.18974 + hardcode_libdir_flag_spec_GCJ \
12.18975 + hardcode_libdir_flag_spec_ld_GCJ \
12.18976 + hardcode_libdir_separator_GCJ \
12.18977 + hardcode_automatic_GCJ \
12.18978 + module_cmds_GCJ \
12.18979 + module_expsym_cmds_GCJ \
12.18980 + lt_cv_prog_compiler_c_o_GCJ \
12.18981 + exclude_expsyms_GCJ \
12.18982 + include_expsyms_GCJ; do
12.18983 +
12.18984 + case $var in
12.18985 + old_archive_cmds_GCJ | \
12.18986 + old_archive_from_new_cmds_GCJ | \
12.18987 + archive_cmds_GCJ | \
12.18988 + archive_expsym_cmds_GCJ | \
12.18989 + module_cmds_GCJ | \
12.18990 + module_expsym_cmds_GCJ | \
12.18991 + old_archive_from_expsyms_cmds_GCJ | \
12.18992 + export_symbols_cmds_GCJ | \
12.18993 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
12.18994 + postinstall_cmds | postuninstall_cmds | \
12.18995 + old_postinstall_cmds | old_postuninstall_cmds | \
12.18996 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12.18997 + # Double-quote double-evaled strings.
12.18998 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12.18999 + ;;
12.19000 + *)
12.19001 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12.19002 + ;;
12.19003 + esac
12.19004 + done
12.19005 +
12.19006 + case $lt_echo in
12.19007 + *'\$0 --fallback-echo"')
12.19008 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12.19009 + ;;
12.19010 + esac
12.19011 +
12.19012 +cfgfile="$ofile"
12.19013 +
12.19014 + cat <<__EOF__ >> "$cfgfile"
12.19015 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12.19016 +
12.19017 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12.19018 +
12.19019 +# Shell to use when invoking shell scripts.
12.19020 +SHELL=$lt_SHELL
12.19021 +
12.19022 +# Whether or not to build shared libraries.
12.19023 +build_libtool_libs=$enable_shared
12.19024 +
12.19025 +# Whether or not to build static libraries.
12.19026 +build_old_libs=$enable_static
12.19027 +
12.19028 +# Whether or not to add -lc for building shared libraries.
12.19029 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
12.19030 +
12.19031 +# Whether or not to disallow shared libs when runtime libs are static
12.19032 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
12.19033 +
12.19034 +# Whether or not to optimize for fast installation.
12.19035 +fast_install=$enable_fast_install
12.19036 +
12.19037 +# The host system.
12.19038 +host_alias=$host_alias
12.19039 +host=$host
12.19040 +
12.19041 +# An echo program that does not interpret backslashes.
12.19042 +echo=$lt_echo
12.19043 +
12.19044 +# The archiver.
12.19045 +AR=$lt_AR
12.19046 +AR_FLAGS=$lt_AR_FLAGS
12.19047 +
12.19048 +# A C compiler.
12.19049 +LTCC=$lt_LTCC
12.19050 +
12.19051 +# A language-specific compiler.
12.19052 +CC=$lt_compiler_GCJ
12.19053 +
12.19054 +# Is the compiler the GNU C compiler?
12.19055 +with_gcc=$GCC_GCJ
12.19056 +
12.19057 +# An ERE matcher.
12.19058 +EGREP=$lt_EGREP
12.19059 +
12.19060 +# The linker used to build libraries.
12.19061 +LD=$lt_LD_GCJ
12.19062 +
12.19063 +# Whether we need hard or soft links.
12.19064 +LN_S=$lt_LN_S
12.19065 +
12.19066 +# A BSD-compatible nm program.
12.19067 +NM=$lt_NM
12.19068 +
12.19069 +# A symbol stripping program
12.19070 +STRIP=$lt_STRIP
12.19071 +
12.19072 +# Used to examine libraries when file_magic_cmd begins "file"
12.19073 +MAGIC_CMD=$MAGIC_CMD
12.19074 +
12.19075 +# Used on cygwin: DLL creation program.
12.19076 +DLLTOOL="$DLLTOOL"
12.19077 +
12.19078 +# Used on cygwin: object dumper.
12.19079 +OBJDUMP="$OBJDUMP"
12.19080 +
12.19081 +# Used on cygwin: assembler.
12.19082 +AS="$AS"
12.19083 +
12.19084 +# The name of the directory that contains temporary libtool files.
12.19085 +objdir=$objdir
12.19086 +
12.19087 +# How to create reloadable object files.
12.19088 +reload_flag=$lt_reload_flag
12.19089 +reload_cmds=$lt_reload_cmds
12.19090 +
12.19091 +# How to pass a linker flag through the compiler.
12.19092 +wl=$lt_lt_prog_compiler_wl_GCJ
12.19093 +
12.19094 +# Object file suffix (normally "o").
12.19095 +objext="$ac_objext"
12.19096 +
12.19097 +# Old archive suffix (normally "a").
12.19098 +libext="$libext"
12.19099 +
12.19100 +# Shared library suffix (normally ".so").
12.19101 +shrext_cmds='$shrext_cmds'
12.19102 +
12.19103 +# Executable file suffix (normally "").
12.19104 +exeext="$exeext"
12.19105 +
12.19106 +# Additional compiler flags for building library objects.
12.19107 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
12.19108 +pic_mode=$pic_mode
12.19109 +
12.19110 +# What is the maximum length of a command?
12.19111 +max_cmd_len=$lt_cv_sys_max_cmd_len
12.19112 +
12.19113 +# Does compiler simultaneously support -c and -o options?
12.19114 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
12.19115 +
12.19116 +# Must we lock files when doing compilation ?
12.19117 +need_locks=$lt_need_locks
12.19118 +
12.19119 +# Do we need the lib prefix for modules?
12.19120 +need_lib_prefix=$need_lib_prefix
12.19121 +
12.19122 +# Do we need a version for libraries?
12.19123 +need_version=$need_version
12.19124 +
12.19125 +# Whether dlopen is supported.
12.19126 +dlopen_support=$enable_dlopen
12.19127 +
12.19128 +# Whether dlopen of programs is supported.
12.19129 +dlopen_self=$enable_dlopen_self
12.19130 +
12.19131 +# Whether dlopen of statically linked programs is supported.
12.19132 +dlopen_self_static=$enable_dlopen_self_static
12.19133 +
12.19134 +# Compiler flag to prevent dynamic linking.
12.19135 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
12.19136 +
12.19137 +# Compiler flag to turn off builtin functions.
12.19138 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
12.19139 +
12.19140 +# Compiler flag to allow reflexive dlopens.
12.19141 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
12.19142 +
12.19143 +# Compiler flag to generate shared objects directly from archives.
12.19144 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
12.19145 +
12.19146 +# Compiler flag to generate thread-safe objects.
12.19147 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
12.19148 +
12.19149 +# Library versioning type.
12.19150 +version_type=$version_type
12.19151 +
12.19152 +# Format of library name prefix.
12.19153 +libname_spec=$lt_libname_spec
12.19154 +
12.19155 +# List of archive names. First name is the real one, the rest are links.
12.19156 +# The last name is the one that the linker finds with -lNAME.
12.19157 +library_names_spec=$lt_library_names_spec
12.19158 +
12.19159 +# The coded name of the library, if different from the real name.
12.19160 +soname_spec=$lt_soname_spec
12.19161 +
12.19162 +# Commands used to build and install an old-style archive.
12.19163 +RANLIB=$lt_RANLIB
12.19164 +old_archive_cmds=$lt_old_archive_cmds_GCJ
12.19165 +old_postinstall_cmds=$lt_old_postinstall_cmds
12.19166 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
12.19167 +
12.19168 +# Create an old-style archive from a shared archive.
12.19169 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
12.19170 +
12.19171 +# Create a temporary old-style archive to link instead of a shared archive.
12.19172 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
12.19173 +
12.19174 +# Commands used to build and install a shared archive.
12.19175 +archive_cmds=$lt_archive_cmds_GCJ
12.19176 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
12.19177 +postinstall_cmds=$lt_postinstall_cmds
12.19178 +postuninstall_cmds=$lt_postuninstall_cmds
12.19179 +
12.19180 +# Commands used to build a loadable module (assumed same as above if empty)
12.19181 +module_cmds=$lt_module_cmds_GCJ
12.19182 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
12.19183 +
12.19184 +# Commands to strip libraries.
12.19185 +old_striplib=$lt_old_striplib
12.19186 +striplib=$lt_striplib
12.19187 +
12.19188 +# Dependencies to place before the objects being linked to create a
12.19189 +# shared library.
12.19190 +predep_objects=$lt_predep_objects_GCJ
12.19191 +
12.19192 +# Dependencies to place after the objects being linked to create a
12.19193 +# shared library.
12.19194 +postdep_objects=$lt_postdep_objects_GCJ
12.19195 +
12.19196 +# Dependencies to place before the objects being linked to create a
12.19197 +# shared library.
12.19198 +predeps=$lt_predeps_GCJ
12.19199 +
12.19200 +# Dependencies to place after the objects being linked to create a
12.19201 +# shared library.
12.19202 +postdeps=$lt_postdeps_GCJ
12.19203 +
12.19204 +# The library search path used internally by the compiler when linking
12.19205 +# a shared library.
12.19206 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
12.19207 +
12.19208 +# Method to check whether dependent libraries are shared objects.
12.19209 +deplibs_check_method=$lt_deplibs_check_method
12.19210 +
12.19211 +# Command to use when deplibs_check_method == file_magic.
12.19212 +file_magic_cmd=$lt_file_magic_cmd
12.19213 +
12.19214 +# Flag that allows shared libraries with undefined symbols to be built.
12.19215 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
12.19216 +
12.19217 +# Flag that forces no undefined symbols.
12.19218 +no_undefined_flag=$lt_no_undefined_flag_GCJ
12.19219 +
12.19220 +# Commands used to finish a libtool library installation in a directory.
12.19221 +finish_cmds=$lt_finish_cmds
12.19222 +
12.19223 +# Same as above, but a single script fragment to be evaled but not shown.
12.19224 +finish_eval=$lt_finish_eval
12.19225 +
12.19226 +# Take the output of nm and produce a listing of raw symbols and C names.
12.19227 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12.19228 +
12.19229 +# Transform the output of nm in a proper C declaration
12.19230 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12.19231 +
12.19232 +# Transform the output of nm in a C name address pair
12.19233 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12.19234 +
12.19235 +# This is the shared library runtime path variable.
12.19236 +runpath_var=$runpath_var
12.19237 +
12.19238 +# This is the shared library path variable.
12.19239 +shlibpath_var=$shlibpath_var
12.19240 +
12.19241 +# Is shlibpath searched before the hard-coded library search path?
12.19242 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12.19243 +
12.19244 +# How to hardcode a shared library path into an executable.
12.19245 +hardcode_action=$hardcode_action_GCJ
12.19246 +
12.19247 +# Whether we should hardcode library paths into libraries.
12.19248 +hardcode_into_libs=$hardcode_into_libs
12.19249 +
12.19250 +# Flag to hardcode \$libdir into a binary during linking.
12.19251 +# This must work even if \$libdir does not exist.
12.19252 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
12.19253 +
12.19254 +# If ld is used when linking, flag to hardcode \$libdir into
12.19255 +# a binary during linking. This must work even if \$libdir does
12.19256 +# not exist.
12.19257 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
12.19258 +
12.19259 +# Whether we need a single -rpath flag with a separated argument.
12.19260 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
12.19261 +
12.19262 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12.19263 +# resulting binary.
12.19264 +hardcode_direct=$hardcode_direct_GCJ
12.19265 +
12.19266 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12.19267 +# resulting binary.
12.19268 +hardcode_minus_L=$hardcode_minus_L_GCJ
12.19269 +
12.19270 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12.19271 +# the resulting binary.
12.19272 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
12.19273 +
12.19274 +# Set to yes if building a shared library automatically hardcodes DIR into the library
12.19275 +# and all subsequent libraries and executables linked against it.
12.19276 +hardcode_automatic=$hardcode_automatic_GCJ
12.19277 +
12.19278 +# Variables whose values should be saved in libtool wrapper scripts and
12.19279 +# restored at relink time.
12.19280 +variables_saved_for_relink="$variables_saved_for_relink"
12.19281 +
12.19282 +# Whether libtool must link a program against all its dependency libraries.
12.19283 +link_all_deplibs=$link_all_deplibs_GCJ
12.19284 +
12.19285 +# Compile-time system search path for libraries
12.19286 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12.19287 +
12.19288 +# Run-time system search path for libraries
12.19289 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12.19290 +
12.19291 +# Fix the shell variable \$srcfile for the compiler.
12.19292 +fix_srcfile_path="$fix_srcfile_path_GCJ"
12.19293 +
12.19294 +# Set to yes if exported symbols are required.
12.19295 +always_export_symbols=$always_export_symbols_GCJ
12.19296 +
12.19297 +# The commands to list exported symbols.
12.19298 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
12.19299 +
12.19300 +# The commands to extract the exported symbol list from a shared archive.
12.19301 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
12.19302 +
12.19303 +# Symbols that should not be listed in the preloaded symbols.
12.19304 +exclude_expsyms=$lt_exclude_expsyms_GCJ
12.19305 +
12.19306 +# Symbols that must always be exported.
12.19307 +include_expsyms=$lt_include_expsyms_GCJ
12.19308 +
12.19309 +# ### END LIBTOOL TAG CONFIG: $tagname
12.19310 +
12.19311 +__EOF__
12.19312 +
12.19313 +
12.19314 +else
12.19315 + # If there is no Makefile yet, we rely on a make rule to execute
12.19316 + # `config.status --recheck' to rerun these tests and create the
12.19317 + # libtool script then.
12.19318 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12.19319 + if test -f "$ltmain_in"; then
12.19320 + test -f Makefile && make "$ltmain"
12.19321 + fi
12.19322 +fi
12.19323 +
12.19324 +
12.19325 +ac_ext=c
12.19326 +ac_cpp='$CPP $CPPFLAGS'
12.19327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.19328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.19329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.19330 +
12.19331 +CC="$lt_save_CC"
12.19332 +
12.19333 + else
12.19334 + tagname=""
12.19335 + fi
12.19336 + ;;
12.19337 +
12.19338 + RC)
12.19339 +
12.19340 +
12.19341 +# Source file extension for RC test sources.
12.19342 +ac_ext=rc
12.19343 +
12.19344 +# Object file extension for compiled RC test sources.
12.19345 +objext=o
12.19346 +objext_RC=$objext
12.19347 +
12.19348 +# Code to be used in simple compile tests
12.19349 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
12.19350 +
12.19351 +# Code to be used in simple link tests
12.19352 +lt_simple_link_test_code="$lt_simple_compile_test_code"
12.19353 +
12.19354 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12.19355 +
12.19356 +# If no C compiler was specified, use CC.
12.19357 +LTCC=${LTCC-"$CC"}
12.19358 +
12.19359 +# Allow CC to be a program name with arguments.
12.19360 +compiler=$CC
12.19361 +
12.19362 +
12.19363 +# Allow CC to be a program name with arguments.
12.19364 +lt_save_CC="$CC"
12.19365 +CC=${RC-"windres"}
12.19366 +compiler=$CC
12.19367 +compiler_RC=$CC
12.19368 +lt_cv_prog_compiler_c_o_RC=yes
12.19369 +
12.19370 +# The else clause should only fire when bootstrapping the
12.19371 +# libtool distribution, otherwise you forgot to ship ltmain.sh
12.19372 +# with your package, and you will get complaints that there are
12.19373 +# no rules to generate ltmain.sh.
12.19374 +if test -f "$ltmain"; then
12.19375 + # See if we are running on zsh, and set the options which allow our commands through
12.19376 + # without removal of \ escapes.
12.19377 + if test -n "${ZSH_VERSION+set}" ; then
12.19378 + setopt NO_GLOB_SUBST
12.19379 + fi
12.19380 + # Now quote all the things that may contain metacharacters while being
12.19381 + # careful not to overquote the AC_SUBSTed values. We take copies of the
12.19382 + # variables and quote the copies for generation of the libtool script.
12.19383 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12.19384 + SED SHELL STRIP \
12.19385 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12.19386 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12.19387 + deplibs_check_method reload_flag reload_cmds need_locks \
12.19388 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12.19389 + lt_cv_sys_global_symbol_to_c_name_address \
12.19390 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12.19391 + old_postinstall_cmds old_postuninstall_cmds \
12.19392 + compiler_RC \
12.19393 + CC_RC \
12.19394 + LD_RC \
12.19395 + lt_prog_compiler_wl_RC \
12.19396 + lt_prog_compiler_pic_RC \
12.19397 + lt_prog_compiler_static_RC \
12.19398 + lt_prog_compiler_no_builtin_flag_RC \
12.19399 + export_dynamic_flag_spec_RC \
12.19400 + thread_safe_flag_spec_RC \
12.19401 + whole_archive_flag_spec_RC \
12.19402 + enable_shared_with_static_runtimes_RC \
12.19403 + old_archive_cmds_RC \
12.19404 + old_archive_from_new_cmds_RC \
12.19405 + predep_objects_RC \
12.19406 + postdep_objects_RC \
12.19407 + predeps_RC \
12.19408 + postdeps_RC \
12.19409 + compiler_lib_search_path_RC \
12.19410 + archive_cmds_RC \
12.19411 + archive_expsym_cmds_RC \
12.19412 + postinstall_cmds_RC \
12.19413 + postuninstall_cmds_RC \
12.19414 + old_archive_from_expsyms_cmds_RC \
12.19415 + allow_undefined_flag_RC \
12.19416 + no_undefined_flag_RC \
12.19417 + export_symbols_cmds_RC \
12.19418 + hardcode_libdir_flag_spec_RC \
12.19419 + hardcode_libdir_flag_spec_ld_RC \
12.19420 + hardcode_libdir_separator_RC \
12.19421 + hardcode_automatic_RC \
12.19422 + module_cmds_RC \
12.19423 + module_expsym_cmds_RC \
12.19424 + lt_cv_prog_compiler_c_o_RC \
12.19425 + exclude_expsyms_RC \
12.19426 + include_expsyms_RC; do
12.19427 +
12.19428 + case $var in
12.19429 + old_archive_cmds_RC | \
12.19430 + old_archive_from_new_cmds_RC | \
12.19431 + archive_cmds_RC | \
12.19432 + archive_expsym_cmds_RC | \
12.19433 + module_cmds_RC | \
12.19434 + module_expsym_cmds_RC | \
12.19435 + old_archive_from_expsyms_cmds_RC | \
12.19436 + export_symbols_cmds_RC | \
12.19437 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
12.19438 + postinstall_cmds | postuninstall_cmds | \
12.19439 + old_postinstall_cmds | old_postuninstall_cmds | \
12.19440 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12.19441 + # Double-quote double-evaled strings.
12.19442 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12.19443 + ;;
12.19444 + *)
12.19445 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12.19446 + ;;
12.19447 + esac
12.19448 + done
12.19449 +
12.19450 + case $lt_echo in
12.19451 + *'\$0 --fallback-echo"')
12.19452 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12.19453 + ;;
12.19454 + esac
12.19455 +
12.19456 +cfgfile="$ofile"
12.19457 +
12.19458 + cat <<__EOF__ >> "$cfgfile"
12.19459 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12.19460 +
12.19461 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12.19462 +
12.19463 +# Shell to use when invoking shell scripts.
12.19464 +SHELL=$lt_SHELL
12.19465 +
12.19466 +# Whether or not to build shared libraries.
12.19467 +build_libtool_libs=$enable_shared
12.19468 +
12.19469 +# Whether or not to build static libraries.
12.19470 +build_old_libs=$enable_static
12.19471 +
12.19472 +# Whether or not to add -lc for building shared libraries.
12.19473 +build_libtool_need_lc=$archive_cmds_need_lc_RC
12.19474 +
12.19475 +# Whether or not to disallow shared libs when runtime libs are static
12.19476 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
12.19477 +
12.19478 +# Whether or not to optimize for fast installation.
12.19479 +fast_install=$enable_fast_install
12.19480 +
12.19481 +# The host system.
12.19482 +host_alias=$host_alias
12.19483 +host=$host
12.19484 +
12.19485 +# An echo program that does not interpret backslashes.
12.19486 +echo=$lt_echo
12.19487 +
12.19488 +# The archiver.
12.19489 +AR=$lt_AR
12.19490 +AR_FLAGS=$lt_AR_FLAGS
12.19491 +
12.19492 +# A C compiler.
12.19493 +LTCC=$lt_LTCC
12.19494 +
12.19495 +# A language-specific compiler.
12.19496 +CC=$lt_compiler_RC
12.19497 +
12.19498 +# Is the compiler the GNU C compiler?
12.19499 +with_gcc=$GCC_RC
12.19500 +
12.19501 +# An ERE matcher.
12.19502 +EGREP=$lt_EGREP
12.19503 +
12.19504 +# The linker used to build libraries.
12.19505 +LD=$lt_LD_RC
12.19506 +
12.19507 +# Whether we need hard or soft links.
12.19508 +LN_S=$lt_LN_S
12.19509 +
12.19510 +# A BSD-compatible nm program.
12.19511 +NM=$lt_NM
12.19512 +
12.19513 +# A symbol stripping program
12.19514 +STRIP=$lt_STRIP
12.19515 +
12.19516 +# Used to examine libraries when file_magic_cmd begins "file"
12.19517 +MAGIC_CMD=$MAGIC_CMD
12.19518 +
12.19519 +# Used on cygwin: DLL creation program.
12.19520 +DLLTOOL="$DLLTOOL"
12.19521 +
12.19522 +# Used on cygwin: object dumper.
12.19523 +OBJDUMP="$OBJDUMP"
12.19524 +
12.19525 +# Used on cygwin: assembler.
12.19526 +AS="$AS"
12.19527 +
12.19528 +# The name of the directory that contains temporary libtool files.
12.19529 +objdir=$objdir
12.19530 +
12.19531 +# How to create reloadable object files.
12.19532 +reload_flag=$lt_reload_flag
12.19533 +reload_cmds=$lt_reload_cmds
12.19534 +
12.19535 +# How to pass a linker flag through the compiler.
12.19536 +wl=$lt_lt_prog_compiler_wl_RC
12.19537 +
12.19538 +# Object file suffix (normally "o").
12.19539 +objext="$ac_objext"
12.19540 +
12.19541 +# Old archive suffix (normally "a").
12.19542 +libext="$libext"
12.19543 +
12.19544 +# Shared library suffix (normally ".so").
12.19545 +shrext_cmds='$shrext_cmds'
12.19546 +
12.19547 +# Executable file suffix (normally "").
12.19548 +exeext="$exeext"
12.19549 +
12.19550 +# Additional compiler flags for building library objects.
12.19551 +pic_flag=$lt_lt_prog_compiler_pic_RC
12.19552 +pic_mode=$pic_mode
12.19553 +
12.19554 +# What is the maximum length of a command?
12.19555 +max_cmd_len=$lt_cv_sys_max_cmd_len
12.19556 +
12.19557 +# Does compiler simultaneously support -c and -o options?
12.19558 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
12.19559 +
12.19560 +# Must we lock files when doing compilation ?
12.19561 +need_locks=$lt_need_locks
12.19562 +
12.19563 +# Do we need the lib prefix for modules?
12.19564 +need_lib_prefix=$need_lib_prefix
12.19565 +
12.19566 +# Do we need a version for libraries?
12.19567 +need_version=$need_version
12.19568 +
12.19569 +# Whether dlopen is supported.
12.19570 +dlopen_support=$enable_dlopen
12.19571 +
12.19572 +# Whether dlopen of programs is supported.
12.19573 +dlopen_self=$enable_dlopen_self
12.19574 +
12.19575 +# Whether dlopen of statically linked programs is supported.
12.19576 +dlopen_self_static=$enable_dlopen_self_static
12.19577 +
12.19578 +# Compiler flag to prevent dynamic linking.
12.19579 +link_static_flag=$lt_lt_prog_compiler_static_RC
12.19580 +
12.19581 +# Compiler flag to turn off builtin functions.
12.19582 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
12.19583 +
12.19584 +# Compiler flag to allow reflexive dlopens.
12.19585 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
12.19586 +
12.19587 +# Compiler flag to generate shared objects directly from archives.
12.19588 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
12.19589 +
12.19590 +# Compiler flag to generate thread-safe objects.
12.19591 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
12.19592 +
12.19593 +# Library versioning type.
12.19594 +version_type=$version_type
12.19595 +
12.19596 +# Format of library name prefix.
12.19597 +libname_spec=$lt_libname_spec
12.19598 +
12.19599 +# List of archive names. First name is the real one, the rest are links.
12.19600 +# The last name is the one that the linker finds with -lNAME.
12.19601 +library_names_spec=$lt_library_names_spec
12.19602 +
12.19603 +# The coded name of the library, if different from the real name.
12.19604 +soname_spec=$lt_soname_spec
12.19605 +
12.19606 +# Commands used to build and install an old-style archive.
12.19607 +RANLIB=$lt_RANLIB
12.19608 +old_archive_cmds=$lt_old_archive_cmds_RC
12.19609 +old_postinstall_cmds=$lt_old_postinstall_cmds
12.19610 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
12.19611 +
12.19612 +# Create an old-style archive from a shared archive.
12.19613 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
12.19614 +
12.19615 +# Create a temporary old-style archive to link instead of a shared archive.
12.19616 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
12.19617 +
12.19618 +# Commands used to build and install a shared archive.
12.19619 +archive_cmds=$lt_archive_cmds_RC
12.19620 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
12.19621 +postinstall_cmds=$lt_postinstall_cmds
12.19622 +postuninstall_cmds=$lt_postuninstall_cmds
12.19623 +
12.19624 +# Commands used to build a loadable module (assumed same as above if empty)
12.19625 +module_cmds=$lt_module_cmds_RC
12.19626 +module_expsym_cmds=$lt_module_expsym_cmds_RC
12.19627 +
12.19628 +# Commands to strip libraries.
12.19629 +old_striplib=$lt_old_striplib
12.19630 +striplib=$lt_striplib
12.19631 +
12.19632 +# Dependencies to place before the objects being linked to create a
12.19633 +# shared library.
12.19634 +predep_objects=$lt_predep_objects_RC
12.19635 +
12.19636 +# Dependencies to place after the objects being linked to create a
12.19637 +# shared library.
12.19638 +postdep_objects=$lt_postdep_objects_RC
12.19639 +
12.19640 +# Dependencies to place before the objects being linked to create a
12.19641 +# shared library.
12.19642 +predeps=$lt_predeps_RC
12.19643 +
12.19644 +# Dependencies to place after the objects being linked to create a
12.19645 +# shared library.
12.19646 +postdeps=$lt_postdeps_RC
12.19647 +
12.19648 +# The library search path used internally by the compiler when linking
12.19649 +# a shared library.
12.19650 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
12.19651 +
12.19652 +# Method to check whether dependent libraries are shared objects.
12.19653 +deplibs_check_method=$lt_deplibs_check_method
12.19654 +
12.19655 +# Command to use when deplibs_check_method == file_magic.
12.19656 +file_magic_cmd=$lt_file_magic_cmd
12.19657 +
12.19658 +# Flag that allows shared libraries with undefined symbols to be built.
12.19659 +allow_undefined_flag=$lt_allow_undefined_flag_RC
12.19660 +
12.19661 +# Flag that forces no undefined symbols.
12.19662 +no_undefined_flag=$lt_no_undefined_flag_RC
12.19663 +
12.19664 +# Commands used to finish a libtool library installation in a directory.
12.19665 +finish_cmds=$lt_finish_cmds
12.19666 +
12.19667 +# Same as above, but a single script fragment to be evaled but not shown.
12.19668 +finish_eval=$lt_finish_eval
12.19669 +
12.19670 +# Take the output of nm and produce a listing of raw symbols and C names.
12.19671 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12.19672 +
12.19673 +# Transform the output of nm in a proper C declaration
12.19674 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12.19675 +
12.19676 +# Transform the output of nm in a C name address pair
12.19677 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12.19678 +
12.19679 +# This is the shared library runtime path variable.
12.19680 +runpath_var=$runpath_var
12.19681 +
12.19682 +# This is the shared library path variable.
12.19683 +shlibpath_var=$shlibpath_var
12.19684 +
12.19685 +# Is shlibpath searched before the hard-coded library search path?
12.19686 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12.19687 +
12.19688 +# How to hardcode a shared library path into an executable.
12.19689 +hardcode_action=$hardcode_action_RC
12.19690 +
12.19691 +# Whether we should hardcode library paths into libraries.
12.19692 +hardcode_into_libs=$hardcode_into_libs
12.19693 +
12.19694 +# Flag to hardcode \$libdir into a binary during linking.
12.19695 +# This must work even if \$libdir does not exist.
12.19696 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
12.19697 +
12.19698 +# If ld is used when linking, flag to hardcode \$libdir into
12.19699 +# a binary during linking. This must work even if \$libdir does
12.19700 +# not exist.
12.19701 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
12.19702 +
12.19703 +# Whether we need a single -rpath flag with a separated argument.
12.19704 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
12.19705 +
12.19706 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12.19707 +# resulting binary.
12.19708 +hardcode_direct=$hardcode_direct_RC
12.19709 +
12.19710 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12.19711 +# resulting binary.
12.19712 +hardcode_minus_L=$hardcode_minus_L_RC
12.19713 +
12.19714 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12.19715 +# the resulting binary.
12.19716 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
12.19717 +
12.19718 +# Set to yes if building a shared library automatically hardcodes DIR into the library
12.19719 +# and all subsequent libraries and executables linked against it.
12.19720 +hardcode_automatic=$hardcode_automatic_RC
12.19721 +
12.19722 +# Variables whose values should be saved in libtool wrapper scripts and
12.19723 +# restored at relink time.
12.19724 +variables_saved_for_relink="$variables_saved_for_relink"
12.19725 +
12.19726 +# Whether libtool must link a program against all its dependency libraries.
12.19727 +link_all_deplibs=$link_all_deplibs_RC
12.19728 +
12.19729 +# Compile-time system search path for libraries
12.19730 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12.19731 +
12.19732 +# Run-time system search path for libraries
12.19733 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12.19734 +
12.19735 +# Fix the shell variable \$srcfile for the compiler.
12.19736 +fix_srcfile_path="$fix_srcfile_path_RC"
12.19737 +
12.19738 +# Set to yes if exported symbols are required.
12.19739 +always_export_symbols=$always_export_symbols_RC
12.19740 +
12.19741 +# The commands to list exported symbols.
12.19742 +export_symbols_cmds=$lt_export_symbols_cmds_RC
12.19743 +
12.19744 +# The commands to extract the exported symbol list from a shared archive.
12.19745 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
12.19746 +
12.19747 +# Symbols that should not be listed in the preloaded symbols.
12.19748 +exclude_expsyms=$lt_exclude_expsyms_RC
12.19749 +
12.19750 +# Symbols that must always be exported.
12.19751 +include_expsyms=$lt_include_expsyms_RC
12.19752 +
12.19753 +# ### END LIBTOOL TAG CONFIG: $tagname
12.19754 +
12.19755 +__EOF__
12.19756 +
12.19757 +
12.19758 +else
12.19759 + # If there is no Makefile yet, we rely on a make rule to execute
12.19760 + # `config.status --recheck' to rerun these tests and create the
12.19761 + # libtool script then.
12.19762 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12.19763 + if test -f "$ltmain_in"; then
12.19764 + test -f Makefile && make "$ltmain"
12.19765 + fi
12.19766 +fi
12.19767 +
12.19768 +
12.19769 +ac_ext=c
12.19770 +ac_cpp='$CPP $CPPFLAGS'
12.19771 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.19772 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.19773 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.19774 +
12.19775 +CC="$lt_save_CC"
12.19776 +
12.19777 + ;;
12.19778 +
12.19779 + *)
12.19780 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
12.19781 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
12.19782 + { (exit 1); exit 1; }; }
12.19783 + ;;
12.19784 + esac
12.19785 +
12.19786 + # Append the new tag name to the list of available tags.
12.19787 + if test -n "$tagname" ; then
12.19788 + available_tags="$available_tags $tagname"
12.19789 + fi
12.19790 + fi
12.19791 + done
12.19792 + IFS="$lt_save_ifs"
12.19793 +
12.19794 + # Now substitute the updated list of available tags.
12.19795 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
12.19796 + mv "${ofile}T" "$ofile"
12.19797 + chmod +x "$ofile"
12.19798 + else
12.19799 + rm -f "${ofile}T"
12.19800 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
12.19801 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
12.19802 + { (exit 1); exit 1; }; }
12.19803 + fi
12.19804 +fi
12.19805 +
12.19806 +
12.19807 +
12.19808 +# This can be used to rebuild libtool when needed
12.19809 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
12.19810 +
12.19811 +# Always use our own libtool.
12.19812 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
12.19813 +
12.19814 +# Prevent multiple expansion
12.19815 +
12.19816 +
12.19817 +
12.19818 +
12.19819 +
12.19820 +
12.19821 +
12.19822 +
12.19823 +
12.19824 +
12.19825 +
12.19826 +
12.19827 +
12.19828 +
12.19829 +
12.19830 +
12.19831 +
12.19832 +
12.19833 +
12.19834 +
12.19835 +
12.19836 +ac_config_headers="$ac_config_headers config.h"
12.19837 +
12.19838 +
12.19839 +ACLOCAL_AMFLAGS="-I m4"
12.19840 +
12.19841 +
12.19842 +ac_ext=c
12.19843 +ac_cpp='$CPP $CPPFLAGS'
12.19844 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.19845 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.19846 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.19847 +if test -n "$ac_tool_prefix"; then
12.19848 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12.19849 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
12.19850 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.19851 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.19852 +if test "${ac_cv_prog_CC+set}" = set; then
12.19853 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.19854 +else
12.19855 + if test -n "$CC"; then
12.19856 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.19857 +else
12.19858 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.19859 +for as_dir in $PATH
12.19860 +do
12.19861 + IFS=$as_save_IFS
12.19862 + test -z "$as_dir" && as_dir=.
12.19863 + for ac_exec_ext in '' $ac_executable_extensions; do
12.19864 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.19865 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
12.19866 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.19867 + break 2
12.19868 + fi
12.19869 +done
12.19870 +done
12.19871 +IFS=$as_save_IFS
12.19872 +
12.19873 +fi
12.19874 +fi
12.19875 +CC=$ac_cv_prog_CC
12.19876 +if test -n "$CC"; then
12.19877 + { echo "$as_me:$LINENO: result: $CC" >&5
12.19878 +echo "${ECHO_T}$CC" >&6; }
12.19879 +else
12.19880 + { echo "$as_me:$LINENO: result: no" >&5
12.19881 +echo "${ECHO_T}no" >&6; }
12.19882 +fi
12.19883 +
12.19884 +
12.19885 +fi
12.19886 +if test -z "$ac_cv_prog_CC"; then
12.19887 + ac_ct_CC=$CC
12.19888 + # Extract the first word of "gcc", so it can be a program name with args.
12.19889 +set dummy gcc; ac_word=$2
12.19890 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.19891 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.19892 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12.19893 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.19894 +else
12.19895 + if test -n "$ac_ct_CC"; then
12.19896 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12.19897 +else
12.19898 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.19899 +for as_dir in $PATH
12.19900 +do
12.19901 + IFS=$as_save_IFS
12.19902 + test -z "$as_dir" && as_dir=.
12.19903 + for ac_exec_ext in '' $ac_executable_extensions; do
12.19904 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.19905 + ac_cv_prog_ac_ct_CC="gcc"
12.19906 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.19907 + break 2
12.19908 + fi
12.19909 +done
12.19910 +done
12.19911 +IFS=$as_save_IFS
12.19912 +
12.19913 +fi
12.19914 +fi
12.19915 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
12.19916 +if test -n "$ac_ct_CC"; then
12.19917 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12.19918 +echo "${ECHO_T}$ac_ct_CC" >&6; }
12.19919 +else
12.19920 + { echo "$as_me:$LINENO: result: no" >&5
12.19921 +echo "${ECHO_T}no" >&6; }
12.19922 +fi
12.19923 +
12.19924 + if test "x$ac_ct_CC" = x; then
12.19925 + CC=""
12.19926 + else
12.19927 + case $cross_compiling:$ac_tool_warned in
12.19928 +yes:)
12.19929 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.19930 +whose name does not start with the host triplet. If you think this
12.19931 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.19932 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.19933 +whose name does not start with the host triplet. If you think this
12.19934 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.19935 +ac_tool_warned=yes ;;
12.19936 +esac
12.19937 + CC=$ac_ct_CC
12.19938 + fi
12.19939 +else
12.19940 + CC="$ac_cv_prog_CC"
12.19941 +fi
12.19942 +
12.19943 +if test -z "$CC"; then
12.19944 + if test -n "$ac_tool_prefix"; then
12.19945 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12.19946 +set dummy ${ac_tool_prefix}cc; ac_word=$2
12.19947 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.19948 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.19949 +if test "${ac_cv_prog_CC+set}" = set; then
12.19950 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.19951 +else
12.19952 + if test -n "$CC"; then
12.19953 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.19954 +else
12.19955 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.19956 +for as_dir in $PATH
12.19957 +do
12.19958 + IFS=$as_save_IFS
12.19959 + test -z "$as_dir" && as_dir=.
12.19960 + for ac_exec_ext in '' $ac_executable_extensions; do
12.19961 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.19962 + ac_cv_prog_CC="${ac_tool_prefix}cc"
12.19963 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.19964 + break 2
12.19965 + fi
12.19966 +done
12.19967 +done
12.19968 +IFS=$as_save_IFS
12.19969 +
12.19970 +fi
12.19971 +fi
12.19972 +CC=$ac_cv_prog_CC
12.19973 +if test -n "$CC"; then
12.19974 + { echo "$as_me:$LINENO: result: $CC" >&5
12.19975 +echo "${ECHO_T}$CC" >&6; }
12.19976 +else
12.19977 + { echo "$as_me:$LINENO: result: no" >&5
12.19978 +echo "${ECHO_T}no" >&6; }
12.19979 +fi
12.19980 +
12.19981 +
12.19982 + fi
12.19983 +fi
12.19984 +if test -z "$CC"; then
12.19985 + # Extract the first word of "cc", so it can be a program name with args.
12.19986 +set dummy cc; ac_word=$2
12.19987 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.19988 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.19989 +if test "${ac_cv_prog_CC+set}" = set; then
12.19990 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.19991 +else
12.19992 + if test -n "$CC"; then
12.19993 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.19994 +else
12.19995 + ac_prog_rejected=no
12.19996 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.19997 +for as_dir in $PATH
12.19998 +do
12.19999 + IFS=$as_save_IFS
12.20000 + test -z "$as_dir" && as_dir=.
12.20001 + for ac_exec_ext in '' $ac_executable_extensions; do
12.20002 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.20003 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12.20004 + ac_prog_rejected=yes
12.20005 + continue
12.20006 + fi
12.20007 + ac_cv_prog_CC="cc"
12.20008 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.20009 + break 2
12.20010 + fi
12.20011 +done
12.20012 +done
12.20013 +IFS=$as_save_IFS
12.20014 +
12.20015 +if test $ac_prog_rejected = yes; then
12.20016 + # We found a bogon in the path, so make sure we never use it.
12.20017 + set dummy $ac_cv_prog_CC
12.20018 + shift
12.20019 + if test $@%:@ != 0; then
12.20020 + # We chose a different compiler from the bogus one.
12.20021 + # However, it has the same basename, so the bogon will be chosen
12.20022 + # first if we set CC to just the basename; use the full file name.
12.20023 + shift
12.20024 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12.20025 + fi
12.20026 +fi
12.20027 +fi
12.20028 +fi
12.20029 +CC=$ac_cv_prog_CC
12.20030 +if test -n "$CC"; then
12.20031 + { echo "$as_me:$LINENO: result: $CC" >&5
12.20032 +echo "${ECHO_T}$CC" >&6; }
12.20033 +else
12.20034 + { echo "$as_me:$LINENO: result: no" >&5
12.20035 +echo "${ECHO_T}no" >&6; }
12.20036 +fi
12.20037 +
12.20038 +
12.20039 +fi
12.20040 +if test -z "$CC"; then
12.20041 + if test -n "$ac_tool_prefix"; then
12.20042 + for ac_prog in cl.exe
12.20043 + do
12.20044 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12.20045 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12.20046 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.20047 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.20048 +if test "${ac_cv_prog_CC+set}" = set; then
12.20049 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20050 +else
12.20051 + if test -n "$CC"; then
12.20052 + ac_cv_prog_CC="$CC" # Let the user override the test.
12.20053 +else
12.20054 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.20055 +for as_dir in $PATH
12.20056 +do
12.20057 + IFS=$as_save_IFS
12.20058 + test -z "$as_dir" && as_dir=.
12.20059 + for ac_exec_ext in '' $ac_executable_extensions; do
12.20060 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.20061 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12.20062 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.20063 + break 2
12.20064 + fi
12.20065 +done
12.20066 +done
12.20067 +IFS=$as_save_IFS
12.20068 +
12.20069 +fi
12.20070 +fi
12.20071 +CC=$ac_cv_prog_CC
12.20072 +if test -n "$CC"; then
12.20073 + { echo "$as_me:$LINENO: result: $CC" >&5
12.20074 +echo "${ECHO_T}$CC" >&6; }
12.20075 +else
12.20076 + { echo "$as_me:$LINENO: result: no" >&5
12.20077 +echo "${ECHO_T}no" >&6; }
12.20078 +fi
12.20079 +
12.20080 +
12.20081 + test -n "$CC" && break
12.20082 + done
12.20083 +fi
12.20084 +if test -z "$CC"; then
12.20085 + ac_ct_CC=$CC
12.20086 + for ac_prog in cl.exe
12.20087 +do
12.20088 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12.20089 +set dummy $ac_prog; ac_word=$2
12.20090 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.20091 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.20092 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12.20093 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20094 +else
12.20095 + if test -n "$ac_ct_CC"; then
12.20096 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12.20097 +else
12.20098 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.20099 +for as_dir in $PATH
12.20100 +do
12.20101 + IFS=$as_save_IFS
12.20102 + test -z "$as_dir" && as_dir=.
12.20103 + for ac_exec_ext in '' $ac_executable_extensions; do
12.20104 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.20105 + ac_cv_prog_ac_ct_CC="$ac_prog"
12.20106 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.20107 + break 2
12.20108 + fi
12.20109 +done
12.20110 +done
12.20111 +IFS=$as_save_IFS
12.20112 +
12.20113 +fi
12.20114 +fi
12.20115 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
12.20116 +if test -n "$ac_ct_CC"; then
12.20117 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12.20118 +echo "${ECHO_T}$ac_ct_CC" >&6; }
12.20119 +else
12.20120 + { echo "$as_me:$LINENO: result: no" >&5
12.20121 +echo "${ECHO_T}no" >&6; }
12.20122 +fi
12.20123 +
12.20124 +
12.20125 + test -n "$ac_ct_CC" && break
12.20126 +done
12.20127 +
12.20128 + if test "x$ac_ct_CC" = x; then
12.20129 + CC=""
12.20130 + else
12.20131 + case $cross_compiling:$ac_tool_warned in
12.20132 +yes:)
12.20133 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.20134 +whose name does not start with the host triplet. If you think this
12.20135 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.20136 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.20137 +whose name does not start with the host triplet. If you think this
12.20138 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.20139 +ac_tool_warned=yes ;;
12.20140 +esac
12.20141 + CC=$ac_ct_CC
12.20142 + fi
12.20143 +fi
12.20144 +
12.20145 +fi
12.20146 +
12.20147 +
12.20148 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12.20149 +See \`config.log' for more details." >&5
12.20150 +echo "$as_me: error: no acceptable C compiler found in \$PATH
12.20151 +See \`config.log' for more details." >&2;}
12.20152 + { (exit 1); exit 1; }; }
12.20153 +
12.20154 +# Provide some information about the compiler.
12.20155 +echo "$as_me:$LINENO: checking for C compiler version" >&5
12.20156 +ac_compiler=`set X $ac_compile; echo $2`
12.20157 +{ (ac_try="$ac_compiler --version >&5"
12.20158 +case "(($ac_try" in
12.20159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20160 + *) ac_try_echo=$ac_try;;
12.20161 +esac
12.20162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20163 + (eval "$ac_compiler --version >&5") 2>&5
12.20164 + ac_status=$?
12.20165 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20166 + (exit $ac_status); }
12.20167 +{ (ac_try="$ac_compiler -v >&5"
12.20168 +case "(($ac_try" in
12.20169 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20170 + *) ac_try_echo=$ac_try;;
12.20171 +esac
12.20172 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20173 + (eval "$ac_compiler -v >&5") 2>&5
12.20174 + ac_status=$?
12.20175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20176 + (exit $ac_status); }
12.20177 +{ (ac_try="$ac_compiler -V >&5"
12.20178 +case "(($ac_try" in
12.20179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20180 + *) ac_try_echo=$ac_try;;
12.20181 +esac
12.20182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20183 + (eval "$ac_compiler -V >&5") 2>&5
12.20184 + ac_status=$?
12.20185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20186 + (exit $ac_status); }
12.20187 +
12.20188 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12.20189 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
12.20190 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
12.20191 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20192 +else
12.20193 + cat >conftest.$ac_ext <<_ACEOF
12.20194 +/* confdefs.h. */
12.20195 +_ACEOF
12.20196 +cat confdefs.h >>conftest.$ac_ext
12.20197 +cat >>conftest.$ac_ext <<_ACEOF
12.20198 +/* end confdefs.h. */
12.20199 +
12.20200 +int
12.20201 +main ()
12.20202 +{
12.20203 +#ifndef __GNUC__
12.20204 + choke me
12.20205 +#endif
12.20206 +
12.20207 + ;
12.20208 + return 0;
12.20209 +}
12.20210 +_ACEOF
12.20211 +rm -f conftest.$ac_objext
12.20212 +if { (ac_try="$ac_compile"
12.20213 +case "(($ac_try" in
12.20214 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20215 + *) ac_try_echo=$ac_try;;
12.20216 +esac
12.20217 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20218 + (eval "$ac_compile") 2>conftest.er1
12.20219 + ac_status=$?
12.20220 + grep -v '^ *+' conftest.er1 >conftest.err
12.20221 + rm -f conftest.er1
12.20222 + cat conftest.err >&5
12.20223 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20224 + (exit $ac_status); } && {
12.20225 + test -z "$ac_c_werror_flag" ||
12.20226 + test ! -s conftest.err
12.20227 + } && test -s conftest.$ac_objext; then
12.20228 + ac_compiler_gnu=yes
12.20229 +else
12.20230 + echo "$as_me: failed program was:" >&5
12.20231 +sed 's/^/| /' conftest.$ac_ext >&5
12.20232 +
12.20233 + ac_compiler_gnu=no
12.20234 +fi
12.20235 +
12.20236 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.20237 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
12.20238 +
12.20239 +fi
12.20240 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12.20241 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
12.20242 +GCC=`test $ac_compiler_gnu = yes && echo yes`
12.20243 +ac_test_CFLAGS=${CFLAGS+set}
12.20244 +ac_save_CFLAGS=$CFLAGS
12.20245 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12.20246 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
12.20247 +if test "${ac_cv_prog_cc_g+set}" = set; then
12.20248 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20249 +else
12.20250 + ac_save_c_werror_flag=$ac_c_werror_flag
12.20251 + ac_c_werror_flag=yes
12.20252 + ac_cv_prog_cc_g=no
12.20253 + CFLAGS="-g"
12.20254 + cat >conftest.$ac_ext <<_ACEOF
12.20255 +/* confdefs.h. */
12.20256 +_ACEOF
12.20257 +cat confdefs.h >>conftest.$ac_ext
12.20258 +cat >>conftest.$ac_ext <<_ACEOF
12.20259 +/* end confdefs.h. */
12.20260 +
12.20261 +int
12.20262 +main ()
12.20263 +{
12.20264 +
12.20265 + ;
12.20266 + return 0;
12.20267 +}
12.20268 +_ACEOF
12.20269 +rm -f conftest.$ac_objext
12.20270 +if { (ac_try="$ac_compile"
12.20271 +case "(($ac_try" in
12.20272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20273 + *) ac_try_echo=$ac_try;;
12.20274 +esac
12.20275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20276 + (eval "$ac_compile") 2>conftest.er1
12.20277 + ac_status=$?
12.20278 + grep -v '^ *+' conftest.er1 >conftest.err
12.20279 + rm -f conftest.er1
12.20280 + cat conftest.err >&5
12.20281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20282 + (exit $ac_status); } && {
12.20283 + test -z "$ac_c_werror_flag" ||
12.20284 + test ! -s conftest.err
12.20285 + } && test -s conftest.$ac_objext; then
12.20286 + ac_cv_prog_cc_g=yes
12.20287 +else
12.20288 + echo "$as_me: failed program was:" >&5
12.20289 +sed 's/^/| /' conftest.$ac_ext >&5
12.20290 +
12.20291 + CFLAGS=""
12.20292 + cat >conftest.$ac_ext <<_ACEOF
12.20293 +/* confdefs.h. */
12.20294 +_ACEOF
12.20295 +cat confdefs.h >>conftest.$ac_ext
12.20296 +cat >>conftest.$ac_ext <<_ACEOF
12.20297 +/* end confdefs.h. */
12.20298 +
12.20299 +int
12.20300 +main ()
12.20301 +{
12.20302 +
12.20303 + ;
12.20304 + return 0;
12.20305 +}
12.20306 +_ACEOF
12.20307 +rm -f conftest.$ac_objext
12.20308 +if { (ac_try="$ac_compile"
12.20309 +case "(($ac_try" in
12.20310 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20311 + *) ac_try_echo=$ac_try;;
12.20312 +esac
12.20313 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20314 + (eval "$ac_compile") 2>conftest.er1
12.20315 + ac_status=$?
12.20316 + grep -v '^ *+' conftest.er1 >conftest.err
12.20317 + rm -f conftest.er1
12.20318 + cat conftest.err >&5
12.20319 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20320 + (exit $ac_status); } && {
12.20321 + test -z "$ac_c_werror_flag" ||
12.20322 + test ! -s conftest.err
12.20323 + } && test -s conftest.$ac_objext; then
12.20324 + :
12.20325 +else
12.20326 + echo "$as_me: failed program was:" >&5
12.20327 +sed 's/^/| /' conftest.$ac_ext >&5
12.20328 +
12.20329 + ac_c_werror_flag=$ac_save_c_werror_flag
12.20330 + CFLAGS="-g"
12.20331 + cat >conftest.$ac_ext <<_ACEOF
12.20332 +/* confdefs.h. */
12.20333 +_ACEOF
12.20334 +cat confdefs.h >>conftest.$ac_ext
12.20335 +cat >>conftest.$ac_ext <<_ACEOF
12.20336 +/* end confdefs.h. */
12.20337 +
12.20338 +int
12.20339 +main ()
12.20340 +{
12.20341 +
12.20342 + ;
12.20343 + return 0;
12.20344 +}
12.20345 +_ACEOF
12.20346 +rm -f conftest.$ac_objext
12.20347 +if { (ac_try="$ac_compile"
12.20348 +case "(($ac_try" in
12.20349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20350 + *) ac_try_echo=$ac_try;;
12.20351 +esac
12.20352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20353 + (eval "$ac_compile") 2>conftest.er1
12.20354 + ac_status=$?
12.20355 + grep -v '^ *+' conftest.er1 >conftest.err
12.20356 + rm -f conftest.er1
12.20357 + cat conftest.err >&5
12.20358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20359 + (exit $ac_status); } && {
12.20360 + test -z "$ac_c_werror_flag" ||
12.20361 + test ! -s conftest.err
12.20362 + } && test -s conftest.$ac_objext; then
12.20363 + ac_cv_prog_cc_g=yes
12.20364 +else
12.20365 + echo "$as_me: failed program was:" >&5
12.20366 +sed 's/^/| /' conftest.$ac_ext >&5
12.20367 +
12.20368 +
12.20369 +fi
12.20370 +
12.20371 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.20372 +fi
12.20373 +
12.20374 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.20375 +fi
12.20376 +
12.20377 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.20378 + ac_c_werror_flag=$ac_save_c_werror_flag
12.20379 +fi
12.20380 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12.20381 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
12.20382 +if test "$ac_test_CFLAGS" = set; then
12.20383 + CFLAGS=$ac_save_CFLAGS
12.20384 +elif test $ac_cv_prog_cc_g = yes; then
12.20385 + if test "$GCC" = yes; then
12.20386 + CFLAGS="-g -O2"
12.20387 + else
12.20388 + CFLAGS="-g"
12.20389 + fi
12.20390 +else
12.20391 + if test "$GCC" = yes; then
12.20392 + CFLAGS="-O2"
12.20393 + else
12.20394 + CFLAGS=
12.20395 + fi
12.20396 +fi
12.20397 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12.20398 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
12.20399 +if test "${ac_cv_prog_cc_c89+set}" = set; then
12.20400 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20401 +else
12.20402 + ac_cv_prog_cc_c89=no
12.20403 +ac_save_CC=$CC
12.20404 +cat >conftest.$ac_ext <<_ACEOF
12.20405 +/* confdefs.h. */
12.20406 +_ACEOF
12.20407 +cat confdefs.h >>conftest.$ac_ext
12.20408 +cat >>conftest.$ac_ext <<_ACEOF
12.20409 +/* end confdefs.h. */
12.20410 +#include <stdarg.h>
12.20411 +#include <stdio.h>
12.20412 +#include <sys/types.h>
12.20413 +#include <sys/stat.h>
12.20414 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12.20415 +struct buf { int x; };
12.20416 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
12.20417 +static char *e (p, i)
12.20418 + char **p;
12.20419 + int i;
12.20420 +{
12.20421 + return p[i];
12.20422 +}
12.20423 +static char *f (char * (*g) (char **, int), char **p, ...)
12.20424 +{
12.20425 + char *s;
12.20426 + va_list v;
12.20427 + va_start (v,p);
12.20428 + s = g (p, va_arg (v,int));
12.20429 + va_end (v);
12.20430 + return s;
12.20431 +}
12.20432 +
12.20433 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12.20434 + function prototypes and stuff, but not '\xHH' hex character constants.
12.20435 + These don't provoke an error unfortunately, instead are silently treated
12.20436 + as 'x'. The following induces an error, until -std is added to get
12.20437 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12.20438 + array size at least. It's necessary to write '\x00'==0 to get something
12.20439 + that's true only with -std. */
12.20440 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12.20441 +
12.20442 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12.20443 + inside strings and character constants. */
12.20444 +#define FOO(x) 'x'
12.20445 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12.20446 +
12.20447 +int test (int i, double x);
12.20448 +struct s1 {int (*f) (int a);};
12.20449 +struct s2 {int (*f) (double a);};
12.20450 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12.20451 +int argc;
12.20452 +char **argv;
12.20453 +int
12.20454 +main ()
12.20455 +{
12.20456 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12.20457 + ;
12.20458 + return 0;
12.20459 +}
12.20460 +_ACEOF
12.20461 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12.20462 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12.20463 +do
12.20464 + CC="$ac_save_CC $ac_arg"
12.20465 + rm -f conftest.$ac_objext
12.20466 +if { (ac_try="$ac_compile"
12.20467 +case "(($ac_try" in
12.20468 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20469 + *) ac_try_echo=$ac_try;;
12.20470 +esac
12.20471 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20472 + (eval "$ac_compile") 2>conftest.er1
12.20473 + ac_status=$?
12.20474 + grep -v '^ *+' conftest.er1 >conftest.err
12.20475 + rm -f conftest.er1
12.20476 + cat conftest.err >&5
12.20477 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20478 + (exit $ac_status); } && {
12.20479 + test -z "$ac_c_werror_flag" ||
12.20480 + test ! -s conftest.err
12.20481 + } && test -s conftest.$ac_objext; then
12.20482 + ac_cv_prog_cc_c89=$ac_arg
12.20483 +else
12.20484 + echo "$as_me: failed program was:" >&5
12.20485 +sed 's/^/| /' conftest.$ac_ext >&5
12.20486 +
12.20487 +
12.20488 +fi
12.20489 +
12.20490 +rm -f core conftest.err conftest.$ac_objext
12.20491 + test "x$ac_cv_prog_cc_c89" != "xno" && break
12.20492 +done
12.20493 +rm -f conftest.$ac_ext
12.20494 +CC=$ac_save_CC
12.20495 +
12.20496 +fi
12.20497 +# AC_CACHE_VAL
12.20498 +case "x$ac_cv_prog_cc_c89" in
12.20499 + x)
12.20500 + { echo "$as_me:$LINENO: result: none needed" >&5
12.20501 +echo "${ECHO_T}none needed" >&6; } ;;
12.20502 + xno)
12.20503 + { echo "$as_me:$LINENO: result: unsupported" >&5
12.20504 +echo "${ECHO_T}unsupported" >&6; } ;;
12.20505 + *)
12.20506 + CC="$CC $ac_cv_prog_cc_c89"
12.20507 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12.20508 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
12.20509 +esac
12.20510 +
12.20511 +
12.20512 +ac_ext=c
12.20513 +ac_cpp='$CPP $CPPFLAGS'
12.20514 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.20515 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.20516 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.20517 +
12.20518 +depcc="$CC" am_compiler_list=
12.20519 +
12.20520 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12.20521 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12.20522 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12.20523 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20524 +else
12.20525 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12.20526 + # We make a subdir and do the tests there. Otherwise we can end up
12.20527 + # making bogus files that we don't know about and never remove. For
12.20528 + # instance it was reported that on HP-UX the gcc test will end up
12.20529 + # making a dummy file named `D' -- because `-MD' means `put the output
12.20530 + # in D'.
12.20531 + mkdir conftest.dir
12.20532 + # Copy depcomp to subdir because otherwise we won't find it if we're
12.20533 + # using a relative directory.
12.20534 + cp "$am_depcomp" conftest.dir
12.20535 + cd conftest.dir
12.20536 + # We will build objects and dependencies in a subdirectory because
12.20537 + # it helps to detect inapplicable dependency modes. For instance
12.20538 + # both Tru64's cc and ICC support -MD to output dependencies as a
12.20539 + # side effect of compilation, but ICC will put the dependencies in
12.20540 + # the current directory while Tru64 will put them in the object
12.20541 + # directory.
12.20542 + mkdir sub
12.20543 +
12.20544 + am_cv_CC_dependencies_compiler_type=none
12.20545 + if test "$am_compiler_list" = ""; then
12.20546 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12.20547 + fi
12.20548 + for depmode in $am_compiler_list; do
12.20549 + # Setup a source with many dependencies, because some compilers
12.20550 + # like to wrap large dependency lists on column 80 (with \), and
12.20551 + # we should not choose a depcomp mode which is confused by this.
12.20552 + #
12.20553 + # We need to recreate these files for each test, as the compiler may
12.20554 + # overwrite some of them when testing with obscure command lines.
12.20555 + # This happens at least with the AIX C compiler.
12.20556 + : > sub/conftest.c
12.20557 + for i in 1 2 3 4 5 6; do
12.20558 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12.20559 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12.20560 + # Solaris 8's {/usr,}/bin/sh.
12.20561 + touch sub/conftst$i.h
12.20562 + done
12.20563 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12.20564 +
12.20565 + case $depmode in
12.20566 + nosideeffect)
12.20567 + # after this tag, mechanisms are not by side-effect, so they'll
12.20568 + # only be used when explicitly requested
12.20569 + if test "x$enable_dependency_tracking" = xyes; then
12.20570 + continue
12.20571 + else
12.20572 + break
12.20573 + fi
12.20574 + ;;
12.20575 + none) break ;;
12.20576 + esac
12.20577 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12.20578 + # mode. It turns out that the SunPro C++ compiler does not properly
12.20579 + # handle `-M -o', and we need to detect this.
12.20580 + if depmode=$depmode \
12.20581 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12.20582 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12.20583 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12.20584 + >/dev/null 2>conftest.err &&
12.20585 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12.20586 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12.20587 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12.20588 + # icc doesn't choke on unknown options, it will just issue warnings
12.20589 + # or remarks (even with -Werror). So we grep stderr for any message
12.20590 + # that says an option was ignored or not supported.
12.20591 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12.20592 + # icc: Command line warning: ignoring option '-M'; no argument required
12.20593 + # The diagnosis changed in icc 8.0:
12.20594 + # icc: Command line remark: option '-MP' not supported
12.20595 + if (grep 'ignoring option' conftest.err ||
12.20596 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12.20597 + am_cv_CC_dependencies_compiler_type=$depmode
12.20598 + break
12.20599 + fi
12.20600 + fi
12.20601 + done
12.20602 +
12.20603 + cd ..
12.20604 + rm -rf conftest.dir
12.20605 +else
12.20606 + am_cv_CC_dependencies_compiler_type=none
12.20607 +fi
12.20608 +
12.20609 +fi
12.20610 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12.20611 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
12.20612 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12.20613 +
12.20614 +
12.20615 +
12.20616 +if
12.20617 + test "x$enable_dependency_tracking" != xno \
12.20618 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12.20619 + am__fastdepCC_TRUE=
12.20620 + am__fastdepCC_FALSE='#'
12.20621 +else
12.20622 + am__fastdepCC_TRUE='#'
12.20623 + am__fastdepCC_FALSE=
12.20624 +fi
12.20625 +
12.20626 +
12.20627 + case $ac_cv_prog_cc_stdc in
12.20628 + no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
12.20629 + *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
12.20630 +echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
12.20631 +if test "${ac_cv_prog_cc_c99+set}" = set; then
12.20632 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20633 +else
12.20634 + ac_cv_prog_cc_c99=no
12.20635 +ac_save_CC=$CC
12.20636 +cat >conftest.$ac_ext <<_ACEOF
12.20637 +/* confdefs.h. */
12.20638 +_ACEOF
12.20639 +cat confdefs.h >>conftest.$ac_ext
12.20640 +cat >>conftest.$ac_ext <<_ACEOF
12.20641 +/* end confdefs.h. */
12.20642 +#include <stdarg.h>
12.20643 +#include <stdbool.h>
12.20644 +#include <stdlib.h>
12.20645 +#include <wchar.h>
12.20646 +#include <stdio.h>
12.20647 +
12.20648 +// Check varargs macros. These examples are taken from C99 6.10.3.5.
12.20649 +#define debug(...) fprintf (stderr, __VA_ARGS__)
12.20650 +#define showlist(...) puts (#__VA_ARGS__)
12.20651 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
12.20652 +static void
12.20653 +test_varargs_macros (void)
12.20654 +{
12.20655 + int x = 1234;
12.20656 + int y = 5678;
12.20657 + debug ("Flag");
12.20658 + debug ("X = %d\n", x);
12.20659 + showlist (The first, second, and third items.);
12.20660 + report (x>y, "x is %d but y is %d", x, y);
12.20661 +}
12.20662 +
12.20663 +// Check long long types.
12.20664 +#define BIG64 18446744073709551615ull
12.20665 +#define BIG32 4294967295ul
12.20666 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
12.20667 +#if !BIG_OK
12.20668 + your preprocessor is broken;
12.20669 +#endif
12.20670 +#if BIG_OK
12.20671 +#else
12.20672 + your preprocessor is broken;
12.20673 +#endif
12.20674 +static long long int bignum = -9223372036854775807LL;
12.20675 +static unsigned long long int ubignum = BIG64;
12.20676 +
12.20677 +struct incomplete_array
12.20678 +{
12.20679 + int datasize;
12.20680 + double data[];
12.20681 +};
12.20682 +
12.20683 +struct named_init {
12.20684 + int number;
12.20685 + const wchar_t *name;
12.20686 + double average;
12.20687 +};
12.20688 +
12.20689 +typedef const char *ccp;
12.20690 +
12.20691 +static inline int
12.20692 +test_restrict (ccp restrict text)
12.20693 +{
12.20694 + // See if C++-style comments work.
12.20695 + // Iterate through items via the restricted pointer.
12.20696 + // Also check for declarations in for loops.
12.20697 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
12.20698 + continue;
12.20699 + return 0;
12.20700 +}
12.20701 +
12.20702 +// Check varargs and va_copy.
12.20703 +static void
12.20704 +test_varargs (const char *format, ...)
12.20705 +{
12.20706 + va_list args;
12.20707 + va_start (args, format);
12.20708 + va_list args_copy;
12.20709 + va_copy (args_copy, args);
12.20710 +
12.20711 + const char *str;
12.20712 + int number;
12.20713 + float fnumber;
12.20714 +
12.20715 + while (*format)
12.20716 + {
12.20717 + switch (*format++)
12.20718 + {
12.20719 + case 's': // string
12.20720 + str = va_arg (args_copy, const char *);
12.20721 + break;
12.20722 + case 'd': // int
12.20723 + number = va_arg (args_copy, int);
12.20724 + break;
12.20725 + case 'f': // float
12.20726 + fnumber = va_arg (args_copy, double);
12.20727 + break;
12.20728 + default:
12.20729 + break;
12.20730 + }
12.20731 + }
12.20732 + va_end (args_copy);
12.20733 + va_end (args);
12.20734 +}
12.20735 +
12.20736 +int
12.20737 +main ()
12.20738 +{
12.20739 +
12.20740 + // Check bool.
12.20741 + _Bool success = false;
12.20742 +
12.20743 + // Check restrict.
12.20744 + if (test_restrict ("String literal") == 0)
12.20745 + success = true;
12.20746 + char *restrict newvar = "Another string";
12.20747 +
12.20748 + // Check varargs.
12.20749 + test_varargs ("s, d' f .", "string", 65, 34.234);
12.20750 + test_varargs_macros ();
12.20751 +
12.20752 + // Check flexible array members.
12.20753 + struct incomplete_array *ia =
12.20754 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
12.20755 + ia->datasize = 10;
12.20756 + for (int i = 0; i < ia->datasize; ++i)
12.20757 + ia->data[i] = i * 1.234;
12.20758 +
12.20759 + // Check named initializers.
12.20760 + struct named_init ni = {
12.20761 + .number = 34,
12.20762 + .name = L"Test wide string",
12.20763 + .average = 543.34343,
12.20764 + };
12.20765 +
12.20766 + ni.number = 58;
12.20767 +
12.20768 + int dynamic_array[ni.number];
12.20769 + dynamic_array[ni.number - 1] = 543;
12.20770 +
12.20771 + // work around unused variable warnings
12.20772 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
12.20773 + || dynamic_array[ni.number - 1] != 543);
12.20774 +
12.20775 + ;
12.20776 + return 0;
12.20777 +}
12.20778 +_ACEOF
12.20779 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
12.20780 +do
12.20781 + CC="$ac_save_CC $ac_arg"
12.20782 + rm -f conftest.$ac_objext
12.20783 +if { (ac_try="$ac_compile"
12.20784 +case "(($ac_try" in
12.20785 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20786 + *) ac_try_echo=$ac_try;;
12.20787 +esac
12.20788 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20789 + (eval "$ac_compile") 2>conftest.er1
12.20790 + ac_status=$?
12.20791 + grep -v '^ *+' conftest.er1 >conftest.err
12.20792 + rm -f conftest.er1
12.20793 + cat conftest.err >&5
12.20794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20795 + (exit $ac_status); } && {
12.20796 + test -z "$ac_c_werror_flag" ||
12.20797 + test ! -s conftest.err
12.20798 + } && test -s conftest.$ac_objext; then
12.20799 + ac_cv_prog_cc_c99=$ac_arg
12.20800 +else
12.20801 + echo "$as_me: failed program was:" >&5
12.20802 +sed 's/^/| /' conftest.$ac_ext >&5
12.20803 +
12.20804 +
12.20805 +fi
12.20806 +
12.20807 +rm -f core conftest.err conftest.$ac_objext
12.20808 + test "x$ac_cv_prog_cc_c99" != "xno" && break
12.20809 +done
12.20810 +rm -f conftest.$ac_ext
12.20811 +CC=$ac_save_CC
12.20812 +
12.20813 +fi
12.20814 +# AC_CACHE_VAL
12.20815 +case "x$ac_cv_prog_cc_c99" in
12.20816 + x)
12.20817 + { echo "$as_me:$LINENO: result: none needed" >&5
12.20818 +echo "${ECHO_T}none needed" >&6; } ;;
12.20819 + xno)
12.20820 + { echo "$as_me:$LINENO: result: unsupported" >&5
12.20821 +echo "${ECHO_T}unsupported" >&6; } ;;
12.20822 + *)
12.20823 + CC="$CC $ac_cv_prog_cc_c99"
12.20824 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
12.20825 +echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
12.20826 +esac
12.20827 +if test "x$ac_cv_prog_cc_c99" != xno; then
12.20828 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
12.20829 +else
12.20830 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12.20831 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
12.20832 +if test "${ac_cv_prog_cc_c89+set}" = set; then
12.20833 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20834 +else
12.20835 + ac_cv_prog_cc_c89=no
12.20836 +ac_save_CC=$CC
12.20837 +cat >conftest.$ac_ext <<_ACEOF
12.20838 +/* confdefs.h. */
12.20839 +_ACEOF
12.20840 +cat confdefs.h >>conftest.$ac_ext
12.20841 +cat >>conftest.$ac_ext <<_ACEOF
12.20842 +/* end confdefs.h. */
12.20843 +#include <stdarg.h>
12.20844 +#include <stdio.h>
12.20845 +#include <sys/types.h>
12.20846 +#include <sys/stat.h>
12.20847 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12.20848 +struct buf { int x; };
12.20849 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
12.20850 +static char *e (p, i)
12.20851 + char **p;
12.20852 + int i;
12.20853 +{
12.20854 + return p[i];
12.20855 +}
12.20856 +static char *f (char * (*g) (char **, int), char **p, ...)
12.20857 +{
12.20858 + char *s;
12.20859 + va_list v;
12.20860 + va_start (v,p);
12.20861 + s = g (p, va_arg (v,int));
12.20862 + va_end (v);
12.20863 + return s;
12.20864 +}
12.20865 +
12.20866 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12.20867 + function prototypes and stuff, but not '\xHH' hex character constants.
12.20868 + These don't provoke an error unfortunately, instead are silently treated
12.20869 + as 'x'. The following induces an error, until -std is added to get
12.20870 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12.20871 + array size at least. It's necessary to write '\x00'==0 to get something
12.20872 + that's true only with -std. */
12.20873 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12.20874 +
12.20875 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12.20876 + inside strings and character constants. */
12.20877 +#define FOO(x) 'x'
12.20878 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12.20879 +
12.20880 +int test (int i, double x);
12.20881 +struct s1 {int (*f) (int a);};
12.20882 +struct s2 {int (*f) (double a);};
12.20883 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12.20884 +int argc;
12.20885 +char **argv;
12.20886 +int
12.20887 +main ()
12.20888 +{
12.20889 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12.20890 + ;
12.20891 + return 0;
12.20892 +}
12.20893 +_ACEOF
12.20894 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12.20895 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12.20896 +do
12.20897 + CC="$ac_save_CC $ac_arg"
12.20898 + rm -f conftest.$ac_objext
12.20899 +if { (ac_try="$ac_compile"
12.20900 +case "(($ac_try" in
12.20901 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.20902 + *) ac_try_echo=$ac_try;;
12.20903 +esac
12.20904 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.20905 + (eval "$ac_compile") 2>conftest.er1
12.20906 + ac_status=$?
12.20907 + grep -v '^ *+' conftest.er1 >conftest.err
12.20908 + rm -f conftest.er1
12.20909 + cat conftest.err >&5
12.20910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.20911 + (exit $ac_status); } && {
12.20912 + test -z "$ac_c_werror_flag" ||
12.20913 + test ! -s conftest.err
12.20914 + } && test -s conftest.$ac_objext; then
12.20915 + ac_cv_prog_cc_c89=$ac_arg
12.20916 +else
12.20917 + echo "$as_me: failed program was:" >&5
12.20918 +sed 's/^/| /' conftest.$ac_ext >&5
12.20919 +
12.20920 +
12.20921 +fi
12.20922 +
12.20923 +rm -f core conftest.err conftest.$ac_objext
12.20924 + test "x$ac_cv_prog_cc_c89" != "xno" && break
12.20925 +done
12.20926 +rm -f conftest.$ac_ext
12.20927 +CC=$ac_save_CC
12.20928 +
12.20929 +fi
12.20930 +# AC_CACHE_VAL
12.20931 +case "x$ac_cv_prog_cc_c89" in
12.20932 + x)
12.20933 + { echo "$as_me:$LINENO: result: none needed" >&5
12.20934 +echo "${ECHO_T}none needed" >&6; } ;;
12.20935 + xno)
12.20936 + { echo "$as_me:$LINENO: result: unsupported" >&5
12.20937 +echo "${ECHO_T}unsupported" >&6; } ;;
12.20938 + *)
12.20939 + CC="$CC $ac_cv_prog_cc_c89"
12.20940 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12.20941 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
12.20942 +esac
12.20943 +if test "x$ac_cv_prog_cc_c89" != xno; then
12.20944 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
12.20945 +else
12.20946 + ac_cv_prog_cc_stdc=no
12.20947 +fi
12.20948 +
12.20949 +
12.20950 +fi
12.20951 +
12.20952 + ;;
12.20953 +esac
12.20954 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
12.20955 +echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
12.20956 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
12.20957 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.20958 +fi
12.20959 +
12.20960 + case $ac_cv_prog_cc_stdc in
12.20961 + no) { echo "$as_me:$LINENO: result: unsupported" >&5
12.20962 +echo "${ECHO_T}unsupported" >&6; } ;;
12.20963 + '') { echo "$as_me:$LINENO: result: none needed" >&5
12.20964 +echo "${ECHO_T}none needed" >&6; } ;;
12.20965 + *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12.20966 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
12.20967 +esac
12.20968 +
12.20969 +
12.20970 +# By default we simply use the C compiler to build assembly code.
12.20971 +
12.20972 +test "${CCAS+set}" = set || CCAS=$CC
12.20973 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
12.20974 +
12.20975 +
12.20976 +
12.20977 +
12.20978 +
12.20979 + { echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
12.20980 +echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6; }
12.20981 +
12.20982 + save_CFLAGS="$CFLAGS"
12.20983 + CFLAGS="$CFLAGS -Wall"
12.20984 +
12.20985 + cat >conftest.$ac_ext <<_ACEOF
12.20986 +/* confdefs.h. */
12.20987 +_ACEOF
12.20988 +cat confdefs.h >>conftest.$ac_ext
12.20989 +cat >>conftest.$ac_ext <<_ACEOF
12.20990 +/* end confdefs.h. */
12.20991 +
12.20992 +int
12.20993 +main ()
12.20994 +{
12.20995 +
12.20996 + ;
12.20997 + return 0;
12.20998 +}
12.20999 +_ACEOF
12.21000 +rm -f conftest.$ac_objext
12.21001 +if { (ac_try="$ac_compile"
12.21002 +case "(($ac_try" in
12.21003 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21004 + *) ac_try_echo=$ac_try;;
12.21005 +esac
12.21006 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21007 + (eval "$ac_compile") 2>conftest.er1
12.21008 + ac_status=$?
12.21009 + grep -v '^ *+' conftest.er1 >conftest.err
12.21010 + rm -f conftest.er1
12.21011 + cat conftest.err >&5
12.21012 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21013 + (exit $ac_status); } && {
12.21014 + test -z "$ac_c_werror_flag" ||
12.21015 + test ! -s conftest.err
12.21016 + } && test -s conftest.$ac_objext; then
12.21017 + flag_ok=yes
12.21018 +else
12.21019 + echo "$as_me: failed program was:" >&5
12.21020 +sed 's/^/| /' conftest.$ac_ext >&5
12.21021 +
12.21022 + flag_ok=no
12.21023 +fi
12.21024 +
12.21025 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21026 + CFLAGS="$save_CFLAGS"
12.21027 +
12.21028 + if test "X$flag_ok" = Xyes ; then
12.21029 + GST_WALL="yes"
12.21030 + true
12.21031 + else
12.21032 + GST_WALL="no"
12.21033 + true
12.21034 + fi
12.21035 + { echo "$as_me:$LINENO: result: $flag_ok" >&5
12.21036 +echo "${ECHO_T}$flag_ok" >&6; }
12.21037 +
12.21038 +
12.21039 +if test "x$GST_WALL" = "xyes"; then
12.21040 + ERROR_CFLAGS="$GST_ERROR -Wall"
12.21041 +
12.21042 + if test "x$GST_CVS" = "xyes"; then
12.21043 +
12.21044 + { echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
12.21045 +echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6; }
12.21046 +
12.21047 + save_CFLAGS="$CFLAGS"
12.21048 + CFLAGS="$CFLAGS -Werror"
12.21049 +
12.21050 + cat >conftest.$ac_ext <<_ACEOF
12.21051 +/* confdefs.h. */
12.21052 +_ACEOF
12.21053 +cat confdefs.h >>conftest.$ac_ext
12.21054 +cat >>conftest.$ac_ext <<_ACEOF
12.21055 +/* end confdefs.h. */
12.21056 +
12.21057 +int
12.21058 +main ()
12.21059 +{
12.21060 +
12.21061 + ;
12.21062 + return 0;
12.21063 +}
12.21064 +_ACEOF
12.21065 +rm -f conftest.$ac_objext
12.21066 +if { (ac_try="$ac_compile"
12.21067 +case "(($ac_try" in
12.21068 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21069 + *) ac_try_echo=$ac_try;;
12.21070 +esac
12.21071 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21072 + (eval "$ac_compile") 2>conftest.er1
12.21073 + ac_status=$?
12.21074 + grep -v '^ *+' conftest.er1 >conftest.err
12.21075 + rm -f conftest.er1
12.21076 + cat conftest.err >&5
12.21077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21078 + (exit $ac_status); } && {
12.21079 + test -z "$ac_c_werror_flag" ||
12.21080 + test ! -s conftest.err
12.21081 + } && test -s conftest.$ac_objext; then
12.21082 + flag_ok=yes
12.21083 +else
12.21084 + echo "$as_me: failed program was:" >&5
12.21085 +sed 's/^/| /' conftest.$ac_ext >&5
12.21086 +
12.21087 + flag_ok=no
12.21088 +fi
12.21089 +
12.21090 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21091 + CFLAGS="$save_CFLAGS"
12.21092 +
12.21093 + if test "X$flag_ok" = Xyes ; then
12.21094 + ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
12.21095 + true
12.21096 + else
12.21097 + ERROR_CFLAGS="$ERROR_CFLAGS"
12.21098 + true
12.21099 + fi
12.21100 + { echo "$as_me:$LINENO: result: $flag_ok" >&5
12.21101 +echo "${ECHO_T}$flag_ok" >&6; }
12.21102 +
12.21103 + fi
12.21104 +fi
12.21105 +
12.21106 +
12.21107 +
12.21108 +ac_ext=cpp
12.21109 +ac_cpp='$CXXCPP $CPPFLAGS'
12.21110 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.21111 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.21112 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.21113 +if test -z "$CXX"; then
12.21114 + if test -n "$CCC"; then
12.21115 + CXX=$CCC
12.21116 + else
12.21117 + if test -n "$ac_tool_prefix"; then
12.21118 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12.21119 + do
12.21120 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12.21121 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12.21122 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.21123 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.21124 +if test "${ac_cv_prog_CXX+set}" = set; then
12.21125 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21126 +else
12.21127 + if test -n "$CXX"; then
12.21128 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
12.21129 +else
12.21130 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.21131 +for as_dir in $PATH
12.21132 +do
12.21133 + IFS=$as_save_IFS
12.21134 + test -z "$as_dir" && as_dir=.
12.21135 + for ac_exec_ext in '' $ac_executable_extensions; do
12.21136 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.21137 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12.21138 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.21139 + break 2
12.21140 + fi
12.21141 +done
12.21142 +done
12.21143 +IFS=$as_save_IFS
12.21144 +
12.21145 +fi
12.21146 +fi
12.21147 +CXX=$ac_cv_prog_CXX
12.21148 +if test -n "$CXX"; then
12.21149 + { echo "$as_me:$LINENO: result: $CXX" >&5
12.21150 +echo "${ECHO_T}$CXX" >&6; }
12.21151 +else
12.21152 + { echo "$as_me:$LINENO: result: no" >&5
12.21153 +echo "${ECHO_T}no" >&6; }
12.21154 +fi
12.21155 +
12.21156 +
12.21157 + test -n "$CXX" && break
12.21158 + done
12.21159 +fi
12.21160 +if test -z "$CXX"; then
12.21161 + ac_ct_CXX=$CXX
12.21162 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12.21163 +do
12.21164 + # Extract the first word of "$ac_prog", so it can be a program name with args.
12.21165 +set dummy $ac_prog; ac_word=$2
12.21166 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.21167 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.21168 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12.21169 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21170 +else
12.21171 + if test -n "$ac_ct_CXX"; then
12.21172 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12.21173 +else
12.21174 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.21175 +for as_dir in $PATH
12.21176 +do
12.21177 + IFS=$as_save_IFS
12.21178 + test -z "$as_dir" && as_dir=.
12.21179 + for ac_exec_ext in '' $ac_executable_extensions; do
12.21180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.21181 + ac_cv_prog_ac_ct_CXX="$ac_prog"
12.21182 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.21183 + break 2
12.21184 + fi
12.21185 +done
12.21186 +done
12.21187 +IFS=$as_save_IFS
12.21188 +
12.21189 +fi
12.21190 +fi
12.21191 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12.21192 +if test -n "$ac_ct_CXX"; then
12.21193 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12.21194 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
12.21195 +else
12.21196 + { echo "$as_me:$LINENO: result: no" >&5
12.21197 +echo "${ECHO_T}no" >&6; }
12.21198 +fi
12.21199 +
12.21200 +
12.21201 + test -n "$ac_ct_CXX" && break
12.21202 +done
12.21203 +
12.21204 + if test "x$ac_ct_CXX" = x; then
12.21205 + CXX="g++"
12.21206 + else
12.21207 + case $cross_compiling:$ac_tool_warned in
12.21208 +yes:)
12.21209 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.21210 +whose name does not start with the host triplet. If you think this
12.21211 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.21212 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.21213 +whose name does not start with the host triplet. If you think this
12.21214 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.21215 +ac_tool_warned=yes ;;
12.21216 +esac
12.21217 + CXX=$ac_ct_CXX
12.21218 + fi
12.21219 +fi
12.21220 +
12.21221 + fi
12.21222 +fi
12.21223 +# Provide some information about the compiler.
12.21224 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
12.21225 +ac_compiler=`set X $ac_compile; echo $2`
12.21226 +{ (ac_try="$ac_compiler --version >&5"
12.21227 +case "(($ac_try" in
12.21228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21229 + *) ac_try_echo=$ac_try;;
12.21230 +esac
12.21231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21232 + (eval "$ac_compiler --version >&5") 2>&5
12.21233 + ac_status=$?
12.21234 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21235 + (exit $ac_status); }
12.21236 +{ (ac_try="$ac_compiler -v >&5"
12.21237 +case "(($ac_try" in
12.21238 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21239 + *) ac_try_echo=$ac_try;;
12.21240 +esac
12.21241 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21242 + (eval "$ac_compiler -v >&5") 2>&5
12.21243 + ac_status=$?
12.21244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21245 + (exit $ac_status); }
12.21246 +{ (ac_try="$ac_compiler -V >&5"
12.21247 +case "(($ac_try" in
12.21248 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21249 + *) ac_try_echo=$ac_try;;
12.21250 +esac
12.21251 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21252 + (eval "$ac_compiler -V >&5") 2>&5
12.21253 + ac_status=$?
12.21254 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21255 + (exit $ac_status); }
12.21256 +
12.21257 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12.21258 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
12.21259 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12.21260 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21261 +else
12.21262 + cat >conftest.$ac_ext <<_ACEOF
12.21263 +/* confdefs.h. */
12.21264 +_ACEOF
12.21265 +cat confdefs.h >>conftest.$ac_ext
12.21266 +cat >>conftest.$ac_ext <<_ACEOF
12.21267 +/* end confdefs.h. */
12.21268 +
12.21269 +int
12.21270 +main ()
12.21271 +{
12.21272 +#ifndef __GNUC__
12.21273 + choke me
12.21274 +#endif
12.21275 +
12.21276 + ;
12.21277 + return 0;
12.21278 +}
12.21279 +_ACEOF
12.21280 +rm -f conftest.$ac_objext
12.21281 +if { (ac_try="$ac_compile"
12.21282 +case "(($ac_try" in
12.21283 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21284 + *) ac_try_echo=$ac_try;;
12.21285 +esac
12.21286 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21287 + (eval "$ac_compile") 2>conftest.er1
12.21288 + ac_status=$?
12.21289 + grep -v '^ *+' conftest.er1 >conftest.err
12.21290 + rm -f conftest.er1
12.21291 + cat conftest.err >&5
12.21292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21293 + (exit $ac_status); } && {
12.21294 + test -z "$ac_cxx_werror_flag" ||
12.21295 + test ! -s conftest.err
12.21296 + } && test -s conftest.$ac_objext; then
12.21297 + ac_compiler_gnu=yes
12.21298 +else
12.21299 + echo "$as_me: failed program was:" >&5
12.21300 +sed 's/^/| /' conftest.$ac_ext >&5
12.21301 +
12.21302 + ac_compiler_gnu=no
12.21303 +fi
12.21304 +
12.21305 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21306 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12.21307 +
12.21308 +fi
12.21309 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12.21310 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
12.21311 +GXX=`test $ac_compiler_gnu = yes && echo yes`
12.21312 +ac_test_CXXFLAGS=${CXXFLAGS+set}
12.21313 +ac_save_CXXFLAGS=$CXXFLAGS
12.21314 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12.21315 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
12.21316 +if test "${ac_cv_prog_cxx_g+set}" = set; then
12.21317 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21318 +else
12.21319 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12.21320 + ac_cxx_werror_flag=yes
12.21321 + ac_cv_prog_cxx_g=no
12.21322 + CXXFLAGS="-g"
12.21323 + cat >conftest.$ac_ext <<_ACEOF
12.21324 +/* confdefs.h. */
12.21325 +_ACEOF
12.21326 +cat confdefs.h >>conftest.$ac_ext
12.21327 +cat >>conftest.$ac_ext <<_ACEOF
12.21328 +/* end confdefs.h. */
12.21329 +
12.21330 +int
12.21331 +main ()
12.21332 +{
12.21333 +
12.21334 + ;
12.21335 + return 0;
12.21336 +}
12.21337 +_ACEOF
12.21338 +rm -f conftest.$ac_objext
12.21339 +if { (ac_try="$ac_compile"
12.21340 +case "(($ac_try" in
12.21341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21342 + *) ac_try_echo=$ac_try;;
12.21343 +esac
12.21344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21345 + (eval "$ac_compile") 2>conftest.er1
12.21346 + ac_status=$?
12.21347 + grep -v '^ *+' conftest.er1 >conftest.err
12.21348 + rm -f conftest.er1
12.21349 + cat conftest.err >&5
12.21350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21351 + (exit $ac_status); } && {
12.21352 + test -z "$ac_cxx_werror_flag" ||
12.21353 + test ! -s conftest.err
12.21354 + } && test -s conftest.$ac_objext; then
12.21355 + ac_cv_prog_cxx_g=yes
12.21356 +else
12.21357 + echo "$as_me: failed program was:" >&5
12.21358 +sed 's/^/| /' conftest.$ac_ext >&5
12.21359 +
12.21360 + CXXFLAGS=""
12.21361 + cat >conftest.$ac_ext <<_ACEOF
12.21362 +/* confdefs.h. */
12.21363 +_ACEOF
12.21364 +cat confdefs.h >>conftest.$ac_ext
12.21365 +cat >>conftest.$ac_ext <<_ACEOF
12.21366 +/* end confdefs.h. */
12.21367 +
12.21368 +int
12.21369 +main ()
12.21370 +{
12.21371 +
12.21372 + ;
12.21373 + return 0;
12.21374 +}
12.21375 +_ACEOF
12.21376 +rm -f conftest.$ac_objext
12.21377 +if { (ac_try="$ac_compile"
12.21378 +case "(($ac_try" in
12.21379 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21380 + *) ac_try_echo=$ac_try;;
12.21381 +esac
12.21382 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21383 + (eval "$ac_compile") 2>conftest.er1
12.21384 + ac_status=$?
12.21385 + grep -v '^ *+' conftest.er1 >conftest.err
12.21386 + rm -f conftest.er1
12.21387 + cat conftest.err >&5
12.21388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21389 + (exit $ac_status); } && {
12.21390 + test -z "$ac_cxx_werror_flag" ||
12.21391 + test ! -s conftest.err
12.21392 + } && test -s conftest.$ac_objext; then
12.21393 + :
12.21394 +else
12.21395 + echo "$as_me: failed program was:" >&5
12.21396 +sed 's/^/| /' conftest.$ac_ext >&5
12.21397 +
12.21398 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12.21399 + CXXFLAGS="-g"
12.21400 + cat >conftest.$ac_ext <<_ACEOF
12.21401 +/* confdefs.h. */
12.21402 +_ACEOF
12.21403 +cat confdefs.h >>conftest.$ac_ext
12.21404 +cat >>conftest.$ac_ext <<_ACEOF
12.21405 +/* end confdefs.h. */
12.21406 +
12.21407 +int
12.21408 +main ()
12.21409 +{
12.21410 +
12.21411 + ;
12.21412 + return 0;
12.21413 +}
12.21414 +_ACEOF
12.21415 +rm -f conftest.$ac_objext
12.21416 +if { (ac_try="$ac_compile"
12.21417 +case "(($ac_try" in
12.21418 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21419 + *) ac_try_echo=$ac_try;;
12.21420 +esac
12.21421 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21422 + (eval "$ac_compile") 2>conftest.er1
12.21423 + ac_status=$?
12.21424 + grep -v '^ *+' conftest.er1 >conftest.err
12.21425 + rm -f conftest.er1
12.21426 + cat conftest.err >&5
12.21427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21428 + (exit $ac_status); } && {
12.21429 + test -z "$ac_cxx_werror_flag" ||
12.21430 + test ! -s conftest.err
12.21431 + } && test -s conftest.$ac_objext; then
12.21432 + ac_cv_prog_cxx_g=yes
12.21433 +else
12.21434 + echo "$as_me: failed program was:" >&5
12.21435 +sed 's/^/| /' conftest.$ac_ext >&5
12.21436 +
12.21437 +
12.21438 +fi
12.21439 +
12.21440 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21441 +fi
12.21442 +
12.21443 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21444 +fi
12.21445 +
12.21446 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21447 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12.21448 +fi
12.21449 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12.21450 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
12.21451 +if test "$ac_test_CXXFLAGS" = set; then
12.21452 + CXXFLAGS=$ac_save_CXXFLAGS
12.21453 +elif test $ac_cv_prog_cxx_g = yes; then
12.21454 + if test "$GXX" = yes; then
12.21455 + CXXFLAGS="-g -O2"
12.21456 + else
12.21457 + CXXFLAGS="-g"
12.21458 + fi
12.21459 +else
12.21460 + if test "$GXX" = yes; then
12.21461 + CXXFLAGS="-O2"
12.21462 + else
12.21463 + CXXFLAGS=
12.21464 + fi
12.21465 +fi
12.21466 +ac_ext=c
12.21467 +ac_cpp='$CPP $CPPFLAGS'
12.21468 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.21469 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.21470 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.21471 +
12.21472 +depcc="$CXX" am_compiler_list=
12.21473 +
12.21474 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12.21475 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12.21476 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12.21477 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21478 +else
12.21479 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12.21480 + # We make a subdir and do the tests there. Otherwise we can end up
12.21481 + # making bogus files that we don't know about and never remove. For
12.21482 + # instance it was reported that on HP-UX the gcc test will end up
12.21483 + # making a dummy file named `D' -- because `-MD' means `put the output
12.21484 + # in D'.
12.21485 + mkdir conftest.dir
12.21486 + # Copy depcomp to subdir because otherwise we won't find it if we're
12.21487 + # using a relative directory.
12.21488 + cp "$am_depcomp" conftest.dir
12.21489 + cd conftest.dir
12.21490 + # We will build objects and dependencies in a subdirectory because
12.21491 + # it helps to detect inapplicable dependency modes. For instance
12.21492 + # both Tru64's cc and ICC support -MD to output dependencies as a
12.21493 + # side effect of compilation, but ICC will put the dependencies in
12.21494 + # the current directory while Tru64 will put them in the object
12.21495 + # directory.
12.21496 + mkdir sub
12.21497 +
12.21498 + am_cv_CXX_dependencies_compiler_type=none
12.21499 + if test "$am_compiler_list" = ""; then
12.21500 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12.21501 + fi
12.21502 + for depmode in $am_compiler_list; do
12.21503 + # Setup a source with many dependencies, because some compilers
12.21504 + # like to wrap large dependency lists on column 80 (with \), and
12.21505 + # we should not choose a depcomp mode which is confused by this.
12.21506 + #
12.21507 + # We need to recreate these files for each test, as the compiler may
12.21508 + # overwrite some of them when testing with obscure command lines.
12.21509 + # This happens at least with the AIX C compiler.
12.21510 + : > sub/conftest.c
12.21511 + for i in 1 2 3 4 5 6; do
12.21512 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12.21513 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12.21514 + # Solaris 8's {/usr,}/bin/sh.
12.21515 + touch sub/conftst$i.h
12.21516 + done
12.21517 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12.21518 +
12.21519 + case $depmode in
12.21520 + nosideeffect)
12.21521 + # after this tag, mechanisms are not by side-effect, so they'll
12.21522 + # only be used when explicitly requested
12.21523 + if test "x$enable_dependency_tracking" = xyes; then
12.21524 + continue
12.21525 + else
12.21526 + break
12.21527 + fi
12.21528 + ;;
12.21529 + none) break ;;
12.21530 + esac
12.21531 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12.21532 + # mode. It turns out that the SunPro C++ compiler does not properly
12.21533 + # handle `-M -o', and we need to detect this.
12.21534 + if depmode=$depmode \
12.21535 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12.21536 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12.21537 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12.21538 + >/dev/null 2>conftest.err &&
12.21539 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12.21540 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12.21541 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12.21542 + # icc doesn't choke on unknown options, it will just issue warnings
12.21543 + # or remarks (even with -Werror). So we grep stderr for any message
12.21544 + # that says an option was ignored or not supported.
12.21545 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12.21546 + # icc: Command line warning: ignoring option '-M'; no argument required
12.21547 + # The diagnosis changed in icc 8.0:
12.21548 + # icc: Command line remark: option '-MP' not supported
12.21549 + if (grep 'ignoring option' conftest.err ||
12.21550 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12.21551 + am_cv_CXX_dependencies_compiler_type=$depmode
12.21552 + break
12.21553 + fi
12.21554 + fi
12.21555 + done
12.21556 +
12.21557 + cd ..
12.21558 + rm -rf conftest.dir
12.21559 +else
12.21560 + am_cv_CXX_dependencies_compiler_type=none
12.21561 +fi
12.21562 +
12.21563 +fi
12.21564 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12.21565 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12.21566 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12.21567 +
12.21568 +
12.21569 +
12.21570 +if
12.21571 + test "x$enable_dependency_tracking" != xno \
12.21572 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12.21573 + am__fastdepCXX_TRUE=
12.21574 + am__fastdepCXX_FALSE='#'
12.21575 +else
12.21576 + am__fastdepCXX_TRUE='#'
12.21577 + am__fastdepCXX_FALSE=
12.21578 +fi
12.21579 +
12.21580 +
12.21581 +# Extract the first word of "$CXX", so it can be a program name with args.
12.21582 +set dummy $CXX; ac_word=$2
12.21583 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.21584 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.21585 +if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
12.21586 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21587 +else
12.21588 + if test -n "$HAVE_CXX"; then
12.21589 + ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
12.21590 +else
12.21591 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.21592 +for as_dir in $PATH
12.21593 +do
12.21594 + IFS=$as_save_IFS
12.21595 + test -z "$as_dir" && as_dir=.
12.21596 + for ac_exec_ext in '' $ac_executable_extensions; do
12.21597 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.21598 + ac_cv_prog_HAVE_CXX="yes"
12.21599 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.21600 + break 2
12.21601 + fi
12.21602 +done
12.21603 +done
12.21604 +IFS=$as_save_IFS
12.21605 +
12.21606 + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
12.21607 +fi
12.21608 +fi
12.21609 +HAVE_CXX=$ac_cv_prog_HAVE_CXX
12.21610 +if test -n "$HAVE_CXX"; then
12.21611 + { echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
12.21612 +echo "${ECHO_T}$HAVE_CXX" >&6; }
12.21613 +else
12.21614 + { echo "$as_me:$LINENO: result: no" >&5
12.21615 +echo "${ECHO_T}no" >&6; }
12.21616 +fi
12.21617 +
12.21618 +
12.21619 +ac_ext=cpp
12.21620 +ac_cpp='$CXXCPP $CPPFLAGS'
12.21621 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.21622 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.21623 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12.21624 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12.21625 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12.21626 +if test -z "$CXXCPP"; then
12.21627 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
12.21628 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21629 +else
12.21630 + # Double quotes because CXXCPP needs to be expanded
12.21631 + for CXXCPP in "$CXX -E" "/lib/cpp"
12.21632 + do
12.21633 + ac_preproc_ok=false
12.21634 +for ac_cxx_preproc_warn_flag in '' yes
12.21635 +do
12.21636 + # Use a header file that comes with gcc, so configuring glibc
12.21637 + # with a fresh cross-compiler works.
12.21638 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.21639 + # <limits.h> exists even on freestanding compilers.
12.21640 + # On the NeXT, cc -E runs the code through the compiler's parser,
12.21641 + # not just through cpp. "Syntax error" is here to catch this case.
12.21642 + cat >conftest.$ac_ext <<_ACEOF
12.21643 +/* confdefs.h. */
12.21644 +_ACEOF
12.21645 +cat confdefs.h >>conftest.$ac_ext
12.21646 +cat >>conftest.$ac_ext <<_ACEOF
12.21647 +/* end confdefs.h. */
12.21648 +@%:@ifdef __STDC__
12.21649 +@%:@ include <limits.h>
12.21650 +@%:@else
12.21651 +@%:@ include <assert.h>
12.21652 +@%:@endif
12.21653 + Syntax error
12.21654 +_ACEOF
12.21655 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.21656 +case "(($ac_try" in
12.21657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21658 + *) ac_try_echo=$ac_try;;
12.21659 +esac
12.21660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21661 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.21662 + ac_status=$?
12.21663 + grep -v '^ *+' conftest.er1 >conftest.err
12.21664 + rm -f conftest.er1
12.21665 + cat conftest.err >&5
12.21666 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21667 + (exit $ac_status); } >/dev/null && {
12.21668 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.21669 + test ! -s conftest.err
12.21670 + }; then
12.21671 + :
12.21672 +else
12.21673 + echo "$as_me: failed program was:" >&5
12.21674 +sed 's/^/| /' conftest.$ac_ext >&5
12.21675 +
12.21676 + # Broken: fails on valid input.
12.21677 +continue
12.21678 +fi
12.21679 +
12.21680 +rm -f conftest.err conftest.$ac_ext
12.21681 +
12.21682 + # OK, works on sane cases. Now check whether nonexistent headers
12.21683 + # can be detected and how.
12.21684 + cat >conftest.$ac_ext <<_ACEOF
12.21685 +/* confdefs.h. */
12.21686 +_ACEOF
12.21687 +cat confdefs.h >>conftest.$ac_ext
12.21688 +cat >>conftest.$ac_ext <<_ACEOF
12.21689 +/* end confdefs.h. */
12.21690 +@%:@include <ac_nonexistent.h>
12.21691 +_ACEOF
12.21692 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.21693 +case "(($ac_try" in
12.21694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21695 + *) ac_try_echo=$ac_try;;
12.21696 +esac
12.21697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21698 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.21699 + ac_status=$?
12.21700 + grep -v '^ *+' conftest.er1 >conftest.err
12.21701 + rm -f conftest.er1
12.21702 + cat conftest.err >&5
12.21703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21704 + (exit $ac_status); } >/dev/null && {
12.21705 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.21706 + test ! -s conftest.err
12.21707 + }; then
12.21708 + # Broken: success on invalid input.
12.21709 +continue
12.21710 +else
12.21711 + echo "$as_me: failed program was:" >&5
12.21712 +sed 's/^/| /' conftest.$ac_ext >&5
12.21713 +
12.21714 + # Passes both tests.
12.21715 +ac_preproc_ok=:
12.21716 +break
12.21717 +fi
12.21718 +
12.21719 +rm -f conftest.err conftest.$ac_ext
12.21720 +
12.21721 +done
12.21722 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12.21723 +rm -f conftest.err conftest.$ac_ext
12.21724 +if $ac_preproc_ok; then
12.21725 + break
12.21726 +fi
12.21727 +
12.21728 + done
12.21729 + ac_cv_prog_CXXCPP=$CXXCPP
12.21730 +
12.21731 +fi
12.21732 + CXXCPP=$ac_cv_prog_CXXCPP
12.21733 +else
12.21734 + ac_cv_prog_CXXCPP=$CXXCPP
12.21735 +fi
12.21736 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
12.21737 +echo "${ECHO_T}$CXXCPP" >&6; }
12.21738 +ac_preproc_ok=false
12.21739 +for ac_cxx_preproc_warn_flag in '' yes
12.21740 +do
12.21741 + # Use a header file that comes with gcc, so configuring glibc
12.21742 + # with a fresh cross-compiler works.
12.21743 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12.21744 + # <limits.h> exists even on freestanding compilers.
12.21745 + # On the NeXT, cc -E runs the code through the compiler's parser,
12.21746 + # not just through cpp. "Syntax error" is here to catch this case.
12.21747 + cat >conftest.$ac_ext <<_ACEOF
12.21748 +/* confdefs.h. */
12.21749 +_ACEOF
12.21750 +cat confdefs.h >>conftest.$ac_ext
12.21751 +cat >>conftest.$ac_ext <<_ACEOF
12.21752 +/* end confdefs.h. */
12.21753 +@%:@ifdef __STDC__
12.21754 +@%:@ include <limits.h>
12.21755 +@%:@else
12.21756 +@%:@ include <assert.h>
12.21757 +@%:@endif
12.21758 + Syntax error
12.21759 +_ACEOF
12.21760 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.21761 +case "(($ac_try" in
12.21762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21763 + *) ac_try_echo=$ac_try;;
12.21764 +esac
12.21765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21766 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.21767 + ac_status=$?
12.21768 + grep -v '^ *+' conftest.er1 >conftest.err
12.21769 + rm -f conftest.er1
12.21770 + cat conftest.err >&5
12.21771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21772 + (exit $ac_status); } >/dev/null && {
12.21773 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.21774 + test ! -s conftest.err
12.21775 + }; then
12.21776 + :
12.21777 +else
12.21778 + echo "$as_me: failed program was:" >&5
12.21779 +sed 's/^/| /' conftest.$ac_ext >&5
12.21780 +
12.21781 + # Broken: fails on valid input.
12.21782 +continue
12.21783 +fi
12.21784 +
12.21785 +rm -f conftest.err conftest.$ac_ext
12.21786 +
12.21787 + # OK, works on sane cases. Now check whether nonexistent headers
12.21788 + # can be detected and how.
12.21789 + cat >conftest.$ac_ext <<_ACEOF
12.21790 +/* confdefs.h. */
12.21791 +_ACEOF
12.21792 +cat confdefs.h >>conftest.$ac_ext
12.21793 +cat >>conftest.$ac_ext <<_ACEOF
12.21794 +/* end confdefs.h. */
12.21795 +@%:@include <ac_nonexistent.h>
12.21796 +_ACEOF
12.21797 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12.21798 +case "(($ac_try" in
12.21799 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21800 + *) ac_try_echo=$ac_try;;
12.21801 +esac
12.21802 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21803 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12.21804 + ac_status=$?
12.21805 + grep -v '^ *+' conftest.er1 >conftest.err
12.21806 + rm -f conftest.er1
12.21807 + cat conftest.err >&5
12.21808 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21809 + (exit $ac_status); } >/dev/null && {
12.21810 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12.21811 + test ! -s conftest.err
12.21812 + }; then
12.21813 + # Broken: success on invalid input.
12.21814 +continue
12.21815 +else
12.21816 + echo "$as_me: failed program was:" >&5
12.21817 +sed 's/^/| /' conftest.$ac_ext >&5
12.21818 +
12.21819 + # Passes both tests.
12.21820 +ac_preproc_ok=:
12.21821 +break
12.21822 +fi
12.21823 +
12.21824 +rm -f conftest.err conftest.$ac_ext
12.21825 +
12.21826 +done
12.21827 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12.21828 +rm -f conftest.err conftest.$ac_ext
12.21829 +if $ac_preproc_ok; then
12.21830 + :
12.21831 +else
12.21832 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12.21833 +See \`config.log' for more details." >&5
12.21834 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12.21835 +See \`config.log' for more details." >&2;}
12.21836 + { (exit 1); exit 1; }; }
12.21837 +fi
12.21838 +
12.21839 +ac_ext=c
12.21840 +ac_cpp='$CPP $CPPFLAGS'
12.21841 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12.21842 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12.21843 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12.21844 +
12.21845 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
12.21846 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
12.21847 +if test "${ac_cv_search_strerror+set}" = set; then
12.21848 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21849 +else
12.21850 + ac_func_search_save_LIBS=$LIBS
12.21851 +cat >conftest.$ac_ext <<_ACEOF
12.21852 +/* confdefs.h. */
12.21853 +_ACEOF
12.21854 +cat confdefs.h >>conftest.$ac_ext
12.21855 +cat >>conftest.$ac_ext <<_ACEOF
12.21856 +/* end confdefs.h. */
12.21857 +
12.21858 +/* Override any GCC internal prototype to avoid an error.
12.21859 + Use char because int might match the return type of a GCC
12.21860 + builtin and then its argument prototype would still apply. */
12.21861 +#ifdef __cplusplus
12.21862 +extern "C"
12.21863 +#endif
12.21864 +char strerror ();
12.21865 +int
12.21866 +main ()
12.21867 +{
12.21868 +return strerror ();
12.21869 + ;
12.21870 + return 0;
12.21871 +}
12.21872 +_ACEOF
12.21873 +for ac_lib in '' cposix; do
12.21874 + if test -z "$ac_lib"; then
12.21875 + ac_res="none required"
12.21876 + else
12.21877 + ac_res=-l$ac_lib
12.21878 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12.21879 + fi
12.21880 + rm -f conftest.$ac_objext conftest$ac_exeext
12.21881 +if { (ac_try="$ac_link"
12.21882 +case "(($ac_try" in
12.21883 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21884 + *) ac_try_echo=$ac_try;;
12.21885 +esac
12.21886 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21887 + (eval "$ac_link") 2>conftest.er1
12.21888 + ac_status=$?
12.21889 + grep -v '^ *+' conftest.er1 >conftest.err
12.21890 + rm -f conftest.er1
12.21891 + cat conftest.err >&5
12.21892 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21893 + (exit $ac_status); } && {
12.21894 + test -z "$ac_c_werror_flag" ||
12.21895 + test ! -s conftest.err
12.21896 + } && test -s conftest$ac_exeext &&
12.21897 + $as_test_x conftest$ac_exeext; then
12.21898 + ac_cv_search_strerror=$ac_res
12.21899 +else
12.21900 + echo "$as_me: failed program was:" >&5
12.21901 +sed 's/^/| /' conftest.$ac_ext >&5
12.21902 +
12.21903 +
12.21904 +fi
12.21905 +
12.21906 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12.21907 + conftest$ac_exeext
12.21908 + if test "${ac_cv_search_strerror+set}" = set; then
12.21909 + break
12.21910 +fi
12.21911 +done
12.21912 +if test "${ac_cv_search_strerror+set}" = set; then
12.21913 + :
12.21914 +else
12.21915 + ac_cv_search_strerror=no
12.21916 +fi
12.21917 +rm conftest.$ac_ext
12.21918 +LIBS=$ac_func_search_save_LIBS
12.21919 +fi
12.21920 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
12.21921 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
12.21922 +ac_res=$ac_cv_search_strerror
12.21923 +if test "$ac_res" != no; then
12.21924 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12.21925 +
12.21926 +fi
12.21927 +
12.21928 +
12.21929 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12.21930 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12.21931 +if test "${ac_cv_header_stdc+set}" = set; then
12.21932 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.21933 +else
12.21934 + cat >conftest.$ac_ext <<_ACEOF
12.21935 +/* confdefs.h. */
12.21936 +_ACEOF
12.21937 +cat confdefs.h >>conftest.$ac_ext
12.21938 +cat >>conftest.$ac_ext <<_ACEOF
12.21939 +/* end confdefs.h. */
12.21940 +#include <stdlib.h>
12.21941 +#include <stdarg.h>
12.21942 +#include <string.h>
12.21943 +#include <float.h>
12.21944 +
12.21945 +int
12.21946 +main ()
12.21947 +{
12.21948 +
12.21949 + ;
12.21950 + return 0;
12.21951 +}
12.21952 +_ACEOF
12.21953 +rm -f conftest.$ac_objext
12.21954 +if { (ac_try="$ac_compile"
12.21955 +case "(($ac_try" in
12.21956 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.21957 + *) ac_try_echo=$ac_try;;
12.21958 +esac
12.21959 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.21960 + (eval "$ac_compile") 2>conftest.er1
12.21961 + ac_status=$?
12.21962 + grep -v '^ *+' conftest.er1 >conftest.err
12.21963 + rm -f conftest.er1
12.21964 + cat conftest.err >&5
12.21965 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.21966 + (exit $ac_status); } && {
12.21967 + test -z "$ac_c_werror_flag" ||
12.21968 + test ! -s conftest.err
12.21969 + } && test -s conftest.$ac_objext; then
12.21970 + ac_cv_header_stdc=yes
12.21971 +else
12.21972 + echo "$as_me: failed program was:" >&5
12.21973 +sed 's/^/| /' conftest.$ac_ext >&5
12.21974 +
12.21975 + ac_cv_header_stdc=no
12.21976 +fi
12.21977 +
12.21978 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.21979 +
12.21980 +if test $ac_cv_header_stdc = yes; then
12.21981 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12.21982 + cat >conftest.$ac_ext <<_ACEOF
12.21983 +/* confdefs.h. */
12.21984 +_ACEOF
12.21985 +cat confdefs.h >>conftest.$ac_ext
12.21986 +cat >>conftest.$ac_ext <<_ACEOF
12.21987 +/* end confdefs.h. */
12.21988 +#include <string.h>
12.21989 +
12.21990 +_ACEOF
12.21991 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12.21992 + $EGREP "memchr" >/dev/null 2>&1; then
12.21993 + :
12.21994 +else
12.21995 + ac_cv_header_stdc=no
12.21996 +fi
12.21997 +rm -f conftest*
12.21998 +
12.21999 +fi
12.22000 +
12.22001 +if test $ac_cv_header_stdc = yes; then
12.22002 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12.22003 + cat >conftest.$ac_ext <<_ACEOF
12.22004 +/* confdefs.h. */
12.22005 +_ACEOF
12.22006 +cat confdefs.h >>conftest.$ac_ext
12.22007 +cat >>conftest.$ac_ext <<_ACEOF
12.22008 +/* end confdefs.h. */
12.22009 +#include <stdlib.h>
12.22010 +
12.22011 +_ACEOF
12.22012 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12.22013 + $EGREP "free" >/dev/null 2>&1; then
12.22014 + :
12.22015 +else
12.22016 + ac_cv_header_stdc=no
12.22017 +fi
12.22018 +rm -f conftest*
12.22019 +
12.22020 +fi
12.22021 +
12.22022 +if test $ac_cv_header_stdc = yes; then
12.22023 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12.22024 + if test "$cross_compiling" = yes; then
12.22025 + :
12.22026 +else
12.22027 + cat >conftest.$ac_ext <<_ACEOF
12.22028 +/* confdefs.h. */
12.22029 +_ACEOF
12.22030 +cat confdefs.h >>conftest.$ac_ext
12.22031 +cat >>conftest.$ac_ext <<_ACEOF
12.22032 +/* end confdefs.h. */
12.22033 +#include <ctype.h>
12.22034 +#include <stdlib.h>
12.22035 +#if ((' ' & 0x0FF) == 0x020)
12.22036 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12.22037 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12.22038 +#else
12.22039 +# define ISLOWER(c) \
12.22040 + (('a' <= (c) && (c) <= 'i') \
12.22041 + || ('j' <= (c) && (c) <= 'r') \
12.22042 + || ('s' <= (c) && (c) <= 'z'))
12.22043 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12.22044 +#endif
12.22045 +
12.22046 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12.22047 +int
12.22048 +main ()
12.22049 +{
12.22050 + int i;
12.22051 + for (i = 0; i < 256; i++)
12.22052 + if (XOR (islower (i), ISLOWER (i))
12.22053 + || toupper (i) != TOUPPER (i))
12.22054 + return 2;
12.22055 + return 0;
12.22056 +}
12.22057 +_ACEOF
12.22058 +rm -f conftest$ac_exeext
12.22059 +if { (ac_try="$ac_link"
12.22060 +case "(($ac_try" in
12.22061 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.22062 + *) ac_try_echo=$ac_try;;
12.22063 +esac
12.22064 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.22065 + (eval "$ac_link") 2>&5
12.22066 + ac_status=$?
12.22067 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22068 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12.22069 + { (case "(($ac_try" in
12.22070 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.22071 + *) ac_try_echo=$ac_try;;
12.22072 +esac
12.22073 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.22074 + (eval "$ac_try") 2>&5
12.22075 + ac_status=$?
12.22076 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22077 + (exit $ac_status); }; }; then
12.22078 + :
12.22079 +else
12.22080 + echo "$as_me: program exited with status $ac_status" >&5
12.22081 +echo "$as_me: failed program was:" >&5
12.22082 +sed 's/^/| /' conftest.$ac_ext >&5
12.22083 +
12.22084 +( exit $ac_status )
12.22085 +ac_cv_header_stdc=no
12.22086 +fi
12.22087 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12.22088 +fi
12.22089 +
12.22090 +
12.22091 +fi
12.22092 +fi
12.22093 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12.22094 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
12.22095 +if test $ac_cv_header_stdc = yes; then
12.22096 +
12.22097 +cat >>confdefs.h <<\_ACEOF
12.22098 +@%:@define STDC_HEADERS 1
12.22099 +_ACEOF
12.22100 +
12.22101 +fi
12.22102 +
12.22103 +{ echo "$as_me:$LINENO: checking for inline" >&5
12.22104 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
12.22105 +if test "${ac_cv_c_inline+set}" = set; then
12.22106 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22107 +else
12.22108 + ac_cv_c_inline=no
12.22109 +for ac_kw in inline __inline__ __inline; do
12.22110 + cat >conftest.$ac_ext <<_ACEOF
12.22111 +/* confdefs.h. */
12.22112 +_ACEOF
12.22113 +cat confdefs.h >>conftest.$ac_ext
12.22114 +cat >>conftest.$ac_ext <<_ACEOF
12.22115 +/* end confdefs.h. */
12.22116 +#ifndef __cplusplus
12.22117 +typedef int foo_t;
12.22118 +static $ac_kw foo_t static_foo () {return 0; }
12.22119 +$ac_kw foo_t foo () {return 0; }
12.22120 +#endif
12.22121 +
12.22122 +_ACEOF
12.22123 +rm -f conftest.$ac_objext
12.22124 +if { (ac_try="$ac_compile"
12.22125 +case "(($ac_try" in
12.22126 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12.22127 + *) ac_try_echo=$ac_try;;
12.22128 +esac
12.22129 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12.22130 + (eval "$ac_compile") 2>conftest.er1
12.22131 + ac_status=$?
12.22132 + grep -v '^ *+' conftest.er1 >conftest.err
12.22133 + rm -f conftest.er1
12.22134 + cat conftest.err >&5
12.22135 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22136 + (exit $ac_status); } && {
12.22137 + test -z "$ac_c_werror_flag" ||
12.22138 + test ! -s conftest.err
12.22139 + } && test -s conftest.$ac_objext; then
12.22140 + ac_cv_c_inline=$ac_kw
12.22141 +else
12.22142 + echo "$as_me: failed program was:" >&5
12.22143 +sed 's/^/| /' conftest.$ac_ext >&5
12.22144 +
12.22145 +
12.22146 +fi
12.22147 +
12.22148 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12.22149 + test "$ac_cv_c_inline" != no && break
12.22150 +done
12.22151 +
12.22152 +fi
12.22153 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12.22154 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
12.22155 +
12.22156 +
12.22157 +case $ac_cv_c_inline in
12.22158 + inline | yes) ;;
12.22159 + *)
12.22160 + case $ac_cv_c_inline in
12.22161 + no) ac_val=;;
12.22162 + *) ac_val=$ac_cv_c_inline;;
12.22163 + esac
12.22164 + cat >>confdefs.h <<_ACEOF
12.22165 +#ifndef __cplusplus
12.22166 +#define inline $ac_val
12.22167 +#endif
12.22168 +_ACEOF
12.22169 + ;;
12.22170 +esac
12.22171 +
12.22172 +
12.22173 +# Extract the first word of "pkg-config", so it can be a program name with args.
12.22174 +set dummy pkg-config; ac_word=$2
12.22175 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.22176 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.22177 +if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
12.22178 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22179 +else
12.22180 + if test -n "$HAVE_PKGCONFIG"; then
12.22181 + ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
12.22182 +else
12.22183 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.22184 +for as_dir in $PATH
12.22185 +do
12.22186 + IFS=$as_save_IFS
12.22187 + test -z "$as_dir" && as_dir=.
12.22188 + for ac_exec_ext in '' $ac_executable_extensions; do
12.22189 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.22190 + ac_cv_prog_HAVE_PKGCONFIG="yes"
12.22191 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.22192 + break 2
12.22193 + fi
12.22194 +done
12.22195 +done
12.22196 +IFS=$as_save_IFS
12.22197 +
12.22198 + test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
12.22199 +fi
12.22200 +fi
12.22201 +HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
12.22202 +if test -n "$HAVE_PKGCONFIG"; then
12.22203 + { echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
12.22204 +echo "${ECHO_T}$HAVE_PKGCONFIG" >&6; }
12.22205 +else
12.22206 + { echo "$as_me:$LINENO: result: no" >&5
12.22207 +echo "${ECHO_T}no" >&6; }
12.22208 +fi
12.22209 +
12.22210 +
12.22211 +
12.22212 +if test "x$HAVE_PKGCONFIG" = "xno"; then
12.22213 + { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
12.22214 +echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
12.22215 + { (exit 1); exit 1; }; }
12.22216 +fi
12.22217 +
12.22218 +
12.22219 +GST_REQUIRED=0.10.14
12.22220 +GST_MAJORMINOR=0.10
12.22221 +
12.22222 +
12.22223 +
12.22224 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12.22225 + if test -n "$ac_tool_prefix"; then
12.22226 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12.22227 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12.22228 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.22229 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.22230 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12.22231 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22232 +else
12.22233 + case $PKG_CONFIG in
12.22234 + [\\/]* | ?:[\\/]*)
12.22235 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12.22236 + ;;
12.22237 + *)
12.22238 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.22239 +for as_dir in $PATH
12.22240 +do
12.22241 + IFS=$as_save_IFS
12.22242 + test -z "$as_dir" && as_dir=.
12.22243 + for ac_exec_ext in '' $ac_executable_extensions; do
12.22244 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.22245 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12.22246 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.22247 + break 2
12.22248 + fi
12.22249 +done
12.22250 +done
12.22251 +IFS=$as_save_IFS
12.22252 +
12.22253 + ;;
12.22254 +esac
12.22255 +fi
12.22256 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12.22257 +if test -n "$PKG_CONFIG"; then
12.22258 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12.22259 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
12.22260 +else
12.22261 + { echo "$as_me:$LINENO: result: no" >&5
12.22262 +echo "${ECHO_T}no" >&6; }
12.22263 +fi
12.22264 +
12.22265 +
12.22266 +fi
12.22267 +if test -z "$ac_cv_path_PKG_CONFIG"; then
12.22268 + ac_pt_PKG_CONFIG=$PKG_CONFIG
12.22269 + # Extract the first word of "pkg-config", so it can be a program name with args.
12.22270 +set dummy pkg-config; ac_word=$2
12.22271 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12.22272 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12.22273 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12.22274 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22275 +else
12.22276 + case $ac_pt_PKG_CONFIG in
12.22277 + [\\/]* | ?:[\\/]*)
12.22278 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12.22279 + ;;
12.22280 + *)
12.22281 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.22282 +for as_dir in $PATH
12.22283 +do
12.22284 + IFS=$as_save_IFS
12.22285 + test -z "$as_dir" && as_dir=.
12.22286 + for ac_exec_ext in '' $ac_executable_extensions; do
12.22287 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12.22288 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12.22289 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12.22290 + break 2
12.22291 + fi
12.22292 +done
12.22293 +done
12.22294 +IFS=$as_save_IFS
12.22295 +
12.22296 + ;;
12.22297 +esac
12.22298 +fi
12.22299 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12.22300 +if test -n "$ac_pt_PKG_CONFIG"; then
12.22301 + { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12.22302 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
12.22303 +else
12.22304 + { echo "$as_me:$LINENO: result: no" >&5
12.22305 +echo "${ECHO_T}no" >&6; }
12.22306 +fi
12.22307 +
12.22308 + if test "x$ac_pt_PKG_CONFIG" = x; then
12.22309 + PKG_CONFIG=""
12.22310 + else
12.22311 + case $cross_compiling:$ac_tool_warned in
12.22312 +yes:)
12.22313 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12.22314 +whose name does not start with the host triplet. If you think this
12.22315 +configuration is useful to you, please write to autoconf@gnu.org." >&5
12.22316 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12.22317 +whose name does not start with the host triplet. If you think this
12.22318 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12.22319 +ac_tool_warned=yes ;;
12.22320 +esac
12.22321 + PKG_CONFIG=$ac_pt_PKG_CONFIG
12.22322 + fi
12.22323 +else
12.22324 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12.22325 +fi
12.22326 +
12.22327 +fi
12.22328 +if test -n "$PKG_CONFIG"; then
12.22329 + _pkg_min_version=0.9.0
12.22330 + { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12.22331 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
12.22332 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12.22333 + { echo "$as_me:$LINENO: result: yes" >&5
12.22334 +echo "${ECHO_T}yes" >&6; }
12.22335 + else
12.22336 + { echo "$as_me:$LINENO: result: no" >&5
12.22337 +echo "${ECHO_T}no" >&6; }
12.22338 + PKG_CONFIG=""
12.22339 + fi
12.22340 +
12.22341 +fi
12.22342 +
12.22343 +pkg_failed=no
12.22344 +{ echo "$as_me:$LINENO: checking for GST_CFLAGS" >&5
12.22345 +echo $ECHO_N "checking for GST_CFLAGS... $ECHO_C" >&6; }
12.22346 +if test "${pkg_cv_GST_CFLAGS+set}" = set; then
12.22347 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22348 +else
12.22349 + if test "x$ac_cv_env_GST_CFLAGS_set" = "xset"; then
12.22350 + pkg_cv_GST_CFLAGS=$ac_cv_env_GST_CFLAGS_value
12.22351 +elif test -n "$PKG_CONFIG"; then
12.22352 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
12.22353 + gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
12.22354 + ($PKG_CONFIG --exists "\
12.22355 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
12.22356 + ac_status=$?
12.22357 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22358 + (exit $ac_status); }; then
12.22359 + pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
12.22360 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
12.22361 + else
12.22362 + pkg_failed=yes
12.22363 + fi
12.22364 +else
12.22365 + pkg_failed=untried
12.22366 +fi
12.22367 +fi
12.22368 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_CFLAGS" >&5
12.22369 +echo "${ECHO_T}$pkg_cv_GST_CFLAGS" >&6; }
12.22370 +{ echo "$as_me:$LINENO: checking for GST_LIBS" >&5
12.22371 +echo $ECHO_N "checking for GST_LIBS... $ECHO_C" >&6; }
12.22372 +if test "${pkg_cv_GST_LIBS+set}" = set; then
12.22373 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22374 +else
12.22375 + if test "x$ac_cv_env_GST_LIBS_set" = "xset"; then
12.22376 + pkg_cv_GST_LIBS=$ac_cv_env_GST_LIBS_value
12.22377 +elif test -n "$PKG_CONFIG"; then
12.22378 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\\
12.22379 + gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
12.22380 + ($PKG_CONFIG --exists "\
12.22381 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
12.22382 + ac_status=$?
12.22383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22384 + (exit $ac_status); }; then
12.22385 + pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
12.22386 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
12.22387 + else
12.22388 + pkg_failed=yes
12.22389 + fi
12.22390 +else
12.22391 + pkg_failed=untried
12.22392 +fi
12.22393 +fi
12.22394 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_LIBS" >&5
12.22395 +echo "${ECHO_T}$pkg_cv_GST_LIBS" >&6; }
12.22396 +
12.22397 +if test $pkg_failed = yes; then
12.22398 + GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
12.22399 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
12.22400 + # Put the nasty error message in config.log where it belongs
12.22401 + echo "$GST_PKG_ERRORS" 1>&5
12.22402 +
12.22403 + HAVE_GST=no
12.22404 +elif test $pkg_failed = untried; then
12.22405 + HAVE_GST=no
12.22406 +else
12.22407 + GST_CFLAGS=$pkg_cv_GST_CFLAGS
12.22408 + GST_LIBS=$pkg_cv_GST_LIBS
12.22409 + HAVE_GST=yes
12.22410 +fi
12.22411 +
12.22412 +if test "x$HAVE_GST" = "xno"; then
12.22413 + { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
12.22414 +echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
12.22415 + { (exit 1); exit 1; }; }
12.22416 +fi
12.22417 +
12.22418 +if test "x$USE_DEBUG" = xyes; then
12.22419 + GST_CFLAGS="$GST_CFLAGS -g"
12.22420 +fi
12.22421 +
12.22422 +GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
12.22423 +
12.22424 +
12.22425 +
12.22426 +
12.22427 +
12.22428 +
12.22429 +
12.22430 +pkg_failed=no
12.22431 +{ echo "$as_me:$LINENO: checking for GST_BASE_CFLAGS" >&5
12.22432 +echo $ECHO_N "checking for GST_BASE_CFLAGS... $ECHO_C" >&6; }
12.22433 +if test "${pkg_cv_GST_BASE_CFLAGS+set}" = set; then
12.22434 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22435 +else
12.22436 + if test "x$ac_cv_env_GST_BASE_CFLAGS_set" = "xset"; then
12.22437 + pkg_cv_GST_BASE_CFLAGS=$ac_cv_env_GST_BASE_CFLAGS_value
12.22438 +elif test -n "$PKG_CONFIG"; then
12.22439 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
12.22440 + ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
12.22441 + ac_status=$?
12.22442 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22443 + (exit $ac_status); }; then
12.22444 + pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
12.22445 + else
12.22446 + pkg_failed=yes
12.22447 + fi
12.22448 +else
12.22449 + pkg_failed=untried
12.22450 +fi
12.22451 +fi
12.22452 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_CFLAGS" >&5
12.22453 +echo "${ECHO_T}$pkg_cv_GST_BASE_CFLAGS" >&6; }
12.22454 +{ echo "$as_me:$LINENO: checking for GST_BASE_LIBS" >&5
12.22455 +echo $ECHO_N "checking for GST_BASE_LIBS... $ECHO_C" >&6; }
12.22456 +if test "${pkg_cv_GST_BASE_LIBS+set}" = set; then
12.22457 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22458 +else
12.22459 + if test "x$ac_cv_env_GST_BASE_LIBS_set" = "xset"; then
12.22460 + pkg_cv_GST_BASE_LIBS=$ac_cv_env_GST_BASE_LIBS_value
12.22461 +elif test -n "$PKG_CONFIG"; then
12.22462 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
12.22463 + ($PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
12.22464 + ac_status=$?
12.22465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22466 + (exit $ac_status); }; then
12.22467 + pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
12.22468 + else
12.22469 + pkg_failed=yes
12.22470 + fi
12.22471 +else
12.22472 + pkg_failed=untried
12.22473 +fi
12.22474 +fi
12.22475 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_BASE_LIBS" >&5
12.22476 +echo "${ECHO_T}$pkg_cv_GST_BASE_LIBS" >&6; }
12.22477 +
12.22478 +if test $pkg_failed = yes; then
12.22479 + GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
12.22480 + # Put the nasty error message in config.log where it belongs
12.22481 + echo "$GST_BASE_PKG_ERRORS" 1>&5
12.22482 +
12.22483 + HAVE_GST_BASE="no"
12.22484 +elif test $pkg_failed = untried; then
12.22485 + HAVE_GST_BASE="no"
12.22486 +else
12.22487 + GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
12.22488 + GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
12.22489 + HAVE_GST_BASE="yes"
12.22490 +fi
12.22491 +
12.22492 +if test "x$HAVE_GST_BASE" = "xno"; then
12.22493 + { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
12.22494 +echo "$as_me: error: no GStreamer Base Libs found" >&2;}
12.22495 + { (exit 1); exit 1; }; }
12.22496 +fi
12.22497 +
12.22498 +
12.22499 +
12.22500 +
12.22501 +
12.22502 +pkg_failed=no
12.22503 +{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_CFLAGS" >&5
12.22504 +echo $ECHO_N "checking for GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6; }
12.22505 +if test "${pkg_cv_GST_PLUGINS_BASE_CFLAGS+set}" = set; then
12.22506 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22507 +else
12.22508 + if test "x$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_set" = "xset"; then
12.22509 + pkg_cv_GST_PLUGINS_BASE_CFLAGS=$ac_cv_env_GST_PLUGINS_BASE_CFLAGS_value
12.22510 +elif test -n "$PKG_CONFIG"; then
12.22511 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
12.22512 + ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
12.22513 + ac_status=$?
12.22514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22515 + (exit $ac_status); }; then
12.22516 + pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
12.22517 + else
12.22518 + pkg_failed=yes
12.22519 + fi
12.22520 +else
12.22521 + pkg_failed=untried
12.22522 +fi
12.22523 +fi
12.22524 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&5
12.22525 +echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_CFLAGS" >&6; }
12.22526 +{ echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE_LIBS" >&5
12.22527 +echo $ECHO_N "checking for GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6; }
12.22528 +if test "${pkg_cv_GST_PLUGINS_BASE_LIBS+set}" = set; then
12.22529 + echo $ECHO_N "(cached) $ECHO_C" >&6
12.22530 +else
12.22531 + if test "x$ac_cv_env_GST_PLUGINS_BASE_LIBS_set" = "xset"; then
12.22532 + pkg_cv_GST_PLUGINS_BASE_LIBS=$ac_cv_env_GST_PLUGINS_BASE_LIBS_value
12.22533 +elif test -n "$PKG_CONFIG"; then
12.22534 + if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\" >/dev/null 2>&1") >&5
12.22535 + ($PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >/dev/null 2>&1) 2>&5
12.22536 + ac_status=$?
12.22537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12.22538 + (exit $ac_status); }; then
12.22539 + pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
12.22540 + else
12.22541 + pkg_failed=yes
12.22542 + fi
12.22543 +else
12.22544 + pkg_failed=untried
12.22545 +fi
12.22546 +fi
12.22547 +{ echo "$as_me:$LINENO: result: $pkg_cv_GST_PLUGINS_BASE_LIBS" >&5
12.22548 +echo "${ECHO_T}$pkg_cv_GST_PLUGINS_BASE_LIBS" >&6; }
12.22549 +
12.22550 +if test $pkg_failed = yes; then
12.22551 + GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
12.22552 + # Put the nasty error message in config.log where it belongs
12.22553 + echo "$GST_PLUGINS_BASE_PKG_ERRORS" 1>&5
12.22554 +
12.22555 + HAVE_GST_PLUGINS="no"
12.22556 +elif test $pkg_failed = untried; then
12.22557 + HAVE_GST_PLUGINS="no"
12.22558 +else
12.22559 + GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
12.22560 + GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
12.22561 + HAVE_GST_PLUGINS="yes"
12.22562 +fi
12.22563 +
12.22564 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
12.22565 + { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
12.22566 +echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
12.22567 + { (exit 1); exit 1; }; }
12.22568 +fi
12.22569 +
12.22570 +
12.22571 +
12.22572 +
12.22573 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
12.22574 +
12.22575 +
12.22576 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
12.22577 +
12.22578 +
12.22579 +
12.22580 +cat >>confdefs.h <<\_ACEOF
12.22581 +@%:@define GST_LICENSE "LGPL"
12.22582 +_ACEOF
12.22583 +
12.22584 +
12.22585 +cat >>confdefs.h <<\_ACEOF
12.22586 +@%:@define GST_PACKAGE_NAME "INdT plugins to Gstreamer "
12.22587 +_ACEOF
12.22588 +
12.22589 +
12.22590 +cat >>confdefs.h <<\_ACEOF
12.22591 +@%:@define GST_PACKAGE_ORIGIN "https://svn.sourceforge.net/svnroot/gmyth/gst-gpac"
12.22592 +_ACEOF
12.22593 +
12.22594 +
12.22595 +ac_config_files="$ac_config_files Makefile src/Makefile"
12.22596 +
12.22597 +cat >confcache <<\_ACEOF
12.22598 +# This file is a shell script that caches the results of configure
12.22599 +# tests run on this system so they can be shared between configure
12.22600 +# scripts and configure runs, see configure's option --config-cache.
12.22601 +# It is not useful on other systems. If it contains results you don't
12.22602 +# want to keep, you may remove or edit it.
12.22603 +#
12.22604 +# config.status only pays attention to the cache file if you give it
12.22605 +# the --recheck option to rerun configure.
12.22606 +#
12.22607 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
12.22608 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
12.22609 +# following values.
12.22610 +
12.22611 +_ACEOF
12.22612 +
12.22613 +# The following way of writing the cache mishandles newlines in values,
12.22614 +# but we know of no workaround that is simple, portable, and efficient.
12.22615 +# So, we kill variables containing newlines.
12.22616 +# Ultrix sh set writes to stderr and can't be redirected directly,
12.22617 +# and sets the high bit in the cache file unless we assign to the vars.
12.22618 +(
12.22619 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12.22620 + eval ac_val=\$$ac_var
12.22621 + case $ac_val in #(
12.22622 + *${as_nl}*)
12.22623 + case $ac_var in #(
12.22624 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12.22625 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12.22626 + esac
12.22627 + case $ac_var in #(
12.22628 + _ | IFS | as_nl) ;; #(
12.22629 + *) $as_unset $ac_var ;;
12.22630 + esac ;;
12.22631 + esac
12.22632 + done
12.22633 +
12.22634 + (set) 2>&1 |
12.22635 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
12.22636 + *${as_nl}ac_space=\ *)
12.22637 + # `set' does not quote correctly, so add quotes (double-quote
12.22638 + # substitution turns \\\\ into \\, and sed turns \\ into \).
12.22639 + sed -n \
12.22640 + "s/'/'\\\\''/g;
12.22641 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12.22642 + ;; #(
12.22643 + *)
12.22644 + # `set' quotes correctly as required by POSIX, so do not add quotes.
12.22645 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12.22646 + ;;
12.22647 + esac |
12.22648 + sort
12.22649 +) |
12.22650 + sed '
12.22651 + /^ac_cv_env_/b end
12.22652 + t clear
12.22653 + :clear
12.22654 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12.22655 + t end
12.22656 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12.22657 + :end' >>confcache
12.22658 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12.22659 + if test -w "$cache_file"; then
12.22660 + test "x$cache_file" != "x/dev/null" &&
12.22661 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12.22662 +echo "$as_me: updating cache $cache_file" >&6;}
12.22663 + cat confcache >$cache_file
12.22664 + else
12.22665 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12.22666 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12.22667 + fi
12.22668 +fi
12.22669 +rm -f confcache
12.22670 +
12.22671 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
12.22672 +# Let make expand exec_prefix.
12.22673 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12.22674 +
12.22675 +DEFS=-DHAVE_CONFIG_H
12.22676 +
12.22677 +ac_libobjs=
12.22678 +ac_ltlibobjs=
12.22679 +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
12.22680 + # 1. Remove the extension, and $U if already installed.
12.22681 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12.22682 + ac_i=`echo "$ac_i" | sed "$ac_script"`
12.22683 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12.22684 + # will be set to the directory where LIBOBJS objects are built.
12.22685 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12.22686 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12.22687 +done
12.22688 +LIB@&t@OBJS=$ac_libobjs
12.22689 +
12.22690 +LTLIBOBJS=$ac_ltlibobjs
12.22691 +
12.22692 +
12.22693 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12.22694 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12.22695 +Usually this means the macro was only invoked conditionally." >&5
12.22696 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12.22697 +Usually this means the macro was only invoked conditionally." >&2;}
12.22698 + { (exit 1); exit 1; }; }
12.22699 +fi
12.22700 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12.22701 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12.22702 +Usually this means the macro was only invoked conditionally." >&5
12.22703 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
12.22704 +Usually this means the macro was only invoked conditionally." >&2;}
12.22705 + { (exit 1); exit 1; }; }
12.22706 +fi
12.22707 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12.22708 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12.22709 +Usually this means the macro was only invoked conditionally." >&5
12.22710 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12.22711 +Usually this means the macro was only invoked conditionally." >&2;}
12.22712 + { (exit 1); exit 1; }; }
12.22713 +fi
12.22714 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
12.22715 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
12.22716 +Usually this means the macro was only invoked conditionally." >&5
12.22717 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
12.22718 +Usually this means the macro was only invoked conditionally." >&2;}
12.22719 + { (exit 1); exit 1; }; }
12.22720 +fi
12.22721 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12.22722 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12.22723 +Usually this means the macro was only invoked conditionally." >&5
12.22724 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12.22725 +Usually this means the macro was only invoked conditionally." >&2;}
12.22726 + { (exit 1); exit 1; }; }
12.22727 +fi
12.22728 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
12.22729 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
12.22730 +Usually this means the macro was only invoked conditionally." >&5
12.22731 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
12.22732 +Usually this means the macro was only invoked conditionally." >&2;}
12.22733 + { (exit 1); exit 1; }; }
12.22734 +fi
12.22735 +
12.22736 +: ${CONFIG_STATUS=./config.status}
12.22737 +ac_clean_files_save=$ac_clean_files
12.22738 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12.22739 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12.22740 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
12.22741 +cat >$CONFIG_STATUS <<_ACEOF
12.22742 +#! $SHELL
12.22743 +# Generated by $as_me.
12.22744 +# Run this file to recreate the current configuration.
12.22745 +# Compiler output produced by configure, useful for debugging
12.22746 +# configure, is in config.log if it exists.
12.22747 +
12.22748 +debug=false
12.22749 +ac_cs_recheck=false
12.22750 +ac_cs_silent=false
12.22751 +SHELL=\${CONFIG_SHELL-$SHELL}
12.22752 +_ACEOF
12.22753 +
12.22754 +cat >>$CONFIG_STATUS <<\_ACEOF
12.22755 +## --------------------- ##
12.22756 +## M4sh Initialization. ##
12.22757 +## --------------------- ##
12.22758 +
12.22759 +# Be more Bourne compatible
12.22760 +DUALCASE=1; export DUALCASE # for MKS sh
12.22761 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12.22762 + emulate sh
12.22763 + NULLCMD=:
12.22764 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12.22765 + # is contrary to our usage. Disable this feature.
12.22766 + alias -g '${1+"$@"}'='"$@"'
12.22767 + setopt NO_GLOB_SUBST
12.22768 +else
12.22769 + case `(set -o) 2>/dev/null` in
12.22770 + *posix*) set -o posix ;;
12.22771 +esac
12.22772 +
12.22773 +fi
12.22774 +
12.22775 +
12.22776 +
12.22777 +
12.22778 +# PATH needs CR
12.22779 +# Avoid depending upon Character Ranges.
12.22780 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12.22781 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12.22782 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12.22783 +as_cr_digits='0123456789'
12.22784 +as_cr_alnum=$as_cr_Letters$as_cr_digits
12.22785 +
12.22786 +# The user is always right.
12.22787 +if test "${PATH_SEPARATOR+set}" != set; then
12.22788 + echo "#! /bin/sh" >conf$$.sh
12.22789 + echo "exit 0" >>conf$$.sh
12.22790 + chmod +x conf$$.sh
12.22791 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12.22792 + PATH_SEPARATOR=';'
12.22793 + else
12.22794 + PATH_SEPARATOR=:
12.22795 + fi
12.22796 + rm -f conf$$.sh
12.22797 +fi
12.22798 +
12.22799 +# Support unset when possible.
12.22800 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12.22801 + as_unset=unset
12.22802 +else
12.22803 + as_unset=false
12.22804 +fi
12.22805 +
12.22806 +
12.22807 +# IFS
12.22808 +# We need space, tab and new line, in precisely that order. Quoting is
12.22809 +# there to prevent editors from complaining about space-tab.
12.22810 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12.22811 +# splitting by setting IFS to empty value.)
12.22812 +as_nl='
12.22813 +'
12.22814 +IFS=" "" $as_nl"
12.22815 +
12.22816 +# Find who we are. Look in the path if we contain no directory separator.
12.22817 +case $0 in
12.22818 + *[\\/]* ) as_myself=$0 ;;
12.22819 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12.22820 +for as_dir in $PATH
12.22821 +do
12.22822 + IFS=$as_save_IFS
12.22823 + test -z "$as_dir" && as_dir=.
12.22824 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12.22825 +done
12.22826 +IFS=$as_save_IFS
12.22827 +
12.22828 + ;;
12.22829 +esac
12.22830 +# We did not find ourselves, most probably we were run as `sh COMMAND'
12.22831 +# in which case we are not to be found in the path.
12.22832 +if test "x$as_myself" = x; then
12.22833 + as_myself=$0
12.22834 +fi
12.22835 +if test ! -f "$as_myself"; then
12.22836 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12.22837 + { (exit 1); exit 1; }
12.22838 +fi
12.22839 +
12.22840 +# Work around bugs in pre-3.0 UWIN ksh.
12.22841 +for as_var in ENV MAIL MAILPATH
12.22842 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12.22843 +done
12.22844 +PS1='$ '
12.22845 +PS2='> '
12.22846 +PS4='+ '
12.22847 +
12.22848 +# NLS nuisances.
12.22849 +for as_var in \
12.22850 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12.22851 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12.22852 + LC_TELEPHONE LC_TIME
12.22853 +do
12.22854 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12.22855 + eval $as_var=C; export $as_var
12.22856 + else
12.22857 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12.22858 + fi
12.22859 +done
12.22860 +
12.22861 +# Required to use basename.
12.22862 +if expr a : '\(a\)' >/dev/null 2>&1 &&
12.22863 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
12.22864 + as_expr=expr
12.22865 +else
12.22866 + as_expr=false
12.22867 +fi
12.22868 +
12.22869 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12.22870 + as_basename=basename
12.22871 +else
12.22872 + as_basename=false
12.22873 +fi
12.22874 +
12.22875 +
12.22876 +# Name of the executable.
12.22877 +as_me=`$as_basename -- "$0" ||
12.22878 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12.22879 + X"$0" : 'X\(//\)$' \| \
12.22880 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12.22881 +echo X/"$0" |
12.22882 + sed '/^.*\/\([^/][^/]*\)\/*$/{
12.22883 + s//\1/
12.22884 + q
12.22885 + }
12.22886 + /^X\/\(\/\/\)$/{
12.22887 + s//\1/
12.22888 + q
12.22889 + }
12.22890 + /^X\/\(\/\).*/{
12.22891 + s//\1/
12.22892 + q
12.22893 + }
12.22894 + s/.*/./; q'`
12.22895 +
12.22896 +# CDPATH.
12.22897 +$as_unset CDPATH
12.22898 +
12.22899 +
12.22900 +
12.22901 + as_lineno_1=$LINENO
12.22902 + as_lineno_2=$LINENO
12.22903 + test "x$as_lineno_1" != "x$as_lineno_2" &&
12.22904 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12.22905 +
12.22906 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12.22907 + # uniformly replaced by the line number. The first 'sed' inserts a
12.22908 + # line-number line after each line using $LINENO; the second 'sed'
12.22909 + # does the real work. The second script uses 'N' to pair each
12.22910 + # line-number line with the line containing $LINENO, and appends
12.22911 + # trailing '-' during substitution so that $LINENO is not a special
12.22912 + # case at line end.
12.22913 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12.22914 + # scripts with optimization help from Paolo Bonzini. Blame Lee
12.22915 + # E. McMahon (1931-1989) for sed's syntax. :-)
12.22916 + sed -n '
12.22917 + p
12.22918 + /[$]LINENO/=
12.22919 + ' <$as_myself |
12.22920 + sed '
12.22921 + s/[$]LINENO.*/&-/
12.22922 + t lineno
12.22923 + b
12.22924 + :lineno
12.22925 + N
12.22926 + :loop
12.22927 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12.22928 + t loop
12.22929 + s/-\n.*//
12.22930 + ' >$as_me.lineno &&
12.22931 + chmod +x "$as_me.lineno" ||
12.22932 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12.22933 + { (exit 1); exit 1; }; }
12.22934 +
12.22935 + # Don't try to exec as it changes $[0], causing all sort of problems
12.22936 + # (the dirname of $[0] is not the place where we might find the
12.22937 + # original and so on. Autoconf is especially sensitive to this).
12.22938 + . "./$as_me.lineno"
12.22939 + # Exit status is that of the last command.
12.22940 + exit
12.22941 +}
12.22942 +
12.22943 +
12.22944 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12.22945 + as_dirname=dirname
12.22946 +else
12.22947 + as_dirname=false
12.22948 +fi
12.22949 +
12.22950 +ECHO_C= ECHO_N= ECHO_T=
12.22951 +case `echo -n x` in
12.22952 +-n*)
12.22953 + case `echo 'x\c'` in
12.22954 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12.22955 + *) ECHO_C='\c';;
12.22956 + esac;;
12.22957 +*)
12.22958 + ECHO_N='-n';;
12.22959 +esac
12.22960 +
12.22961 +if expr a : '\(a\)' >/dev/null 2>&1 &&
12.22962 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
12.22963 + as_expr=expr
12.22964 +else
12.22965 + as_expr=false
12.22966 +fi
12.22967 +
12.22968 +rm -f conf$$ conf$$.exe conf$$.file
12.22969 +if test -d conf$$.dir; then
12.22970 + rm -f conf$$.dir/conf$$.file
12.22971 +else
12.22972 + rm -f conf$$.dir
12.22973 + mkdir conf$$.dir
12.22974 +fi
12.22975 +echo >conf$$.file
12.22976 +if ln -s conf$$.file conf$$ 2>/dev/null; then
12.22977 + as_ln_s='ln -s'
12.22978 + # ... but there are two gotchas:
12.22979 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12.22980 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12.22981 + # In both cases, we have to default to `cp -p'.
12.22982 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12.22983 + as_ln_s='cp -p'
12.22984 +elif ln conf$$.file conf$$ 2>/dev/null; then
12.22985 + as_ln_s=ln
12.22986 +else
12.22987 + as_ln_s='cp -p'
12.22988 +fi
12.22989 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12.22990 +rmdir conf$$.dir 2>/dev/null
12.22991 +
12.22992 +if mkdir -p . 2>/dev/null; then
12.22993 + as_mkdir_p=:
12.22994 +else
12.22995 + test -d ./-p && rmdir ./-p
12.22996 + as_mkdir_p=false
12.22997 +fi
12.22998 +
12.22999 +if test -x / >/dev/null 2>&1; then
12.23000 + as_test_x='test -x'
12.23001 +else
12.23002 + if ls -dL / >/dev/null 2>&1; then
12.23003 + as_ls_L_option=L
12.23004 + else
12.23005 + as_ls_L_option=
12.23006 + fi
12.23007 + as_test_x='
12.23008 + eval sh -c '\''
12.23009 + if test -d "$1"; then
12.23010 + test -d "$1/.";
12.23011 + else
12.23012 + case $1 in
12.23013 + -*)set "./$1";;
12.23014 + esac;
12.23015 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12.23016 + ???[sx]*):;;*)false;;esac;fi
12.23017 + '\'' sh
12.23018 + '
12.23019 +fi
12.23020 +as_executable_p=$as_test_x
12.23021 +
12.23022 +# Sed expression to map a string onto a valid CPP name.
12.23023 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12.23024 +
12.23025 +# Sed expression to map a string onto a valid variable name.
12.23026 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12.23027 +
12.23028 +
12.23029 +exec 6>&1
12.23030 +
12.23031 +# Save the log message, to keep $[0] and so on meaningful, and to
12.23032 +# report actual input values of CONFIG_FILES etc. instead of their
12.23033 +# values after options handling.
12.23034 +ac_log="
12.23035 +This file was extended by $as_me, which was
12.23036 +generated by GNU Autoconf 2.61. Invocation command line was
12.23037 +
12.23038 + CONFIG_FILES = $CONFIG_FILES
12.23039 + CONFIG_HEADERS = $CONFIG_HEADERS
12.23040 + CONFIG_LINKS = $CONFIG_LINKS
12.23041 + CONFIG_COMMANDS = $CONFIG_COMMANDS
12.23042 + $ $0 $@
12.23043 +
12.23044 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
12.23045 +"
12.23046 +
12.23047 +_ACEOF
12.23048 +
12.23049 +cat >>$CONFIG_STATUS <<_ACEOF
12.23050 +# Files that config.status was made for.
12.23051 +config_files="$ac_config_files"
12.23052 +config_headers="$ac_config_headers"
12.23053 +config_commands="$ac_config_commands"
12.23054 +
12.23055 +_ACEOF
12.23056 +
12.23057 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23058 +ac_cs_usage="\
12.23059 +\`$as_me' instantiates files from templates according to the
12.23060 +current configuration.
12.23061 +
12.23062 +Usage: $0 [OPTIONS] [FILE]...
12.23063 +
12.23064 + -h, --help print this help, then exit
12.23065 + -V, --version print version number and configuration settings, then exit
12.23066 + -q, --quiet do not print progress messages
12.23067 + -d, --debug don't remove temporary files
12.23068 + --recheck update $as_me by reconfiguring in the same conditions
12.23069 + --file=FILE[:TEMPLATE]
12.23070 + instantiate the configuration file FILE
12.23071 + --header=FILE[:TEMPLATE]
12.23072 + instantiate the configuration header FILE
12.23073 +
12.23074 +Configuration files:
12.23075 +$config_files
12.23076 +
12.23077 +Configuration headers:
12.23078 +$config_headers
12.23079 +
12.23080 +Configuration commands:
12.23081 +$config_commands
12.23082 +
12.23083 +Report bugs to <bug-autoconf@gnu.org>."
12.23084 +
12.23085 +_ACEOF
12.23086 +cat >>$CONFIG_STATUS <<_ACEOF
12.23087 +ac_cs_version="\\
12.23088 +config.status
12.23089 +configured by $0, generated by GNU Autoconf 2.61,
12.23090 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12.23091 +
12.23092 +Copyright (C) 2006 Free Software Foundation, Inc.
12.23093 +This config.status script is free software; the Free Software Foundation
12.23094 +gives unlimited permission to copy, distribute and modify it."
12.23095 +
12.23096 +ac_pwd='$ac_pwd'
12.23097 +srcdir='$srcdir'
12.23098 +INSTALL='$INSTALL'
12.23099 +_ACEOF
12.23100 +
12.23101 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23102 +# If no file are specified by the user, then we need to provide default
12.23103 +# value. By we need to know if files were specified by the user.
12.23104 +ac_need_defaults=:
12.23105 +while test $# != 0
12.23106 +do
12.23107 + case $1 in
12.23108 + --*=*)
12.23109 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
12.23110 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12.23111 + ac_shift=:
12.23112 + ;;
12.23113 + *)
12.23114 + ac_option=$1
12.23115 + ac_optarg=$2
12.23116 + ac_shift=shift
12.23117 + ;;
12.23118 + esac
12.23119 +
12.23120 + case $ac_option in
12.23121 + # Handling of the options.
12.23122 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12.23123 + ac_cs_recheck=: ;;
12.23124 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12.23125 + echo "$ac_cs_version"; exit ;;
12.23126 + --debug | --debu | --deb | --de | --d | -d )
12.23127 + debug=: ;;
12.23128 + --file | --fil | --fi | --f )
12.23129 + $ac_shift
12.23130 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12.23131 + ac_need_defaults=false;;
12.23132 + --header | --heade | --head | --hea )
12.23133 + $ac_shift
12.23134 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12.23135 + ac_need_defaults=false;;
12.23136 + --he | --h)
12.23137 + # Conflict between --help and --header
12.23138 + { echo "$as_me: error: ambiguous option: $1
12.23139 +Try \`$0 --help' for more information." >&2
12.23140 + { (exit 1); exit 1; }; };;
12.23141 + --help | --hel | -h )
12.23142 + echo "$ac_cs_usage"; exit ;;
12.23143 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12.23144 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
12.23145 + ac_cs_silent=: ;;
12.23146 +
12.23147 + # This is an error.
12.23148 + -*) { echo "$as_me: error: unrecognized option: $1
12.23149 +Try \`$0 --help' for more information." >&2
12.23150 + { (exit 1); exit 1; }; } ;;
12.23151 +
12.23152 + *) ac_config_targets="$ac_config_targets $1"
12.23153 + ac_need_defaults=false ;;
12.23154 +
12.23155 + esac
12.23156 + shift
12.23157 +done
12.23158 +
12.23159 +ac_configure_extra_args=
12.23160 +
12.23161 +if $ac_cs_silent; then
12.23162 + exec 6>/dev/null
12.23163 + ac_configure_extra_args="$ac_configure_extra_args --silent"
12.23164 +fi
12.23165 +
12.23166 +_ACEOF
12.23167 +cat >>$CONFIG_STATUS <<_ACEOF
12.23168 +if \$ac_cs_recheck; then
12.23169 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12.23170 + CONFIG_SHELL=$SHELL
12.23171 + export CONFIG_SHELL
12.23172 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12.23173 +fi
12.23174 +
12.23175 +_ACEOF
12.23176 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23177 +exec 5>>config.log
12.23178 +{
12.23179 + echo
12.23180 + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
12.23181 +@%:@@%:@ Running $as_me. @%:@@%:@
12.23182 +_ASBOX
12.23183 + echo "$ac_log"
12.23184 +} >&5
12.23185 +
12.23186 +_ACEOF
12.23187 +cat >>$CONFIG_STATUS <<_ACEOF
12.23188 +#
12.23189 +# INIT-COMMANDS
12.23190 +#
12.23191 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12.23192 +
12.23193 +_ACEOF
12.23194 +
12.23195 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23196 +
12.23197 +# Handling of arguments.
12.23198 +for ac_config_target in $ac_config_targets
12.23199 +do
12.23200 + case $ac_config_target in
12.23201 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12.23202 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12.23203 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12.23204 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12.23205 +
12.23206 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12.23207 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12.23208 + { (exit 1); exit 1; }; };;
12.23209 + esac
12.23210 +done
12.23211 +
12.23212 +
12.23213 +# If the user did not use the arguments to specify the items to instantiate,
12.23214 +# then the envvar interface is used. Set only those that are not.
12.23215 +# We use the long form for the default assignment because of an extremely
12.23216 +# bizarre bug on SunOS 4.1.3.
12.23217 +if $ac_need_defaults; then
12.23218 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12.23219 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12.23220 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12.23221 +fi
12.23222 +
12.23223 +# Have a temporary directory for convenience. Make it in the build tree
12.23224 +# simply because there is no reason against having it here, and in addition,
12.23225 +# creating and moving files from /tmp can sometimes cause problems.
12.23226 +# Hook for its removal unless debugging.
12.23227 +# Note that there is a small window in which the directory will not be cleaned:
12.23228 +# after its creation but before its name has been assigned to `$tmp'.
12.23229 +$debug ||
12.23230 +{
12.23231 + tmp=
12.23232 + trap 'exit_status=$?
12.23233 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12.23234 +' 0
12.23235 + trap '{ (exit 1); exit 1; }' 1 2 13 15
12.23236 +}
12.23237 +# Create a (secure) tmp directory for tmp files.
12.23238 +
12.23239 +{
12.23240 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12.23241 + test -n "$tmp" && test -d "$tmp"
12.23242 +} ||
12.23243 +{
12.23244 + tmp=./conf$$-$RANDOM
12.23245 + (umask 077 && mkdir "$tmp")
12.23246 +} ||
12.23247 +{
12.23248 + echo "$me: cannot create a temporary directory in ." >&2
12.23249 + { (exit 1); exit 1; }
12.23250 +}
12.23251 +
12.23252 +#
12.23253 +# Set up the sed scripts for CONFIG_FILES section.
12.23254 +#
12.23255 +
12.23256 +# No need to generate the scripts if there are no CONFIG_FILES.
12.23257 +# This happens for instance when ./config.status config.h
12.23258 +if test -n "$CONFIG_FILES"; then
12.23259 +
12.23260 +_ACEOF
12.23261 +
12.23262 +
12.23263 +
12.23264 +ac_delim='%!_!# '
12.23265 +for ac_last_try in false false false false false :; do
12.23266 + cat >conf$$subs.sed <<_ACEOF
12.23267 +SHELL!$SHELL$ac_delim
12.23268 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12.23269 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12.23270 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12.23271 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12.23272 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12.23273 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12.23274 +exec_prefix!$exec_prefix$ac_delim
12.23275 +prefix!$prefix$ac_delim
12.23276 +program_transform_name!$program_transform_name$ac_delim
12.23277 +bindir!$bindir$ac_delim
12.23278 +sbindir!$sbindir$ac_delim
12.23279 +libexecdir!$libexecdir$ac_delim
12.23280 +datarootdir!$datarootdir$ac_delim
12.23281 +datadir!$datadir$ac_delim
12.23282 +sysconfdir!$sysconfdir$ac_delim
12.23283 +sharedstatedir!$sharedstatedir$ac_delim
12.23284 +localstatedir!$localstatedir$ac_delim
12.23285 +includedir!$includedir$ac_delim
12.23286 +oldincludedir!$oldincludedir$ac_delim
12.23287 +docdir!$docdir$ac_delim
12.23288 +infodir!$infodir$ac_delim
12.23289 +htmldir!$htmldir$ac_delim
12.23290 +dvidir!$dvidir$ac_delim
12.23291 +pdfdir!$pdfdir$ac_delim
12.23292 +psdir!$psdir$ac_delim
12.23293 +libdir!$libdir$ac_delim
12.23294 +localedir!$localedir$ac_delim
12.23295 +mandir!$mandir$ac_delim
12.23296 +DEFS!$DEFS$ac_delim
12.23297 +ECHO_C!$ECHO_C$ac_delim
12.23298 +ECHO_N!$ECHO_N$ac_delim
12.23299 +ECHO_T!$ECHO_T$ac_delim
12.23300 +LIBS!$LIBS$ac_delim
12.23301 +build_alias!$build_alias$ac_delim
12.23302 +host_alias!$host_alias$ac_delim
12.23303 +target_alias!$target_alias$ac_delim
12.23304 +build!$build$ac_delim
12.23305 +build_cpu!$build_cpu$ac_delim
12.23306 +build_vendor!$build_vendor$ac_delim
12.23307 +build_os!$build_os$ac_delim
12.23308 +host!$host$ac_delim
12.23309 +host_cpu!$host_cpu$ac_delim
12.23310 +host_vendor!$host_vendor$ac_delim
12.23311 +host_os!$host_os$ac_delim
12.23312 +target!$target$ac_delim
12.23313 +target_cpu!$target_cpu$ac_delim
12.23314 +target_vendor!$target_vendor$ac_delim
12.23315 +target_os!$target_os$ac_delim
12.23316 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
12.23317 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
12.23318 +MAINT!$MAINT$ac_delim
12.23319 +GST_PLUGINS_VERSION!$GST_PLUGINS_VERSION$ac_delim
12.23320 +GST_PLUGINS_VERSION_RELEASE!$GST_PLUGINS_VERSION_RELEASE$ac_delim
12.23321 +GST_PLUGINS_VERSION_MAJOR!$GST_PLUGINS_VERSION_MAJOR$ac_delim
12.23322 +GST_PLUGINS_VERSION_MINOR!$GST_PLUGINS_VERSION_MINOR$ac_delim
12.23323 +GST_PLUGINS_VERSION_MICRO!$GST_PLUGINS_VERSION_MICRO$ac_delim
12.23324 +GST_PLUGINS_VERSION_NANO!$GST_PLUGINS_VERSION_NANO$ac_delim
12.23325 +PACKAGE!$PACKAGE$ac_delim
12.23326 +VERSION!$VERSION$ac_delim
12.23327 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12.23328 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12.23329 +INSTALL_DATA!$INSTALL_DATA$ac_delim
12.23330 +CYGPATH_W!$CYGPATH_W$ac_delim
12.23331 +ACLOCAL!$ACLOCAL$ac_delim
12.23332 +AUTOCONF!$AUTOCONF$ac_delim
12.23333 +AUTOMAKE!$AUTOMAKE$ac_delim
12.23334 +AUTOHEADER!$AUTOHEADER$ac_delim
12.23335 +MAKEINFO!$MAKEINFO$ac_delim
12.23336 +install_sh!$install_sh$ac_delim
12.23337 +STRIP!$STRIP$ac_delim
12.23338 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
12.23339 +mkdir_p!$mkdir_p$ac_delim
12.23340 +AWK!$AWK$ac_delim
12.23341 +SET_MAKE!$SET_MAKE$ac_delim
12.23342 +am__leading_dot!$am__leading_dot$ac_delim
12.23343 +AMTAR!$AMTAR$ac_delim
12.23344 +am__tar!$am__tar$ac_delim
12.23345 +am__untar!$am__untar$ac_delim
12.23346 +CC!$CC$ac_delim
12.23347 +CFLAGS!$CFLAGS$ac_delim
12.23348 +LDFLAGS!$LDFLAGS$ac_delim
12.23349 +CPPFLAGS!$CPPFLAGS$ac_delim
12.23350 +ac_ct_CC!$ac_ct_CC$ac_delim
12.23351 +EXEEXT!$EXEEXT$ac_delim
12.23352 +OBJEXT!$OBJEXT$ac_delim
12.23353 +DEPDIR!$DEPDIR$ac_delim
12.23354 +am__include!$am__include$ac_delim
12.23355 +am__quote!$am__quote$ac_delim
12.23356 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
12.23357 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
12.23358 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
12.23359 +CCDEPMODE!$CCDEPMODE$ac_delim
12.23360 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
12.23361 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
12.23362 +GREP!$GREP$ac_delim
12.23363 +EGREP!$EGREP$ac_delim
12.23364 +_ACEOF
12.23365 +
12.23366 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12.23367 + break
12.23368 + elif $ac_last_try; then
12.23369 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12.23370 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12.23371 + { (exit 1); exit 1; }; }
12.23372 + else
12.23373 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12.23374 + fi
12.23375 +done
12.23376 +
12.23377 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12.23378 +if test -n "$ac_eof"; then
12.23379 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12.23380 + ac_eof=`expr $ac_eof + 1`
12.23381 +fi
12.23382 +
12.23383 +cat >>$CONFIG_STATUS <<_ACEOF
12.23384 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12.23385 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12.23386 +_ACEOF
12.23387 +sed '
12.23388 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12.23389 +s/^/s,@/; s/!/@,|#_!!_#|/
12.23390 +:n
12.23391 +t n
12.23392 +s/'"$ac_delim"'$/,g/; t
12.23393 +s/$/\\/; p
12.23394 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12.23395 +' >>$CONFIG_STATUS <conf$$subs.sed
12.23396 +rm -f conf$$subs.sed
12.23397 +cat >>$CONFIG_STATUS <<_ACEOF
12.23398 +CEOF$ac_eof
12.23399 +_ACEOF
12.23400 +
12.23401 +
12.23402 +ac_delim='%!_!# '
12.23403 +for ac_last_try in false false false false false :; do
12.23404 + cat >conf$$subs.sed <<_ACEOF
12.23405 +LN_S!$LN_S$ac_delim
12.23406 +ECHO!$ECHO$ac_delim
12.23407 +AR!$AR$ac_delim
12.23408 +RANLIB!$RANLIB$ac_delim
12.23409 +CPP!$CPP$ac_delim
12.23410 +CXX!$CXX$ac_delim
12.23411 +CXXFLAGS!$CXXFLAGS$ac_delim
12.23412 +ac_ct_CXX!$ac_ct_CXX$ac_delim
12.23413 +CXXDEPMODE!$CXXDEPMODE$ac_delim
12.23414 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
12.23415 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
12.23416 +CXXCPP!$CXXCPP$ac_delim
12.23417 +F77!$F77$ac_delim
12.23418 +FFLAGS!$FFLAGS$ac_delim
12.23419 +ac_ct_F77!$ac_ct_F77$ac_delim
12.23420 +LIBTOOL!$LIBTOOL$ac_delim
12.23421 +ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
12.23422 +CCAS!$CCAS$ac_delim
12.23423 +CCASFLAGS!$CCASFLAGS$ac_delim
12.23424 +ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
12.23425 +HAVE_CXX!$HAVE_CXX$ac_delim
12.23426 +HAVE_PKGCONFIG!$HAVE_PKGCONFIG$ac_delim
12.23427 +PKG_CONFIG!$PKG_CONFIG$ac_delim
12.23428 +GST_CFLAGS!$GST_CFLAGS$ac_delim
12.23429 +GST_LIBS!$GST_LIBS$ac_delim
12.23430 +GST_MAJORMINOR!$GST_MAJORMINOR$ac_delim
12.23431 +GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
12.23432 +GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
12.23433 +GST_PLUGINS_BASE_CFLAGS!$GST_PLUGINS_BASE_CFLAGS$ac_delim
12.23434 +GST_PLUGINS_BASE_LIBS!$GST_PLUGINS_BASE_LIBS$ac_delim
12.23435 +plugindir!$plugindir$ac_delim
12.23436 +GST_PLUGIN_LDFLAGS!$GST_PLUGIN_LDFLAGS$ac_delim
12.23437 +LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
12.23438 +LTLIBOBJS!$LTLIBOBJS$ac_delim
12.23439 +_ACEOF
12.23440 +
12.23441 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
12.23442 + break
12.23443 + elif $ac_last_try; then
12.23444 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12.23445 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12.23446 + { (exit 1); exit 1; }; }
12.23447 + else
12.23448 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12.23449 + fi
12.23450 +done
12.23451 +
12.23452 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12.23453 +if test -n "$ac_eof"; then
12.23454 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12.23455 + ac_eof=`expr $ac_eof + 1`
12.23456 +fi
12.23457 +
12.23458 +cat >>$CONFIG_STATUS <<_ACEOF
12.23459 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12.23460 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12.23461 +_ACEOF
12.23462 +sed '
12.23463 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12.23464 +s/^/s,@/; s/!/@,|#_!!_#|/
12.23465 +:n
12.23466 +t n
12.23467 +s/'"$ac_delim"'$/,g/; t
12.23468 +s/$/\\/; p
12.23469 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12.23470 +' >>$CONFIG_STATUS <conf$$subs.sed
12.23471 +rm -f conf$$subs.sed
12.23472 +cat >>$CONFIG_STATUS <<_ACEOF
12.23473 +:end
12.23474 +s/|#_!!_#|//g
12.23475 +CEOF$ac_eof
12.23476 +_ACEOF
12.23477 +
12.23478 +
12.23479 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
12.23480 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12.23481 +# trailing colons and then remove the whole line if VPATH becomes empty
12.23482 +# (actually we leave an empty line to preserve line numbers).
12.23483 +if test "x$srcdir" = x.; then
12.23484 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
12.23485 +s/:*\$(srcdir):*/:/
12.23486 +s/:*\${srcdir}:*/:/
12.23487 +s/:*@srcdir@:*/:/
12.23488 +s/^\([^=]*=[ ]*\):*/\1/
12.23489 +s/:*$//
12.23490 +s/^[^=]*=[ ]*$//
12.23491 +}'
12.23492 +fi
12.23493 +
12.23494 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23495 +fi # test -n "$CONFIG_FILES"
12.23496 +
12.23497 +
12.23498 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
12.23499 +do
12.23500 + case $ac_tag in
12.23501 + :[FHLC]) ac_mode=$ac_tag; continue;;
12.23502 + esac
12.23503 + case $ac_mode$ac_tag in
12.23504 + :[FHL]*:*);;
12.23505 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12.23506 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12.23507 + { (exit 1); exit 1; }; };;
12.23508 + :[FH]-) ac_tag=-:-;;
12.23509 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12.23510 + esac
12.23511 + ac_save_IFS=$IFS
12.23512 + IFS=:
12.23513 + set x $ac_tag
12.23514 + IFS=$ac_save_IFS
12.23515 + shift
12.23516 + ac_file=$1
12.23517 + shift
12.23518 +
12.23519 + case $ac_mode in
12.23520 + :L) ac_source=$1;;
12.23521 + :[FH])
12.23522 + ac_file_inputs=
12.23523 + for ac_f
12.23524 + do
12.23525 + case $ac_f in
12.23526 + -) ac_f="$tmp/stdin";;
12.23527 + *) # Look for the file first in the build tree, then in the source tree
12.23528 + # (if the path is not absolute). The absolute path cannot be DOS-style,
12.23529 + # because $ac_f cannot contain `:'.
12.23530 + test -f "$ac_f" ||
12.23531 + case $ac_f in
12.23532 + [\\/$]*) false;;
12.23533 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12.23534 + esac ||
12.23535 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12.23536 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12.23537 + { (exit 1); exit 1; }; };;
12.23538 + esac
12.23539 + ac_file_inputs="$ac_file_inputs $ac_f"
12.23540 + done
12.23541 +
12.23542 + # Let's still pretend it is `configure' which instantiates (i.e., don't
12.23543 + # use $as_me), people would be surprised to read:
12.23544 + # /* config.h. Generated by config.status. */
12.23545 + configure_input="Generated from "`IFS=:
12.23546 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12.23547 + if test x"$ac_file" != x-; then
12.23548 + configure_input="$ac_file. $configure_input"
12.23549 + { echo "$as_me:$LINENO: creating $ac_file" >&5
12.23550 +echo "$as_me: creating $ac_file" >&6;}
12.23551 + fi
12.23552 +
12.23553 + case $ac_tag in
12.23554 + *:-:* | *:-) cat >"$tmp/stdin";;
12.23555 + esac
12.23556 + ;;
12.23557 + esac
12.23558 +
12.23559 + ac_dir=`$as_dirname -- "$ac_file" ||
12.23560 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.23561 + X"$ac_file" : 'X\(//\)[^/]' \| \
12.23562 + X"$ac_file" : 'X\(//\)$' \| \
12.23563 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12.23564 +echo X"$ac_file" |
12.23565 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.23566 + s//\1/
12.23567 + q
12.23568 + }
12.23569 + /^X\(\/\/\)[^/].*/{
12.23570 + s//\1/
12.23571 + q
12.23572 + }
12.23573 + /^X\(\/\/\)$/{
12.23574 + s//\1/
12.23575 + q
12.23576 + }
12.23577 + /^X\(\/\).*/{
12.23578 + s//\1/
12.23579 + q
12.23580 + }
12.23581 + s/.*/./; q'`
12.23582 + { as_dir="$ac_dir"
12.23583 + case $as_dir in #(
12.23584 + -*) as_dir=./$as_dir;;
12.23585 + esac
12.23586 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12.23587 + as_dirs=
12.23588 + while :; do
12.23589 + case $as_dir in #(
12.23590 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12.23591 + *) as_qdir=$as_dir;;
12.23592 + esac
12.23593 + as_dirs="'$as_qdir' $as_dirs"
12.23594 + as_dir=`$as_dirname -- "$as_dir" ||
12.23595 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.23596 + X"$as_dir" : 'X\(//\)[^/]' \| \
12.23597 + X"$as_dir" : 'X\(//\)$' \| \
12.23598 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12.23599 +echo X"$as_dir" |
12.23600 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.23601 + s//\1/
12.23602 + q
12.23603 + }
12.23604 + /^X\(\/\/\)[^/].*/{
12.23605 + s//\1/
12.23606 + q
12.23607 + }
12.23608 + /^X\(\/\/\)$/{
12.23609 + s//\1/
12.23610 + q
12.23611 + }
12.23612 + /^X\(\/\).*/{
12.23613 + s//\1/
12.23614 + q
12.23615 + }
12.23616 + s/.*/./; q'`
12.23617 + test -d "$as_dir" && break
12.23618 + done
12.23619 + test -z "$as_dirs" || eval "mkdir $as_dirs"
12.23620 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12.23621 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
12.23622 + { (exit 1); exit 1; }; }; }
12.23623 + ac_builddir=.
12.23624 +
12.23625 +case "$ac_dir" in
12.23626 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12.23627 +*)
12.23628 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12.23629 + # A ".." for each directory in $ac_dir_suffix.
12.23630 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12.23631 + case $ac_top_builddir_sub in
12.23632 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12.23633 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12.23634 + esac ;;
12.23635 +esac
12.23636 +ac_abs_top_builddir=$ac_pwd
12.23637 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
12.23638 +# for backward compatibility:
12.23639 +ac_top_builddir=$ac_top_build_prefix
12.23640 +
12.23641 +case $srcdir in
12.23642 + .) # We are building in place.
12.23643 + ac_srcdir=.
12.23644 + ac_top_srcdir=$ac_top_builddir_sub
12.23645 + ac_abs_top_srcdir=$ac_pwd ;;
12.23646 + [\\/]* | ?:[\\/]* ) # Absolute name.
12.23647 + ac_srcdir=$srcdir$ac_dir_suffix;
12.23648 + ac_top_srcdir=$srcdir
12.23649 + ac_abs_top_srcdir=$srcdir ;;
12.23650 + *) # Relative name.
12.23651 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12.23652 + ac_top_srcdir=$ac_top_build_prefix$srcdir
12.23653 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12.23654 +esac
12.23655 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12.23656 +
12.23657 +
12.23658 + case $ac_mode in
12.23659 + :F)
12.23660 + #
12.23661 + # CONFIG_FILE
12.23662 + #
12.23663 +
12.23664 + case $INSTALL in
12.23665 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12.23666 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12.23667 + esac
12.23668 +_ACEOF
12.23669 +
12.23670 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23671 +# If the template does not know about datarootdir, expand it.
12.23672 +# FIXME: This hack should be removed a few years after 2.60.
12.23673 +ac_datarootdir_hack=; ac_datarootdir_seen=
12.23674 +
12.23675 +case `sed -n '/datarootdir/ {
12.23676 + p
12.23677 + q
12.23678 +}
12.23679 +/@datadir@/p
12.23680 +/@docdir@/p
12.23681 +/@infodir@/p
12.23682 +/@localedir@/p
12.23683 +/@mandir@/p
12.23684 +' $ac_file_inputs` in
12.23685 +*datarootdir*) ac_datarootdir_seen=yes;;
12.23686 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12.23687 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12.23688 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12.23689 +_ACEOF
12.23690 +cat >>$CONFIG_STATUS <<_ACEOF
12.23691 + ac_datarootdir_hack='
12.23692 + s&@datadir@&$datadir&g
12.23693 + s&@docdir@&$docdir&g
12.23694 + s&@infodir@&$infodir&g
12.23695 + s&@localedir@&$localedir&g
12.23696 + s&@mandir@&$mandir&g
12.23697 + s&\\\${datarootdir}&$datarootdir&g' ;;
12.23698 +esac
12.23699 +_ACEOF
12.23700 +
12.23701 +# Neutralize VPATH when `$srcdir' = `.'.
12.23702 +# Shell code in configure.ac might set extrasub.
12.23703 +# FIXME: do we really want to maintain this feature?
12.23704 +cat >>$CONFIG_STATUS <<_ACEOF
12.23705 + sed "$ac_vpsub
12.23706 +$extrasub
12.23707 +_ACEOF
12.23708 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23709 +:t
12.23710 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12.23711 +s&@configure_input@&$configure_input&;t t
12.23712 +s&@top_builddir@&$ac_top_builddir_sub&;t t
12.23713 +s&@srcdir@&$ac_srcdir&;t t
12.23714 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
12.23715 +s&@top_srcdir@&$ac_top_srcdir&;t t
12.23716 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12.23717 +s&@builddir@&$ac_builddir&;t t
12.23718 +s&@abs_builddir@&$ac_abs_builddir&;t t
12.23719 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12.23720 +s&@INSTALL@&$ac_INSTALL&;t t
12.23721 +$ac_datarootdir_hack
12.23722 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
12.23723 +
12.23724 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12.23725 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12.23726 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12.23727 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12.23728 +which seems to be undefined. Please make sure it is defined." >&5
12.23729 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12.23730 +which seems to be undefined. Please make sure it is defined." >&2;}
12.23731 +
12.23732 + rm -f "$tmp/stdin"
12.23733 + case $ac_file in
12.23734 + -) cat "$tmp/out"; rm -f "$tmp/out";;
12.23735 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12.23736 + esac
12.23737 + ;;
12.23738 + :H)
12.23739 + #
12.23740 + # CONFIG_HEADER
12.23741 + #
12.23742 +_ACEOF
12.23743 +
12.23744 +# Transform confdefs.h into a sed script `conftest.defines', that
12.23745 +# substitutes the proper values into config.h.in to produce config.h.
12.23746 +rm -f conftest.defines conftest.tail
12.23747 +# First, append a space to every undef/define line, to ease matching.
12.23748 +echo 's/$/ /' >conftest.defines
12.23749 +# Then, protect against being on the right side of a sed subst, or in
12.23750 +# an unquoted here document, in config.status. If some macros were
12.23751 +# called several times there might be several #defines for the same
12.23752 +# symbol, which is useless. But do not sort them, since the last
12.23753 +# AC_DEFINE must be honored.
12.23754 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12.23755 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12.23756 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
12.23757 +# PARAMS is the parameter list in the macro definition--in most cases, it's
12.23758 +# just an empty string.
12.23759 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12.23760 +ac_dB='\\)[ (].*,\\1define\\2'
12.23761 +ac_dC=' '
12.23762 +ac_dD=' ,'
12.23763 +
12.23764 +uniq confdefs.h |
12.23765 + sed -n '
12.23766 + t rset
12.23767 + :rset
12.23768 + s/^[ ]*#[ ]*define[ ][ ]*//
12.23769 + t ok
12.23770 + d
12.23771 + :ok
12.23772 + s/[\\&,]/\\&/g
12.23773 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12.23774 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12.23775 + ' >>conftest.defines
12.23776 +
12.23777 +# Remove the space that was appended to ease matching.
12.23778 +# Then replace #undef with comments. This is necessary, for
12.23779 +# example, in the case of _POSIX_SOURCE, which is predefined and required
12.23780 +# on some systems where configure will not decide to define it.
12.23781 +# (The regexp can be short, since the line contains either #define or #undef.)
12.23782 +echo 's/ $//
12.23783 +s,^[ #]*u.*,/* & */,' >>conftest.defines
12.23784 +
12.23785 +# Break up conftest.defines:
12.23786 +ac_max_sed_lines=50
12.23787 +
12.23788 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12.23789 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12.23790 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12.23791 +# et cetera.
12.23792 +ac_in='$ac_file_inputs'
12.23793 +ac_out='"$tmp/out1"'
12.23794 +ac_nxt='"$tmp/out2"'
12.23795 +
12.23796 +while :
12.23797 +do
12.23798 + # Write a here document:
12.23799 + cat >>$CONFIG_STATUS <<_ACEOF
12.23800 + # First, check the format of the line:
12.23801 + cat >"\$tmp/defines.sed" <<\\CEOF
12.23802 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12.23803 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12.23804 +b
12.23805 +:def
12.23806 +_ACEOF
12.23807 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12.23808 + echo 'CEOF
12.23809 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12.23810 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12.23811 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12.23812 + grep . conftest.tail >/dev/null || break
12.23813 + rm -f conftest.defines
12.23814 + mv conftest.tail conftest.defines
12.23815 +done
12.23816 +rm -f conftest.defines conftest.tail
12.23817 +
12.23818 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
12.23819 +cat >>$CONFIG_STATUS <<\_ACEOF
12.23820 + if test x"$ac_file" != x-; then
12.23821 + echo "/* $configure_input */" >"$tmp/config.h"
12.23822 + cat "$ac_result" >>"$tmp/config.h"
12.23823 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12.23824 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12.23825 +echo "$as_me: $ac_file is unchanged" >&6;}
12.23826 + else
12.23827 + rm -f $ac_file
12.23828 + mv "$tmp/config.h" $ac_file
12.23829 + fi
12.23830 + else
12.23831 + echo "/* $configure_input */"
12.23832 + cat "$ac_result"
12.23833 + fi
12.23834 + rm -f "$tmp/out12"
12.23835 +# Compute $ac_file's index in $config_headers.
12.23836 +_am_stamp_count=1
12.23837 +for _am_header in $config_headers :; do
12.23838 + case $_am_header in
12.23839 + $ac_file | $ac_file:* )
12.23840 + break ;;
12.23841 + * )
12.23842 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12.23843 + esac
12.23844 +done
12.23845 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
12.23846 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.23847 + X$ac_file : 'X\(//\)[^/]' \| \
12.23848 + X$ac_file : 'X\(//\)$' \| \
12.23849 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
12.23850 +echo X$ac_file |
12.23851 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.23852 + s//\1/
12.23853 + q
12.23854 + }
12.23855 + /^X\(\/\/\)[^/].*/{
12.23856 + s//\1/
12.23857 + q
12.23858 + }
12.23859 + /^X\(\/\/\)$/{
12.23860 + s//\1/
12.23861 + q
12.23862 + }
12.23863 + /^X\(\/\).*/{
12.23864 + s//\1/
12.23865 + q
12.23866 + }
12.23867 + s/.*/./; q'`/stamp-h$_am_stamp_count
12.23868 + ;;
12.23869 +
12.23870 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12.23871 +echo "$as_me: executing $ac_file commands" >&6;}
12.23872 + ;;
12.23873 + esac
12.23874 +
12.23875 +
12.23876 + case $ac_file$ac_mode in
12.23877 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12.23878 + # Strip MF so we end up with the name of the file.
12.23879 + mf=`echo "$mf" | sed -e 's/:.*$//'`
12.23880 + # Check whether this is an Automake generated Makefile or not.
12.23881 + # We used to match only the files named `Makefile.in', but
12.23882 + # some people rename them; so instead we look at the file content.
12.23883 + # Grep'ing the first line is not enough: some people post-process
12.23884 + # each Makefile.in and add a new line on top of each file to say so.
12.23885 + # So let's grep whole file.
12.23886 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12.23887 + dirpart=`$as_dirname -- "$mf" ||
12.23888 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.23889 + X"$mf" : 'X\(//\)[^/]' \| \
12.23890 + X"$mf" : 'X\(//\)$' \| \
12.23891 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12.23892 +echo X"$mf" |
12.23893 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.23894 + s//\1/
12.23895 + q
12.23896 + }
12.23897 + /^X\(\/\/\)[^/].*/{
12.23898 + s//\1/
12.23899 + q
12.23900 + }
12.23901 + /^X\(\/\/\)$/{
12.23902 + s//\1/
12.23903 + q
12.23904 + }
12.23905 + /^X\(\/\).*/{
12.23906 + s//\1/
12.23907 + q
12.23908 + }
12.23909 + s/.*/./; q'`
12.23910 + else
12.23911 + continue
12.23912 + fi
12.23913 + # Extract the definition of DEPDIR, am__include, and am__quote
12.23914 + # from the Makefile without running `make'.
12.23915 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12.23916 + test -z "$DEPDIR" && continue
12.23917 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
12.23918 + test -z "am__include" && continue
12.23919 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12.23920 + # When using ansi2knr, U may be empty or an underscore; expand it
12.23921 + U=`sed -n 's/^U = //p' < "$mf"`
12.23922 + # Find all dependency output files, they are included files with
12.23923 + # $(DEPDIR) in their names. We invoke sed twice because it is the
12.23924 + # simplest approach to changing $(DEPDIR) to its actual value in the
12.23925 + # expansion.
12.23926 + for file in `sed -n "
12.23927 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12.23928 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12.23929 + # Make sure the directory exists.
12.23930 + test -f "$dirpart/$file" && continue
12.23931 + fdir=`$as_dirname -- "$file" ||
12.23932 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.23933 + X"$file" : 'X\(//\)[^/]' \| \
12.23934 + X"$file" : 'X\(//\)$' \| \
12.23935 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12.23936 +echo X"$file" |
12.23937 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.23938 + s//\1/
12.23939 + q
12.23940 + }
12.23941 + /^X\(\/\/\)[^/].*/{
12.23942 + s//\1/
12.23943 + q
12.23944 + }
12.23945 + /^X\(\/\/\)$/{
12.23946 + s//\1/
12.23947 + q
12.23948 + }
12.23949 + /^X\(\/\).*/{
12.23950 + s//\1/
12.23951 + q
12.23952 + }
12.23953 + s/.*/./; q'`
12.23954 + { as_dir=$dirpart/$fdir
12.23955 + case $as_dir in #(
12.23956 + -*) as_dir=./$as_dir;;
12.23957 + esac
12.23958 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12.23959 + as_dirs=
12.23960 + while :; do
12.23961 + case $as_dir in #(
12.23962 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12.23963 + *) as_qdir=$as_dir;;
12.23964 + esac
12.23965 + as_dirs="'$as_qdir' $as_dirs"
12.23966 + as_dir=`$as_dirname -- "$as_dir" ||
12.23967 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12.23968 + X"$as_dir" : 'X\(//\)[^/]' \| \
12.23969 + X"$as_dir" : 'X\(//\)$' \| \
12.23970 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12.23971 +echo X"$as_dir" |
12.23972 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12.23973 + s//\1/
12.23974 + q
12.23975 + }
12.23976 + /^X\(\/\/\)[^/].*/{
12.23977 + s//\1/
12.23978 + q
12.23979 + }
12.23980 + /^X\(\/\/\)$/{
12.23981 + s//\1/
12.23982 + q
12.23983 + }
12.23984 + /^X\(\/\).*/{
12.23985 + s//\1/
12.23986 + q
12.23987 + }
12.23988 + s/.*/./; q'`
12.23989 + test -d "$as_dir" && break
12.23990 + done
12.23991 + test -z "$as_dirs" || eval "mkdir $as_dirs"
12.23992 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12.23993 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
12.23994 + { (exit 1); exit 1; }; }; }
12.23995 + # echo "creating $dirpart/$file"
12.23996 + echo '# dummy' > "$dirpart/$file"
12.23997 + done
12.23998 +done
12.23999 + ;;
12.24000 +
12.24001 + esac
12.24002 +done # for ac_tag
12.24003 +
12.24004 +
12.24005 +{ (exit 0); exit 0; }
12.24006 +_ACEOF
12.24007 +chmod +x $CONFIG_STATUS
12.24008 +ac_clean_files=$ac_clean_files_save
12.24009 +
12.24010 +
12.24011 +# configure is writing to config.log, and then calls config.status.
12.24012 +# config.status does its own redirection, appending to config.log.
12.24013 +# Unfortunately, on DOS this fails, as config.log is still kept open
12.24014 +# by configure, so config.status won't be able to write to it; its
12.24015 +# output is simply discarded. So we exec the FD to /dev/null,
12.24016 +# effectively closing config.log, so it can be properly (re)opened and
12.24017 +# appended to by config.status. When coming back to configure, we
12.24018 +# need to make the FD available again.
12.24019 +if test "$no_create" != yes; then
12.24020 + ac_cs_success=:
12.24021 + ac_config_status_args=
12.24022 + test "$silent" = yes &&
12.24023 + ac_config_status_args="$ac_config_status_args --quiet"
12.24024 + exec 5>/dev/null
12.24025 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12.24026 + exec 5>>config.log
12.24027 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12.24028 + # would make configure fail if this is the last instruction.
12.24029 + $ac_cs_success || { (exit 1); exit 1; }
12.24030 +fi
12.24031 +
12.24032 +
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/gst-gpac/autom4te.cache/requests Thu Feb 21 17:44:16 2008 +0000
13.3 @@ -0,0 +1,373 @@
13.4 +# This file was generated by Autom4te Sat Apr 28 03:44:04 GMT 2007.
13.5 +# It contains the lists of macros which have been traced.
13.6 +# It can be safely removed.
13.7 +
13.8 +@request = (
13.9 + bless( [
13.10 + '0',
13.11 + 1,
13.12 + [
13.13 + '/usr/share/autoconf'
13.14 + ],
13.15 + [
13.16 + '/usr/share/autoconf/autoconf/autoconf.m4f',
13.17 + '/usr/share/aclocal-1.10/amversion.m4',
13.18 + '/usr/share/aclocal-1.10/as.m4',
13.19 + '/usr/share/aclocal-1.10/auxdir.m4',
13.20 + '/usr/share/aclocal-1.10/cond.m4',
13.21 + '/usr/share/aclocal-1.10/depend.m4',
13.22 + '/usr/share/aclocal-1.10/depout.m4',
13.23 + '/usr/share/aclocal-1.10/header.m4',
13.24 + '/usr/share/aclocal-1.10/init.m4',
13.25 + '/usr/share/aclocal-1.10/install-sh.m4',
13.26 + '/usr/share/aclocal-1.10/lead-dot.m4',
13.27 + '/usr/share/aclocal-1.10/maintainer.m4',
13.28 + '/usr/share/aclocal-1.10/make.m4',
13.29 + '/usr/share/aclocal-1.10/missing.m4',
13.30 + '/usr/share/aclocal-1.10/mkdirp.m4',
13.31 + '/usr/share/aclocal-1.10/options.m4',
13.32 + '/usr/share/aclocal-1.10/runlog.m4',
13.33 + '/usr/share/aclocal-1.10/sanity.m4',
13.34 + '/usr/share/aclocal-1.10/strip.m4',
13.35 + '/usr/share/aclocal-1.10/substnot.m4',
13.36 + '/usr/share/aclocal-1.10/tar.m4',
13.37 + 'm4/as-compiler-flag.m4',
13.38 + 'm4/as-version.m4',
13.39 + 'm4/libtool.m4',
13.40 + 'm4/pkg.m4',
13.41 + 'configure.ac'
13.42 + ],
13.43 + {
13.44 + '_LT_AC_TAGCONFIG' => 1,
13.45 + 'AM_ENABLE_STATIC' => 1,
13.46 + 'm4_pattern_forbid' => 1,
13.47 + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
13.48 + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
13.49 + '_LT_AC_SHELL_INIT' => 1,
13.50 + 'AC_DISABLE_SHARED' => 1,
13.51 + 'AC_DEFUN' => 1,
13.52 + 'AC_PROG_LIBTOOL' => 1,
13.53 + 'AC_LIBTOOL_SETUP' => 1,
13.54 + 'AC_LIBTOOL_WIN32_DLL' => 1,
13.55 + '_LT_AC_LANG_CXX_CONFIG' => 1,
13.56 + 'AC_PROG_LD_RELOAD_FLAG' => 1,
13.57 + 'AM_PROG_MKDIR_P' => 1,
13.58 + 'AM_AUTOMAKE_VERSION' => 1,
13.59 + 'AS_COMPILER_FLAG' => 1,
13.60 + 'AM_MISSING_HAS_RUN' => 1,
13.61 + 'AM_MISSING_PROG' => 1,
13.62 + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
13.63 + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
13.64 + '_LT_AC_LANG_C_CONFIG' => 1,
13.65 + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
13.66 + 'AM_PROG_INSTALL_STRIP' => 1,
13.67 + '_m4_warn' => 1,
13.68 + 'AC_LIBTOOL_OBJDIR' => 1,
13.69 + 'AC_LIBTOOL_LINKER_OPTION' => 1,
13.70 + 'AM_SANITY_CHECK' => 1,
13.71 + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
13.72 + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
13.73 + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
13.74 + '_LT_AC_CHECK_DLFCN' => 1,
13.75 + 'AC_LIBTOOL_CXX' => 1,
13.76 + 'LT_AC_PROG_RC' => 1,
13.77 + '_AM_PROG_TAR' => 1,
13.78 + 'LT_AC_PROG_GCJ' => 1,
13.79 + 'AC_LIBTOOL_GCJ' => 1,
13.80 + 'AM_DISABLE_STATIC' => 1,
13.81 + 'AM_DEP_TRACK' => 1,
13.82 + '_AC_PROG_LIBTOOL' => 1,
13.83 + 'AM_CONFIG_HEADER' => 1,
13.84 + '_LT_AC_LANG_F77' => 1,
13.85 + 'AC_LIBTOOL_CONFIG' => 1,
13.86 + '_AM_IF_OPTION' => 1,
13.87 + 'AC_PATH_TOOL_PREFIX' => 1,
13.88 + '_AM_SUBST_NOTMAKE' => 1,
13.89 + 'AC_LIBTOOL_F77' => 1,
13.90 + '_AM_AUTOCONF_VERSION' => 1,
13.91 + 'm4_pattern_allow' => 1,
13.92 + 'AM_DISABLE_SHARED' => 1,
13.93 + 'AM_SET_LEADING_DOT' => 1,
13.94 + '_LT_AC_LANG_CXX' => 1,
13.95 + 'AM_PROG_LIBTOOL' => 1,
13.96 + '_LT_AC_FILE_LTDLL_C' => 1,
13.97 + 'AM_PROG_LD' => 1,
13.98 + '_AM_DEPENDENCIES' => 1,
13.99 + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
13.100 + '_LT_AC_SYS_COMPILER' => 1,
13.101 + 'AM_PROG_NM' => 1,
13.102 + 'PKG_CHECK_MODULES' => 1,
13.103 + 'AU_DEFUN' => 1,
13.104 + 'AC_PROG_NM' => 1,
13.105 + 'AC_LIBTOOL_DLOPEN' => 1,
13.106 + 'AC_PROG_LD' => 1,
13.107 + 'AC_LIBLTDL_CONVENIENCE' => 1,
13.108 + 'AC_PROG_LD_GNU' => 1,
13.109 + 'AC_ENABLE_FAST_INSTALL' => 1,
13.110 + 'AC_DEPLIBS_CHECK_METHOD' => 1,
13.111 + 'AC_LIBLTDL_INSTALLABLE' => 1,
13.112 + 'jm_MAINTAINER_MODE' => 1,
13.113 + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
13.114 + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
13.115 + '_AM_SET_OPTION' => 1,
13.116 + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
13.117 + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
13.118 + 'AM_INIT_AUTOMAKE' => 1,
13.119 + 'AC_DISABLE_STATIC' => 1,
13.120 + 'AS_VERSION' => 1,
13.121 + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
13.122 + 'AM_MAINTAINER_MODE' => 1,
13.123 + 'AC_DEFUN_ONCE' => 1,
13.124 + '_LT_AC_LOCK' => 1,
13.125 + '_LT_AC_LANG_RC_CONFIG' => 1,
13.126 + '_LT_AC_LANG_GCJ' => 1,
13.127 + 'AC_LIBTOOL_RC' => 1,
13.128 + 'AC_DISABLE_FAST_INSTALL' => 1,
13.129 + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
13.130 + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
13.131 + '_LT_AC_TRY_DLOPEN_SELF' => 1,
13.132 + '_LT_AC_SYS_LIBPATH_AIX' => 1,
13.133 + 'include' => 1,
13.134 + 'LT_AC_PROG_SED' => 1,
13.135 + 'AM_ENABLE_SHARED' => 1,
13.136 + 'AM_PROG_AS' => 1,
13.137 + 'AM_AUX_DIR_EXPAND' => 1,
13.138 + '_LT_AC_LANG_GCJ_CONFIG' => 1,
13.139 + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
13.140 + 'AC_ENABLE_SHARED' => 1,
13.141 + '_LT_AC_LANG_F77_CONFIG' => 1,
13.142 + '_AM_SET_OPTIONS' => 1,
13.143 + 'AM_RUN_LOG' => 1,
13.144 + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
13.145 + 'AC_LIBTOOL_PICMODE' => 1,
13.146 + 'AC_CHECK_LIBM' => 1,
13.147 + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
13.148 + 'AC_ENABLE_STATIC' => 1,
13.149 + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
13.150 + '_LT_AC_TAGVAR' => 1,
13.151 + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
13.152 + '_AM_MANGLE_OPTION' => 1,
13.153 + 'AM_CONDITIONAL' => 1,
13.154 + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
13.155 + 'AM_SET_DEPDIR' => 1,
13.156 + 'AM_PROG_INSTALL_SH' => 1,
13.157 + 'PKG_PROG_PKG_CONFIG' => 1,
13.158 + 'm4_include' => 1,
13.159 + 'AC_PROG_EGREP' => 1,
13.160 + 'AC_PATH_MAGIC' => 1,
13.161 + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
13.162 + 'AM_MAKE_INCLUDE' => 1
13.163 + }
13.164 + ], 'Autom4te::Request' ),
13.165 + bless( [
13.166 + '1',
13.167 + 1,
13.168 + [
13.169 + '/usr/share/autoconf'
13.170 + ],
13.171 + [
13.172 + '/usr/share/autoconf/autoconf/autoconf.m4f',
13.173 + 'aclocal.m4',
13.174 + 'configure.ac'
13.175 + ],
13.176 + {
13.177 + '_LT_AC_TAGCONFIG' => 1,
13.178 + 'AM_PROG_F77_C_O' => 1,
13.179 + 'AC_INIT' => 1,
13.180 + 'm4_pattern_forbid' => 1,
13.181 + 'AC_CANONICAL_TARGET' => 1,
13.182 + 'AC_SUBST' => 1,
13.183 + 'AC_CONFIG_LIBOBJ_DIR' => 1,
13.184 + 'AC_FC_SRCEXT' => 1,
13.185 + 'AC_CANONICAL_HOST' => 1,
13.186 + 'AC_PROG_LIBTOOL' => 1,
13.187 + 'AM_INIT_AUTOMAKE' => 1,
13.188 + 'AC_CONFIG_SUBDIRS' => 1,
13.189 + 'AM_AUTOMAKE_VERSION' => 1,
13.190 + 'LT_CONFIG_LTDL_DIR' => 1,
13.191 + 'AC_REQUIRE_AUX_FILE' => 1,
13.192 + 'AC_CONFIG_LINKS' => 1,
13.193 + 'm4_sinclude' => 1,
13.194 + 'LT_SUPPORTED_TAG' => 1,
13.195 + 'AM_MAINTAINER_MODE' => 1,
13.196 + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
13.197 + '_m4_warn' => 1,
13.198 + 'AM_PROG_CXX_C_O' => 1,
13.199 + 'AM_ENABLE_MULTILIB' => 1,
13.200 + 'AC_CONFIG_FILES' => 1,
13.201 + 'include' => 1,
13.202 + 'LT_INIT' => 1,
13.203 + 'AM_GNU_GETTEXT' => 1,
13.204 + 'AC_LIBSOURCE' => 1,
13.205 + 'AM_PROG_FC_C_O' => 1,
13.206 + 'AC_CANONICAL_BUILD' => 1,
13.207 + 'AC_FC_FREEFORM' => 1,
13.208 + 'AH_OUTPUT' => 1,
13.209 + '_AM_SUBST_NOTMAKE' => 1,
13.210 + 'AC_CONFIG_AUX_DIR' => 1,
13.211 + 'sinclude' => 1,
13.212 + 'm4_pattern_allow' => 1,
13.213 + 'AM_PROG_CC_C_O' => 1,
13.214 + 'AC_CANONICAL_SYSTEM' => 1,
13.215 + 'AM_CONDITIONAL' => 1,
13.216 + 'AC_CONFIG_HEADERS' => 1,
13.217 + 'AC_DEFINE_TRACE_LITERAL' => 1,
13.218 + 'm4_include' => 1,
13.219 + 'AC_SUBST_TRACE' => 1
13.220 + }
13.221 + ], 'Autom4te::Request' ),
13.222 + bless( [
13.223 + '2',
13.224 + 1,
13.225 + [
13.226 + '/usr/share/autoconf'
13.227 + ],
13.228 + [
13.229 + '/usr/share/autoconf/autoconf/autoconf.m4f',
13.230 + '/usr/share/aclocal-1.9/amversion.m4',
13.231 + '/usr/share/aclocal-1.9/as.m4',
13.232 + '/usr/share/aclocal-1.9/auxdir.m4',
13.233 + '/usr/share/aclocal-1.9/cond.m4',
13.234 + '/usr/share/aclocal-1.9/depend.m4',
13.235 + '/usr/share/aclocal-1.9/depout.m4',
13.236 + '/usr/share/aclocal-1.9/header.m4',
13.237 + '/usr/share/aclocal-1.9/init.m4',
13.238 + '/usr/share/aclocal-1.9/install-sh.m4',
13.239 + '/usr/share/aclocal-1.9/lead-dot.m4',
13.240 + '/usr/share/aclocal-1.9/maintainer.m4',
13.241 + '/usr/share/aclocal-1.9/make.m4',
13.242 + '/usr/share/aclocal-1.9/missing.m4',
13.243 + '/usr/share/aclocal-1.9/mkdirp.m4',
13.244 + '/usr/share/aclocal-1.9/options.m4',
13.245 + '/usr/share/aclocal-1.9/runlog.m4',
13.246 + '/usr/share/aclocal-1.9/sanity.m4',
13.247 + '/usr/share/aclocal-1.9/strip.m4',
13.248 + '/usr/share/aclocal-1.9/tar.m4',
13.249 + 'm4/as-compiler-flag.m4',
13.250 + 'm4/as-version.m4',
13.251 + 'm4/libtool.m4',
13.252 + 'm4/pkg.m4',
13.253 + 'configure.ac'
13.254 + ],
13.255 + {
13.256 + '_LT_AC_TAGCONFIG' => 1,
13.257 + 'm4_pattern_forbid' => 1,
13.258 + 'AM_ENABLE_STATIC' => 1,
13.259 + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
13.260 + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
13.261 + '_LT_AC_SHELL_INIT' => 1,
13.262 + 'AC_DISABLE_SHARED' => 1,
13.263 + 'AC_DEFUN' => 1,
13.264 + '_LT_AC_LANG_CXX_CONFIG' => 1,
13.265 + 'AC_LIBTOOL_WIN32_DLL' => 1,
13.266 + 'AC_LIBTOOL_SETUP' => 1,
13.267 + 'AC_PROG_LIBTOOL' => 1,
13.268 + 'AM_PROG_MKDIR_P' => 1,
13.269 + 'AC_PROG_LD_RELOAD_FLAG' => 1,
13.270 + 'AS_COMPILER_FLAG' => 1,
13.271 + 'AM_AUTOMAKE_VERSION' => 1,
13.272 + 'AM_MISSING_HAS_RUN' => 1,
13.273 + 'AM_MISSING_PROG' => 1,
13.274 + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
13.275 + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
13.276 + '_LT_AC_LANG_C_CONFIG' => 1,
13.277 + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
13.278 + 'AM_PROG_INSTALL_STRIP' => 1,
13.279 + '_m4_warn' => 1,
13.280 + 'AC_LIBTOOL_OBJDIR' => 1,
13.281 + 'AM_SANITY_CHECK' => 1,
13.282 + 'AC_LIBTOOL_LINKER_OPTION' => 1,
13.283 + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
13.284 + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
13.285 + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
13.286 + '_LT_AC_CHECK_DLFCN' => 1,
13.287 + 'LT_AC_PROG_RC' => 1,
13.288 + 'AC_LIBTOOL_CXX' => 1,
13.289 + '_AM_PROG_TAR' => 1,
13.290 + 'AC_LIBTOOL_GCJ' => 1,
13.291 + 'LT_AC_PROG_GCJ' => 1,
13.292 + 'AM_DEP_TRACK' => 1,
13.293 + 'AM_DISABLE_STATIC' => 1,
13.294 + 'AM_CONFIG_HEADER' => 1,
13.295 + '_AC_PROG_LIBTOOL' => 1,
13.296 + 'AC_LIBTOOL_CONFIG' => 1,
13.297 + '_LT_AC_LANG_F77' => 1,
13.298 + '_AM_IF_OPTION' => 1,
13.299 + 'AC_PATH_TOOL_PREFIX' => 1,
13.300 + 'm4_pattern_allow' => 1,
13.301 + 'AC_LIBTOOL_F77' => 1,
13.302 + 'AM_DISABLE_SHARED' => 1,
13.303 + 'AM_SET_LEADING_DOT' => 1,
13.304 + 'AM_PROG_LIBTOOL' => 1,
13.305 + '_LT_AC_LANG_CXX' => 1,
13.306 + '_AM_DEPENDENCIES' => 1,
13.307 + 'AM_PROG_LD' => 1,
13.308 + '_LT_AC_FILE_LTDLL_C' => 1,
13.309 + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
13.310 + '_LT_AC_SYS_COMPILER' => 1,
13.311 + 'AM_PROG_NM' => 1,
13.312 + 'PKG_CHECK_MODULES' => 1,
13.313 + 'AU_DEFUN' => 1,
13.314 + 'AC_PROG_NM' => 1,
13.315 + 'AC_LIBTOOL_DLOPEN' => 1,
13.316 + 'AC_PROG_LD' => 1,
13.317 + 'AC_LIBLTDL_CONVENIENCE' => 1,
13.318 + 'AC_ENABLE_FAST_INSTALL' => 1,
13.319 + 'AC_PROG_LD_GNU' => 1,
13.320 + 'AC_DEPLIBS_CHECK_METHOD' => 1,
13.321 + 'jm_MAINTAINER_MODE' => 1,
13.322 + 'AC_LIBLTDL_INSTALLABLE' => 1,
13.323 + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
13.324 + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
13.325 + '_AM_SET_OPTION' => 1,
13.326 + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
13.327 + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
13.328 + 'AM_INIT_AUTOMAKE' => 1,
13.329 + 'AC_DISABLE_STATIC' => 1,
13.330 + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
13.331 + 'AS_VERSION' => 1,
13.332 + 'AM_MAINTAINER_MODE' => 1,
13.333 + 'AC_DEFUN_ONCE' => 1,
13.334 + '_LT_AC_LOCK' => 1,
13.335 + '_LT_AC_LANG_RC_CONFIG' => 1,
13.336 + '_LT_AC_LANG_GCJ' => 1,
13.337 + 'AC_LIBTOOL_RC' => 1,
13.338 + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
13.339 + 'AC_DISABLE_FAST_INSTALL' => 1,
13.340 + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
13.341 + 'include' => 1,
13.342 + '_LT_AC_SYS_LIBPATH_AIX' => 1,
13.343 + '_LT_AC_TRY_DLOPEN_SELF' => 1,
13.344 + 'LT_AC_PROG_SED' => 1,
13.345 + 'AM_PROG_AS' => 1,
13.346 + 'AM_ENABLE_SHARED' => 1,
13.347 + 'AM_AUX_DIR_EXPAND' => 1,
13.348 + '_LT_AC_LANG_GCJ_CONFIG' => 1,
13.349 + '_LT_AC_LANG_F77_CONFIG' => 1,
13.350 + 'AC_ENABLE_SHARED' => 1,
13.351 + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
13.352 + '_AM_SET_OPTIONS' => 1,
13.353 + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
13.354 + 'AM_RUN_LOG' => 1,
13.355 + 'AC_LIBTOOL_PICMODE' => 1,
13.356 + 'AC_ENABLE_STATIC' => 1,
13.357 + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
13.358 + 'AC_CHECK_LIBM' => 1,
13.359 + '_LT_AC_TAGVAR' => 1,
13.360 + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
13.361 + '_AM_MANGLE_OPTION' => 1,
13.362 + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
13.363 + 'AM_CONDITIONAL' => 1,
13.364 + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
13.365 + 'AM_SET_DEPDIR' => 1,
13.366 + 'm4_include' => 1,
13.367 + 'PKG_PROG_PKG_CONFIG' => 1,
13.368 + 'AM_PROG_INSTALL_SH' => 1,
13.369 + 'AC_PROG_EGREP' => 1,
13.370 + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
13.371 + 'AC_PATH_MAGIC' => 1,
13.372 + 'AM_MAKE_INCLUDE' => 1
13.373 + }
13.374 + ], 'Autom4te::Request' )
13.375 + );
13.376 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/gst-gpac/autom4te.cache/traces.0 Thu Feb 21 17:44:16 2008 +0000
14.3 @@ -0,0 +1,8729 @@
14.4 +m4trace:/usr/share/aclocal-1.10/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
14.5 +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
14.6 +dnl require some minimum version. Point them to the right macro.
14.7 +m4_if([$1], [1.10], [],
14.8 + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
14.9 +])
14.10 +m4trace:/usr/share/aclocal-1.10/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10])dnl
14.11 +_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
14.12 +m4trace:/usr/share/aclocal-1.10/as.m4:13: -1- AC_DEFUN([AM_PROG_AS], [# By default we simply use the C compiler to build assembly code.
14.13 +AC_REQUIRE([AC_PROG_CC])
14.14 +test "${CCAS+set}" = set || CCAS=$CC
14.15 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
14.16 +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
14.17 +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
14.18 +_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
14.19 +])
14.20 +m4trace:/usr/share/aclocal-1.10/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
14.21 +AC_PREREQ([2.50])dnl
14.22 +# expand $ac_aux_dir to an absolute path
14.23 +am_aux_dir=`cd $ac_aux_dir && pwd`
14.24 +])
14.25 +m4trace:/usr/share/aclocal-1.10/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
14.26 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
14.27 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
14.28 +AC_SUBST([$1_TRUE])dnl
14.29 +AC_SUBST([$1_FALSE])dnl
14.30 +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
14.31 +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
14.32 +if $2; then
14.33 + $1_TRUE=
14.34 + $1_FALSE='#'
14.35 +else
14.36 + $1_TRUE='#'
14.37 + $1_FALSE=
14.38 +fi
14.39 +AC_CONFIG_COMMANDS_PRE(
14.40 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
14.41 + AC_MSG_ERROR([[conditional "$1" was never defined.
14.42 +Usually this means the macro was only invoked conditionally.]])
14.43 +fi])])
14.44 +m4trace:/usr/share/aclocal-1.10/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
14.45 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
14.46 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
14.47 +AC_REQUIRE([AM_DEP_TRACK])dnl
14.48 +
14.49 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
14.50 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
14.51 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
14.52 + [$1], UPC, [depcc="$UPC" am_compiler_list=],
14.53 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
14.54 + [depcc="$$1" am_compiler_list=])
14.55 +
14.56 +AC_CACHE_CHECK([dependency style of $depcc],
14.57 + [am_cv_$1_dependencies_compiler_type],
14.58 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14.59 + # We make a subdir and do the tests there. Otherwise we can end up
14.60 + # making bogus files that we don't know about and never remove. For
14.61 + # instance it was reported that on HP-UX the gcc test will end up
14.62 + # making a dummy file named `D' -- because `-MD' means `put the output
14.63 + # in D'.
14.64 + mkdir conftest.dir
14.65 + # Copy depcomp to subdir because otherwise we won't find it if we're
14.66 + # using a relative directory.
14.67 + cp "$am_depcomp" conftest.dir
14.68 + cd conftest.dir
14.69 + # We will build objects and dependencies in a subdirectory because
14.70 + # it helps to detect inapplicable dependency modes. For instance
14.71 + # both Tru64's cc and ICC support -MD to output dependencies as a
14.72 + # side effect of compilation, but ICC will put the dependencies in
14.73 + # the current directory while Tru64 will put them in the object
14.74 + # directory.
14.75 + mkdir sub
14.76 +
14.77 + am_cv_$1_dependencies_compiler_type=none
14.78 + if test "$am_compiler_list" = ""; then
14.79 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
14.80 + fi
14.81 + for depmode in $am_compiler_list; do
14.82 + # Setup a source with many dependencies, because some compilers
14.83 + # like to wrap large dependency lists on column 80 (with \), and
14.84 + # we should not choose a depcomp mode which is confused by this.
14.85 + #
14.86 + # We need to recreate these files for each test, as the compiler may
14.87 + # overwrite some of them when testing with obscure command lines.
14.88 + # This happens at least with the AIX C compiler.
14.89 + : > sub/conftest.c
14.90 + for i in 1 2 3 4 5 6; do
14.91 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
14.92 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14.93 + # Solaris 8's {/usr,}/bin/sh.
14.94 + touch sub/conftst$i.h
14.95 + done
14.96 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14.97 +
14.98 + case $depmode in
14.99 + nosideeffect)
14.100 + # after this tag, mechanisms are not by side-effect, so they'll
14.101 + # only be used when explicitly requested
14.102 + if test "x$enable_dependency_tracking" = xyes; then
14.103 + continue
14.104 + else
14.105 + break
14.106 + fi
14.107 + ;;
14.108 + none) break ;;
14.109 + esac
14.110 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
14.111 + # mode. It turns out that the SunPro C++ compiler does not properly
14.112 + # handle `-M -o', and we need to detect this.
14.113 + if depmode=$depmode \
14.114 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
14.115 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14.116 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
14.117 + >/dev/null 2>conftest.err &&
14.118 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14.119 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14.120 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
14.121 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14.122 + # icc doesn't choke on unknown options, it will just issue warnings
14.123 + # or remarks (even with -Werror). So we grep stderr for any message
14.124 + # that says an option was ignored or not supported.
14.125 + # When given -MP, icc 7.0 and 7.1 complain thusly:
14.126 + # icc: Command line warning: ignoring option '-M'; no argument required
14.127 + # The diagnosis changed in icc 8.0:
14.128 + # icc: Command line remark: option '-MP' not supported
14.129 + if (grep 'ignoring option' conftest.err ||
14.130 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14.131 + am_cv_$1_dependencies_compiler_type=$depmode
14.132 + break
14.133 + fi
14.134 + fi
14.135 + done
14.136 +
14.137 + cd ..
14.138 + rm -rf conftest.dir
14.139 +else
14.140 + am_cv_$1_dependencies_compiler_type=none
14.141 +fi
14.142 +])
14.143 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
14.144 +AM_CONDITIONAL([am__fastdep$1], [
14.145 + test "x$enable_dependency_tracking" != xno \
14.146 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
14.147 +])
14.148 +m4trace:/usr/share/aclocal-1.10/depend.m4:139: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
14.149 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
14.150 +])
14.151 +m4trace:/usr/share/aclocal-1.10/depend.m4:147: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
14.152 +[ --disable-dependency-tracking speeds up one-time build
14.153 + --enable-dependency-tracking do not reject slow dependency extractors])
14.154 +if test "x$enable_dependency_tracking" != xno; then
14.155 + am_depcomp="$ac_aux_dir/depcomp"
14.156 + AMDEPBACKSLASH='\'
14.157 +fi
14.158 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
14.159 +AC_SUBST([AMDEPBACKSLASH])dnl
14.160 +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
14.161 +])
14.162 +m4trace:/usr/share/aclocal-1.10/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
14.163 + # Strip MF so we end up with the name of the file.
14.164 + mf=`echo "$mf" | sed -e 's/:.*$//'`
14.165 + # Check whether this is an Automake generated Makefile or not.
14.166 + # We used to match only the files named `Makefile.in', but
14.167 + # some people rename them; so instead we look at the file content.
14.168 + # Grep'ing the first line is not enough: some people post-process
14.169 + # each Makefile.in and add a new line on top of each file to say so.
14.170 + # Grep'ing the whole file is not good either: AIX grep has a line
14.171 + # limit of 2048, but all sed's we know have understand at least 4000.
14.172 + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
14.173 + dirpart=`AS_DIRNAME("$mf")`
14.174 + else
14.175 + continue
14.176 + fi
14.177 + # Extract the definition of DEPDIR, am__include, and am__quote
14.178 + # from the Makefile without running `make'.
14.179 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14.180 + test -z "$DEPDIR" && continue
14.181 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
14.182 + test -z "am__include" && continue
14.183 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14.184 + # When using ansi2knr, U may be empty or an underscore; expand it
14.185 + U=`sed -n 's/^U = //p' < "$mf"`
14.186 + # Find all dependency output files, they are included files with
14.187 + # $(DEPDIR) in their names. We invoke sed twice because it is the
14.188 + # simplest approach to changing $(DEPDIR) to its actual value in the
14.189 + # expansion.
14.190 + for file in `sed -n "
14.191 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14.192 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14.193 + # Make sure the directory exists.
14.194 + test -f "$dirpart/$file" && continue
14.195 + fdir=`AS_DIRNAME(["$file"])`
14.196 + AS_MKDIR_P([$dirpart/$fdir])
14.197 + # echo "creating $dirpart/$file"
14.198 + echo '# dummy' > "$dirpart/$file"
14.199 + done
14.200 +done
14.201 +])
14.202 +m4trace:/usr/share/aclocal-1.10/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
14.203 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
14.204 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
14.205 +])
14.206 +m4trace:/usr/share/aclocal-1.10/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
14.207 +m4trace:/usr/share/aclocal-1.10/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
14.208 +You should run autoupdate.])dnl
14.209 +AC_CONFIG_HEADERS($@)])
14.210 +m4trace:/usr/share/aclocal-1.10/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
14.211 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
14.212 +dnl the ones we care about.
14.213 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
14.214 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
14.215 +AC_REQUIRE([AC_PROG_INSTALL])dnl
14.216 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
14.217 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
14.218 + # is not polluted with repeated "-I."
14.219 + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
14.220 + # test to see if srcdir already configured
14.221 + if test -f $srcdir/config.status; then
14.222 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
14.223 + fi
14.224 +fi
14.225 +
14.226 +# test whether we have cygpath
14.227 +if test -z "$CYGPATH_W"; then
14.228 + if (cygpath --version) >/dev/null 2>/dev/null; then
14.229 + CYGPATH_W='cygpath -w'
14.230 + else
14.231 + CYGPATH_W=echo
14.232 + fi
14.233 +fi
14.234 +AC_SUBST([CYGPATH_W])
14.235 +
14.236 +# Define the identity of the package.
14.237 +dnl Distinguish between old-style and new-style calls.
14.238 +m4_ifval([$2],
14.239 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
14.240 + AC_SUBST([PACKAGE], [$1])dnl
14.241 + AC_SUBST([VERSION], [$2])],
14.242 +[_AM_SET_OPTIONS([$1])dnl
14.243 +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
14.244 +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
14.245 + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
14.246 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
14.247 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
14.248 +
14.249 +_AM_IF_OPTION([no-define],,
14.250 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
14.251 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
14.252 +
14.253 +# Some tools Automake needs.
14.254 +AC_REQUIRE([AM_SANITY_CHECK])dnl
14.255 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
14.256 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
14.257 +AM_MISSING_PROG(AUTOCONF, autoconf)
14.258 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
14.259 +AM_MISSING_PROG(AUTOHEADER, autoheader)
14.260 +AM_MISSING_PROG(MAKEINFO, makeinfo)
14.261 +AM_PROG_INSTALL_SH
14.262 +AM_PROG_INSTALL_STRIP
14.263 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
14.264 +# We need awk for the "check" target. The system "awk" is bad on
14.265 +# some platforms.
14.266 +AC_REQUIRE([AC_PROG_AWK])dnl
14.267 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
14.268 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
14.269 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
14.270 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
14.271 + [_AM_PROG_TAR([v7])])])
14.272 +_AM_IF_OPTION([no-dependencies],,
14.273 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
14.274 + [_AM_DEPENDENCIES(CC)],
14.275 + [define([AC_PROG_CC],
14.276 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
14.277 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
14.278 + [_AM_DEPENDENCIES(CXX)],
14.279 + [define([AC_PROG_CXX],
14.280 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
14.281 +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
14.282 + [_AM_DEPENDENCIES(OBJC)],
14.283 + [define([AC_PROG_OBJC],
14.284 + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
14.285 +])
14.286 +])
14.287 +m4trace:/usr/share/aclocal-1.10/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
14.288 +_am_stamp_count=1
14.289 +for _am_header in $config_headers :; do
14.290 + case $_am_header in
14.291 + $1 | $1:* )
14.292 + break ;;
14.293 + * )
14.294 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14.295 + esac
14.296 +done
14.297 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
14.298 +m4trace:/usr/share/aclocal-1.10/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
14.299 +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
14.300 +AC_SUBST(install_sh)])
14.301 +m4trace:/usr/share/aclocal-1.10/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
14.302 +mkdir .tst 2>/dev/null
14.303 +if test -d .tst; then
14.304 + am__leading_dot=.
14.305 +else
14.306 + am__leading_dot=_
14.307 +fi
14.308 +rmdir .tst 2>/dev/null
14.309 +AC_SUBST([am__leading_dot])])
14.310 +m4trace:/usr/share/aclocal-1.10/maintainer.m4:13: -1- AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
14.311 + dnl maintainer-mode is disabled by default
14.312 + AC_ARG_ENABLE(maintainer-mode,
14.313 +[ --enable-maintainer-mode enable make rules and dependencies not useful
14.314 + (and sometimes confusing) to the casual installer],
14.315 + USE_MAINTAINER_MODE=$enableval,
14.316 + USE_MAINTAINER_MODE=no)
14.317 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
14.318 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
14.319 + MAINT=$MAINTAINER_MODE_TRUE
14.320 + AC_SUBST(MAINT)dnl
14.321 +
14.322 +])
14.323 +m4trace:/usr/share/aclocal-1.10/maintainer.m4:28: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
14.324 +m4trace:/usr/share/aclocal-1.10/maintainer.m4:28: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
14.325 +You should run autoupdate.])dnl
14.326 +AM_MAINTAINER_MODE])
14.327 +m4trace:/usr/share/aclocal-1.10/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
14.328 +cat > confinc << 'END'
14.329 +am__doit:
14.330 + @echo done
14.331 +.PHONY: am__doit
14.332 +END
14.333 +# If we don't find an include directive, just comment out the code.
14.334 +AC_MSG_CHECKING([for style of include used by $am_make])
14.335 +am__include="#"
14.336 +am__quote=
14.337 +_am_result=none
14.338 +# First try GNU make style include.
14.339 +echo "include confinc" > confmf
14.340 +# We grep out `Entering directory' and `Leaving directory'
14.341 +# messages which can occur if `w' ends up in MAKEFLAGS.
14.342 +# In particular we don't look at `^make:' because GNU make might
14.343 +# be invoked under some other name (usually "gmake"), in which
14.344 +# case it prints its new name instead of `make'.
14.345 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
14.346 + am__include=include
14.347 + am__quote=
14.348 + _am_result=GNU
14.349 +fi
14.350 +# Now try BSD make style include.
14.351 +if test "$am__include" = "#"; then
14.352 + echo '.include "confinc"' > confmf
14.353 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
14.354 + am__include=.include
14.355 + am__quote="\""
14.356 + _am_result=BSD
14.357 + fi
14.358 +fi
14.359 +AC_SUBST([am__include])
14.360 +AC_SUBST([am__quote])
14.361 +AC_MSG_RESULT([$_am_result])
14.362 +rm -f confinc confmf
14.363 +])
14.364 +m4trace:/usr/share/aclocal-1.10/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
14.365 +$1=${$1-"${am_missing_run}$2"}
14.366 +AC_SUBST($1)])
14.367 +m4trace:/usr/share/aclocal-1.10/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
14.368 +AC_REQUIRE_AUX_FILE([missing])dnl
14.369 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
14.370 +# Use eval to expand $SHELL
14.371 +if eval "$MISSING --run true"; then
14.372 + am_missing_run="$MISSING --run "
14.373 +else
14.374 + am_missing_run=
14.375 + AC_MSG_WARN([`missing' script is too old or missing])
14.376 +fi
14.377 +])
14.378 +m4trace:/usr/share/aclocal-1.10/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
14.379 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
14.380 +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
14.381 +dnl while keeping a definition of mkdir_p for backward compatibility.
14.382 +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
14.383 +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
14.384 +dnl Makefile.ins that do not define MKDIR_P, so we do our own
14.385 +dnl adjustment using top_builddir (which is defined more often than
14.386 +dnl MKDIR_P).
14.387 +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
14.388 +case $mkdir_p in
14.389 + [[\\/$]]* | ?:[[\\/]]*) ;;
14.390 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14.391 +esac
14.392 +])
14.393 +m4trace:/usr/share/aclocal-1.10/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
14.394 +m4trace:/usr/share/aclocal-1.10/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
14.395 +m4trace:/usr/share/aclocal-1.10/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
14.396 +m4trace:/usr/share/aclocal-1.10/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
14.397 +m4trace:/usr/share/aclocal-1.10/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
14.398 + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
14.399 + ac_status=$?
14.400 + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
14.401 + (exit $ac_status); }])
14.402 +m4trace:/usr/share/aclocal-1.10/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
14.403 +# Just in case
14.404 +sleep 1
14.405 +echo timestamp > conftest.file
14.406 +# Do `set' in a subshell so we don't clobber the current shell's
14.407 +# arguments. Must try -L first in case configure is actually a
14.408 +# symlink; some systems play weird games with the mod time of symlinks
14.409 +# (eg FreeBSD returns the mod time of the symlink's containing
14.410 +# directory).
14.411 +if (
14.412 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
14.413 + if test "$[*]" = "X"; then
14.414 + # -L didn't work.
14.415 + set X `ls -t $srcdir/configure conftest.file`
14.416 + fi
14.417 + rm -f conftest.file
14.418 + if test "$[*]" != "X $srcdir/configure conftest.file" \
14.419 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
14.420 +
14.421 + # If neither matched, then we have a broken ls. This can happen
14.422 + # if, for instance, CONFIG_SHELL is bash and it inherits a
14.423 + # broken ls alias from the environment. This has actually
14.424 + # happened. Such a system could not be considered "sane".
14.425 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
14.426 +alias in your environment])
14.427 + fi
14.428 +
14.429 + test "$[2]" = conftest.file
14.430 + )
14.431 +then
14.432 + # Ok.
14.433 + :
14.434 +else
14.435 + AC_MSG_ERROR([newly created file is older than distributed files!
14.436 +Check your system clock])
14.437 +fi
14.438 +AC_MSG_RESULT(yes)])
14.439 +m4trace:/usr/share/aclocal-1.10/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
14.440 +# Installed binaries are usually stripped using `strip' when the user
14.441 +# run `make install-strip'. However `strip' might not be the right
14.442 +# tool to use in cross-compilation environments, therefore Automake
14.443 +# will honor the `STRIP' environment variable to overrule this program.
14.444 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
14.445 +if test "$cross_compiling" != no; then
14.446 + AC_CHECK_TOOL([STRIP], [strip], :)
14.447 +fi
14.448 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
14.449 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
14.450 +m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
14.451 +m4trace:/usr/share/aclocal-1.10/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
14.452 +AM_MISSING_PROG([AMTAR], [tar])
14.453 +m4_if([$1], [v7],
14.454 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
14.455 + [m4_case([$1], [ustar],, [pax],,
14.456 + [m4_fatal([Unknown tar format])])
14.457 +AC_MSG_CHECKING([how to create a $1 tar archive])
14.458 +# Loop over all known methods to create a tar archive until one works.
14.459 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
14.460 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
14.461 +# Do not fold the above two line into one, because Tru64 sh and
14.462 +# Solaris sh will not grok spaces in the rhs of `-'.
14.463 +for _am_tool in $_am_tools
14.464 +do
14.465 + case $_am_tool in
14.466 + gnutar)
14.467 + for _am_tar in tar gnutar gtar;
14.468 + do
14.469 + AM_RUN_LOG([$_am_tar --version]) && break
14.470 + done
14.471 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
14.472 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
14.473 + am__untar="$_am_tar -xf -"
14.474 + ;;
14.475 + plaintar)
14.476 + # Must skip GNU tar: if it does not support --format= it doesn't create
14.477 + # ustar tarball either.
14.478 + (tar --version) >/dev/null 2>&1 && continue
14.479 + am__tar='tar chf - "$$tardir"'
14.480 + am__tar_='tar chf - "$tardir"'
14.481 + am__untar='tar xf -'
14.482 + ;;
14.483 + pax)
14.484 + am__tar='pax -L -x $1 -w "$$tardir"'
14.485 + am__tar_='pax -L -x $1 -w "$tardir"'
14.486 + am__untar='pax -r'
14.487 + ;;
14.488 + cpio)
14.489 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
14.490 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
14.491 + am__untar='cpio -i -H $1 -d'
14.492 + ;;
14.493 + none)
14.494 + am__tar=false
14.495 + am__tar_=false
14.496 + am__untar=false
14.497 + ;;
14.498 + esac
14.499 +
14.500 + # If the value was cached, stop now. We just wanted to have am__tar
14.501 + # and am__untar set.
14.502 + test -n "${am_cv_prog_tar_$1}" && break
14.503 +
14.504 + # tar/untar a dummy directory, and stop if the command works
14.505 + rm -rf conftest.dir
14.506 + mkdir conftest.dir
14.507 + echo GrepMe > conftest.dir/file
14.508 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
14.509 + rm -rf conftest.dir
14.510 + if test -s conftest.tar; then
14.511 + AM_RUN_LOG([$am__untar <conftest.tar])
14.512 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
14.513 + fi
14.514 +done
14.515 +rm -rf conftest.dir
14.516 +
14.517 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
14.518 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
14.519 +AC_SUBST([am__tar])
14.520 +AC_SUBST([am__untar])
14.521 +])
14.522 +m4trace:m4/as-compiler-flag.m4:14: -1- AC_DEFUN([AS_COMPILER_FLAG], [
14.523 + AC_MSG_CHECKING([to see if compiler understands $1])
14.524 +
14.525 + save_CFLAGS="$CFLAGS"
14.526 + CFLAGS="$CFLAGS $1"
14.527 +
14.528 + AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
14.529 + CFLAGS="$save_CFLAGS"
14.530 +
14.531 + if test "X$flag_ok" = Xyes ; then
14.532 + $2
14.533 + true
14.534 + else
14.535 + $3
14.536 + true
14.537 + fi
14.538 + AC_MSG_RESULT([$flag_ok])
14.539 +])
14.540 +m4trace:m4/as-version.m4:29: -1- AC_DEFUN([AS_VERSION], [
14.541 + PACKAGE=[$1]
14.542 + [$2]_MAJOR=[$3]
14.543 + [$2]_MINOR=[$4]
14.544 + [$2]_MICRO=[$5]
14.545 + NANO=[$6]
14.546 + [$2]_NANO=$NANO
14.547 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
14.548 + then
14.549 + AC_MSG_NOTICE(configuring [$1] for release)
14.550 + VERSION=[$3].[$4].[$5]
14.551 + [$2]_RELEASE=1
14.552 + dnl execute action
14.553 + ifelse([$7], , :, [$7])
14.554 + else
14.555 + AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
14.556 + VERSION=[$3].[$4].[$5].$NANO
14.557 + [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
14.558 + dnl execute action
14.559 + ifelse([$8], , :, [$8])
14.560 + fi
14.561 +
14.562 + [$2]=$VERSION
14.563 + AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version])
14.564 + AC_SUBST([$2])
14.565 + AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version])
14.566 + AC_SUBST([$2]_RELEASE)
14.567 +
14.568 + AC_SUBST([$2]_MAJOR)
14.569 + AC_SUBST([$2]_MINOR)
14.570 + AC_SUBST([$2]_MICRO)
14.571 + AC_SUBST([$2]_NANO)
14.572 + AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name])
14.573 + AC_SUBST(PACKAGE)
14.574 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version])
14.575 + AC_SUBST(VERSION)
14.576 +])
14.577 +m4trace:m4/libtool.m4:41: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
14.578 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
14.579 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
14.580 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
14.581 + [AC_LIBTOOL_CXX],
14.582 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
14.583 + ])])
14.584 +dnl And a similar setup for Fortran 77 support
14.585 + AC_PROVIDE_IFELSE([AC_PROG_F77],
14.586 + [AC_LIBTOOL_F77],
14.587 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
14.588 +])])
14.589 +
14.590 +dnl Quote AM_PROG_GCJ so that aclocal doesn't bring it in needlessly.
14.591 +dnl If either AC_PROG_GCJ or AM_PROG_GCJ have already been expanded, run
14.592 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
14.593 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
14.594 + [AC_LIBTOOL_GCJ],
14.595 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
14.596 + [AC_LIBTOOL_GCJ],
14.597 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
14.598 + [AC_LIBTOOL_GCJ],
14.599 + [ifdef([AC_PROG_GCJ],
14.600 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
14.601 + ifdef([A][M_PROG_GCJ],
14.602 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
14.603 + ifdef([LT_AC_PROG_GCJ],
14.604 + [define([LT_AC_PROG_GCJ],
14.605 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
14.606 +])])
14.607 +m4trace:m4/libtool.m4:76: -1- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
14.608 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
14.609 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
14.610 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
14.611 +
14.612 +# This can be used to rebuild libtool when needed
14.613 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
14.614 +
14.615 +# Always use our own libtool.
14.616 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
14.617 +AC_SUBST(LIBTOOL)dnl
14.618 +
14.619 +# Prevent multiple expansion
14.620 +define([AC_PROG_LIBTOOL], [])
14.621 +])
14.622 +m4trace:m4/libtool.m4:96: -1- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl
14.623 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
14.624 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
14.625 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
14.626 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
14.627 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
14.628 +AC_REQUIRE([AC_PROG_CC])dnl
14.629 +AC_REQUIRE([AC_PROG_LD])dnl
14.630 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
14.631 +AC_REQUIRE([AC_PROG_NM])dnl
14.632 +
14.633 +AC_REQUIRE([AC_PROG_LN_S])dnl
14.634 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
14.635 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
14.636 +AC_REQUIRE([AC_OBJEXT])dnl
14.637 +AC_REQUIRE([AC_EXEEXT])dnl
14.638 +dnl
14.639 +
14.640 +AC_LIBTOOL_SYS_MAX_CMD_LEN
14.641 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
14.642 +AC_LIBTOOL_OBJDIR
14.643 +
14.644 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
14.645 +_LT_AC_PROG_ECHO_BACKSLASH
14.646 +
14.647 +case $host_os in
14.648 +aix3*)
14.649 + # AIX sometimes has problems with the GCC collect2 program. For some
14.650 + # reason, if we set the COLLECT_NAMES environment variable, the problems
14.651 + # vanish in a puff of smoke.
14.652 + if test "X${COLLECT_NAMES+set}" != Xset; then
14.653 + COLLECT_NAMES=
14.654 + export COLLECT_NAMES
14.655 + fi
14.656 + ;;
14.657 +esac
14.658 +
14.659 +# Sed substitution that helps us do robust quoting. It backslashifies
14.660 +# metacharacters that are still active within double-quoted strings.
14.661 +Xsed='sed -e s/^X//'
14.662 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
14.663 +
14.664 +# Same as above, but do not quote variable references.
14.665 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
14.666 +
14.667 +# Sed substitution to delay expansion of an escaped shell variable in a
14.668 +# double_quote_subst'ed string.
14.669 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14.670 +
14.671 +# Sed substitution to avoid accidental globbing in evaled expressions
14.672 +no_glob_subst='s/\*/\\\*/g'
14.673 +
14.674 +# Constants:
14.675 +rm="rm -f"
14.676 +
14.677 +# Global variables:
14.678 +default_ofile=libtool
14.679 +can_build_shared=yes
14.680 +
14.681 +# All known linkers require a `.a' archive for static linking (except M$VC,
14.682 +# which needs '.lib').
14.683 +libext=a
14.684 +ltmain="$ac_aux_dir/ltmain.sh"
14.685 +ofile="$default_ofile"
14.686 +with_gnu_ld="$lt_cv_prog_gnu_ld"
14.687 +
14.688 +AC_CHECK_TOOL(AR, ar, false)
14.689 +AC_CHECK_TOOL(RANLIB, ranlib, :)
14.690 +AC_CHECK_TOOL(STRIP, strip, :)
14.691 +
14.692 +old_CC="$CC"
14.693 +old_CFLAGS="$CFLAGS"
14.694 +
14.695 +# Set sane defaults for various variables
14.696 +test -z "$AR" && AR=ar
14.697 +test -z "$AR_FLAGS" && AR_FLAGS=cru
14.698 +test -z "$AS" && AS=as
14.699 +test -z "$CC" && CC=cc
14.700 +test -z "$LTCC" && LTCC=$CC
14.701 +test -z "$DLLTOOL" && DLLTOOL=dlltool
14.702 +test -z "$LD" && LD=ld
14.703 +test -z "$LN_S" && LN_S="ln -s"
14.704 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
14.705 +test -z "$NM" && NM=nm
14.706 +test -z "$SED" && SED=sed
14.707 +test -z "$OBJDUMP" && OBJDUMP=objdump
14.708 +test -z "$RANLIB" && RANLIB=:
14.709 +test -z "$STRIP" && STRIP=:
14.710 +test -z "$ac_objext" && ac_objext=o
14.711 +
14.712 +# Determine commands to create old-style static archives.
14.713 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14.714 +old_postinstall_cmds='chmod 644 $oldlib'
14.715 +old_postuninstall_cmds=
14.716 +
14.717 +if test -n "$RANLIB"; then
14.718 + case $host_os in
14.719 + openbsd*)
14.720 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
14.721 + ;;
14.722 + *)
14.723 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
14.724 + ;;
14.725 + esac
14.726 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14.727 +fi
14.728 +
14.729 +# Only perform the check for file, if the check method requires it
14.730 +case $deplibs_check_method in
14.731 +file_magic*)
14.732 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14.733 + AC_PATH_MAGIC
14.734 + fi
14.735 + ;;
14.736 +esac
14.737 +
14.738 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
14.739 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
14.740 +enable_win32_dll=yes, enable_win32_dll=no)
14.741 +
14.742 +AC_ARG_ENABLE([libtool-lock],
14.743 + [AC_HELP_STRING([--disable-libtool-lock],
14.744 + [avoid locking (might break parallel builds)])])
14.745 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14.746 +
14.747 +AC_ARG_WITH([pic],
14.748 + [AC_HELP_STRING([--with-pic],
14.749 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
14.750 + [pic_mode="$withval"],
14.751 + [pic_mode=default])
14.752 +test -z "$pic_mode" && pic_mode=default
14.753 +
14.754 +# Use C for the default configuration in the libtool script
14.755 +tagname=
14.756 +AC_LIBTOOL_LANG_C_CONFIG
14.757 +_LT_AC_TAGCONFIG
14.758 +])
14.759 +m4trace:m4/libtool.m4:238: -1- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl
14.760 +
14.761 +# If no C compiler was specified, use CC.
14.762 +LTCC=${LTCC-"$CC"}
14.763 +
14.764 +# Allow CC to be a program name with arguments.
14.765 +compiler=$CC
14.766 +])
14.767 +m4trace:m4/libtool.m4:257: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_LINK_IFELSE(AC_LANG_PROGRAM,[
14.768 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14.769 +}'`
14.770 +# Check for a 64-bit object if we didn't find anything.
14.771 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14.772 +}'`; fi],[])
14.773 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14.774 +])
14.775 +m4trace:m4/libtool.m4:270: -1- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE],
14.776 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
14.777 + [AC_DIVERT_PUSH(NOTICE)])
14.778 +$1
14.779 +AC_DIVERT_POP
14.780 +])
14.781 +m4trace:m4/libtool.m4:283: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([
14.782 +# Check that we are running under the correct shell.
14.783 +SHELL=${CONFIG_SHELL-/bin/sh}
14.784 +
14.785 +case X$ECHO in
14.786 +X*--fallback-echo)
14.787 + # Remove one level of quotation (which was required for Make).
14.788 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
14.789 + ;;
14.790 +esac
14.791 +
14.792 +echo=${ECHO-echo}
14.793 +if test "X[$]1" = X--no-reexec; then
14.794 + # Discard the --no-reexec flag, and continue.
14.795 + shift
14.796 +elif test "X[$]1" = X--fallback-echo; then
14.797 + # Avoid inline document here, it may be left over
14.798 + :
14.799 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
14.800 + # Yippee, $echo works!
14.801 + :
14.802 +else
14.803 + # Restart under the correct shell.
14.804 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
14.805 +fi
14.806 +
14.807 +if test "X[$]1" = X--fallback-echo; then
14.808 + # used as fallback echo
14.809 + shift
14.810 + cat <<EOF
14.811 +[$]*
14.812 +EOF
14.813 + exit 0
14.814 +fi
14.815 +
14.816 +# The HP-UX ksh and POSIX shell print the target directory to stdout
14.817 +# if CDPATH is set.
14.818 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
14.819 +
14.820 +if test -z "$ECHO"; then
14.821 +if test "X${echo_test_string+set}" != Xset; then
14.822 +# find a string as large as possible, as long as the shell can cope with it
14.823 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
14.824 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
14.825 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
14.826 + echo_test_string="`eval $cmd`" &&
14.827 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
14.828 + then
14.829 + break
14.830 + fi
14.831 + done
14.832 +fi
14.833 +
14.834 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
14.835 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
14.836 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.837 + :
14.838 +else
14.839 + # The Solaris, AIX, and Digital Unix default echo programs unquote
14.840 + # backslashes. This makes it impossible to quote backslashes using
14.841 + # echo "$something" | sed 's/\\/\\\\/g'
14.842 + #
14.843 + # So, first we look for a working echo in the user's PATH.
14.844 +
14.845 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14.846 + for dir in $PATH /usr/ucb; do
14.847 + IFS="$lt_save_ifs"
14.848 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
14.849 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
14.850 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
14.851 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.852 + echo="$dir/echo"
14.853 + break
14.854 + fi
14.855 + done
14.856 + IFS="$lt_save_ifs"
14.857 +
14.858 + if test "X$echo" = Xecho; then
14.859 + # We didn't find a better echo, so look for alternatives.
14.860 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
14.861 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
14.862 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.863 + # This shell has a builtin print -r that does the trick.
14.864 + echo='print -r'
14.865 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
14.866 + test "X$CONFIG_SHELL" != X/bin/ksh; then
14.867 + # If we have ksh, try running configure again with it.
14.868 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14.869 + export ORIGINAL_CONFIG_SHELL
14.870 + CONFIG_SHELL=/bin/ksh
14.871 + export CONFIG_SHELL
14.872 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
14.873 + else
14.874 + # Try using printf.
14.875 + echo='printf %s\n'
14.876 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
14.877 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
14.878 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.879 + # Cool, printf works
14.880 + :
14.881 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
14.882 + test "X$echo_testing_string" = 'X\t' &&
14.883 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
14.884 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.885 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
14.886 + export CONFIG_SHELL
14.887 + SHELL="$CONFIG_SHELL"
14.888 + export SHELL
14.889 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
14.890 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
14.891 + test "X$echo_testing_string" = 'X\t' &&
14.892 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
14.893 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.894 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
14.895 + else
14.896 + # maybe with a smaller string...
14.897 + prev=:
14.898 +
14.899 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
14.900 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
14.901 + then
14.902 + break
14.903 + fi
14.904 + prev="$cmd"
14.905 + done
14.906 +
14.907 + if test "$prev" != 'sed 50q "[$]0"'; then
14.908 + echo_test_string=`eval $prev`
14.909 + export echo_test_string
14.910 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
14.911 + else
14.912 + # Oops. We lost completely, so just stick with echo.
14.913 + echo=echo
14.914 + fi
14.915 + fi
14.916 + fi
14.917 + fi
14.918 +fi
14.919 +fi
14.920 +
14.921 +# Copy echo and quote the copy suitably for passing to libtool from
14.922 +# the Makefile, instead of quoting the original, which is used later.
14.923 +ECHO=$echo
14.924 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
14.925 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
14.926 +fi
14.927 +
14.928 +AC_SUBST(ECHO)
14.929 +])])
14.930 +m4trace:m4/libtool.m4:437: -1- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock],
14.931 + [AC_HELP_STRING([--disable-libtool-lock],
14.932 + [avoid locking (might break parallel builds)])])
14.933 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14.934 +
14.935 +# Some flags need to be propagated to the compiler or linker for good
14.936 +# libtool support.
14.937 +case $host in
14.938 +ia64-*-hpux*)
14.939 + # Find out which ABI we are using.
14.940 + echo 'int i;' > conftest.$ac_ext
14.941 + if AC_TRY_EVAL(ac_compile); then
14.942 + case `/usr/bin/file conftest.$ac_objext` in
14.943 + *ELF-32*)
14.944 + HPUX_IA64_MODE="32"
14.945 + ;;
14.946 + *ELF-64*)
14.947 + HPUX_IA64_MODE="64"
14.948 + ;;
14.949 + esac
14.950 + fi
14.951 + rm -rf conftest*
14.952 + ;;
14.953 +*-*-irix6*)
14.954 + # Find out which ABI we are using.
14.955 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
14.956 + if AC_TRY_EVAL(ac_compile); then
14.957 + if test "$lt_cv_prog_gnu_ld" = yes; then
14.958 + case `/usr/bin/file conftest.$ac_objext` in
14.959 + *32-bit*)
14.960 + LD="${LD-ld} -melf32bsmip"
14.961 + ;;
14.962 + *N32*)
14.963 + LD="${LD-ld} -melf32bmipn32"
14.964 + ;;
14.965 + *64-bit*)
14.966 + LD="${LD-ld} -melf64bmip"
14.967 + ;;
14.968 + esac
14.969 + else
14.970 + case `/usr/bin/file conftest.$ac_objext` in
14.971 + *32-bit*)
14.972 + LD="${LD-ld} -32"
14.973 + ;;
14.974 + *N32*)
14.975 + LD="${LD-ld} -n32"
14.976 + ;;
14.977 + *64-bit*)
14.978 + LD="${LD-ld} -64"
14.979 + ;;
14.980 + esac
14.981 + fi
14.982 + fi
14.983 + rm -rf conftest*
14.984 + ;;
14.985 +
14.986 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14.987 + # Find out which ABI we are using.
14.988 + echo 'int i;' > conftest.$ac_ext
14.989 + if AC_TRY_EVAL(ac_compile); then
14.990 + case "`/usr/bin/file conftest.o`" in
14.991 + *32-bit*)
14.992 + case $host in
14.993 + x86_64-*linux*)
14.994 + LD="${LD-ld} -m elf_i386"
14.995 + ;;
14.996 + ppc64-*linux*|powerpc64-*linux*)
14.997 + LD="${LD-ld} -m elf32ppclinux"
14.998 + ;;
14.999 + s390x-*linux*)
14.1000 + LD="${LD-ld} -m elf_s390"
14.1001 + ;;
14.1002 + sparc64-*linux*)
14.1003 + LD="${LD-ld} -m elf32_sparc"
14.1004 + ;;
14.1005 + esac
14.1006 + ;;
14.1007 + *64-bit*)
14.1008 + case $host in
14.1009 + x86_64-*linux*)
14.1010 + LD="${LD-ld} -m elf_x86_64"
14.1011 + ;;
14.1012 + ppc*-*linux*|powerpc*-*linux*)
14.1013 + LD="${LD-ld} -m elf64ppc"
14.1014 + ;;
14.1015 + s390*-*linux*)
14.1016 + LD="${LD-ld} -m elf64_s390"
14.1017 + ;;
14.1018 + sparc*-*linux*)
14.1019 + LD="${LD-ld} -m elf64_sparc"
14.1020 + ;;
14.1021 + esac
14.1022 + ;;
14.1023 + esac
14.1024 + fi
14.1025 + rm -rf conftest*
14.1026 + ;;
14.1027 +
14.1028 +*-*-sco3.2v5*)
14.1029 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
14.1030 + SAVE_CFLAGS="$CFLAGS"
14.1031 + CFLAGS="$CFLAGS -belf"
14.1032 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
14.1033 + [AC_LANG_PUSH(C)
14.1034 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
14.1035 + AC_LANG_POP])
14.1036 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14.1037 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
14.1038 + CFLAGS="$SAVE_CFLAGS"
14.1039 + fi
14.1040 + ;;
14.1041 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
14.1042 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
14.1043 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
14.1044 + AC_CHECK_TOOL(AS, as, false)
14.1045 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
14.1046 + ;;
14.1047 + ])
14.1048 +esac
14.1049 +
14.1050 +need_locks="$enable_libtool_lock"
14.1051 +
14.1052 +])
14.1053 +m4trace:m4/libtool.m4:567: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])
14.1054 +AC_CACHE_CHECK([$1], [$2],
14.1055 + [$2=no
14.1056 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
14.1057 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14.1058 + lt_compiler_flag="$3"
14.1059 + # Insert the option either (1) after the last *FLAGS variable, or
14.1060 + # (2) before a word containing "conftest.", or (3) at the end.
14.1061 + # Note that $ac_compile itself does not contain backslashes and begins
14.1062 + # with a dollar sign (not a hyphen), so the echo should work correctly.
14.1063 + # The option is referenced via a variable to avoid confusing sed.
14.1064 + lt_compile=`echo "$ac_compile" | $SED \
14.1065 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14.1066 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
14.1067 + -e 's:$: $lt_compiler_flag:'`
14.1068 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
14.1069 + (eval "$lt_compile" 2>conftest.err)
14.1070 + ac_status=$?
14.1071 + cat conftest.err >&AS_MESSAGE_LOG_FD
14.1072 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
14.1073 + if (exit $ac_status) && test -s "$ac_outfile"; then
14.1074 + # The compiler can only warn and ignore the option if not recognized
14.1075 + # So say no if there are warnings
14.1076 + if test ! -s conftest.err; then
14.1077 + $2=yes
14.1078 + fi
14.1079 + fi
14.1080 + $rm conftest*
14.1081 +])
14.1082 +
14.1083 +if test x"[$]$2" = xyes; then
14.1084 + ifelse([$5], , :, [$5])
14.1085 +else
14.1086 + ifelse([$6], , :, [$6])
14.1087 +fi
14.1088 +])
14.1089 +m4trace:m4/libtool.m4:610: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_CACHE_CHECK([$1], [$2],
14.1090 + [$2=no
14.1091 + save_LDFLAGS="$LDFLAGS"
14.1092 + LDFLAGS="$LDFLAGS $3"
14.1093 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
14.1094 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14.1095 + # The compiler can only warn and ignore the option if not recognized
14.1096 + # So say no if there are warnings
14.1097 + if test -s conftest.err; then
14.1098 + # Append any errors to the config.log.
14.1099 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
14.1100 + else
14.1101 + $2=yes
14.1102 + fi
14.1103 + fi
14.1104 + $rm conftest*
14.1105 + LDFLAGS="$save_LDFLAGS"
14.1106 +])
14.1107 +
14.1108 +if test x"[$]$2" = xyes; then
14.1109 + ifelse([$4], , :, [$4])
14.1110 +else
14.1111 + ifelse([$5], , :, [$5])
14.1112 +fi
14.1113 +])
14.1114 +m4trace:m4/libtool.m4:640: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments
14.1115 +AC_MSG_CHECKING([the maximum length of command line arguments])
14.1116 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
14.1117 + i=0
14.1118 + teststring="ABCD"
14.1119 +
14.1120 + case $build_os in
14.1121 + msdosdjgpp*)
14.1122 + # On DJGPP, this test can blow up pretty badly due to problems in libc
14.1123 + # (any single argument exceeding 2000 bytes causes a buffer overrun
14.1124 + # during glob expansion). Even if it were fixed, the result of this
14.1125 + # check would be larger than it should be.
14.1126 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
14.1127 + ;;
14.1128 +
14.1129 + gnu*)
14.1130 + # Under GNU Hurd, this test is not required because there is
14.1131 + # no limit to the length of command line arguments.
14.1132 + # Libtool will interpret -1 as no limit whatsoever
14.1133 + lt_cv_sys_max_cmd_len=-1;
14.1134 + ;;
14.1135 +
14.1136 + cygwin* | mingw*)
14.1137 + # On Win9x/ME, this test blows up -- it succeeds, but takes
14.1138 + # about 5 minutes as the teststring grows exponentially.
14.1139 + # Worse, since 9x/ME are not pre-emptively multitasking,
14.1140 + # you end up with a "frozen" computer, even though with patience
14.1141 + # the test eventually succeeds (with a max line length of 256k).
14.1142 + # Instead, let's just punt: use the minimum linelength reported by
14.1143 + # all of the supported platforms: 8192 (on NT/2K/XP).
14.1144 + lt_cv_sys_max_cmd_len=8192;
14.1145 + ;;
14.1146 +
14.1147 + amigaos*)
14.1148 + # On AmigaOS with pdksh, this test takes hours, literally.
14.1149 + # So we just punt and use a minimum line length of 8192.
14.1150 + lt_cv_sys_max_cmd_len=8192;
14.1151 + ;;
14.1152 +
14.1153 + *)
14.1154 + # If test is not a shell built-in, we'll probably end up computing a
14.1155 + # maximum length that is only half of the actual maximum length, but
14.1156 + # we can't tell.
14.1157 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
14.1158 + = "XX$teststring") >/dev/null 2>&1 &&
14.1159 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
14.1160 + lt_cv_sys_max_cmd_len=$new_result &&
14.1161 + test $i != 17 # 1/2 MB should be enough
14.1162 + do
14.1163 + i=`expr $i + 1`
14.1164 + teststring=$teststring$teststring
14.1165 + done
14.1166 + teststring=
14.1167 + # Add a significant safety factor because C++ compilers can tack on massive
14.1168 + # amounts of additional arguments before passing them to the linker.
14.1169 + # It appears as though 1/2 is a usable value.
14.1170 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
14.1171 + ;;
14.1172 + esac
14.1173 +])
14.1174 +if test -n $lt_cv_sys_max_cmd_len ; then
14.1175 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
14.1176 +else
14.1177 + AC_MSG_RESULT(none)
14.1178 +fi
14.1179 +])
14.1180 +m4trace:m4/libtool.m4:711: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl
14.1181 +])
14.1182 +m4trace:m4/libtool.m4:719: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
14.1183 +if test "$cross_compiling" = yes; then :
14.1184 + [$4]
14.1185 +else
14.1186 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14.1187 + lt_status=$lt_dlunknown
14.1188 + cat > conftest.$ac_ext <<EOF
14.1189 +[#line __oline__ "configure"
14.1190 +#include "confdefs.h"
14.1191 +
14.1192 +#if HAVE_DLFCN_H
14.1193 +#include <dlfcn.h>
14.1194 +#endif
14.1195 +
14.1196 +#include <stdio.h>
14.1197 +
14.1198 +#ifdef RTLD_GLOBAL
14.1199 +# define LT_DLGLOBAL RTLD_GLOBAL
14.1200 +#else
14.1201 +# ifdef DL_GLOBAL
14.1202 +# define LT_DLGLOBAL DL_GLOBAL
14.1203 +# else
14.1204 +# define LT_DLGLOBAL 0
14.1205 +# endif
14.1206 +#endif
14.1207 +
14.1208 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14.1209 + find out it does not work in some platform. */
14.1210 +#ifndef LT_DLLAZY_OR_NOW
14.1211 +# ifdef RTLD_LAZY
14.1212 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
14.1213 +# else
14.1214 +# ifdef DL_LAZY
14.1215 +# define LT_DLLAZY_OR_NOW DL_LAZY
14.1216 +# else
14.1217 +# ifdef RTLD_NOW
14.1218 +# define LT_DLLAZY_OR_NOW RTLD_NOW
14.1219 +# else
14.1220 +# ifdef DL_NOW
14.1221 +# define LT_DLLAZY_OR_NOW DL_NOW
14.1222 +# else
14.1223 +# define LT_DLLAZY_OR_NOW 0
14.1224 +# endif
14.1225 +# endif
14.1226 +# endif
14.1227 +# endif
14.1228 +#endif
14.1229 +
14.1230 +#ifdef __cplusplus
14.1231 +extern "C" void exit (int);
14.1232 +#endif
14.1233 +
14.1234 +void fnord() { int i=42;}
14.1235 +int main ()
14.1236 +{
14.1237 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14.1238 + int status = $lt_dlunknown;
14.1239 +
14.1240 + if (self)
14.1241 + {
14.1242 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14.1243 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14.1244 + /* dlclose (self); */
14.1245 + }
14.1246 +
14.1247 + exit (status);
14.1248 +}]
14.1249 +EOF
14.1250 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
14.1251 + (./conftest; exit; ) 2>/dev/null
14.1252 + lt_status=$?
14.1253 + case x$lt_status in
14.1254 + x$lt_dlno_uscore) $1 ;;
14.1255 + x$lt_dlneed_uscore) $2 ;;
14.1256 + x$lt_unknown|x*) $3 ;;
14.1257 + esac
14.1258 + else :
14.1259 + # compilation failed
14.1260 + $3
14.1261 + fi
14.1262 +fi
14.1263 +rm -fr conftest*
14.1264 +])
14.1265 +m4trace:m4/libtool.m4:807: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
14.1266 +if test "x$enable_dlopen" != xyes; then
14.1267 + enable_dlopen=unknown
14.1268 + enable_dlopen_self=unknown
14.1269 + enable_dlopen_self_static=unknown
14.1270 +else
14.1271 + lt_cv_dlopen=no
14.1272 + lt_cv_dlopen_libs=
14.1273 +
14.1274 + case $host_os in
14.1275 + beos*)
14.1276 + lt_cv_dlopen="load_add_on"
14.1277 + lt_cv_dlopen_libs=
14.1278 + lt_cv_dlopen_self=yes
14.1279 + ;;
14.1280 +
14.1281 + mingw* | pw32*)
14.1282 + lt_cv_dlopen="LoadLibrary"
14.1283 + lt_cv_dlopen_libs=
14.1284 + ;;
14.1285 +
14.1286 + cygwin*)
14.1287 + lt_cv_dlopen="dlopen"
14.1288 + lt_cv_dlopen_libs=
14.1289 + ;;
14.1290 +
14.1291 + darwin*)
14.1292 + # if libdl is installed we need to link against it
14.1293 + AC_CHECK_LIB([dl], [dlopen],
14.1294 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
14.1295 + lt_cv_dlopen="dyld"
14.1296 + lt_cv_dlopen_libs=
14.1297 + lt_cv_dlopen_self=yes
14.1298 + ])
14.1299 + ;;
14.1300 +
14.1301 + *)
14.1302 + AC_CHECK_FUNC([shl_load],
14.1303 + [lt_cv_dlopen="shl_load"],
14.1304 + [AC_CHECK_LIB([dld], [shl_load],
14.1305 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
14.1306 + [AC_CHECK_FUNC([dlopen],
14.1307 + [lt_cv_dlopen="dlopen"],
14.1308 + [AC_CHECK_LIB([dl], [dlopen],
14.1309 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
14.1310 + [AC_CHECK_LIB([svld], [dlopen],
14.1311 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
14.1312 + [AC_CHECK_LIB([dld], [dld_link],
14.1313 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
14.1314 + ])
14.1315 + ])
14.1316 + ])
14.1317 + ])
14.1318 + ])
14.1319 + ;;
14.1320 + esac
14.1321 +
14.1322 + if test "x$lt_cv_dlopen" != xno; then
14.1323 + enable_dlopen=yes
14.1324 + else
14.1325 + enable_dlopen=no
14.1326 + fi
14.1327 +
14.1328 + case $lt_cv_dlopen in
14.1329 + dlopen)
14.1330 + save_CPPFLAGS="$CPPFLAGS"
14.1331 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14.1332 +
14.1333 + save_LDFLAGS="$LDFLAGS"
14.1334 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14.1335 +
14.1336 + save_LIBS="$LIBS"
14.1337 + LIBS="$lt_cv_dlopen_libs $LIBS"
14.1338 +
14.1339 + AC_CACHE_CHECK([whether a program can dlopen itself],
14.1340 + lt_cv_dlopen_self, [dnl
14.1341 + _LT_AC_TRY_DLOPEN_SELF(
14.1342 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
14.1343 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
14.1344 + ])
14.1345 +
14.1346 + if test "x$lt_cv_dlopen_self" = xyes; then
14.1347 + LDFLAGS="$LDFLAGS $link_static_flag"
14.1348 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
14.1349 + lt_cv_dlopen_self_static, [dnl
14.1350 + _LT_AC_TRY_DLOPEN_SELF(
14.1351 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
14.1352 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
14.1353 + ])
14.1354 + fi
14.1355 +
14.1356 + CPPFLAGS="$save_CPPFLAGS"
14.1357 + LDFLAGS="$save_LDFLAGS"
14.1358 + LIBS="$save_LIBS"
14.1359 + ;;
14.1360 + esac
14.1361 +
14.1362 + case $lt_cv_dlopen_self in
14.1363 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14.1364 + *) enable_dlopen_self=unknown ;;
14.1365 + esac
14.1366 +
14.1367 + case $lt_cv_dlopen_self_static in
14.1368 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14.1369 + *) enable_dlopen_self_static=unknown ;;
14.1370 + esac
14.1371 +fi
14.1372 +])
14.1373 +m4trace:m4/libtool.m4:921: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
14.1374 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
14.1375 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
14.1376 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
14.1377 + $rm -r conftest 2>/dev/null
14.1378 + mkdir conftest
14.1379 + cd conftest
14.1380 + mkdir out
14.1381 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14.1382 +
14.1383 + lt_compiler_flag="-o out/conftest2.$ac_objext"
14.1384 + # Insert the option either (1) after the last *FLAGS variable, or
14.1385 + # (2) before a word containing "conftest.", or (3) at the end.
14.1386 + # Note that $ac_compile itself does not contain backslashes and begins
14.1387 + # with a dollar sign (not a hyphen), so the echo should work correctly.
14.1388 + lt_compile=`echo "$ac_compile" | $SED \
14.1389 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14.1390 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
14.1391 + -e 's:$: $lt_compiler_flag:'`
14.1392 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
14.1393 + (eval "$lt_compile" 2>out/conftest.err)
14.1394 + ac_status=$?
14.1395 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
14.1396 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
14.1397 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
14.1398 + then
14.1399 + # The compiler can only warn and ignore the option if not recognized
14.1400 + # So say no if there are warnings
14.1401 + if test ! -s out/conftest.err; then
14.1402 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
14.1403 + fi
14.1404 + fi
14.1405 + chmod u+w .
14.1406 + $rm conftest*
14.1407 + # SGI C++ compiler will create directory out/ii_files/ for
14.1408 + # template instantiation
14.1409 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14.1410 + $rm out/* && rmdir out
14.1411 + cd ..
14.1412 + rmdir conftest
14.1413 + $rm conftest*
14.1414 +])
14.1415 +])
14.1416 +m4trace:m4/libtool.m4:970: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl
14.1417 +
14.1418 +hard_links="nottested"
14.1419 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
14.1420 + # do not overwrite the value of need_locks provided by the user
14.1421 + AC_MSG_CHECKING([if we can lock with hard links])
14.1422 + hard_links=yes
14.1423 + $rm conftest*
14.1424 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
14.1425 + touch conftest.a
14.1426 + ln conftest.a conftest.b 2>&5 || hard_links=no
14.1427 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
14.1428 + AC_MSG_RESULT([$hard_links])
14.1429 + if test "$hard_links" = no; then
14.1430 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
14.1431 + need_locks=warn
14.1432 + fi
14.1433 +else
14.1434 + need_locks=no
14.1435 +fi
14.1436 +])
14.1437 +m4trace:m4/libtool.m4:996: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
14.1438 +[rm -f .libs 2>/dev/null
14.1439 +mkdir .libs 2>/dev/null
14.1440 +if test -d .libs; then
14.1441 + lt_cv_objdir=.libs
14.1442 +else
14.1443 + # MS-DOS does not allow filenames that begin with a dot.
14.1444 + lt_cv_objdir=_libs
14.1445 +fi
14.1446 +rmdir .libs 2>/dev/null])
14.1447 +objdir=$lt_cv_objdir
14.1448 +])
14.1449 +m4trace:m4/libtool.m4:1014: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs])
14.1450 +_LT_AC_TAGVAR(hardcode_action, $1)=
14.1451 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
14.1452 + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
14.1453 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
14.1454 +
14.1455 + # We can hardcode non-existant directories.
14.1456 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
14.1457 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
14.1458 + # have to relink, otherwise we might link with an installed library
14.1459 + # when we should be linking with a yet-to-be-installed one
14.1460 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
14.1461 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
14.1462 + # Linking always hardcodes the temporary library directory.
14.1463 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
14.1464 + else
14.1465 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
14.1466 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
14.1467 + fi
14.1468 +else
14.1469 + # We cannot hardcode anything, or else we can only hardcode existing
14.1470 + # directories.
14.1471 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
14.1472 +fi
14.1473 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
14.1474 +
14.1475 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
14.1476 + # Fast installation is not supported
14.1477 + enable_fast_install=no
14.1478 +elif test "$shlibpath_overrides_runpath" = yes ||
14.1479 + test "$enable_shared" = no; then
14.1480 + # Fast installation is not necessary
14.1481 + enable_fast_install=needless
14.1482 +fi
14.1483 +])
14.1484 +m4trace:m4/libtool.m4:1054: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib=
14.1485 +old_striplib=
14.1486 +AC_MSG_CHECKING([whether stripping libraries is possible])
14.1487 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14.1488 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14.1489 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14.1490 + AC_MSG_RESULT([yes])
14.1491 +else
14.1492 +# FIXME - insert some real tests, host_os isn't really good enough
14.1493 + case $host_os in
14.1494 + darwin*)
14.1495 + if test -n "$STRIP" ; then
14.1496 + striplib="$STRIP -x"
14.1497 + AC_MSG_RESULT([yes])
14.1498 + else
14.1499 + AC_MSG_RESULT([no])
14.1500 +fi
14.1501 + ;;
14.1502 + *)
14.1503 + AC_MSG_RESULT([no])
14.1504 + ;;
14.1505 + esac
14.1506 +fi
14.1507 +])
14.1508 +m4trace:m4/libtool.m4:1084: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_MSG_CHECKING([dynamic linker characteristics])
14.1509 +library_names_spec=
14.1510 +libname_spec='lib$name'
14.1511 +soname_spec=
14.1512 +shrext_cmds=".so"
14.1513 +postinstall_cmds=
14.1514 +postuninstall_cmds=
14.1515 +finish_cmds=
14.1516 +finish_eval=
14.1517 +shlibpath_var=
14.1518 +shlibpath_overrides_runpath=unknown
14.1519 +version_type=none
14.1520 +dynamic_linker="$host_os ld.so"
14.1521 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
14.1522 +if test "$GCC" = yes; then
14.1523 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14.1524 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14.1525 + # if the path contains ";" then we assume it to be the separator
14.1526 + # otherwise default to the standard path separator (i.e. ":") - it is
14.1527 + # assumed that no part of a normal pathname contains ";" but that should
14.1528 + # okay in the real world where ";" in dirpaths is itself problematic.
14.1529 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14.1530 + else
14.1531 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14.1532 + fi
14.1533 +else
14.1534 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14.1535 +fi
14.1536 +need_lib_prefix=unknown
14.1537 +hardcode_into_libs=no
14.1538 +
14.1539 +# when you set need_version to no, make sure it does not cause -set_version
14.1540 +# flags to be left without arguments
14.1541 +need_version=unknown
14.1542 +
14.1543 +case $host_os in
14.1544 +aix3*)
14.1545 + version_type=linux
14.1546 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14.1547 + shlibpath_var=LIBPATH
14.1548 +
14.1549 + # AIX 3 has no versioning support, so we append a major version to the name.
14.1550 + soname_spec='${libname}${release}${shared_ext}$major'
14.1551 + ;;
14.1552 +
14.1553 +aix4* | aix5*)
14.1554 + version_type=linux
14.1555 + need_lib_prefix=no
14.1556 + need_version=no
14.1557 + hardcode_into_libs=yes
14.1558 + if test "$host_cpu" = ia64; then
14.1559 + # AIX 5 supports IA64
14.1560 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14.1561 + shlibpath_var=LD_LIBRARY_PATH
14.1562 + else
14.1563 + # With GCC up to 2.95.x, collect2 would create an import file
14.1564 + # for dependence libraries. The import file would start with
14.1565 + # the line `#! .'. This would cause the generated library to
14.1566 + # depend on `.', always an invalid library. This was fixed in
14.1567 + # development snapshots of GCC prior to 3.0.
14.1568 + case $host_os in
14.1569 + aix4 | aix4.[[01]] | aix4.[[01]].*)
14.1570 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14.1571 + echo ' yes '
14.1572 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14.1573 + :
14.1574 + else
14.1575 + can_build_shared=no
14.1576 + fi
14.1577 + ;;
14.1578 + esac
14.1579 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14.1580 + # soname into executable. Probably we can add versioning support to
14.1581 + # collect2, so additional links can be useful in future.
14.1582 + if test "$aix_use_runtimelinking" = yes; then
14.1583 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14.1584 + # instead of lib<name>.a to let people know that these are not
14.1585 + # typical AIX shared libraries.
14.1586 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1587 + else
14.1588 + # We preserve .a as extension for shared libraries through AIX4.2
14.1589 + # and later when we are not doing run time linking.
14.1590 + library_names_spec='${libname}${release}.a $libname.a'
14.1591 + soname_spec='${libname}${release}${shared_ext}$major'
14.1592 + fi
14.1593 + shlibpath_var=LIBPATH
14.1594 + fi
14.1595 + ;;
14.1596 +
14.1597 +amigaos*)
14.1598 + library_names_spec='$libname.ixlibrary $libname.a'
14.1599 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
14.1600 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14.1601 + ;;
14.1602 +
14.1603 +beos*)
14.1604 + library_names_spec='${libname}${shared_ext}'
14.1605 + dynamic_linker="$host_os ld.so"
14.1606 + shlibpath_var=LIBRARY_PATH
14.1607 + ;;
14.1608 +
14.1609 +bsdi4*)
14.1610 + version_type=linux
14.1611 + need_version=no
14.1612 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1613 + soname_spec='${libname}${release}${shared_ext}$major'
14.1614 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14.1615 + shlibpath_var=LD_LIBRARY_PATH
14.1616 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14.1617 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14.1618 + # the default ld.so.conf also contains /usr/contrib/lib and
14.1619 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14.1620 + # libtool to hard-code these into programs
14.1621 + ;;
14.1622 +
14.1623 +cygwin* | mingw* | pw32*)
14.1624 + version_type=windows
14.1625 + shrext_cmds=".dll"
14.1626 + need_version=no
14.1627 + need_lib_prefix=no
14.1628 +
14.1629 + case $GCC,$host_os in
14.1630 + yes,cygwin* | yes,mingw* | yes,pw32*)
14.1631 + library_names_spec='$libname.dll.a'
14.1632 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
14.1633 + postinstall_cmds='base_file=`basename \${file}`~
14.1634 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14.1635 + dldir=$destdir/`dirname \$dlpath`~
14.1636 + test -d \$dldir || mkdir -p \$dldir~
14.1637 + $install_prog $dir/$dlname \$dldir/$dlname'
14.1638 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14.1639 + dlpath=$dir/\$dldll~
14.1640 + $rm \$dlpath'
14.1641 + shlibpath_overrides_runpath=yes
14.1642 +
14.1643 + case $host_os in
14.1644 + cygwin*)
14.1645 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14.1646 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
14.1647 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14.1648 + ;;
14.1649 + mingw*)
14.1650 + # MinGW DLLs use traditional 'lib' prefix
14.1651 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
14.1652 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14.1653 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
14.1654 + # It is most probably a Windows format PATH printed by
14.1655 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
14.1656 + # path with ; separators, and with drive letters. We can handle the
14.1657 + # drive letters (cygwin fileutils understands them), so leave them,
14.1658 + # especially as we might pass files found there to a mingw objdump,
14.1659 + # which wouldn't understand a cygwinified path. Ahh.
14.1660 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14.1661 + else
14.1662 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14.1663 + fi
14.1664 + ;;
14.1665 + pw32*)
14.1666 + # pw32 DLLs use 'pw' prefix rather than 'lib'
14.1667 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14.1668 + ;;
14.1669 + esac
14.1670 + ;;
14.1671 +
14.1672 + *)
14.1673 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
14.1674 + ;;
14.1675 + esac
14.1676 + dynamic_linker='Win32 ld.exe'
14.1677 + # FIXME: first we should search . and the directory the executable is in
14.1678 + shlibpath_var=PATH
14.1679 + ;;
14.1680 +
14.1681 +darwin* | rhapsody*)
14.1682 + dynamic_linker="$host_os dyld"
14.1683 + version_type=darwin
14.1684 + need_lib_prefix=no
14.1685 + need_version=no
14.1686 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14.1687 + soname_spec='${libname}${release}${major}$shared_ext'
14.1688 + shlibpath_overrides_runpath=yes
14.1689 + shlibpath_var=DYLD_LIBRARY_PATH
14.1690 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14.1691 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14.1692 + if test "$GCC" = yes; then
14.1693 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14.1694 + else
14.1695 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14.1696 + fi
14.1697 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14.1698 + ;;
14.1699 +
14.1700 +dgux*)
14.1701 + version_type=linux
14.1702 + need_lib_prefix=no
14.1703 + need_version=no
14.1704 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14.1705 + soname_spec='${libname}${release}${shared_ext}$major'
14.1706 + shlibpath_var=LD_LIBRARY_PATH
14.1707 + ;;
14.1708 +
14.1709 +freebsd1*)
14.1710 + dynamic_linker=no
14.1711 + ;;
14.1712 +
14.1713 +kfreebsd*-gnu)
14.1714 + version_type=linux
14.1715 + need_lib_prefix=no
14.1716 + need_version=no
14.1717 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14.1718 + soname_spec='${libname}${release}${shared_ext}$major'
14.1719 + shlibpath_var=LD_LIBRARY_PATH
14.1720 + shlibpath_overrides_runpath=no
14.1721 + hardcode_into_libs=yes
14.1722 + dynamic_linker='GNU ld.so'
14.1723 + ;;
14.1724 +
14.1725 +freebsd*)
14.1726 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14.1727 + version_type=freebsd-$objformat
14.1728 + case $version_type in
14.1729 + freebsd-elf*)
14.1730 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14.1731 + need_version=no
14.1732 + need_lib_prefix=no
14.1733 + ;;
14.1734 + freebsd-*)
14.1735 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14.1736 + need_version=yes
14.1737 + ;;
14.1738 + esac
14.1739 + shlibpath_var=LD_LIBRARY_PATH
14.1740 + case $host_os in
14.1741 + freebsd2*)
14.1742 + shlibpath_overrides_runpath=yes
14.1743 + ;;
14.1744 + freebsd3.[01]* | freebsdelf3.[01]*)
14.1745 + shlibpath_overrides_runpath=yes
14.1746 + hardcode_into_libs=yes
14.1747 + ;;
14.1748 + *) # from 3.2 on
14.1749 + shlibpath_overrides_runpath=no
14.1750 + hardcode_into_libs=yes
14.1751 + ;;
14.1752 + esac
14.1753 + ;;
14.1754 +
14.1755 +gnu*)
14.1756 + version_type=linux
14.1757 + need_lib_prefix=no
14.1758 + need_version=no
14.1759 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14.1760 + soname_spec='${libname}${release}${shared_ext}$major'
14.1761 + shlibpath_var=LD_LIBRARY_PATH
14.1762 + hardcode_into_libs=yes
14.1763 + ;;
14.1764 +
14.1765 +hpux9* | hpux10* | hpux11*)
14.1766 + # Give a soname corresponding to the major version so that dld.sl refuses to
14.1767 + # link against other versions.
14.1768 + version_type=sunos
14.1769 + need_lib_prefix=no
14.1770 + need_version=no
14.1771 + case "$host_cpu" in
14.1772 + ia64*)
14.1773 + shrext_cmds='.so'
14.1774 + hardcode_into_libs=yes
14.1775 + dynamic_linker="$host_os dld.so"
14.1776 + shlibpath_var=LD_LIBRARY_PATH
14.1777 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14.1778 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1779 + soname_spec='${libname}${release}${shared_ext}$major'
14.1780 + if test "X$HPUX_IA64_MODE" = X32; then
14.1781 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14.1782 + else
14.1783 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14.1784 + fi
14.1785 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14.1786 + ;;
14.1787 + hppa*64*)
14.1788 + shrext_cmds='.sl'
14.1789 + hardcode_into_libs=yes
14.1790 + dynamic_linker="$host_os dld.sl"
14.1791 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14.1792 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14.1793 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1794 + soname_spec='${libname}${release}${shared_ext}$major'
14.1795 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14.1796 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14.1797 + ;;
14.1798 + *)
14.1799 + shrext_cmds='.sl'
14.1800 + dynamic_linker="$host_os dld.sl"
14.1801 + shlibpath_var=SHLIB_PATH
14.1802 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14.1803 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1804 + soname_spec='${libname}${release}${shared_ext}$major'
14.1805 + ;;
14.1806 + esac
14.1807 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
14.1808 + postinstall_cmds='chmod 555 $lib'
14.1809 + ;;
14.1810 +
14.1811 +irix5* | irix6* | nonstopux*)
14.1812 + case $host_os in
14.1813 + nonstopux*) version_type=nonstopux ;;
14.1814 + *)
14.1815 + if test "$lt_cv_prog_gnu_ld" = yes; then
14.1816 + version_type=linux
14.1817 + else
14.1818 + version_type=irix
14.1819 + fi ;;
14.1820 + esac
14.1821 + need_lib_prefix=no
14.1822 + need_version=no
14.1823 + soname_spec='${libname}${release}${shared_ext}$major'
14.1824 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14.1825 + case $host_os in
14.1826 + irix5* | nonstopux*)
14.1827 + libsuff= shlibsuff=
14.1828 + ;;
14.1829 + *)
14.1830 + case $LD in # libtool.m4 will add one of these switches to LD
14.1831 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14.1832 + libsuff= shlibsuff= libmagic=32-bit;;
14.1833 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14.1834 + libsuff=32 shlibsuff=N32 libmagic=N32;;
14.1835 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14.1836 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
14.1837 + *) libsuff= shlibsuff= libmagic=never-match;;
14.1838 + esac
14.1839 + ;;
14.1840 + esac
14.1841 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14.1842 + shlibpath_overrides_runpath=no
14.1843 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14.1844 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14.1845 + hardcode_into_libs=yes
14.1846 + ;;
14.1847 +
14.1848 +# No shared lib support for Linux oldld, aout, or coff.
14.1849 +linux*oldld* | linux*aout* | linux*coff*)
14.1850 + dynamic_linker=no
14.1851 + ;;
14.1852 +
14.1853 +# This must be Linux ELF.
14.1854 +linux*)
14.1855 + version_type=linux
14.1856 + need_lib_prefix=no
14.1857 + need_version=no
14.1858 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1859 + soname_spec='${libname}${release}${shared_ext}$major'
14.1860 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14.1861 + shlibpath_var=LD_LIBRARY_PATH
14.1862 + shlibpath_overrides_runpath=no
14.1863 + # This implies no fast_install, which is unacceptable.
14.1864 + # Some rework will be needed to allow for fast_install
14.1865 + # before this can be enabled.
14.1866 + hardcode_into_libs=yes
14.1867 +
14.1868 + # Append ld.so.conf contents to the search path
14.1869 + if test -f /etc/ld.so.conf; then
14.1870 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
14.1871 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14.1872 + fi
14.1873 +
14.1874 + # We used to test for /lib/ld.so.1 and disable shared libraries on
14.1875 + # powerpc, because MkLinux only supported shared libraries with the
14.1876 + # GNU dynamic linker. Since this was broken with cross compilers,
14.1877 + # most powerpc-linux boxes support dynamic linking these days and
14.1878 + # people can always --disable-shared, the test was removed, and we
14.1879 + # assume the GNU/Linux dynamic linker is in use.
14.1880 + dynamic_linker='GNU/Linux ld.so'
14.1881 + ;;
14.1882 +
14.1883 +netbsdelf*-gnu)
14.1884 + version_type=linux
14.1885 + need_lib_prefix=no
14.1886 + need_version=no
14.1887 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14.1888 + soname_spec='${libname}${release}${shared_ext}$major'
14.1889 + shlibpath_var=LD_LIBRARY_PATH
14.1890 + shlibpath_overrides_runpath=no
14.1891 + hardcode_into_libs=yes
14.1892 + dynamic_linker='NetBSD ld.elf_so'
14.1893 + ;;
14.1894 +
14.1895 +knetbsd*-gnu)
14.1896 + version_type=linux
14.1897 + need_lib_prefix=no
14.1898 + need_version=no
14.1899 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14.1900 + soname_spec='${libname}${release}${shared_ext}$major'
14.1901 + shlibpath_var=LD_LIBRARY_PATH
14.1902 + shlibpath_overrides_runpath=no
14.1903 + hardcode_into_libs=yes
14.1904 + dynamic_linker='GNU ld.so'
14.1905 + ;;
14.1906 +
14.1907 +netbsd*)
14.1908 + version_type=sunos
14.1909 + need_lib_prefix=no
14.1910 + need_version=no
14.1911 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14.1912 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14.1913 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14.1914 + dynamic_linker='NetBSD (a.out) ld.so'
14.1915 + else
14.1916 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14.1917 + soname_spec='${libname}${release}${shared_ext}$major'
14.1918 + dynamic_linker='NetBSD ld.elf_so'
14.1919 + fi
14.1920 + shlibpath_var=LD_LIBRARY_PATH
14.1921 + shlibpath_overrides_runpath=yes
14.1922 + hardcode_into_libs=yes
14.1923 + ;;
14.1924 +
14.1925 +newsos6)
14.1926 + version_type=linux
14.1927 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1928 + shlibpath_var=LD_LIBRARY_PATH
14.1929 + shlibpath_overrides_runpath=yes
14.1930 + ;;
14.1931 +
14.1932 +nto-qnx*)
14.1933 + version_type=linux
14.1934 + need_lib_prefix=no
14.1935 + need_version=no
14.1936 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1937 + soname_spec='${libname}${release}${shared_ext}$major'
14.1938 + shlibpath_var=LD_LIBRARY_PATH
14.1939 + shlibpath_overrides_runpath=yes
14.1940 + ;;
14.1941 +
14.1942 +openbsd*)
14.1943 + version_type=sunos
14.1944 + need_lib_prefix=no
14.1945 + need_version=yes
14.1946 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14.1947 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14.1948 + shlibpath_var=LD_LIBRARY_PATH
14.1949 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14.1950 + case $host_os in
14.1951 + openbsd2.[[89]] | openbsd2.[[89]].*)
14.1952 + shlibpath_overrides_runpath=no
14.1953 + ;;
14.1954 + *)
14.1955 + shlibpath_overrides_runpath=yes
14.1956 + ;;
14.1957 + esac
14.1958 + else
14.1959 + shlibpath_overrides_runpath=yes
14.1960 + fi
14.1961 + ;;
14.1962 +
14.1963 +os2*)
14.1964 + libname_spec='$name'
14.1965 + shrext_cmds=".dll"
14.1966 + need_lib_prefix=no
14.1967 + library_names_spec='$libname${shared_ext} $libname.a'
14.1968 + dynamic_linker='OS/2 ld.exe'
14.1969 + shlibpath_var=LIBPATH
14.1970 + ;;
14.1971 +
14.1972 +osf3* | osf4* | osf5*)
14.1973 + version_type=osf
14.1974 + need_lib_prefix=no
14.1975 + need_version=no
14.1976 + soname_spec='${libname}${release}${shared_ext}$major'
14.1977 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1978 + shlibpath_var=LD_LIBRARY_PATH
14.1979 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14.1980 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14.1981 + ;;
14.1982 +
14.1983 +sco3.2v5*)
14.1984 + version_type=osf
14.1985 + soname_spec='${libname}${release}${shared_ext}$major'
14.1986 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1987 + shlibpath_var=LD_LIBRARY_PATH
14.1988 + ;;
14.1989 +
14.1990 +solaris*)
14.1991 + version_type=linux
14.1992 + need_lib_prefix=no
14.1993 + need_version=no
14.1994 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.1995 + soname_spec='${libname}${release}${shared_ext}$major'
14.1996 + shlibpath_var=LD_LIBRARY_PATH
14.1997 + shlibpath_overrides_runpath=yes
14.1998 + hardcode_into_libs=yes
14.1999 + # ldd complains unless libraries are executable
14.2000 + postinstall_cmds='chmod +x $lib'
14.2001 + ;;
14.2002 +
14.2003 +sunos4*)
14.2004 + version_type=sunos
14.2005 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14.2006 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14.2007 + shlibpath_var=LD_LIBRARY_PATH
14.2008 + shlibpath_overrides_runpath=yes
14.2009 + if test "$with_gnu_ld" = yes; then
14.2010 + need_lib_prefix=no
14.2011 + fi
14.2012 + need_version=yes
14.2013 + ;;
14.2014 +
14.2015 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14.2016 + version_type=linux
14.2017 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.2018 + soname_spec='${libname}${release}${shared_ext}$major'
14.2019 + shlibpath_var=LD_LIBRARY_PATH
14.2020 + case $host_vendor in
14.2021 + sni)
14.2022 + shlibpath_overrides_runpath=no
14.2023 + need_lib_prefix=no
14.2024 + export_dynamic_flag_spec='${wl}-Blargedynsym'
14.2025 + runpath_var=LD_RUN_PATH
14.2026 + ;;
14.2027 + siemens)
14.2028 + need_lib_prefix=no
14.2029 + ;;
14.2030 + motorola)
14.2031 + need_lib_prefix=no
14.2032 + need_version=no
14.2033 + shlibpath_overrides_runpath=no
14.2034 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14.2035 + ;;
14.2036 + esac
14.2037 + ;;
14.2038 +
14.2039 +sysv4*MP*)
14.2040 + if test -d /usr/nec ;then
14.2041 + version_type=linux
14.2042 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14.2043 + soname_spec='$libname${shared_ext}.$major'
14.2044 + shlibpath_var=LD_LIBRARY_PATH
14.2045 + fi
14.2046 + ;;
14.2047 +
14.2048 +uts4*)
14.2049 + version_type=linux
14.2050 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14.2051 + soname_spec='${libname}${release}${shared_ext}$major'
14.2052 + shlibpath_var=LD_LIBRARY_PATH
14.2053 + ;;
14.2054 +
14.2055 +*)
14.2056 + dynamic_linker=no
14.2057 + ;;
14.2058 +esac
14.2059 +AC_MSG_RESULT([$dynamic_linker])
14.2060 +test "$dynamic_linker" = no && can_build_shared=no
14.2061 +])
14.2062 +m4trace:m4/libtool.m4:1643: -1- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_ARG_WITH([tags],
14.2063 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
14.2064 + [include additional configurations @<:@automatic@:>@])],
14.2065 + [tagnames="$withval"])
14.2066 +
14.2067 +if test -f "$ltmain" && test -n "$tagnames"; then
14.2068 + if test ! -f "${ofile}"; then
14.2069 + AC_MSG_WARN([output file `$ofile' does not exist])
14.2070 + fi
14.2071 +
14.2072 + if test -z "$LTCC"; then
14.2073 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
14.2074 + if test -z "$LTCC"; then
14.2075 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
14.2076 + else
14.2077 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
14.2078 + fi
14.2079 + fi
14.2080 +
14.2081 + # Extract list of available tagged configurations in $ofile.
14.2082 + # Note that this assumes the entire list is on one line.
14.2083 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
14.2084 +
14.2085 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14.2086 + for tagname in $tagnames; do
14.2087 + IFS="$lt_save_ifs"
14.2088 + # Check whether tagname contains only valid characters
14.2089 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
14.2090 + "") ;;
14.2091 + *) AC_MSG_ERROR([invalid tag name: $tagname])
14.2092 + ;;
14.2093 + esac
14.2094 +
14.2095 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
14.2096 + then
14.2097 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
14.2098 + fi
14.2099 +
14.2100 + # Update the list of available tags.
14.2101 + if test -n "$tagname"; then
14.2102 + echo appending configuration tag \"$tagname\" to $ofile
14.2103 +
14.2104 + case $tagname in
14.2105 + CXX)
14.2106 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
14.2107 + AC_LIBTOOL_LANG_CXX_CONFIG
14.2108 + else
14.2109 + tagname=""
14.2110 + fi
14.2111 + ;;
14.2112 +
14.2113 + F77)
14.2114 + if test -n "$F77" && test "X$F77" != "Xno"; then
14.2115 + AC_LIBTOOL_LANG_F77_CONFIG
14.2116 + else
14.2117 + tagname=""
14.2118 + fi
14.2119 + ;;
14.2120 +
14.2121 + GCJ)
14.2122 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14.2123 + AC_LIBTOOL_LANG_GCJ_CONFIG
14.2124 + else
14.2125 + tagname=""
14.2126 + fi
14.2127 + ;;
14.2128 +
14.2129 + RC)
14.2130 + AC_LIBTOOL_LANG_RC_CONFIG
14.2131 + ;;
14.2132 +
14.2133 + *)
14.2134 + AC_MSG_ERROR([Unsupported tag name: $tagname])
14.2135 + ;;
14.2136 + esac
14.2137 +
14.2138 + # Append the new tag name to the list of available tags.
14.2139 + if test -n "$tagname" ; then
14.2140 + available_tags="$available_tags $tagname"
14.2141 + fi
14.2142 + fi
14.2143 + done
14.2144 + IFS="$lt_save_ifs"
14.2145 +
14.2146 + # Now substitute the updated list of available tags.
14.2147 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
14.2148 + mv "${ofile}T" "$ofile"
14.2149 + chmod +x "$ofile"
14.2150 + else
14.2151 + rm -f "${ofile}T"
14.2152 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
14.2153 + fi
14.2154 +fi
14.2155 +])
14.2156 +m4trace:m4/libtool.m4:1743: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
14.2157 +])
14.2158 +m4trace:m4/libtool.m4:1751: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
14.2159 +])
14.2160 +m4trace:m4/libtool.m4:1760: -1- AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
14.2161 +AC_ARG_ENABLE([shared],
14.2162 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
14.2163 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
14.2164 + [p=${PACKAGE-default}
14.2165 + case $enableval in
14.2166 + yes) enable_shared=yes ;;
14.2167 + no) enable_shared=no ;;
14.2168 + *)
14.2169 + enable_shared=no
14.2170 + # Look at the argument we got. We use all the common list separators.
14.2171 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14.2172 + for pkg in $enableval; do
14.2173 + IFS="$lt_save_ifs"
14.2174 + if test "X$pkg" = "X$p"; then
14.2175 + enable_shared=yes
14.2176 + fi
14.2177 + done
14.2178 + IFS="$lt_save_ifs"
14.2179 + ;;
14.2180 + esac],
14.2181 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
14.2182 +])
14.2183 +m4trace:m4/libtool.m4:1789: -1- AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
14.2184 +AC_ENABLE_SHARED(no)
14.2185 +])
14.2186 +m4trace:m4/libtool.m4:1799: -1- AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
14.2187 +AC_ARG_ENABLE([static],
14.2188 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
14.2189 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
14.2190 + [p=${PACKAGE-default}
14.2191 + case $enableval in
14.2192 + yes) enable_static=yes ;;
14.2193 + no) enable_static=no ;;
14.2194 + *)
14.2195 + enable_static=no
14.2196 + # Look at the argument we got. We use all the common list separators.
14.2197 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14.2198 + for pkg in $enableval; do
14.2199 + IFS="$lt_save_ifs"
14.2200 + if test "X$pkg" = "X$p"; then
14.2201 + enable_static=yes
14.2202 + fi
14.2203 + done
14.2204 + IFS="$lt_save_ifs"
14.2205 + ;;
14.2206 + esac],
14.2207 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
14.2208 +])
14.2209 +m4trace:m4/libtool.m4:1828: -1- AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
14.2210 +AC_ENABLE_STATIC(no)
14.2211 +])
14.2212 +m4trace:m4/libtool.m4:1838: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
14.2213 +AC_ARG_ENABLE([fast-install],
14.2214 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
14.2215 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
14.2216 + [p=${PACKAGE-default}
14.2217 + case $enableval in
14.2218 + yes) enable_fast_install=yes ;;
14.2219 + no) enable_fast_install=no ;;
14.2220 + *)
14.2221 + enable_fast_install=no
14.2222 + # Look at the argument we got. We use all the common list separators.
14.2223 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14.2224 + for pkg in $enableval; do
14.2225 + IFS="$lt_save_ifs"
14.2226 + if test "X$pkg" = "X$p"; then
14.2227 + enable_fast_install=yes
14.2228 + fi
14.2229 + done
14.2230 + IFS="$lt_save_ifs"
14.2231 + ;;
14.2232 + esac],
14.2233 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
14.2234 +])
14.2235 +m4trace:m4/libtool.m4:1867: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
14.2236 +AC_ENABLE_FAST_INSTALL(no)
14.2237 +])
14.2238 +m4trace:m4/libtool.m4:1877: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
14.2239 +pic_mode=ifelse($#,1,$1,default)
14.2240 +])
14.2241 +m4trace:m4/libtool.m4:1901: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl
14.2242 +AC_MSG_CHECKING([for $1])
14.2243 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
14.2244 +[case $MAGIC_CMD in
14.2245 +[[\\/*] | ?:[\\/]*])
14.2246 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14.2247 + ;;
14.2248 +*)
14.2249 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14.2250 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14.2251 +dnl $ac_dummy forces splitting on constant user-supplied paths.
14.2252 +dnl POSIX.2 word splitting is done only on the output of word expansions,
14.2253 +dnl not every word. This closes a longstanding sh security hole.
14.2254 + ac_dummy="ifelse([$2], , $PATH, [$2])"
14.2255 + for ac_dir in $ac_dummy; do
14.2256 + IFS="$lt_save_ifs"
14.2257 + test -z "$ac_dir" && ac_dir=.
14.2258 + if test -f $ac_dir/$1; then
14.2259 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
14.2260 + if test -n "$file_magic_test_file"; then
14.2261 + case $deplibs_check_method in
14.2262 + "file_magic "*)
14.2263 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
14.2264 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14.2265 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14.2266 + $EGREP "$file_magic_regex" > /dev/null; then
14.2267 + :
14.2268 + else
14.2269 + cat <<EOF 1>&2
14.2270 +
14.2271 +*** Warning: the command libtool uses to detect shared libraries,
14.2272 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14.2273 +*** The result is that libtool may fail to recognize shared libraries
14.2274 +*** as such. This will affect the creation of libtool libraries that
14.2275 +*** depend on shared libraries, but programs linked with such libtool
14.2276 +*** libraries will work regardless of this problem. Nevertheless, you
14.2277 +*** may want to report the problem to your system manager and/or to
14.2278 +*** bug-libtool@gnu.org
14.2279 +
14.2280 +EOF
14.2281 + fi ;;
14.2282 + esac
14.2283 + fi
14.2284 + break
14.2285 + fi
14.2286 + done
14.2287 + IFS="$lt_save_ifs"
14.2288 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14.2289 + ;;
14.2290 +esac])
14.2291 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14.2292 +if test -n "$MAGIC_CMD"; then
14.2293 + AC_MSG_RESULT($MAGIC_CMD)
14.2294 +else
14.2295 + AC_MSG_RESULT(no)
14.2296 +fi
14.2297 +])
14.2298 +m4trace:m4/libtool.m4:1964: -1- AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
14.2299 +if test -z "$lt_cv_path_MAGIC_CMD"; then
14.2300 + if test -n "$ac_tool_prefix"; then
14.2301 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
14.2302 + else
14.2303 + MAGIC_CMD=:
14.2304 + fi
14.2305 +fi
14.2306 +])
14.2307 +m4trace:m4/libtool.m4:1979: -1- AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld],
14.2308 + [AC_HELP_STRING([--with-gnu-ld],
14.2309 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
14.2310 + [test "$withval" = no || with_gnu_ld=yes],
14.2311 + [with_gnu_ld=no])
14.2312 +AC_REQUIRE([LT_AC_PROG_SED])dnl
14.2313 +AC_REQUIRE([AC_PROG_CC])dnl
14.2314 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
14.2315 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
14.2316 +ac_prog=ld
14.2317 +if test "$GCC" = yes; then
14.2318 + # Check if gcc -print-prog-name=ld gives a path.
14.2319 + AC_MSG_CHECKING([for ld used by $CC])
14.2320 + case $host in
14.2321 + *-*-mingw*)
14.2322 + # gcc leaves a trailing carriage return which upsets mingw
14.2323 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14.2324 + *)
14.2325 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14.2326 + esac
14.2327 + case $ac_prog in
14.2328 + # Accept absolute paths.
14.2329 + [[\\/]]* | ?:[[\\/]]*)
14.2330 + re_direlt='/[[^/]][[^/]]*/\.\./'
14.2331 + # Canonicalize the pathname of ld
14.2332 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
14.2333 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14.2334 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
14.2335 + done
14.2336 + test -z "$LD" && LD="$ac_prog"
14.2337 + ;;
14.2338 + "")
14.2339 + # If it fails, then pretend we aren't using GCC.
14.2340 + ac_prog=ld
14.2341 + ;;
14.2342 + *)
14.2343 + # If it is relative, then search for the first ld in PATH.
14.2344 + with_gnu_ld=unknown
14.2345 + ;;
14.2346 + esac
14.2347 +elif test "$with_gnu_ld" = yes; then
14.2348 + AC_MSG_CHECKING([for GNU ld])
14.2349 +else
14.2350 + AC_MSG_CHECKING([for non-GNU ld])
14.2351 +fi
14.2352 +AC_CACHE_VAL(lt_cv_path_LD,
14.2353 +[if test -z "$LD"; then
14.2354 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14.2355 + for ac_dir in $PATH; do
14.2356 + IFS="$lt_save_ifs"
14.2357 + test -z "$ac_dir" && ac_dir=.
14.2358 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14.2359 + lt_cv_path_LD="$ac_dir/$ac_prog"
14.2360 + # Check to see if the program is GNU ld. I'd rather use --version,
14.2361 + # but apparently some GNU ld's only accept -v.
14.2362 + # Break only if it was the GNU/non-GNU ld that we prefer.
14.2363 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14.2364 + *GNU* | *'with BFD'*)
14.2365 + test "$with_gnu_ld" != no && break
14.2366 + ;;
14.2367 + *)
14.2368 + test "$with_gnu_ld" != yes && break
14.2369 + ;;
14.2370 + esac
14.2371 + fi
14.2372 + done
14.2373 + IFS="$lt_save_ifs"
14.2374 +else
14.2375 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
14.2376 +fi])
14.2377 +LD="$lt_cv_path_LD"
14.2378 +if test -n "$LD"; then
14.2379 + AC_MSG_RESULT($LD)
14.2380 +else
14.2381 + AC_MSG_RESULT(no)
14.2382 +fi
14.2383 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
14.2384 +AC_PROG_LD_GNU
14.2385 +])
14.2386 +m4trace:m4/libtool.m4:2063: -1- AC_DEFUN([AC_PROG_LD_GNU], [AC_REQUIRE([AC_PROG_EGREP])dnl
14.2387 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
14.2388 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
14.2389 +case `$LD -v 2>&1 </dev/null` in
14.2390 +*GNU* | *'with BFD'*)
14.2391 + lt_cv_prog_gnu_ld=yes
14.2392 + ;;
14.2393 +*)
14.2394 + lt_cv_prog_gnu_ld=no
14.2395 + ;;
14.2396 +esac])
14.2397 +with_gnu_ld=$lt_cv_prog_gnu_ld
14.2398 +])
14.2399 +m4trace:m4/libtool.m4:2083: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], [AC_CACHE_CHECK([for $LD option to reload object files],
14.2400 + lt_cv_ld_reload_flag,
14.2401 + [lt_cv_ld_reload_flag='-r'])
14.2402 +reload_flag=$lt_cv_ld_reload_flag
14.2403 +case $reload_flag in
14.2404 +"" | " "*) ;;
14.2405 +*) reload_flag=" $reload_flag" ;;
14.2406 +esac
14.2407 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
14.2408 +])
14.2409 +m4trace:m4/libtool.m4:2100: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], [AC_CACHE_CHECK([how to recognise dependent libraries],
14.2410 +lt_cv_deplibs_check_method,
14.2411 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
14.2412 +lt_cv_file_magic_test_file=
14.2413 +lt_cv_deplibs_check_method='unknown'
14.2414 +# Need to set the preceding variable on all platforms that support
14.2415 +# interlibrary dependencies.
14.2416 +# 'none' -- dependencies not supported.
14.2417 +# `unknown' -- same as none, but documents that we really don't know.
14.2418 +# 'pass_all' -- all dependencies passed with no checks.
14.2419 +# 'test_compile' -- check by making test program.
14.2420 +# 'file_magic [[regex]]' -- check by looking for files in library path
14.2421 +# which responds to the $file_magic_cmd with a given extended regex.
14.2422 +# If you have `file' or equivalent on your system and you're not sure
14.2423 +# whether `pass_all' will *always* work, you probably want this one.
14.2424 +
14.2425 +case $host_os in
14.2426 +aix4* | aix5*)
14.2427 + lt_cv_deplibs_check_method=pass_all
14.2428 + ;;
14.2429 +
14.2430 +beos*)
14.2431 + lt_cv_deplibs_check_method=pass_all
14.2432 + ;;
14.2433 +
14.2434 +bsdi4*)
14.2435 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
14.2436 + lt_cv_file_magic_cmd='/usr/bin/file -L'
14.2437 + lt_cv_file_magic_test_file=/shlib/libc.so
14.2438 + ;;
14.2439 +
14.2440 +cygwin*)
14.2441 + # func_win32_libid is a shell function defined in ltmain.sh
14.2442 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
14.2443 + lt_cv_file_magic_cmd='func_win32_libid'
14.2444 + ;;
14.2445 +
14.2446 +mingw* | pw32*)
14.2447 + # Base MSYS/MinGW do not provide the 'file' command needed by
14.2448 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
14.2449 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
14.2450 + lt_cv_file_magic_cmd='$OBJDUMP -f'
14.2451 + ;;
14.2452 +
14.2453 +darwin* | rhapsody*)
14.2454 + lt_cv_deplibs_check_method=pass_all
14.2455 + ;;
14.2456 +
14.2457 +freebsd* | kfreebsd*-gnu)
14.2458 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
14.2459 + case $host_cpu in
14.2460 + i*86 )
14.2461 + # Not sure whether the presence of OpenBSD here was a mistake.
14.2462 + # Let's accept both of them until this is cleared up.
14.2463 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
14.2464 + lt_cv_file_magic_cmd=/usr/bin/file
14.2465 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
14.2466 + ;;
14.2467 + esac
14.2468 + else
14.2469 + lt_cv_deplibs_check_method=pass_all
14.2470 + fi
14.2471 + ;;
14.2472 +
14.2473 +gnu*)
14.2474 + lt_cv_deplibs_check_method=pass_all
14.2475 + ;;
14.2476 +
14.2477 +hpux10.20* | hpux11*)
14.2478 + lt_cv_file_magic_cmd=/usr/bin/file
14.2479 + case "$host_cpu" in
14.2480 + ia64*)
14.2481 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
14.2482 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
14.2483 + ;;
14.2484 + hppa*64*)
14.2485 + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
14.2486 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
14.2487 + ;;
14.2488 + *)
14.2489 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
14.2490 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
14.2491 + ;;
14.2492 + esac
14.2493 + ;;
14.2494 +
14.2495 +irix5* | irix6* | nonstopux*)
14.2496 + case $LD in
14.2497 + *-32|*"-32 ") libmagic=32-bit;;
14.2498 + *-n32|*"-n32 ") libmagic=N32;;
14.2499 + *-64|*"-64 ") libmagic=64-bit;;
14.2500 + *) libmagic=never-match;;
14.2501 + esac
14.2502 + lt_cv_deplibs_check_method=pass_all
14.2503 + ;;
14.2504 +
14.2505 +# This must be Linux ELF.
14.2506 +linux*)
14.2507 + lt_cv_deplibs_check_method=pass_all
14.2508 + ;;
14.2509 +
14.2510 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14.2511 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
14.2512 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
14.2513 + else
14.2514 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
14.2515 + fi
14.2516 + ;;
14.2517 +
14.2518 +newos6*)
14.2519 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
14.2520 + lt_cv_file_magic_cmd=/usr/bin/file
14.2521 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
14.2522 + ;;
14.2523 +
14.2524 +nto-qnx*)
14.2525 + lt_cv_deplibs_check_method=unknown
14.2526 + ;;
14.2527 +
14.2528 +openbsd*)
14.2529 + lt_cv_file_magic_cmd=/usr/bin/file
14.2530 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
14.2531 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14.2532 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
14.2533 + else
14.2534 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
14.2535 + fi
14.2536 + ;;
14.2537 +
14.2538 +osf3* | osf4* | osf5*)
14.2539 + lt_cv_deplibs_check_method=pass_all
14.2540 + ;;
14.2541 +
14.2542 +sco3.2v5*)
14.2543 + lt_cv_deplibs_check_method=pass_all
14.2544 + ;;
14.2545 +
14.2546 +solaris*)
14.2547 + lt_cv_deplibs_check_method=pass_all
14.2548 + ;;
14.2549 +
14.2550 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14.2551 + case $host_vendor in
14.2552 + motorola)
14.2553 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
14.2554 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
14.2555 + ;;
14.2556 + ncr)
14.2557 + lt_cv_deplibs_check_method=pass_all
14.2558 + ;;
14.2559 + sequent)
14.2560 + lt_cv_file_magic_cmd='/bin/file'
14.2561 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
14.2562 + ;;
14.2563 + sni)
14.2564 + lt_cv_file_magic_cmd='/bin/file'
14.2565 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
14.2566 + lt_cv_file_magic_test_file=/lib/libc.so
14.2567 + ;;
14.2568 + siemens)
14.2569 + lt_cv_deplibs_check_method=pass_all
14.2570 + ;;
14.2571 + esac
14.2572 + ;;
14.2573 +
14.2574 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
14.2575 + lt_cv_deplibs_check_method=pass_all
14.2576 + ;;
14.2577 +esac
14.2578 +])
14.2579 +file_magic_cmd=$lt_cv_file_magic_cmd
14.2580 +deplibs_check_method=$lt_cv_deplibs_check_method
14.2581 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
14.2582 +])
14.2583 +m4trace:m4/libtool.m4:2280: -1- AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
14.2584 +[if test -n "$NM"; then
14.2585 + # Let the user override the test.
14.2586 + lt_cv_path_NM="$NM"
14.2587 +else
14.2588 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14.2589 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
14.2590 + IFS="$lt_save_ifs"
14.2591 + test -z "$ac_dir" && ac_dir=.
14.2592 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
14.2593 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
14.2594 + # Check to see if the nm accepts a BSD-compat flag.
14.2595 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
14.2596 + # nm: unknown option "B" ignored
14.2597 + # Tru64's nm complains that /dev/null is an invalid object file
14.2598 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
14.2599 + */dev/null* | *'Invalid file or object type'*)
14.2600 + lt_cv_path_NM="$tmp_nm -B"
14.2601 + break
14.2602 + ;;
14.2603 + *)
14.2604 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
14.2605 + */dev/null*)
14.2606 + lt_cv_path_NM="$tmp_nm -p"
14.2607 + break
14.2608 + ;;
14.2609 + *)
14.2610 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
14.2611 + continue # so that we can try to find one that supports BSD flags
14.2612 + ;;
14.2613 + esac
14.2614 + esac
14.2615 + fi
14.2616 + done
14.2617 + IFS="$lt_save_ifs"
14.2618 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
14.2619 +fi])
14.2620 +NM="$lt_cv_path_NM"
14.2621 +])
14.2622 +m4trace:m4/libtool.m4:2325: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
14.2623 +LIBM=
14.2624 +case $host in
14.2625 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
14.2626 + # These system don't have libm, or don't need it
14.2627 + ;;
14.2628 +*-ncr-sysv4.3*)
14.2629 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
14.2630 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
14.2631 + ;;
14.2632 +*)
14.2633 + AC_CHECK_LIB(m, cos, LIBM="-lm")
14.2634 + ;;
14.2635 +esac
14.2636 +])
14.2637 +m4trace:m4/libtool.m4:2354: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
14.2638 + case $enable_ltdl_convenience in
14.2639 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
14.2640 + "") enable_ltdl_convenience=yes
14.2641 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
14.2642 + esac
14.2643 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
14.2644 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
14.2645 + # For backwards non-gettext consistent compatibility...
14.2646 + INCLTDL="$LTDLINCL"
14.2647 +])
14.2648 +m4trace:m4/libtool.m4:2380: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
14.2649 + AC_CHECK_LIB(ltdl, lt_dlinit,
14.2650 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
14.2651 + [if test x"$enable_ltdl_install" = xno; then
14.2652 + AC_MSG_WARN([libltdl not installed, but installation disabled])
14.2653 + else
14.2654 + enable_ltdl_install=yes
14.2655 + fi
14.2656 + ])
14.2657 + if test x"$enable_ltdl_install" = x"yes"; then
14.2658 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
14.2659 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
14.2660 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
14.2661 + else
14.2662 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
14.2663 + LIBLTDL="-lltdl"
14.2664 + LTDLINCL=
14.2665 + fi
14.2666 + # For backwards non-gettext consistent compatibility...
14.2667 + INCLTDL="$LTDLINCL"
14.2668 +])
14.2669 +m4trace:m4/libtool.m4:2407: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX])
14.2670 +])
14.2671 +m4trace:m4/libtool.m4:2414: -1- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX])
14.2672 +AC_REQUIRE([AC_PROG_CXXCPP])
14.2673 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
14.2674 +])
14.2675 +m4trace:m4/libtool.m4:2424: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77])
14.2676 +])
14.2677 +m4trace:m4/libtool.m4:2431: -1- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77])
14.2678 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
14.2679 +])
14.2680 +m4trace:m4/libtool.m4:2440: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ])
14.2681 +])
14.2682 +m4trace:m4/libtool.m4:2447: -1- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
14.2683 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
14.2684 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
14.2685 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
14.2686 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
14.2687 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
14.2688 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
14.2689 +])
14.2690 +m4trace:m4/libtool.m4:2461: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC])
14.2691 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
14.2692 +])
14.2693 +m4trace:m4/libtool.m4:2472: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
14.2694 +m4trace:m4/libtool.m4:2473: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC"
14.2695 +AC_LANG_PUSH(C)
14.2696 +
14.2697 +# Source file extension for C test sources.
14.2698 +ac_ext=c
14.2699 +
14.2700 +# Object file extension for compiled C test sources.
14.2701 +objext=o
14.2702 +_LT_AC_TAGVAR(objext, $1)=$objext
14.2703 +
14.2704 +# Code to be used in simple compile tests
14.2705 +lt_simple_compile_test_code="int some_variable = 0;\n"
14.2706 +
14.2707 +# Code to be used in simple link tests
14.2708 +lt_simple_link_test_code='int main(){return(0);}\n'
14.2709 +
14.2710 +_LT_AC_SYS_COMPILER
14.2711 +
14.2712 +#
14.2713 +# Check for any special shared library compilation flags.
14.2714 +#
14.2715 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
14.2716 +if test "$GCC" = no; then
14.2717 + case $host_os in
14.2718 + sco3.2v5*)
14.2719 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
14.2720 + ;;
14.2721 + esac
14.2722 +fi
14.2723 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
14.2724 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
14.2725 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
14.2726 + else
14.2727 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
14.2728 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
14.2729 + fi
14.2730 +fi
14.2731 +
14.2732 +
14.2733 +#
14.2734 +# Check to make sure the static flag actually works.
14.2735 +#
14.2736 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
14.2737 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
14.2738 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
14.2739 + [],
14.2740 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
14.2741 +
14.2742 +
14.2743 +## CAVEAT EMPTOR:
14.2744 +## There is no encapsulation within the following macros, do not change
14.2745 +## the running order or otherwise move them around unless you know exactly
14.2746 +## what you are doing...
14.2747 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
14.2748 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
14.2749 +AC_LIBTOOL_PROG_CC_C_O($1)
14.2750 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
14.2751 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
14.2752 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
14.2753 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
14.2754 +AC_LIBTOOL_SYS_LIB_STRIP
14.2755 +AC_LIBTOOL_DLOPEN_SELF($1)
14.2756 +
14.2757 +# Report which librarie types wil actually be built
14.2758 +AC_MSG_CHECKING([if libtool supports shared libraries])
14.2759 +AC_MSG_RESULT([$can_build_shared])
14.2760 +
14.2761 +AC_MSG_CHECKING([whether to build shared libraries])
14.2762 +test "$can_build_shared" = "no" && enable_shared=no
14.2763 +
14.2764 +# On AIX, shared libraries and static libraries use the same namespace, and
14.2765 +# are all built from PIC.
14.2766 +case "$host_os" in
14.2767 +aix3*)
14.2768 + test "$enable_shared" = yes && enable_static=no
14.2769 + if test -n "$RANLIB"; then
14.2770 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
14.2771 + postinstall_cmds='$RANLIB $lib'
14.2772 + fi
14.2773 + ;;
14.2774 +
14.2775 +aix4* | aix5*)
14.2776 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14.2777 + test "$enable_shared" = yes && enable_static=no
14.2778 + fi
14.2779 + ;;
14.2780 + darwin* | rhapsody*)
14.2781 + if test "$GCC" = yes; then
14.2782 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.2783 + case "$host_os" in
14.2784 + rhapsody* | darwin1.[[012]])
14.2785 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
14.2786 + ;;
14.2787 + *) # Darwin 1.3 on
14.2788 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14.2789 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
14.2790 + else
14.2791 + case ${MACOSX_DEPLOYMENT_TARGET} in
14.2792 + 10.[[012]])
14.2793 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
14.2794 + ;;
14.2795 + 10.*)
14.2796 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
14.2797 + ;;
14.2798 + esac
14.2799 + fi
14.2800 + ;;
14.2801 + esac
14.2802 + output_verbose_link_cmd='echo'
14.2803 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
14.2804 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14.2805 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14.2806 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.2807 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.2808 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.2809 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
14.2810 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
14.2811 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
14.2812 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.2813 + else
14.2814 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.2815 + fi
14.2816 + ;;
14.2817 +esac
14.2818 +AC_MSG_RESULT([$enable_shared])
14.2819 +
14.2820 +AC_MSG_CHECKING([whether to build static libraries])
14.2821 +# Make sure either enable_shared or enable_static is yes.
14.2822 +test "$enable_shared" = yes || enable_static=yes
14.2823 +AC_MSG_RESULT([$enable_static])
14.2824 +
14.2825 +AC_LIBTOOL_CONFIG($1)
14.2826 +
14.2827 +AC_LANG_POP
14.2828 +CC="$lt_save_CC"
14.2829 +])
14.2830 +m4trace:m4/libtool.m4:2617: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
14.2831 +m4trace:m4/libtool.m4:2618: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++)
14.2832 +AC_REQUIRE([AC_PROG_CXX])
14.2833 +AC_REQUIRE([AC_PROG_CXXCPP])
14.2834 +
14.2835 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.2836 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
14.2837 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
14.2838 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
14.2839 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
14.2840 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
14.2841 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
14.2842 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
14.2843 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
14.2844 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
14.2845 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
14.2846 +_LT_AC_TAGVAR(module_cmds, $1)=
14.2847 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
14.2848 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
14.2849 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
14.2850 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
14.2851 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14.2852 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
14.2853 +
14.2854 +# Dependencies to place before and after the object being linked:
14.2855 +_LT_AC_TAGVAR(predep_objects, $1)=
14.2856 +_LT_AC_TAGVAR(postdep_objects, $1)=
14.2857 +_LT_AC_TAGVAR(predeps, $1)=
14.2858 +_LT_AC_TAGVAR(postdeps, $1)=
14.2859 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
14.2860 +
14.2861 +# Source file extension for C++ test sources.
14.2862 +ac_ext=cc
14.2863 +
14.2864 +# Object file extension for compiled C++ test sources.
14.2865 +objext=o
14.2866 +_LT_AC_TAGVAR(objext, $1)=$objext
14.2867 +
14.2868 +# Code to be used in simple compile tests
14.2869 +lt_simple_compile_test_code="int some_variable = 0;\n"
14.2870 +
14.2871 +# Code to be used in simple link tests
14.2872 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
14.2873 +
14.2874 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14.2875 +_LT_AC_SYS_COMPILER
14.2876 +
14.2877 +# Allow CC to be a program name with arguments.
14.2878 +lt_save_CC=$CC
14.2879 +lt_save_LD=$LD
14.2880 +lt_save_GCC=$GCC
14.2881 +GCC=$GXX
14.2882 +lt_save_with_gnu_ld=$with_gnu_ld
14.2883 +lt_save_path_LD=$lt_cv_path_LD
14.2884 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14.2885 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14.2886 +else
14.2887 + unset lt_cv_prog_gnu_ld
14.2888 +fi
14.2889 +if test -n "${lt_cv_path_LDCXX+set}"; then
14.2890 + lt_cv_path_LD=$lt_cv_path_LDCXX
14.2891 +else
14.2892 + unset lt_cv_path_LD
14.2893 +fi
14.2894 +test -z "${LDCXX+set}" || LD=$LDCXX
14.2895 +CC=${CXX-"c++"}
14.2896 +compiler=$CC
14.2897 +_LT_AC_TAGVAR(compiler, $1)=$CC
14.2898 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
14.2899 +
14.2900 +# We don't want -fno-exception wen compiling C++ code, so set the
14.2901 +# no_builtin_flag separately
14.2902 +if test "$GXX" = yes; then
14.2903 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
14.2904 +else
14.2905 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
14.2906 +fi
14.2907 +
14.2908 +if test "$GXX" = yes; then
14.2909 + # Set up default GNU C++ configuration
14.2910 +
14.2911 + AC_PROG_LD
14.2912 +
14.2913 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
14.2914 + # archiving commands below assume that GNU ld is being used.
14.2915 + if test "$with_gnu_ld" = yes; then
14.2916 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.2917 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14.2918 +
14.2919 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
14.2920 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
14.2921 +
14.2922 + # If archive_cmds runs LD, not CC, wlarc should be empty
14.2923 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14.2924 + # investigate it a little bit more. (MM)
14.2925 + wlarc='${wl}'
14.2926 +
14.2927 + # ancient GNU ld didn't support --whole-archive et. al.
14.2928 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
14.2929 + grep 'no-whole-archive' > /dev/null; then
14.2930 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14.2931 + else
14.2932 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14.2933 + fi
14.2934 + else
14.2935 + with_gnu_ld=no
14.2936 + wlarc=
14.2937 +
14.2938 + # A generic and very simple default shared library creation
14.2939 + # command for GNU C++ for the case where it uses the native
14.2940 + # linker, instead of GNU ld. If possible, this setting should
14.2941 + # overridden to take advantage of the native linker features on
14.2942 + # the platform it is being used on.
14.2943 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14.2944 + fi
14.2945 +
14.2946 + # Commands to make compiler produce verbose output that lists
14.2947 + # what "hidden" libraries, object files and flags are used when
14.2948 + # linking a shared library.
14.2949 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14.2950 +
14.2951 +else
14.2952 + GXX=no
14.2953 + with_gnu_ld=no
14.2954 + wlarc=
14.2955 +fi
14.2956 +
14.2957 +# PORTME: fill in a description of your system's C++ link characteristics
14.2958 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
14.2959 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
14.2960 +case $host_os in
14.2961 + aix3*)
14.2962 + # FIXME: insert proper C++ library support
14.2963 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.2964 + ;;
14.2965 + aix4* | aix5*)
14.2966 + if test "$host_cpu" = ia64; then
14.2967 + # On IA64, the linker does run time linking by default, so we don't
14.2968 + # have to do anything special.
14.2969 + aix_use_runtimelinking=no
14.2970 + exp_sym_flag='-Bexport'
14.2971 + no_entry_flag=""
14.2972 + else
14.2973 + aix_use_runtimelinking=no
14.2974 +
14.2975 + # Test if we are trying to use run time linking or normal
14.2976 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14.2977 + # need to do runtime linking.
14.2978 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
14.2979 + for ld_flag in $LDFLAGS; do
14.2980 + case $ld_flag in
14.2981 + *-brtl*)
14.2982 + aix_use_runtimelinking=yes
14.2983 + break
14.2984 + ;;
14.2985 + esac
14.2986 + done
14.2987 + esac
14.2988 +
14.2989 + exp_sym_flag='-bexport'
14.2990 + no_entry_flag='-bnoentry'
14.2991 + fi
14.2992 +
14.2993 + # When large executables or shared objects are built, AIX ld can
14.2994 + # have problems creating the table of contents. If linking a library
14.2995 + # or program results in "error TOC overflow" add -mminimal-toc to
14.2996 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14.2997 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14.2998 +
14.2999 + _LT_AC_TAGVAR(archive_cmds, $1)=''
14.3000 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.3001 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
14.3002 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.3003 +
14.3004 + if test "$GXX" = yes; then
14.3005 + case $host_os in aix4.[012]|aix4.[012].*)
14.3006 + # We only want to do this on AIX 4.2 and lower, the check
14.3007 + # below for broken collect2 doesn't work under 4.3+
14.3008 + collect2name=`${CC} -print-prog-name=collect2`
14.3009 + if test -f "$collect2name" && \
14.3010 + strings "$collect2name" | grep resolve_lib_name >/dev/null
14.3011 + then
14.3012 + # We have reworked collect2
14.3013 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.3014 + else
14.3015 + # We have old collect2
14.3016 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
14.3017 + # It fails to find uninstalled libraries when the uninstalled
14.3018 + # path is not listed in the libpath. Setting hardcode_minus_L
14.3019 + # to unsupported forces relinking
14.3020 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.3021 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.3022 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
14.3023 + fi
14.3024 + esac
14.3025 + shared_flag='-shared'
14.3026 + else
14.3027 + # not using gcc
14.3028 + if test "$host_cpu" = ia64; then
14.3029 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14.3030 + # chokes on -Wl,-G. The following line is correct:
14.3031 + shared_flag='-G'
14.3032 + else
14.3033 + if test "$aix_use_runtimelinking" = yes; then
14.3034 + shared_flag='${wl}-G'
14.3035 + else
14.3036 + shared_flag='${wl}-bM:SRE'
14.3037 + fi
14.3038 + fi
14.3039 + fi
14.3040 +
14.3041 + # It seems that -bexpall does not export symbols beginning with
14.3042 + # underscore (_), so it is better to generate a list of symbols to export.
14.3043 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
14.3044 + if test "$aix_use_runtimelinking" = yes; then
14.3045 + # Warning - without using the other runtime loading flags (-brtl),
14.3046 + # -berok will link without error, but may produce a broken library.
14.3047 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
14.3048 + # Determine the default libpath from the value encoded in an empty executable.
14.3049 + _LT_AC_SYS_LIBPATH_AIX
14.3050 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
14.3051 +
14.3052 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14.3053 + else
14.3054 + if test "$host_cpu" = ia64; then
14.3055 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
14.3056 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
14.3057 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14.3058 + else
14.3059 + # Determine the default libpath from the value encoded in an empty executable.
14.3060 + _LT_AC_SYS_LIBPATH_AIX
14.3061 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
14.3062 + # Warning - without using the other run time loading flags,
14.3063 + # -berok will link without error, but may produce a broken library.
14.3064 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
14.3065 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
14.3066 + # -bexpall does not export symbols beginning with underscore (_)
14.3067 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
14.3068 + # Exported symbols can be pulled into shared objects from archives
14.3069 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
14.3070 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
14.3071 + # This is similar to how AIX traditionally builds it's shared libraries.
14.3072 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14.3073 + fi
14.3074 + fi
14.3075 + ;;
14.3076 + chorus*)
14.3077 + case $cc_basename in
14.3078 + *)
14.3079 + # FIXME: insert proper C++ library support
14.3080 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3081 + ;;
14.3082 + esac
14.3083 + ;;
14.3084 +
14.3085 + cygwin* | mingw* | pw32*)
14.3086 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
14.3087 + # as there is no search path for DLLs.
14.3088 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.3089 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14.3090 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
14.3091 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
14.3092 +
14.3093 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14.3094 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14.3095 + # If the export-symbols file already is a .def file (1st line
14.3096 + # is EXPORTS), use it as is; otherwise, prepend...
14.3097 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14.3098 + cp $export_symbols $output_objdir/$soname.def;
14.3099 + else
14.3100 + echo EXPORTS > $output_objdir/$soname.def;
14.3101 + cat $export_symbols >> $output_objdir/$soname.def;
14.3102 + fi~
14.3103 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14.3104 + else
14.3105 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3106 + fi
14.3107 + ;;
14.3108 +
14.3109 + darwin* | rhapsody*)
14.3110 + if test "$GXX" = yes; then
14.3111 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3112 + case "$host_os" in
14.3113 + rhapsody* | darwin1.[[012]])
14.3114 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
14.3115 + ;;
14.3116 + *) # Darwin 1.3 on
14.3117 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14.3118 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
14.3119 + else
14.3120 + case ${MACOSX_DEPLOYMENT_TARGET} in
14.3121 + 10.[[012]])
14.3122 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
14.3123 + ;;
14.3124 + 10.*)
14.3125 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
14.3126 + ;;
14.3127 + esac
14.3128 + fi
14.3129 + ;;
14.3130 + esac
14.3131 + lt_int_apple_cc_single_mod=no
14.3132 + output_verbose_link_cmd='echo'
14.3133 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14.3134 + lt_int_apple_cc_single_mod=yes
14.3135 + fi
14.3136 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14.3137 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14.3138 + else
14.3139 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14.3140 + fi
14.3141 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14.3142 +
14.3143 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14.3144 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14.3145 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.3146 + else
14.3147 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.3148 + fi
14.3149 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.3150 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.3151 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
14.3152 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
14.3153 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
14.3154 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.3155 + else
14.3156 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3157 + fi
14.3158 + ;;
14.3159 +
14.3160 + dgux*)
14.3161 + case $cc_basename in
14.3162 + ec++)
14.3163 + # FIXME: insert proper C++ library support
14.3164 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3165 + ;;
14.3166 + ghcx)
14.3167 + # Green Hills C++ Compiler
14.3168 + # FIXME: insert proper C++ library support
14.3169 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3170 + ;;
14.3171 + *)
14.3172 + # FIXME: insert proper C++ library support
14.3173 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3174 + ;;
14.3175 + esac
14.3176 + ;;
14.3177 + freebsd[12]*)
14.3178 + # C++ shared libraries reported to be fairly broken before switch to ELF
14.3179 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3180 + ;;
14.3181 + freebsd-elf*)
14.3182 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3183 + ;;
14.3184 + freebsd* | kfreebsd*-gnu)
14.3185 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14.3186 + # conventions
14.3187 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
14.3188 + ;;
14.3189 + gnu*)
14.3190 + ;;
14.3191 + hpux9*)
14.3192 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
14.3193 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3194 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
14.3195 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.3196 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
14.3197 + # but as the default
14.3198 + # location of the library.
14.3199 +
14.3200 + case $cc_basename in
14.3201 + CC)
14.3202 + # FIXME: insert proper C++ library support
14.3203 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3204 + ;;
14.3205 + aCC)
14.3206 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14.3207 + # Commands to make compiler produce verbose output that lists
14.3208 + # what "hidden" libraries, object files and flags are used when
14.3209 + # linking a shared library.
14.3210 + #
14.3211 + # There doesn't appear to be a way to prevent this compiler from
14.3212 + # explicitly linking system object files so we need to strip them
14.3213 + # from the output so that they don't get included in the library
14.3214 + # dependencies.
14.3215 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3216 + ;;
14.3217 + *)
14.3218 + if test "$GXX" = yes; then
14.3219 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14.3220 + else
14.3221 + # FIXME: insert proper C++ library support
14.3222 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3223 + fi
14.3224 + ;;
14.3225 + esac
14.3226 + ;;
14.3227 + hpux10*|hpux11*)
14.3228 + if test $with_gnu_ld = no; then
14.3229 + case "$host_cpu" in
14.3230 + hppa*64*)
14.3231 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
14.3232 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
14.3233 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3234 + ;;
14.3235 + ia64*)
14.3236 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.3237 + ;;
14.3238 + *)
14.3239 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
14.3240 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3241 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
14.3242 + ;;
14.3243 + esac
14.3244 + fi
14.3245 + case "$host_cpu" in
14.3246 + hppa*64*)
14.3247 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.3248 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.3249 + ;;
14.3250 + ia64*)
14.3251 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.3252 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.3253 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
14.3254 + # but as the default
14.3255 + # location of the library.
14.3256 + ;;
14.3257 + *)
14.3258 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.3259 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
14.3260 + # but as the default
14.3261 + # location of the library.
14.3262 + ;;
14.3263 + esac
14.3264 +
14.3265 + case $cc_basename in
14.3266 + CC)
14.3267 + # FIXME: insert proper C++ library support
14.3268 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3269 + ;;
14.3270 + aCC)
14.3271 + case "$host_cpu" in
14.3272 + hppa*64*|ia64*)
14.3273 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
14.3274 + ;;
14.3275 + *)
14.3276 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14.3277 + ;;
14.3278 + esac
14.3279 + # Commands to make compiler produce verbose output that lists
14.3280 + # what "hidden" libraries, object files and flags are used when
14.3281 + # linking a shared library.
14.3282 + #
14.3283 + # There doesn't appear to be a way to prevent this compiler from
14.3284 + # explicitly linking system object files so we need to strip them
14.3285 + # from the output so that they don't get included in the library
14.3286 + # dependencies.
14.3287 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3288 + ;;
14.3289 + *)
14.3290 + if test "$GXX" = yes; then
14.3291 + if test $with_gnu_ld = no; then
14.3292 + case "$host_cpu" in
14.3293 + ia64*|hppa*64*)
14.3294 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
14.3295 + ;;
14.3296 + *)
14.3297 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14.3298 + ;;
14.3299 + esac
14.3300 + fi
14.3301 + else
14.3302 + # FIXME: insert proper C++ library support
14.3303 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3304 + fi
14.3305 + ;;
14.3306 + esac
14.3307 + ;;
14.3308 + irix5* | irix6*)
14.3309 + case $cc_basename in
14.3310 + CC)
14.3311 + # SGI C++
14.3312 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14.3313 +
14.3314 + # Archives containing C++ object files must be created using
14.3315 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14.3316 + # necessary to make sure instantiated templates are included
14.3317 + # in the archive.
14.3318 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
14.3319 + ;;
14.3320 + *)
14.3321 + if test "$GXX" = yes; then
14.3322 + if test "$with_gnu_ld" = no; then
14.3323 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14.3324 + else
14.3325 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14.3326 + fi
14.3327 + fi
14.3328 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.3329 + ;;
14.3330 + esac
14.3331 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.3332 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3333 + ;;
14.3334 + linux*)
14.3335 + case $cc_basename in
14.3336 + KCC)
14.3337 + # Kuck and Associates, Inc. (KAI) C++ Compiler
14.3338 +
14.3339 + # KCC will only create a shared library if the output file
14.3340 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
14.3341 + # to its proper name (with version) after linking.
14.3342 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14.3343 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14.3344 + # Commands to make compiler produce verbose output that lists
14.3345 + # what "hidden" libraries, object files and flags are used when
14.3346 + # linking a shared library.
14.3347 + #
14.3348 + # There doesn't appear to be a way to prevent this compiler from
14.3349 + # explicitly linking system object files so we need to strip them
14.3350 + # from the output so that they don't get included in the library
14.3351 + # dependencies.
14.3352 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3353 +
14.3354 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
14.3355 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
14.3356 +
14.3357 + # Archives containing C++ object files must be created using
14.3358 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14.3359 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
14.3360 + ;;
14.3361 + icpc)
14.3362 + # Intel C++
14.3363 + with_gnu_ld=yes
14.3364 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3365 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.3366 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14.3367 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
14.3368 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
14.3369 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14.3370 + ;;
14.3371 + cxx)
14.3372 + # Compaq C++
14.3373 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.3374 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14.3375 +
14.3376 + runpath_var=LD_RUN_PATH
14.3377 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
14.3378 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3379 +
14.3380 + # Commands to make compiler produce verbose output that lists
14.3381 + # what "hidden" libraries, object files and flags are used when
14.3382 + # linking a shared library.
14.3383 + #
14.3384 + # There doesn't appear to be a way to prevent this compiler from
14.3385 + # explicitly linking system object files so we need to strip them
14.3386 + # from the output so that they don't get included in the library
14.3387 + # dependencies.
14.3388 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3389 + ;;
14.3390 + esac
14.3391 + ;;
14.3392 + lynxos*)
14.3393 + # FIXME: insert proper C++ library support
14.3394 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3395 + ;;
14.3396 + m88k*)
14.3397 + # FIXME: insert proper C++ library support
14.3398 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3399 + ;;
14.3400 + mvs*)
14.3401 + case $cc_basename in
14.3402 + cxx)
14.3403 + # FIXME: insert proper C++ library support
14.3404 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3405 + ;;
14.3406 + *)
14.3407 + # FIXME: insert proper C++ library support
14.3408 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3409 + ;;
14.3410 + esac
14.3411 + ;;
14.3412 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14.3413 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14.3414 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14.3415 + wlarc=
14.3416 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.3417 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.3418 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.3419 + fi
14.3420 + # Workaround some broken pre-1.5 toolchains
14.3421 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14.3422 + ;;
14.3423 + osf3*)
14.3424 + case $cc_basename in
14.3425 + KCC)
14.3426 + # Kuck and Associates, Inc. (KAI) C++ Compiler
14.3427 +
14.3428 + # KCC will only create a shared library if the output file
14.3429 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
14.3430 + # to its proper name (with version) after linking.
14.3431 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14.3432 +
14.3433 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
14.3434 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3435 +
14.3436 + # Archives containing C++ object files must be created using
14.3437 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14.3438 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
14.3439 +
14.3440 + ;;
14.3441 + RCC)
14.3442 + # Rational C++ 2.4.1
14.3443 + # FIXME: insert proper C++ library support
14.3444 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3445 + ;;
14.3446 + cxx)
14.3447 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
14.3448 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14.3449 +
14.3450 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.3451 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3452 +
14.3453 + # Commands to make compiler produce verbose output that lists
14.3454 + # what "hidden" libraries, object files and flags are used when
14.3455 + # linking a shared library.
14.3456 + #
14.3457 + # There doesn't appear to be a way to prevent this compiler from
14.3458 + # explicitly linking system object files so we need to strip them
14.3459 + # from the output so that they don't get included in the library
14.3460 + # dependencies.
14.3461 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3462 + ;;
14.3463 + *)
14.3464 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14.3465 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
14.3466 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14.3467 +
14.3468 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.3469 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3470 +
14.3471 + # Commands to make compiler produce verbose output that lists
14.3472 + # what "hidden" libraries, object files and flags are used when
14.3473 + # linking a shared library.
14.3474 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14.3475 +
14.3476 + else
14.3477 + # FIXME: insert proper C++ library support
14.3478 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3479 + fi
14.3480 + ;;
14.3481 + esac
14.3482 + ;;
14.3483 + osf4* | osf5*)
14.3484 + case $cc_basename in
14.3485 + KCC)
14.3486 + # Kuck and Associates, Inc. (KAI) C++ Compiler
14.3487 +
14.3488 + # KCC will only create a shared library if the output file
14.3489 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
14.3490 + # to its proper name (with version) after linking.
14.3491 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14.3492 +
14.3493 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
14.3494 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3495 +
14.3496 + # Archives containing C++ object files must be created using
14.3497 + # the KAI C++ compiler.
14.3498 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
14.3499 + ;;
14.3500 + RCC)
14.3501 + # Rational C++ 2.4.1
14.3502 + # FIXME: insert proper C++ library support
14.3503 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3504 + ;;
14.3505 + cxx)
14.3506 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
14.3507 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14.3508 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14.3509 + echo "-hidden">> $lib.exp~
14.3510 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
14.3511 + $rm $lib.exp'
14.3512 +
14.3513 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
14.3514 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3515 +
14.3516 + # Commands to make compiler produce verbose output that lists
14.3517 + # what "hidden" libraries, object files and flags are used when
14.3518 + # linking a shared library.
14.3519 + #
14.3520 + # There doesn't appear to be a way to prevent this compiler from
14.3521 + # explicitly linking system object files so we need to strip them
14.3522 + # from the output so that they don't get included in the library
14.3523 + # dependencies.
14.3524 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3525 + ;;
14.3526 + *)
14.3527 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14.3528 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
14.3529 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14.3530 +
14.3531 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.3532 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.3533 +
14.3534 + # Commands to make compiler produce verbose output that lists
14.3535 + # what "hidden" libraries, object files and flags are used when
14.3536 + # linking a shared library.
14.3537 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14.3538 +
14.3539 + else
14.3540 + # FIXME: insert proper C++ library support
14.3541 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3542 + fi
14.3543 + ;;
14.3544 + esac
14.3545 + ;;
14.3546 + psos*)
14.3547 + # FIXME: insert proper C++ library support
14.3548 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3549 + ;;
14.3550 + sco*)
14.3551 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3552 + case $cc_basename in
14.3553 + CC)
14.3554 + # FIXME: insert proper C++ library support
14.3555 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3556 + ;;
14.3557 + *)
14.3558 + # FIXME: insert proper C++ library support
14.3559 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3560 + ;;
14.3561 + esac
14.3562 + ;;
14.3563 + sunos4*)
14.3564 + case $cc_basename in
14.3565 + CC)
14.3566 + # Sun C++ 4.x
14.3567 + # FIXME: insert proper C++ library support
14.3568 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3569 + ;;
14.3570 + lcc)
14.3571 + # Lucid
14.3572 + # FIXME: insert proper C++ library support
14.3573 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3574 + ;;
14.3575 + *)
14.3576 + # FIXME: insert proper C++ library support
14.3577 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3578 + ;;
14.3579 + esac
14.3580 + ;;
14.3581 + solaris*)
14.3582 + case $cc_basename in
14.3583 + CC)
14.3584 + # Sun C++ 4.2, 5.x and Centerline C++
14.3585 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
14.3586 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14.3587 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14.3588 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14.3589 +
14.3590 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.3591 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.3592 + case $host_os in
14.3593 + solaris2.[0-5] | solaris2.[0-5].*) ;;
14.3594 + *)
14.3595 + # The C++ compiler is used as linker so we must use $wl
14.3596 + # flag to pass the commands to the underlying system
14.3597 + # linker.
14.3598 + # Supported since Solaris 2.6 (maybe 2.5.1?)
14.3599 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14.3600 + ;;
14.3601 + esac
14.3602 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.3603 +
14.3604 + # Commands to make compiler produce verbose output that lists
14.3605 + # what "hidden" libraries, object files and flags are used when
14.3606 + # linking a shared library.
14.3607 + #
14.3608 + # There doesn't appear to be a way to prevent this compiler from
14.3609 + # explicitly linking system object files so we need to strip them
14.3610 + # from the output so that they don't get included in the library
14.3611 + # dependencies.
14.3612 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14.3613 +
14.3614 + # Archives containing C++ object files must be created using
14.3615 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
14.3616 + # necessary to make sure instantiated templates are included
14.3617 + # in the archive.
14.3618 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
14.3619 + ;;
14.3620 + gcx)
14.3621 + # Green Hills C++ Compiler
14.3622 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14.3623 +
14.3624 + # The C++ compiler must be used to create the archive.
14.3625 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14.3626 + ;;
14.3627 + *)
14.3628 + # GNU C++ compiler with Solaris linker
14.3629 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14.3630 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
14.3631 + if $CC --version | grep -v '^2\.7' > /dev/null; then
14.3632 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14.3633 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14.3634 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14.3635 +
14.3636 + # Commands to make compiler produce verbose output that lists
14.3637 + # what "hidden" libraries, object files and flags are used when
14.3638 + # linking a shared library.
14.3639 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14.3640 + else
14.3641 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
14.3642 + # platform.
14.3643 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14.3644 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14.3645 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14.3646 +
14.3647 + # Commands to make compiler produce verbose output that lists
14.3648 + # what "hidden" libraries, object files and flags are used when
14.3649 + # linking a shared library.
14.3650 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14.3651 + fi
14.3652 +
14.3653 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
14.3654 + fi
14.3655 + ;;
14.3656 + esac
14.3657 + ;;
14.3658 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
14.3659 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3660 + ;;
14.3661 + tandem*)
14.3662 + case $cc_basename in
14.3663 + NCC)
14.3664 + # NonStop-UX NCC 3.20
14.3665 + # FIXME: insert proper C++ library support
14.3666 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3667 + ;;
14.3668 + *)
14.3669 + # FIXME: insert proper C++ library support
14.3670 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3671 + ;;
14.3672 + esac
14.3673 + ;;
14.3674 + vxworks*)
14.3675 + # FIXME: insert proper C++ library support
14.3676 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3677 + ;;
14.3678 + *)
14.3679 + # FIXME: insert proper C++ library support
14.3680 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.3681 + ;;
14.3682 +esac
14.3683 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
14.3684 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
14.3685 +
14.3686 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
14.3687 +_LT_AC_TAGVAR(LD, $1)="$LD"
14.3688 +
14.3689 +## CAVEAT EMPTOR:
14.3690 +## There is no encapsulation within the following macros, do not change
14.3691 +## the running order or otherwise move them around unless you know exactly
14.3692 +## what you are doing...
14.3693 +AC_LIBTOOL_POSTDEP_PREDEP($1)
14.3694 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
14.3695 +AC_LIBTOOL_PROG_CC_C_O($1)
14.3696 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
14.3697 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
14.3698 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
14.3699 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
14.3700 +AC_LIBTOOL_SYS_LIB_STRIP
14.3701 +AC_LIBTOOL_DLOPEN_SELF($1)
14.3702 +
14.3703 +AC_LIBTOOL_CONFIG($1)
14.3704 +
14.3705 +AC_LANG_POP
14.3706 +CC=$lt_save_CC
14.3707 +LDCXX=$LD
14.3708 +LD=$lt_save_LD
14.3709 +GCC=$lt_save_GCC
14.3710 +with_gnu_ldcxx=$with_gnu_ld
14.3711 +with_gnu_ld=$lt_save_with_gnu_ld
14.3712 +lt_cv_path_LDCXX=$lt_cv_path_LD
14.3713 +lt_cv_path_LD=$lt_save_path_LD
14.3714 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14.3715 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14.3716 +])
14.3717 +m4trace:m4/libtool.m4:3512: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], [
14.3718 +dnl we can't use the lt_simple_compile_test_code here,
14.3719 +dnl because it contains code intended for an executable,
14.3720 +dnl not a library. It's possible we should let each
14.3721 +dnl tag define a new lt_????_link_test_code variable,
14.3722 +dnl but it's only used here...
14.3723 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
14.3724 +int a;
14.3725 +void foo (void) { a = 0; }
14.3726 +EOF
14.3727 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
14.3728 +class Foo
14.3729 +{
14.3730 +public:
14.3731 + Foo (void) { a = 0; }
14.3732 +private:
14.3733 + int a;
14.3734 +};
14.3735 +EOF
14.3736 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
14.3737 + subroutine foo
14.3738 + implicit none
14.3739 + integer*4 a
14.3740 + a=0
14.3741 + return
14.3742 + end
14.3743 +EOF
14.3744 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
14.3745 +public class foo {
14.3746 + private int a;
14.3747 + public void bar (void) {
14.3748 + a = 0;
14.3749 + }
14.3750 +};
14.3751 +EOF
14.3752 +])
14.3753 +dnl Parse the compiler output and extract the necessary
14.3754 +dnl objects, libraries and library flags.
14.3755 +if AC_TRY_EVAL(ac_compile); then
14.3756 + # Parse the compiler output and extract the necessary
14.3757 + # objects, libraries and library flags.
14.3758 +
14.3759 + # Sentinel used to keep track of whether or not we are before
14.3760 + # the conftest object file.
14.3761 + pre_test_object_deps_done=no
14.3762 +
14.3763 + # The `*' in the case matches for architectures that use `case' in
14.3764 + # $output_verbose_cmd can trigger glob expansion during the loop
14.3765 + # eval without this substitution.
14.3766 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14.3767 +
14.3768 + for p in `eval $output_verbose_link_cmd`; do
14.3769 + case $p in
14.3770 +
14.3771 + -L* | -R* | -l*)
14.3772 + # Some compilers place space between "-{L,R}" and the path.
14.3773 + # Remove the space.
14.3774 + if test $p = "-L" \
14.3775 + || test $p = "-R"; then
14.3776 + prev=$p
14.3777 + continue
14.3778 + else
14.3779 + prev=
14.3780 + fi
14.3781 +
14.3782 + if test "$pre_test_object_deps_done" = no; then
14.3783 + case $p in
14.3784 + -L* | -R*)
14.3785 + # Internal compiler library paths should come after those
14.3786 + # provided the user. The postdeps already come after the
14.3787 + # user supplied libs so there is no need to process them.
14.3788 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
14.3789 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
14.3790 + else
14.3791 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
14.3792 + fi
14.3793 + ;;
14.3794 + # The "-l" case would never come before the object being
14.3795 + # linked, so don't bother handling this case.
14.3796 + esac
14.3797 + else
14.3798 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
14.3799 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
14.3800 + else
14.3801 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
14.3802 + fi
14.3803 + fi
14.3804 + ;;
14.3805 +
14.3806 + *.$objext)
14.3807 + # This assumes that the test object file only shows up
14.3808 + # once in the compiler output.
14.3809 + if test "$p" = "conftest.$objext"; then
14.3810 + pre_test_object_deps_done=yes
14.3811 + continue
14.3812 + fi
14.3813 +
14.3814 + if test "$pre_test_object_deps_done" = no; then
14.3815 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
14.3816 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
14.3817 + else
14.3818 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
14.3819 + fi
14.3820 + else
14.3821 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
14.3822 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
14.3823 + else
14.3824 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
14.3825 + fi
14.3826 + fi
14.3827 + ;;
14.3828 +
14.3829 + *) ;; # Ignore the rest.
14.3830 +
14.3831 + esac
14.3832 + done
14.3833 +
14.3834 + # Clean up.
14.3835 + rm -f a.out a.exe
14.3836 +else
14.3837 + echo "libtool.m4: error: problem compiling $1 test program"
14.3838 +fi
14.3839 +
14.3840 +$rm -f confest.$objext
14.3841 +
14.3842 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
14.3843 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
14.3844 +esac
14.3845 +])
14.3846 +m4trace:m4/libtool.m4:3647: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
14.3847 +m4trace:m4/libtool.m4:3648: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG], [AC_REQUIRE([AC_PROG_F77])
14.3848 +AC_LANG_PUSH(Fortran 77)
14.3849 +
14.3850 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3851 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
14.3852 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
14.3853 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
14.3854 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
14.3855 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
14.3856 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
14.3857 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
14.3858 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
14.3859 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
14.3860 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
14.3861 +_LT_AC_TAGVAR(module_cmds, $1)=
14.3862 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
14.3863 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
14.3864 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
14.3865 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
14.3866 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14.3867 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
14.3868 +
14.3869 +# Source file extension for f77 test sources.
14.3870 +ac_ext=f
14.3871 +
14.3872 +# Object file extension for compiled f77 test sources.
14.3873 +objext=o
14.3874 +_LT_AC_TAGVAR(objext, $1)=$objext
14.3875 +
14.3876 +# Code to be used in simple compile tests
14.3877 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
14.3878 +
14.3879 +# Code to be used in simple link tests
14.3880 +lt_simple_link_test_code=" program t\n end\n"
14.3881 +
14.3882 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14.3883 +_LT_AC_SYS_COMPILER
14.3884 +
14.3885 +# Allow CC to be a program name with arguments.
14.3886 +lt_save_CC="$CC"
14.3887 +CC=${F77-"f77"}
14.3888 +compiler=$CC
14.3889 +_LT_AC_TAGVAR(compiler, $1)=$CC
14.3890 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
14.3891 +
14.3892 +AC_MSG_CHECKING([if libtool supports shared libraries])
14.3893 +AC_MSG_RESULT([$can_build_shared])
14.3894 +
14.3895 +AC_MSG_CHECKING([whether to build shared libraries])
14.3896 +test "$can_build_shared" = "no" && enable_shared=no
14.3897 +
14.3898 +# On AIX, shared libraries and static libraries use the same namespace, and
14.3899 +# are all built from PIC.
14.3900 +case "$host_os" in
14.3901 +aix3*)
14.3902 + test "$enable_shared" = yes && enable_static=no
14.3903 + if test -n "$RANLIB"; then
14.3904 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
14.3905 + postinstall_cmds='$RANLIB $lib'
14.3906 + fi
14.3907 + ;;
14.3908 +aix4* | aix5*)
14.3909 + test "$enable_shared" = yes && enable_static=no
14.3910 + ;;
14.3911 +esac
14.3912 +AC_MSG_RESULT([$enable_shared])
14.3913 +
14.3914 +AC_MSG_CHECKING([whether to build static libraries])
14.3915 +# Make sure either enable_shared or enable_static is yes.
14.3916 +test "$enable_shared" = yes || enable_static=yes
14.3917 +AC_MSG_RESULT([$enable_static])
14.3918 +
14.3919 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
14.3920 +
14.3921 +_LT_AC_TAGVAR(GCC, $1)="$G77"
14.3922 +_LT_AC_TAGVAR(LD, $1)="$LD"
14.3923 +
14.3924 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
14.3925 +AC_LIBTOOL_PROG_CC_C_O($1)
14.3926 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
14.3927 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
14.3928 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
14.3929 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
14.3930 +AC_LIBTOOL_SYS_LIB_STRIP
14.3931 +
14.3932 +
14.3933 +AC_LIBTOOL_CONFIG($1)
14.3934 +
14.3935 +AC_LANG_POP
14.3936 +CC="$lt_save_CC"
14.3937 +])
14.3938 +m4trace:m4/libtool.m4:3747: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
14.3939 +m4trace:m4/libtool.m4:3748: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], [AC_LANG_SAVE
14.3940 +
14.3941 +# Source file extension for Java test sources.
14.3942 +ac_ext=java
14.3943 +
14.3944 +# Object file extension for compiled Java test sources.
14.3945 +objext=o
14.3946 +_LT_AC_TAGVAR(objext, $1)=$objext
14.3947 +
14.3948 +# Code to be used in simple compile tests
14.3949 +lt_simple_compile_test_code="class foo {}\n"
14.3950 +
14.3951 +# Code to be used in simple link tests
14.3952 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
14.3953 +
14.3954 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14.3955 +_LT_AC_SYS_COMPILER
14.3956 +
14.3957 +# Allow CC to be a program name with arguments.
14.3958 +lt_save_CC="$CC"
14.3959 +CC=${GCJ-"gcj"}
14.3960 +compiler=$CC
14.3961 +_LT_AC_TAGVAR(compiler, $1)=$CC
14.3962 +
14.3963 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
14.3964 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.3965 +
14.3966 +## CAVEAT EMPTOR:
14.3967 +## There is no encapsulation within the following macros, do not change
14.3968 +## the running order or otherwise move them around unless you know exactly
14.3969 +## what you are doing...
14.3970 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
14.3971 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
14.3972 +AC_LIBTOOL_PROG_CC_C_O($1)
14.3973 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
14.3974 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
14.3975 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
14.3976 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
14.3977 +AC_LIBTOOL_SYS_LIB_STRIP
14.3978 +AC_LIBTOOL_DLOPEN_SELF($1)
14.3979 +
14.3980 +AC_LIBTOOL_CONFIG($1)
14.3981 +
14.3982 +AC_LANG_RESTORE
14.3983 +CC="$lt_save_CC"
14.3984 +])
14.3985 +m4trace:m4/libtool.m4:3802: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
14.3986 +m4trace:m4/libtool.m4:3803: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG], [AC_LANG_SAVE
14.3987 +
14.3988 +# Source file extension for RC test sources.
14.3989 +ac_ext=rc
14.3990 +
14.3991 +# Object file extension for compiled RC test sources.
14.3992 +objext=o
14.3993 +_LT_AC_TAGVAR(objext, $1)=$objext
14.3994 +
14.3995 +# Code to be used in simple compile tests
14.3996 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
14.3997 +
14.3998 +# Code to be used in simple link tests
14.3999 +lt_simple_link_test_code="$lt_simple_compile_test_code"
14.4000 +
14.4001 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14.4002 +_LT_AC_SYS_COMPILER
14.4003 +
14.4004 +# Allow CC to be a program name with arguments.
14.4005 +lt_save_CC="$CC"
14.4006 +CC=${RC-"windres"}
14.4007 +compiler=$CC
14.4008 +_LT_AC_TAGVAR(compiler, $1)=$CC
14.4009 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
14.4010 +
14.4011 +AC_LIBTOOL_CONFIG($1)
14.4012 +
14.4013 +AC_LANG_RESTORE
14.4014 +CC="$lt_save_CC"
14.4015 +])
14.4016 +m4trace:m4/libtool.m4:3842: -1- AC_DEFUN([AC_LIBTOOL_CONFIG], [# The else clause should only fire when bootstrapping the
14.4017 +# libtool distribution, otherwise you forgot to ship ltmain.sh
14.4018 +# with your package, and you will get complaints that there are
14.4019 +# no rules to generate ltmain.sh.
14.4020 +if test -f "$ltmain"; then
14.4021 + # See if we are running on zsh, and set the options which allow our commands through
14.4022 + # without removal of \ escapes.
14.4023 + if test -n "${ZSH_VERSION+set}" ; then
14.4024 + setopt NO_GLOB_SUBST
14.4025 + fi
14.4026 + # Now quote all the things that may contain metacharacters while being
14.4027 + # careful not to overquote the AC_SUBSTed values. We take copies of the
14.4028 + # variables and quote the copies for generation of the libtool script.
14.4029 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14.4030 + SED SHELL STRIP \
14.4031 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14.4032 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14.4033 + deplibs_check_method reload_flag reload_cmds need_locks \
14.4034 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14.4035 + lt_cv_sys_global_symbol_to_c_name_address \
14.4036 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14.4037 + old_postinstall_cmds old_postuninstall_cmds \
14.4038 + _LT_AC_TAGVAR(compiler, $1) \
14.4039 + _LT_AC_TAGVAR(CC, $1) \
14.4040 + _LT_AC_TAGVAR(LD, $1) \
14.4041 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
14.4042 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
14.4043 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
14.4044 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
14.4045 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
14.4046 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
14.4047 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
14.4048 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
14.4049 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
14.4050 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
14.4051 + _LT_AC_TAGVAR(predep_objects, $1) \
14.4052 + _LT_AC_TAGVAR(postdep_objects, $1) \
14.4053 + _LT_AC_TAGVAR(predeps, $1) \
14.4054 + _LT_AC_TAGVAR(postdeps, $1) \
14.4055 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
14.4056 + _LT_AC_TAGVAR(archive_cmds, $1) \
14.4057 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
14.4058 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
14.4059 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
14.4060 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
14.4061 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
14.4062 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
14.4063 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
14.4064 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
14.4065 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
14.4066 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
14.4067 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
14.4068 + _LT_AC_TAGVAR(module_cmds, $1) \
14.4069 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
14.4070 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
14.4071 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
14.4072 + _LT_AC_TAGVAR(include_expsyms, $1); do
14.4073 +
14.4074 + case $var in
14.4075 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
14.4076 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
14.4077 + _LT_AC_TAGVAR(archive_cmds, $1) | \
14.4078 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
14.4079 + _LT_AC_TAGVAR(module_cmds, $1) | \
14.4080 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
14.4081 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
14.4082 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
14.4083 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
14.4084 + postinstall_cmds | postuninstall_cmds | \
14.4085 + old_postinstall_cmds | old_postuninstall_cmds | \
14.4086 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14.4087 + # Double-quote double-evaled strings.
14.4088 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14.4089 + ;;
14.4090 + *)
14.4091 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14.4092 + ;;
14.4093 + esac
14.4094 + done
14.4095 +
14.4096 + case $lt_echo in
14.4097 + *'\[$]0 --fallback-echo"')
14.4098 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
14.4099 + ;;
14.4100 + esac
14.4101 +
14.4102 +ifelse([$1], [],
14.4103 + [cfgfile="${ofile}T"
14.4104 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
14.4105 + $rm -f "$cfgfile"
14.4106 + AC_MSG_NOTICE([creating $ofile])],
14.4107 + [cfgfile="$ofile"])
14.4108 +
14.4109 + cat <<__EOF__ >> "$cfgfile"
14.4110 +ifelse([$1], [],
14.4111 +[#! $SHELL
14.4112 +
14.4113 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14.4114 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
14.4115 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14.4116 +#
14.4117 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
14.4118 +# Free Software Foundation, Inc.
14.4119 +#
14.4120 +# This file is part of GNU Libtool:
14.4121 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14.4122 +#
14.4123 +# This program is free software; you can redistribute it and/or modify
14.4124 +# it under the terms of the GNU General Public License as published by
14.4125 +# the Free Software Foundation; either version 2 of the License, or
14.4126 +# (at your option) any later version.
14.4127 +#
14.4128 +# This program is distributed in the hope that it will be useful, but
14.4129 +# WITHOUT ANY WARRANTY; without even the implied warranty of
14.4130 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14.4131 +# General Public License for more details.
14.4132 +#
14.4133 +# You should have received a copy of the GNU General Public License
14.4134 +# along with this program; if not, write to the Free Software
14.4135 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
14.4136 +#
14.4137 +# As a special exception to the GNU General Public License, if you
14.4138 +# distribute this file as part of a program that contains a
14.4139 +# configuration script generated by Autoconf, you may include it under
14.4140 +# the same distribution terms that you use for the rest of that program.
14.4141 +
14.4142 +# A sed program that does not truncate output.
14.4143 +SED=$lt_SED
14.4144 +
14.4145 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14.4146 +Xsed="$SED -e s/^X//"
14.4147 +
14.4148 +# The HP-UX ksh and POSIX shell print the target directory to stdout
14.4149 +# if CDPATH is set.
14.4150 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
14.4151 +
14.4152 +# The names of the tagged configurations supported by this script.
14.4153 +available_tags=
14.4154 +
14.4155 +# ### BEGIN LIBTOOL CONFIG],
14.4156 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
14.4157 +
14.4158 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14.4159 +
14.4160 +# Shell to use when invoking shell scripts.
14.4161 +SHELL=$lt_SHELL
14.4162 +
14.4163 +# Whether or not to build shared libraries.
14.4164 +build_libtool_libs=$enable_shared
14.4165 +
14.4166 +# Whether or not to build static libraries.
14.4167 +build_old_libs=$enable_static
14.4168 +
14.4169 +# Whether or not to add -lc for building shared libraries.
14.4170 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
14.4171 +
14.4172 +# Whether or not to disallow shared libs when runtime libs are static
14.4173 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
14.4174 +
14.4175 +# Whether or not to optimize for fast installation.
14.4176 +fast_install=$enable_fast_install
14.4177 +
14.4178 +# The host system.
14.4179 +host_alias=$host_alias
14.4180 +host=$host
14.4181 +
14.4182 +# An echo program that does not interpret backslashes.
14.4183 +echo=$lt_echo
14.4184 +
14.4185 +# The archiver.
14.4186 +AR=$lt_AR
14.4187 +AR_FLAGS=$lt_AR_FLAGS
14.4188 +
14.4189 +# A C compiler.
14.4190 +LTCC=$lt_LTCC
14.4191 +
14.4192 +# A language-specific compiler.
14.4193 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
14.4194 +
14.4195 +# Is the compiler the GNU C compiler?
14.4196 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
14.4197 +
14.4198 +# An ERE matcher.
14.4199 +EGREP=$lt_EGREP
14.4200 +
14.4201 +# The linker used to build libraries.
14.4202 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
14.4203 +
14.4204 +# Whether we need hard or soft links.
14.4205 +LN_S=$lt_LN_S
14.4206 +
14.4207 +# A BSD-compatible nm program.
14.4208 +NM=$lt_NM
14.4209 +
14.4210 +# A symbol stripping program
14.4211 +STRIP=$lt_STRIP
14.4212 +
14.4213 +# Used to examine libraries when file_magic_cmd begins "file"
14.4214 +MAGIC_CMD=$MAGIC_CMD
14.4215 +
14.4216 +# Used on cygwin: DLL creation program.
14.4217 +DLLTOOL="$DLLTOOL"
14.4218 +
14.4219 +# Used on cygwin: object dumper.
14.4220 +OBJDUMP="$OBJDUMP"
14.4221 +
14.4222 +# Used on cygwin: assembler.
14.4223 +AS="$AS"
14.4224 +
14.4225 +# The name of the directory that contains temporary libtool files.
14.4226 +objdir=$objdir
14.4227 +
14.4228 +# How to create reloadable object files.
14.4229 +reload_flag=$lt_reload_flag
14.4230 +reload_cmds=$lt_reload_cmds
14.4231 +
14.4232 +# How to pass a linker flag through the compiler.
14.4233 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
14.4234 +
14.4235 +# Object file suffix (normally "o").
14.4236 +objext="$ac_objext"
14.4237 +
14.4238 +# Old archive suffix (normally "a").
14.4239 +libext="$libext"
14.4240 +
14.4241 +# Shared library suffix (normally ".so").
14.4242 +shrext_cmds='$shrext_cmds'
14.4243 +
14.4244 +# Executable file suffix (normally "").
14.4245 +exeext="$exeext"
14.4246 +
14.4247 +# Additional compiler flags for building library objects.
14.4248 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
14.4249 +pic_mode=$pic_mode
14.4250 +
14.4251 +# What is the maximum length of a command?
14.4252 +max_cmd_len=$lt_cv_sys_max_cmd_len
14.4253 +
14.4254 +# Does compiler simultaneously support -c and -o options?
14.4255 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
14.4256 +
14.4257 +# Must we lock files when doing compilation ?
14.4258 +need_locks=$lt_need_locks
14.4259 +
14.4260 +# Do we need the lib prefix for modules?
14.4261 +need_lib_prefix=$need_lib_prefix
14.4262 +
14.4263 +# Do we need a version for libraries?
14.4264 +need_version=$need_version
14.4265 +
14.4266 +# Whether dlopen is supported.
14.4267 +dlopen_support=$enable_dlopen
14.4268 +
14.4269 +# Whether dlopen of programs is supported.
14.4270 +dlopen_self=$enable_dlopen_self
14.4271 +
14.4272 +# Whether dlopen of statically linked programs is supported.
14.4273 +dlopen_self_static=$enable_dlopen_self_static
14.4274 +
14.4275 +# Compiler flag to prevent dynamic linking.
14.4276 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
14.4277 +
14.4278 +# Compiler flag to turn off builtin functions.
14.4279 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
14.4280 +
14.4281 +# Compiler flag to allow reflexive dlopens.
14.4282 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
14.4283 +
14.4284 +# Compiler flag to generate shared objects directly from archives.
14.4285 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
14.4286 +
14.4287 +# Compiler flag to generate thread-safe objects.
14.4288 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
14.4289 +
14.4290 +# Library versioning type.
14.4291 +version_type=$version_type
14.4292 +
14.4293 +# Format of library name prefix.
14.4294 +libname_spec=$lt_libname_spec
14.4295 +
14.4296 +# List of archive names. First name is the real one, the rest are links.
14.4297 +# The last name is the one that the linker finds with -lNAME.
14.4298 +library_names_spec=$lt_library_names_spec
14.4299 +
14.4300 +# The coded name of the library, if different from the real name.
14.4301 +soname_spec=$lt_soname_spec
14.4302 +
14.4303 +# Commands used to build and install an old-style archive.
14.4304 +RANLIB=$lt_RANLIB
14.4305 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
14.4306 +old_postinstall_cmds=$lt_old_postinstall_cmds
14.4307 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
14.4308 +
14.4309 +# Create an old-style archive from a shared archive.
14.4310 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
14.4311 +
14.4312 +# Create a temporary old-style archive to link instead of a shared archive.
14.4313 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
14.4314 +
14.4315 +# Commands used to build and install a shared archive.
14.4316 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
14.4317 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
14.4318 +postinstall_cmds=$lt_postinstall_cmds
14.4319 +postuninstall_cmds=$lt_postuninstall_cmds
14.4320 +
14.4321 +# Commands used to build a loadable module (assumed same as above if empty)
14.4322 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
14.4323 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
14.4324 +
14.4325 +# Commands to strip libraries.
14.4326 +old_striplib=$lt_old_striplib
14.4327 +striplib=$lt_striplib
14.4328 +
14.4329 +# Dependencies to place before the objects being linked to create a
14.4330 +# shared library.
14.4331 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
14.4332 +
14.4333 +# Dependencies to place after the objects being linked to create a
14.4334 +# shared library.
14.4335 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
14.4336 +
14.4337 +# Dependencies to place before the objects being linked to create a
14.4338 +# shared library.
14.4339 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
14.4340 +
14.4341 +# Dependencies to place after the objects being linked to create a
14.4342 +# shared library.
14.4343 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
14.4344 +
14.4345 +# The library search path used internally by the compiler when linking
14.4346 +# a shared library.
14.4347 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
14.4348 +
14.4349 +# Method to check whether dependent libraries are shared objects.
14.4350 +deplibs_check_method=$lt_deplibs_check_method
14.4351 +
14.4352 +# Command to use when deplibs_check_method == file_magic.
14.4353 +file_magic_cmd=$lt_file_magic_cmd
14.4354 +
14.4355 +# Flag that allows shared libraries with undefined symbols to be built.
14.4356 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
14.4357 +
14.4358 +# Flag that forces no undefined symbols.
14.4359 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
14.4360 +
14.4361 +# Commands used to finish a libtool library installation in a directory.
14.4362 +finish_cmds=$lt_finish_cmds
14.4363 +
14.4364 +# Same as above, but a single script fragment to be evaled but not shown.
14.4365 +finish_eval=$lt_finish_eval
14.4366 +
14.4367 +# Take the output of nm and produce a listing of raw symbols and C names.
14.4368 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14.4369 +
14.4370 +# Transform the output of nm in a proper C declaration
14.4371 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14.4372 +
14.4373 +# Transform the output of nm in a C name address pair
14.4374 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14.4375 +
14.4376 +# This is the shared library runtime path variable.
14.4377 +runpath_var=$runpath_var
14.4378 +
14.4379 +# This is the shared library path variable.
14.4380 +shlibpath_var=$shlibpath_var
14.4381 +
14.4382 +# Is shlibpath searched before the hard-coded library search path?
14.4383 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14.4384 +
14.4385 +# How to hardcode a shared library path into an executable.
14.4386 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
14.4387 +
14.4388 +# Whether we should hardcode library paths into libraries.
14.4389 +hardcode_into_libs=$hardcode_into_libs
14.4390 +
14.4391 +# Flag to hardcode \$libdir into a binary during linking.
14.4392 +# This must work even if \$libdir does not exist.
14.4393 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
14.4394 +
14.4395 +# If ld is used when linking, flag to hardcode \$libdir into
14.4396 +# a binary during linking. This must work even if \$libdir does
14.4397 +# not exist.
14.4398 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
14.4399 +
14.4400 +# Whether we need a single -rpath flag with a separated argument.
14.4401 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
14.4402 +
14.4403 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14.4404 +# resulting binary.
14.4405 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
14.4406 +
14.4407 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14.4408 +# resulting binary.
14.4409 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
14.4410 +
14.4411 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14.4412 +# the resulting binary.
14.4413 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
14.4414 +
14.4415 +# Set to yes if building a shared library automatically hardcodes DIR into the library
14.4416 +# and all subsequent libraries and executables linked against it.
14.4417 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
14.4418 +
14.4419 +# Variables whose values should be saved in libtool wrapper scripts and
14.4420 +# restored at relink time.
14.4421 +variables_saved_for_relink="$variables_saved_for_relink"
14.4422 +
14.4423 +# Whether libtool must link a program against all its dependency libraries.
14.4424 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
14.4425 +
14.4426 +# Compile-time system search path for libraries
14.4427 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14.4428 +
14.4429 +# Run-time system search path for libraries
14.4430 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14.4431 +
14.4432 +# Fix the shell variable \$srcfile for the compiler.
14.4433 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
14.4434 +
14.4435 +# Set to yes if exported symbols are required.
14.4436 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
14.4437 +
14.4438 +# The commands to list exported symbols.
14.4439 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
14.4440 +
14.4441 +# The commands to extract the exported symbol list from a shared archive.
14.4442 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
14.4443 +
14.4444 +# Symbols that should not be listed in the preloaded symbols.
14.4445 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
14.4446 +
14.4447 +# Symbols that must always be exported.
14.4448 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
14.4449 +
14.4450 +ifelse([$1],[],
14.4451 +[# ### END LIBTOOL CONFIG],
14.4452 +[# ### END LIBTOOL TAG CONFIG: $tagname])
14.4453 +
14.4454 +__EOF__
14.4455 +
14.4456 +ifelse([$1],[], [
14.4457 + case $host_os in
14.4458 + aix3*)
14.4459 + cat <<\EOF >> "$cfgfile"
14.4460 +
14.4461 +# AIX sometimes has problems with the GCC collect2 program. For some
14.4462 +# reason, if we set the COLLECT_NAMES environment variable, the problems
14.4463 +# vanish in a puff of smoke.
14.4464 +if test "X${COLLECT_NAMES+set}" != Xset; then
14.4465 + COLLECT_NAMES=
14.4466 + export COLLECT_NAMES
14.4467 +fi
14.4468 +EOF
14.4469 + ;;
14.4470 + esac
14.4471 +
14.4472 + # We use sed instead of cat because bash on DJGPP gets confused if
14.4473 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
14.4474 + # text mode, it properly converts lines to CR/LF. This bash problem
14.4475 + # is reportedly fixed, but why not run on old versions too?
14.4476 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
14.4477 +
14.4478 + mv -f "$cfgfile" "$ofile" || \
14.4479 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14.4480 + chmod +x "$ofile"
14.4481 +])
14.4482 +else
14.4483 + # If there is no Makefile yet, we rely on a make rule to execute
14.4484 + # `config.status --recheck' to rerun these tests and create the
14.4485 + # libtool script then.
14.4486 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14.4487 + if test -f "$ltmain_in"; then
14.4488 + test -f Makefile && make "$ltmain"
14.4489 + fi
14.4490 +fi
14.4491 +])
14.4492 +m4trace:m4/libtool.m4:4323: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
14.4493 +
14.4494 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
14.4495 +
14.4496 +if test "$GCC" = yes; then
14.4497 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
14.4498 +
14.4499 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
14.4500 + lt_cv_prog_compiler_rtti_exceptions,
14.4501 + [-fno-rtti -fno-exceptions], [],
14.4502 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
14.4503 +fi
14.4504 +])
14.4505 +m4trace:m4/libtool.m4:4341: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST])
14.4506 +AC_REQUIRE([AC_PROG_NM])
14.4507 +AC_REQUIRE([AC_OBJEXT])
14.4508 +# Check for command to grab the raw symbol name followed by C symbol from nm.
14.4509 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
14.4510 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
14.4511 +[
14.4512 +# These are sane defaults that work on at least a few old systems.
14.4513 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
14.4514 +
14.4515 +# Character class describing NM global symbol codes.
14.4516 +symcode='[[BCDEGRST]]'
14.4517 +
14.4518 +# Regexp to match symbols that can be accessed directly from C.
14.4519 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
14.4520 +
14.4521 +# Transform the above into a raw symbol and a C symbol.
14.4522 +symxfrm='\1 \2\3 \3'
14.4523 +
14.4524 +# Transform an extracted symbol line into a proper C declaration
14.4525 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
14.4526 +
14.4527 +# Transform an extracted symbol line into symbol name and symbol address
14.4528 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
14.4529 +
14.4530 +# Define system-specific variables.
14.4531 +case $host_os in
14.4532 +aix*)
14.4533 + symcode='[[BCDT]]'
14.4534 + ;;
14.4535 +cygwin* | mingw* | pw32*)
14.4536 + symcode='[[ABCDGISTW]]'
14.4537 + ;;
14.4538 +hpux*) # Its linker distinguishes data from code symbols
14.4539 + if test "$host_cpu" = ia64; then
14.4540 + symcode='[[ABCDEGRST]]'
14.4541 + fi
14.4542 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14.4543 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
14.4544 + ;;
14.4545 +irix* | nonstopux*)
14.4546 + symcode='[[BCDEGRST]]'
14.4547 + ;;
14.4548 +osf*)
14.4549 + symcode='[[BCDEGQRST]]'
14.4550 + ;;
14.4551 +solaris* | sysv5*)
14.4552 + symcode='[[BDRT]]'
14.4553 + ;;
14.4554 +sysv4)
14.4555 + symcode='[[DFNSTU]]'
14.4556 + ;;
14.4557 +esac
14.4558 +
14.4559 +# Handle CRLF in mingw tool chain
14.4560 +opt_cr=
14.4561 +case $build_os in
14.4562 +mingw*)
14.4563 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
14.4564 + ;;
14.4565 +esac
14.4566 +
14.4567 +# If we're using GNU nm, then use its standard symbol codes.
14.4568 +case `$NM -V 2>&1` in
14.4569 +*GNU* | *'with BFD'*)
14.4570 + symcode='[[ABCDGIRSTW]]' ;;
14.4571 +esac
14.4572 +
14.4573 +# Try without a prefix undercore, then with it.
14.4574 +for ac_symprfx in "" "_"; do
14.4575 +
14.4576 + # Write the raw and C identifiers.
14.4577 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
14.4578 +
14.4579 + # Check to see that the pipe works correctly.
14.4580 + pipe_works=no
14.4581 +
14.4582 + rm -f conftest*
14.4583 + cat > conftest.$ac_ext <<EOF
14.4584 +#ifdef __cplusplus
14.4585 +extern "C" {
14.4586 +#endif
14.4587 +char nm_test_var;
14.4588 +void nm_test_func(){}
14.4589 +#ifdef __cplusplus
14.4590 +}
14.4591 +#endif
14.4592 +int main(){nm_test_var='a';nm_test_func();return(0);}
14.4593 +EOF
14.4594 +
14.4595 + if AC_TRY_EVAL(ac_compile); then
14.4596 + # Now try to grab the symbols.
14.4597 + nlist=conftest.nm
14.4598 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
14.4599 + # Try sorting and uniquifying the output.
14.4600 + if sort "$nlist" | uniq > "$nlist"T; then
14.4601 + mv -f "$nlist"T "$nlist"
14.4602 + else
14.4603 + rm -f "$nlist"T
14.4604 + fi
14.4605 +
14.4606 + # Make sure that we snagged all the symbols we need.
14.4607 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
14.4608 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
14.4609 + cat <<EOF > conftest.$ac_ext
14.4610 +#ifdef __cplusplus
14.4611 +extern "C" {
14.4612 +#endif
14.4613 +
14.4614 +EOF
14.4615 + # Now generate the symbol file.
14.4616 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14.4617 +
14.4618 + cat <<EOF >> conftest.$ac_ext
14.4619 +#if defined (__STDC__) && __STDC__
14.4620 +# define lt_ptr_t void *
14.4621 +#else
14.4622 +# define lt_ptr_t char *
14.4623 +# define const
14.4624 +#endif
14.4625 +
14.4626 +/* The mapping between symbol names and symbols. */
14.4627 +const struct {
14.4628 + const char *name;
14.4629 + lt_ptr_t address;
14.4630 +}
14.4631 +lt_preloaded_symbols[[]] =
14.4632 +{
14.4633 +EOF
14.4634 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14.4635 + cat <<\EOF >> conftest.$ac_ext
14.4636 + {0, (lt_ptr_t) 0}
14.4637 +};
14.4638 +
14.4639 +#ifdef __cplusplus
14.4640 +}
14.4641 +#endif
14.4642 +EOF
14.4643 + # Now try linking the two files.
14.4644 + mv conftest.$ac_objext conftstm.$ac_objext
14.4645 + lt_save_LIBS="$LIBS"
14.4646 + lt_save_CFLAGS="$CFLAGS"
14.4647 + LIBS="conftstm.$ac_objext"
14.4648 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
14.4649 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
14.4650 + pipe_works=yes
14.4651 + fi
14.4652 + LIBS="$lt_save_LIBS"
14.4653 + CFLAGS="$lt_save_CFLAGS"
14.4654 + else
14.4655 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
14.4656 + fi
14.4657 + else
14.4658 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
14.4659 + fi
14.4660 + else
14.4661 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
14.4662 + fi
14.4663 + else
14.4664 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
14.4665 + cat conftest.$ac_ext >&5
14.4666 + fi
14.4667 + rm -f conftest* conftst*
14.4668 +
14.4669 + # Do not use the global_symbol_pipe unless it works.
14.4670 + if test "$pipe_works" = yes; then
14.4671 + break
14.4672 + else
14.4673 + lt_cv_sys_global_symbol_pipe=
14.4674 + fi
14.4675 +done
14.4676 +])
14.4677 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
14.4678 + lt_cv_sys_global_symbol_to_cdecl=
14.4679 +fi
14.4680 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14.4681 + AC_MSG_RESULT(failed)
14.4682 +else
14.4683 + AC_MSG_RESULT(ok)
14.4684 +fi
14.4685 +])
14.4686 +m4trace:m4/libtool.m4:4527: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
14.4687 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14.4688 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
14.4689 +
14.4690 +AC_MSG_CHECKING([for $compiler option to produce PIC])
14.4691 + ifelse([$1],[CXX],[
14.4692 + # C++ specific cases for pic, static, wl, etc.
14.4693 + if test "$GXX" = yes; then
14.4694 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4695 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
14.4696 +
14.4697 + case $host_os in
14.4698 + aix*)
14.4699 + # All AIX code is PIC.
14.4700 + if test "$host_cpu" = ia64; then
14.4701 + # AIX 5 now supports IA64 processor
14.4702 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.4703 + fi
14.4704 + ;;
14.4705 + amigaos*)
14.4706 + # FIXME: we need at least 68020 code to build shared libraries, but
14.4707 + # adding the `-m68020' flag to GCC prevents building anything better,
14.4708 + # like `-m68040'.
14.4709 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
14.4710 + ;;
14.4711 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14.4712 + # PIC is the default for these OSes.
14.4713 + ;;
14.4714 + mingw* | os2* | pw32*)
14.4715 + # This hack is so that the source file can tell whether it is being
14.4716 + # built for inclusion in a dll (and should export symbols for example).
14.4717 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
14.4718 + ;;
14.4719 + darwin* | rhapsody*)
14.4720 + # PIC is the default on this platform
14.4721 + # Common symbols not allowed in MH_DYLIB files
14.4722 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
14.4723 + ;;
14.4724 + *djgpp*)
14.4725 + # DJGPP does not support shared libraries at all
14.4726 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14.4727 + ;;
14.4728 + sysv4*MP*)
14.4729 + if test -d /usr/nec; then
14.4730 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
14.4731 + fi
14.4732 + ;;
14.4733 + hpux*)
14.4734 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14.4735 + # not for PA HP-UX.
14.4736 + case "$host_cpu" in
14.4737 + hppa*64*|ia64*)
14.4738 + ;;
14.4739 + *)
14.4740 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14.4741 + ;;
14.4742 + esac
14.4743 + ;;
14.4744 + *)
14.4745 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14.4746 + ;;
14.4747 + esac
14.4748 + else
14.4749 + case $host_os in
14.4750 + aix4* | aix5*)
14.4751 + # All AIX code is PIC.
14.4752 + if test "$host_cpu" = ia64; then
14.4753 + # AIX 5 now supports IA64 processor
14.4754 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.4755 + else
14.4756 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
14.4757 + fi
14.4758 + ;;
14.4759 + chorus*)
14.4760 + case $cc_basename in
14.4761 + cxch68)
14.4762 + # Green Hills C++ Compiler
14.4763 + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14.4764 + ;;
14.4765 + esac
14.4766 + ;;
14.4767 + dgux*)
14.4768 + case $cc_basename in
14.4769 + ec++)
14.4770 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.4771 + ;;
14.4772 + ghcx)
14.4773 + # Green Hills C++ Compiler
14.4774 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
14.4775 + ;;
14.4776 + *)
14.4777 + ;;
14.4778 + esac
14.4779 + ;;
14.4780 + freebsd* | kfreebsd*-gnu)
14.4781 + # FreeBSD uses GNU C++
14.4782 + ;;
14.4783 + hpux9* | hpux10* | hpux11*)
14.4784 + case $cc_basename in
14.4785 + CC)
14.4786 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4787 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14.4788 + if test "$host_cpu" != ia64; then
14.4789 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
14.4790 + fi
14.4791 + ;;
14.4792 + aCC)
14.4793 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4794 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14.4795 + case "$host_cpu" in
14.4796 + hppa*64*|ia64*)
14.4797 + # +Z the default
14.4798 + ;;
14.4799 + *)
14.4800 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
14.4801 + ;;
14.4802 + esac
14.4803 + ;;
14.4804 + *)
14.4805 + ;;
14.4806 + esac
14.4807 + ;;
14.4808 + irix5* | irix6* | nonstopux*)
14.4809 + case $cc_basename in
14.4810 + CC)
14.4811 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4812 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14.4813 + # CC pic flag -KPIC is the default.
14.4814 + ;;
14.4815 + *)
14.4816 + ;;
14.4817 + esac
14.4818 + ;;
14.4819 + linux*)
14.4820 + case $cc_basename in
14.4821 + KCC)
14.4822 + # KAI C++ Compiler
14.4823 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
14.4824 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14.4825 + ;;
14.4826 + icpc)
14.4827 + # Intel C++
14.4828 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4829 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.4830 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
14.4831 + ;;
14.4832 + cxx)
14.4833 + # Compaq C++
14.4834 + # Make sure the PIC flag is empty. It appears that all Alpha
14.4835 + # Linux and Compaq Tru64 Unix objects are PIC.
14.4836 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14.4837 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14.4838 + ;;
14.4839 + *)
14.4840 + ;;
14.4841 + esac
14.4842 + ;;
14.4843 + lynxos*)
14.4844 + ;;
14.4845 + m88k*)
14.4846 + ;;
14.4847 + mvs*)
14.4848 + case $cc_basename in
14.4849 + cxx)
14.4850 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
14.4851 + ;;
14.4852 + *)
14.4853 + ;;
14.4854 + esac
14.4855 + ;;
14.4856 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14.4857 + ;;
14.4858 + osf3* | osf4* | osf5*)
14.4859 + case $cc_basename in
14.4860 + KCC)
14.4861 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
14.4862 + ;;
14.4863 + RCC)
14.4864 + # Rational C++ 2.4.1
14.4865 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
14.4866 + ;;
14.4867 + cxx)
14.4868 + # Digital/Compaq C++
14.4869 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4870 + # Make sure the PIC flag is empty. It appears that all Alpha
14.4871 + # Linux and Compaq Tru64 Unix objects are PIC.
14.4872 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14.4873 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14.4874 + ;;
14.4875 + *)
14.4876 + ;;
14.4877 + esac
14.4878 + ;;
14.4879 + psos*)
14.4880 + ;;
14.4881 + sco*)
14.4882 + case $cc_basename in
14.4883 + CC)
14.4884 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14.4885 + ;;
14.4886 + *)
14.4887 + ;;
14.4888 + esac
14.4889 + ;;
14.4890 + solaris*)
14.4891 + case $cc_basename in
14.4892 + CC)
14.4893 + # Sun C++ 4.2, 5.x and Centerline C++
14.4894 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.4895 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.4896 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
14.4897 + ;;
14.4898 + gcx)
14.4899 + # Green Hills C++ Compiler
14.4900 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
14.4901 + ;;
14.4902 + *)
14.4903 + ;;
14.4904 + esac
14.4905 + ;;
14.4906 + sunos4*)
14.4907 + case $cc_basename in
14.4908 + CC)
14.4909 + # Sun C++ 4.x
14.4910 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
14.4911 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.4912 + ;;
14.4913 + lcc)
14.4914 + # Lucid
14.4915 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
14.4916 + ;;
14.4917 + *)
14.4918 + ;;
14.4919 + esac
14.4920 + ;;
14.4921 + tandem*)
14.4922 + case $cc_basename in
14.4923 + NCC)
14.4924 + # NonStop-UX NCC 3.20
14.4925 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.4926 + ;;
14.4927 + *)
14.4928 + ;;
14.4929 + esac
14.4930 + ;;
14.4931 + unixware*)
14.4932 + ;;
14.4933 + vxworks*)
14.4934 + ;;
14.4935 + *)
14.4936 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
14.4937 + ;;
14.4938 + esac
14.4939 + fi
14.4940 +],
14.4941 +[
14.4942 + if test "$GCC" = yes; then
14.4943 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.4944 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
14.4945 +
14.4946 + case $host_os in
14.4947 + aix*)
14.4948 + # All AIX code is PIC.
14.4949 + if test "$host_cpu" = ia64; then
14.4950 + # AIX 5 now supports IA64 processor
14.4951 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.4952 + fi
14.4953 + ;;
14.4954 +
14.4955 + amigaos*)
14.4956 + # FIXME: we need at least 68020 code to build shared libraries, but
14.4957 + # adding the `-m68020' flag to GCC prevents building anything better,
14.4958 + # like `-m68040'.
14.4959 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
14.4960 + ;;
14.4961 +
14.4962 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14.4963 + # PIC is the default for these OSes.
14.4964 + ;;
14.4965 +
14.4966 + mingw* | pw32* | os2*)
14.4967 + # This hack is so that the source file can tell whether it is being
14.4968 + # built for inclusion in a dll (and should export symbols for example).
14.4969 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
14.4970 + ;;
14.4971 +
14.4972 + darwin* | rhapsody*)
14.4973 + # PIC is the default on this platform
14.4974 + # Common symbols not allowed in MH_DYLIB files
14.4975 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
14.4976 + ;;
14.4977 +
14.4978 + msdosdjgpp*)
14.4979 + # Just because we use GCC doesn't mean we suddenly get shared libraries
14.4980 + # on systems that don't support them.
14.4981 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
14.4982 + enable_shared=no
14.4983 + ;;
14.4984 +
14.4985 + sysv4*MP*)
14.4986 + if test -d /usr/nec; then
14.4987 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
14.4988 + fi
14.4989 + ;;
14.4990 +
14.4991 + hpux*)
14.4992 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14.4993 + # not for PA HP-UX.
14.4994 + case "$host_cpu" in
14.4995 + hppa*64*|ia64*)
14.4996 + # +Z the default
14.4997 + ;;
14.4998 + *)
14.4999 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14.5000 + ;;
14.5001 + esac
14.5002 + ;;
14.5003 +
14.5004 + *)
14.5005 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14.5006 + ;;
14.5007 + esac
14.5008 + else
14.5009 + # PORTME Check for flag to pass linker flags through the system compiler.
14.5010 + case $host_os in
14.5011 + aix*)
14.5012 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5013 + if test "$host_cpu" = ia64; then
14.5014 + # AIX 5 now supports IA64 processor
14.5015 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5016 + else
14.5017 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
14.5018 + fi
14.5019 + ;;
14.5020 +
14.5021 + mingw* | pw32* | os2*)
14.5022 + # This hack is so that the source file can tell whether it is being
14.5023 + # built for inclusion in a dll (and should export symbols for example).
14.5024 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
14.5025 + ;;
14.5026 +
14.5027 + hpux9* | hpux10* | hpux11*)
14.5028 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5029 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14.5030 + # not for PA HP-UX.
14.5031 + case "$host_cpu" in
14.5032 + hppa*64*|ia64*)
14.5033 + # +Z the default
14.5034 + ;;
14.5035 + *)
14.5036 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
14.5037 + ;;
14.5038 + esac
14.5039 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
14.5040 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
14.5041 + ;;
14.5042 +
14.5043 + irix5* | irix6* | nonstopux*)
14.5044 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5045 + # PIC (with -KPIC) is the default.
14.5046 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14.5047 + ;;
14.5048 +
14.5049 + newsos6)
14.5050 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.5051 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5052 + ;;
14.5053 +
14.5054 + linux*)
14.5055 + case $CC in
14.5056 + icc* | ecc*)
14.5057 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5058 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.5059 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
14.5060 + ;;
14.5061 + ccc*)
14.5062 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5063 + # All Alpha code is PIC.
14.5064 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14.5065 + ;;
14.5066 + esac
14.5067 + ;;
14.5068 +
14.5069 + osf3* | osf4* | osf5*)
14.5070 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5071 + # All OSF/1 code is PIC.
14.5072 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14.5073 + ;;
14.5074 +
14.5075 + sco3.2v5*)
14.5076 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
14.5077 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
14.5078 + ;;
14.5079 +
14.5080 + solaris*)
14.5081 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5082 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.5083 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5084 + ;;
14.5085 +
14.5086 + sunos4*)
14.5087 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
14.5088 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
14.5089 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5090 + ;;
14.5091 +
14.5092 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14.5093 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14.5094 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14.5095 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5096 + ;;
14.5097 +
14.5098 + sysv4*MP*)
14.5099 + if test -d /usr/nec ;then
14.5100 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
14.5101 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5102 + fi
14.5103 + ;;
14.5104 +
14.5105 + uts4*)
14.5106 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
14.5107 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14.5108 + ;;
14.5109 +
14.5110 + *)
14.5111 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
14.5112 + ;;
14.5113 + esac
14.5114 + fi
14.5115 +])
14.5116 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
14.5117 +
14.5118 +#
14.5119 +# Check to make sure the PIC flag actually works.
14.5120 +#
14.5121 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
14.5122 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
14.5123 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
14.5124 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
14.5125 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
14.5126 + "" | " "*) ;;
14.5127 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
14.5128 + esac],
14.5129 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14.5130 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
14.5131 +fi
14.5132 +case "$host_os" in
14.5133 + # For platforms which do not support PIC, -DPIC is meaningless:
14.5134 + *djgpp*)
14.5135 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14.5136 + ;;
14.5137 + *)
14.5138 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
14.5139 + ;;
14.5140 +esac
14.5141 +])
14.5142 +m4trace:m4/libtool.m4:4989: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
14.5143 +ifelse([$1],[CXX],[
14.5144 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14.5145 + case $host_os in
14.5146 + aix4* | aix5*)
14.5147 + # If we're using GNU nm, then we don't want the "-C" option.
14.5148 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
14.5149 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14.5150 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
14.5151 + else
14.5152 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
14.5153 + fi
14.5154 + ;;
14.5155 + pw32*)
14.5156 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
14.5157 + ;;
14.5158 + cygwin* | mingw*)
14.5159 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
14.5160 + ;;
14.5161 + linux*)
14.5162 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
14.5163 + ;;
14.5164 + *)
14.5165 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14.5166 + ;;
14.5167 + esac
14.5168 +],[
14.5169 + runpath_var=
14.5170 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
14.5171 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
14.5172 + _LT_AC_TAGVAR(archive_cmds, $1)=
14.5173 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
14.5174 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
14.5175 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
14.5176 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
14.5177 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14.5178 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
14.5179 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
14.5180 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
14.5181 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
14.5182 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.5183 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
14.5184 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
14.5185 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
14.5186 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
14.5187 + _LT_AC_TAGVAR(module_cmds, $1)=
14.5188 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
14.5189 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
14.5190 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14.5191 + # include_expsyms should be a list of space-separated symbols to be *always*
14.5192 + # included in the symbol list
14.5193 + _LT_AC_TAGVAR(include_expsyms, $1)=
14.5194 + # exclude_expsyms can be an extended regexp of symbols to exclude
14.5195 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
14.5196 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14.5197 + # as well as any symbol that contains `d'.
14.5198 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
14.5199 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14.5200 + # platforms (ab)use it in PIC code, but their linkers get confused if
14.5201 + # the symbol is explicitly referenced. Since portable code cannot
14.5202 + # rely on this symbol name, it's probably fine to never include it in
14.5203 + # preloaded symbol tables.
14.5204 + extract_expsyms_cmds=
14.5205 +
14.5206 + case $host_os in
14.5207 + cygwin* | mingw* | pw32*)
14.5208 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
14.5209 + # When not using gcc, we currently assume that we are using
14.5210 + # Microsoft Visual C++.
14.5211 + if test "$GCC" != yes; then
14.5212 + with_gnu_ld=no
14.5213 + fi
14.5214 + ;;
14.5215 + openbsd*)
14.5216 + with_gnu_ld=no
14.5217 + ;;
14.5218 + esac
14.5219 +
14.5220 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
14.5221 + if test "$with_gnu_ld" = yes; then
14.5222 + # If archive_cmds runs LD, not CC, wlarc should be empty
14.5223 + wlarc='${wl}'
14.5224 +
14.5225 + # See if GNU ld supports shared libraries.
14.5226 + case $host_os in
14.5227 + aix3* | aix4* | aix5*)
14.5228 + # On AIX/PPC, the GNU linker is very broken
14.5229 + if test "$host_cpu" != ia64; then
14.5230 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5231 + cat <<EOF 1>&2
14.5232 +
14.5233 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14.5234 +*** to be unable to reliably create shared libraries on AIX.
14.5235 +*** Therefore, libtool is disabling shared libraries support. If you
14.5236 +*** really care for shared libraries, you may want to modify your PATH
14.5237 +*** so that a non-GNU linker is found, and then restart.
14.5238 +
14.5239 +EOF
14.5240 + fi
14.5241 + ;;
14.5242 +
14.5243 + amigaos*)
14.5244 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14.5245 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5246 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5247 +
14.5248 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14.5249 + # that the semantics of dynamic libraries on AmigaOS, at least up
14.5250 + # to version 4, is to share data among multiple programs linked
14.5251 + # with the same dynamic library. Since this doesn't match the
14.5252 + # behavior of shared libraries on other platforms, we can't use
14.5253 + # them.
14.5254 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5255 + ;;
14.5256 +
14.5257 + beos*)
14.5258 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14.5259 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14.5260 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14.5261 + # support --undefined. This deserves some investigation. FIXME
14.5262 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.5263 + else
14.5264 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5265 + fi
14.5266 + ;;
14.5267 +
14.5268 + cygwin* | mingw* | pw32*)
14.5269 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
14.5270 + # as there is no search path for DLLs.
14.5271 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5272 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14.5273 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
14.5274 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
14.5275 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
14.5276 +
14.5277 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14.5278 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14.5279 + # If the export-symbols file already is a .def file (1st line
14.5280 + # is EXPORTS), use it as is; otherwise, prepend...
14.5281 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14.5282 + cp $export_symbols $output_objdir/$soname.def;
14.5283 + else
14.5284 + echo EXPORTS > $output_objdir/$soname.def;
14.5285 + cat $export_symbols >> $output_objdir/$soname.def;
14.5286 + fi~
14.5287 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14.5288 + else
14.5289 + ld_shlibs=no
14.5290 + fi
14.5291 + ;;
14.5292 +
14.5293 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14.5294 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14.5295 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14.5296 + wlarc=
14.5297 + else
14.5298 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.5299 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14.5300 + fi
14.5301 + ;;
14.5302 +
14.5303 + solaris* | sysv5*)
14.5304 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14.5305 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5306 + cat <<EOF 1>&2
14.5307 +
14.5308 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14.5309 +*** create shared libraries on Solaris systems. Therefore, libtool
14.5310 +*** is disabling shared libraries support. We urge you to upgrade GNU
14.5311 +*** binutils to release 2.9.1 or newer. Another option is to modify
14.5312 +*** your PATH or compiler configuration so that the native linker is
14.5313 +*** used, and then restart.
14.5314 +
14.5315 +EOF
14.5316 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14.5317 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.5318 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14.5319 + else
14.5320 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5321 + fi
14.5322 + ;;
14.5323 +
14.5324 + sunos4*)
14.5325 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14.5326 + wlarc=
14.5327 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5328 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5329 + ;;
14.5330 +
14.5331 + linux*)
14.5332 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14.5333 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.5334 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
14.5335 + supports_anon_versioning=no
14.5336 + case `$LD -v 2>/dev/null` in
14.5337 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
14.5338 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14.5339 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14.5340 + *\ 2.11.*) ;; # other 2.11 versions
14.5341 + *) supports_anon_versioning=yes ;;
14.5342 + esac
14.5343 + if test $supports_anon_versioning = yes; then
14.5344 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
14.5345 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14.5346 +$echo "local: *; };" >> $output_objdir/$libname.ver~
14.5347 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14.5348 + else
14.5349 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
14.5350 + fi
14.5351 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
14.5352 + else
14.5353 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5354 + fi
14.5355 + ;;
14.5356 +
14.5357 + *)
14.5358 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14.5359 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14.5360 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14.5361 + else
14.5362 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5363 + fi
14.5364 + ;;
14.5365 + esac
14.5366 +
14.5367 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
14.5368 + runpath_var=LD_RUN_PATH
14.5369 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
14.5370 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
14.5371 + # ancient GNU ld didn't support --whole-archive et. al.
14.5372 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14.5373 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14.5374 + else
14.5375 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14.5376 + fi
14.5377 + fi
14.5378 + else
14.5379 + # PORTME fill in a description of your system's linker (not GNU ld)
14.5380 + case $host_os in
14.5381 + aix3*)
14.5382 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14.5383 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
14.5384 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14.5385 + # Note: this linker hardcodes the directories in LIBPATH if there
14.5386 + # are no directories specified by -L.
14.5387 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5388 + if test "$GCC" = yes && test -z "$link_static_flag"; then
14.5389 + # Neither direct hardcoding nor static linking is supported with a
14.5390 + # broken collect2.
14.5391 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
14.5392 + fi
14.5393 + ;;
14.5394 +
14.5395 + aix4* | aix5*)
14.5396 + if test "$host_cpu" = ia64; then
14.5397 + # On IA64, the linker does run time linking by default, so we don't
14.5398 + # have to do anything special.
14.5399 + aix_use_runtimelinking=no
14.5400 + exp_sym_flag='-Bexport'
14.5401 + no_entry_flag=""
14.5402 + else
14.5403 + # If we're using GNU nm, then we don't want the "-C" option.
14.5404 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
14.5405 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14.5406 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
14.5407 + else
14.5408 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
14.5409 + fi
14.5410 + aix_use_runtimelinking=no
14.5411 +
14.5412 + # Test if we are trying to use run time linking or normal
14.5413 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14.5414 + # need to do runtime linking.
14.5415 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
14.5416 + for ld_flag in $LDFLAGS; do
14.5417 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14.5418 + aix_use_runtimelinking=yes
14.5419 + break
14.5420 + fi
14.5421 + done
14.5422 + esac
14.5423 +
14.5424 + exp_sym_flag='-bexport'
14.5425 + no_entry_flag='-bnoentry'
14.5426 + fi
14.5427 +
14.5428 + # When large executables or shared objects are built, AIX ld can
14.5429 + # have problems creating the table of contents. If linking a library
14.5430 + # or program results in "error TOC overflow" add -mminimal-toc to
14.5431 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14.5432 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14.5433 +
14.5434 + _LT_AC_TAGVAR(archive_cmds, $1)=''
14.5435 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5436 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
14.5437 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.5438 +
14.5439 + if test "$GCC" = yes; then
14.5440 + case $host_os in aix4.[012]|aix4.[012].*)
14.5441 + # We only want to do this on AIX 4.2 and lower, the check
14.5442 + # below for broken collect2 doesn't work under 4.3+
14.5443 + collect2name=`${CC} -print-prog-name=collect2`
14.5444 + if test -f "$collect2name" && \
14.5445 + strings "$collect2name" | grep resolve_lib_name >/dev/null
14.5446 + then
14.5447 + # We have reworked collect2
14.5448 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5449 + else
14.5450 + # We have old collect2
14.5451 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
14.5452 + # It fails to find uninstalled libraries when the uninstalled
14.5453 + # path is not listed in the libpath. Setting hardcode_minus_L
14.5454 + # to unsupported forces relinking
14.5455 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5456 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5457 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
14.5458 + fi
14.5459 + esac
14.5460 + shared_flag='-shared'
14.5461 + else
14.5462 + # not using gcc
14.5463 + if test "$host_cpu" = ia64; then
14.5464 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14.5465 + # chokes on -Wl,-G. The following line is correct:
14.5466 + shared_flag='-G'
14.5467 + else
14.5468 + if test "$aix_use_runtimelinking" = yes; then
14.5469 + shared_flag='${wl}-G'
14.5470 + else
14.5471 + shared_flag='${wl}-bM:SRE'
14.5472 + fi
14.5473 + fi
14.5474 + fi
14.5475 +
14.5476 + # It seems that -bexpall does not export symbols beginning with
14.5477 + # underscore (_), so it is better to generate a list of symbols to export.
14.5478 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
14.5479 + if test "$aix_use_runtimelinking" = yes; then
14.5480 + # Warning - without using the other runtime loading flags (-brtl),
14.5481 + # -berok will link without error, but may produce a broken library.
14.5482 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
14.5483 + # Determine the default libpath from the value encoded in an empty executable.
14.5484 + _LT_AC_SYS_LIBPATH_AIX
14.5485 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
14.5486 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14.5487 + else
14.5488 + if test "$host_cpu" = ia64; then
14.5489 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
14.5490 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
14.5491 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14.5492 + else
14.5493 + # Determine the default libpath from the value encoded in an empty executable.
14.5494 + _LT_AC_SYS_LIBPATH_AIX
14.5495 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
14.5496 + # Warning - without using the other run time loading flags,
14.5497 + # -berok will link without error, but may produce a broken library.
14.5498 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
14.5499 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
14.5500 + # -bexpall does not export symbols beginning with underscore (_)
14.5501 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
14.5502 + # Exported symbols can be pulled into shared objects from archives
14.5503 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
14.5504 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
14.5505 + # This is similar to how AIX traditionally builds it's shared libraries.
14.5506 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14.5507 + fi
14.5508 + fi
14.5509 + ;;
14.5510 +
14.5511 + amigaos*)
14.5512 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14.5513 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5514 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5515 + # see comment about different semantics on the GNU ld section
14.5516 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5517 + ;;
14.5518 +
14.5519 + bsdi4*)
14.5520 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
14.5521 + ;;
14.5522 +
14.5523 + cygwin* | mingw* | pw32*)
14.5524 + # When not using gcc, we currently assume that we are using
14.5525 + # Microsoft Visual C++.
14.5526 + # hardcode_libdir_flag_spec is actually meaningless, as there is
14.5527 + # no search path for DLLs.
14.5528 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
14.5529 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14.5530 + # Tell ltmain to make .lib files, not .a files.
14.5531 + libext=lib
14.5532 + # Tell ltmain to make .dll files, not .so files.
14.5533 + shrext_cmds=".dll"
14.5534 + # FIXME: Setting linknames here is a bad hack.
14.5535 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14.5536 + # The linker will automatically build a .lib file if we build a DLL.
14.5537 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
14.5538 + # FIXME: Should let the user specify the lib program.
14.5539 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
14.5540 + fix_srcfile_path='`cygpath -w "$srcfile"`'
14.5541 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
14.5542 + ;;
14.5543 +
14.5544 + darwin* | rhapsody*)
14.5545 + if test "$GXX" = yes ; then
14.5546 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.5547 + case "$host_os" in
14.5548 + rhapsody* | darwin1.[[012]])
14.5549 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
14.5550 + ;;
14.5551 + *) # Darwin 1.3 on
14.5552 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14.5553 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
14.5554 + else
14.5555 + case ${MACOSX_DEPLOYMENT_TARGET} in
14.5556 + 10.[[012]])
14.5557 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
14.5558 + ;;
14.5559 + 10.*)
14.5560 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
14.5561 + ;;
14.5562 + esac
14.5563 + fi
14.5564 + ;;
14.5565 + esac
14.5566 + lt_int_apple_cc_single_mod=no
14.5567 + output_verbose_link_cmd='echo'
14.5568 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14.5569 + lt_int_apple_cc_single_mod=yes
14.5570 + fi
14.5571 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14.5572 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14.5573 + else
14.5574 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14.5575 + fi
14.5576 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14.5577 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14.5578 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14.5579 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.5580 + else
14.5581 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.5582 + fi
14.5583 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14.5584 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.5585 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
14.5586 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
14.5587 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
14.5588 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.5589 + else
14.5590 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5591 + fi
14.5592 + ;;
14.5593 +
14.5594 + dgux*)
14.5595 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5596 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5597 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5598 + ;;
14.5599 +
14.5600 + freebsd1*)
14.5601 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5602 + ;;
14.5603 +
14.5604 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14.5605 + # support. Future versions do this automatically, but an explicit c++rt0.o
14.5606 + # does not break anything, and helps significantly (at the cost of a little
14.5607 + # extra space).
14.5608 + freebsd2.2*)
14.5609 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14.5610 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.5611 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5612 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5613 + ;;
14.5614 +
14.5615 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14.5616 + freebsd2*)
14.5617 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14.5618 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5619 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5620 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5621 + ;;
14.5622 +
14.5623 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14.5624 + freebsd* | kfreebsd*-gnu)
14.5625 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14.5626 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.5627 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5628 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5629 + ;;
14.5630 +
14.5631 + hpux9*)
14.5632 + if test "$GCC" = yes; then
14.5633 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14.5634 + else
14.5635 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14.5636 + fi
14.5637 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
14.5638 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5639 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5640 +
14.5641 + # hardcode_minus_L: Not really in the search PATH,
14.5642 + # but as the default location of the library.
14.5643 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5644 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
14.5645 + ;;
14.5646 +
14.5647 + hpux10* | hpux11*)
14.5648 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14.5649 + case "$host_cpu" in
14.5650 + hppa*64*|ia64*)
14.5651 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14.5652 + ;;
14.5653 + *)
14.5654 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14.5655 + ;;
14.5656 + esac
14.5657 + else
14.5658 + case "$host_cpu" in
14.5659 + hppa*64*|ia64*)
14.5660 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5661 + ;;
14.5662 + *)
14.5663 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14.5664 + ;;
14.5665 + esac
14.5666 + fi
14.5667 + if test "$with_gnu_ld" = no; then
14.5668 + case "$host_cpu" in
14.5669 + hppa*64*)
14.5670 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
14.5671 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
14.5672 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5673 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.5674 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5675 + ;;
14.5676 + ia64*)
14.5677 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5678 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.5679 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5680 +
14.5681 + # hardcode_minus_L: Not really in the search PATH,
14.5682 + # but as the default location of the library.
14.5683 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5684 + ;;
14.5685 + *)
14.5686 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
14.5687 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5688 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5689 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
14.5690 +
14.5691 + # hardcode_minus_L: Not really in the search PATH,
14.5692 + # but as the default location of the library.
14.5693 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5694 + ;;
14.5695 + esac
14.5696 + fi
14.5697 + ;;
14.5698 +
14.5699 + irix5* | irix6* | nonstopux*)
14.5700 + if test "$GCC" = yes; then
14.5701 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14.5702 + else
14.5703 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14.5704 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
14.5705 + fi
14.5706 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.5707 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5708 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.5709 + ;;
14.5710 +
14.5711 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14.5712 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14.5713 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14.5714 + else
14.5715 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14.5716 + fi
14.5717 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.5718 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5719 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5720 + ;;
14.5721 +
14.5722 + newsos6)
14.5723 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5724 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5725 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.5726 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5727 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5728 + ;;
14.5729 +
14.5730 + openbsd*)
14.5731 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5732 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5733 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14.5734 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14.5735 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
14.5736 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
14.5737 + else
14.5738 + case $host_os in
14.5739 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
14.5740 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14.5741 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.5742 + ;;
14.5743 + *)
14.5744 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14.5745 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
14.5746 + ;;
14.5747 + esac
14.5748 + fi
14.5749 + ;;
14.5750 +
14.5751 + os2*)
14.5752 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5753 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5754 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14.5755 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14.5756 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14.5757 + ;;
14.5758 +
14.5759 + osf3*)
14.5760 + if test "$GCC" = yes; then
14.5761 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
14.5762 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14.5763 + else
14.5764 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
14.5765 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14.5766 + fi
14.5767 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.5768 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5769 + ;;
14.5770 +
14.5771 + osf4* | osf5*) # as osf3* with the addition of -msym flag
14.5772 + if test "$GCC" = yes; then
14.5773 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
14.5774 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14.5775 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
14.5776 + else
14.5777 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
14.5778 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14.5779 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14.5780 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14.5781 +
14.5782 + # Both c and cxx compiler support -rpath directly
14.5783 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
14.5784 + fi
14.5785 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
14.5786 + ;;
14.5787 +
14.5788 + sco3.2v5*)
14.5789 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5790 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5791 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
14.5792 + runpath_var=LD_RUN_PATH
14.5793 + hardcode_runpath_var=yes
14.5794 + ;;
14.5795 +
14.5796 + solaris*)
14.5797 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
14.5798 + if test "$GCC" = yes; then
14.5799 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14.5800 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14.5801 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14.5802 + else
14.5803 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5804 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14.5805 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14.5806 + fi
14.5807 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
14.5808 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5809 + case $host_os in
14.5810 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
14.5811 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14.5812 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
14.5813 + esac
14.5814 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
14.5815 + ;;
14.5816 +
14.5817 + sunos4*)
14.5818 + if test "x$host_vendor" = xsequent; then
14.5819 + # Use $CC to link under sequent, because it throws in some extra .o
14.5820 + # files that make .init and .fini sections work.
14.5821 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14.5822 + else
14.5823 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14.5824 + fi
14.5825 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5826 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5827 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14.5828 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5829 + ;;
14.5830 +
14.5831 + sysv4)
14.5832 + case $host_vendor in
14.5833 + sni)
14.5834 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5835 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
14.5836 + ;;
14.5837 + siemens)
14.5838 + ## LD is ld it makes a PLAMLIB
14.5839 + ## CC just makes a GrossModule.
14.5840 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14.5841 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
14.5842 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
14.5843 + ;;
14.5844 + motorola)
14.5845 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5846 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
14.5847 + ;;
14.5848 + esac
14.5849 + runpath_var='LD_RUN_PATH'
14.5850 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5851 + ;;
14.5852 +
14.5853 + sysv4.3*)
14.5854 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5855 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5856 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
14.5857 + ;;
14.5858 +
14.5859 + sysv4*MP*)
14.5860 + if test -d /usr/nec; then
14.5861 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5862 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5863 + runpath_var=LD_RUN_PATH
14.5864 + hardcode_runpath_var=yes
14.5865 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
14.5866 + fi
14.5867 + ;;
14.5868 +
14.5869 + sysv4.2uw2*)
14.5870 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14.5871 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
14.5872 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
14.5873 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5874 + hardcode_runpath_var=yes
14.5875 + runpath_var=LD_RUN_PATH
14.5876 + ;;
14.5877 +
14.5878 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
14.5879 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
14.5880 + if test "$GCC" = yes; then
14.5881 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14.5882 + else
14.5883 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14.5884 + fi
14.5885 + runpath_var='LD_RUN_PATH'
14.5886 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5887 + ;;
14.5888 +
14.5889 + sysv5*)
14.5890 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
14.5891 + # $CC -shared without GNU ld will not create a library from C++
14.5892 + # object files and a static libstdc++, better avoid it by now
14.5893 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5894 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14.5895 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14.5896 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
14.5897 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5898 + runpath_var='LD_RUN_PATH'
14.5899 + ;;
14.5900 +
14.5901 + uts4*)
14.5902 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14.5903 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14.5904 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14.5905 + ;;
14.5906 +
14.5907 + *)
14.5908 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
14.5909 + ;;
14.5910 + esac
14.5911 + fi
14.5912 +])
14.5913 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
14.5914 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
14.5915 +
14.5916 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14.5917 +if test "$GCC" = yes; then
14.5918 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14.5919 +fi
14.5920 +
14.5921 +#
14.5922 +# Do we need to explicitly link libc?
14.5923 +#
14.5924 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
14.5925 +x|xyes)
14.5926 + # Assume -lc should be added
14.5927 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
14.5928 +
14.5929 + if test "$enable_shared" = yes && test "$GCC" = yes; then
14.5930 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
14.5931 + *'~'*)
14.5932 + # FIXME: we may have to deal with multi-command sequences.
14.5933 + ;;
14.5934 + '$CC '*)
14.5935 + # Test whether the compiler implicitly links with -lc since on some
14.5936 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
14.5937 + # to ld, don't add -lc before -lgcc.
14.5938 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
14.5939 + $rm conftest*
14.5940 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14.5941 +
14.5942 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
14.5943 + soname=conftest
14.5944 + lib=conftest
14.5945 + libobjs=conftest.$ac_objext
14.5946 + deplibs=
14.5947 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
14.5948 + compiler_flags=-v
14.5949 + linker_flags=-v
14.5950 + verstring=
14.5951 + output_objdir=.
14.5952 + libname=conftest
14.5953 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
14.5954 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
14.5955 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
14.5956 + then
14.5957 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
14.5958 + else
14.5959 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
14.5960 + fi
14.5961 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
14.5962 + else
14.5963 + cat conftest.err 1>&5
14.5964 + fi
14.5965 + $rm conftest*
14.5966 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
14.5967 + ;;
14.5968 + esac
14.5969 + fi
14.5970 + ;;
14.5971 +esac
14.5972 +])
14.5973 +m4trace:m4/libtool.m4:5826: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
14.5974 +# /* ltdll.c starts here */
14.5975 +# #define WIN32_LEAN_AND_MEAN
14.5976 +# #include <windows.h>
14.5977 +# #undef WIN32_LEAN_AND_MEAN
14.5978 +# #include <stdio.h>
14.5979 +#
14.5980 +# #ifndef __CYGWIN__
14.5981 +# # ifdef __CYGWIN32__
14.5982 +# # define __CYGWIN__ __CYGWIN32__
14.5983 +# # endif
14.5984 +# #endif
14.5985 +#
14.5986 +# #ifdef __cplusplus
14.5987 +# extern "C" {
14.5988 +# #endif
14.5989 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
14.5990 +# #ifdef __cplusplus
14.5991 +# }
14.5992 +# #endif
14.5993 +#
14.5994 +# #ifdef __CYGWIN__
14.5995 +# #include <cygwin/cygwin_dll.h>
14.5996 +# DECLARE_CYGWIN_DLL( DllMain );
14.5997 +# #endif
14.5998 +# HINSTANCE __hDllInstance_base;
14.5999 +#
14.6000 +# BOOL APIENTRY
14.6001 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
14.6002 +# {
14.6003 +# __hDllInstance_base = hInst;
14.6004 +# return TRUE;
14.6005 +# }
14.6006 +# /* ltdll.c ends here */
14.6007 +])
14.6008 +m4trace:m4/libtool.m4:5865: -1- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
14.6009 +m4trace:m4/libtool.m4:5869: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
14.6010 +m4trace:m4/libtool.m4:5870: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
14.6011 +m4trace:m4/libtool.m4:5871: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
14.6012 +m4trace:m4/libtool.m4:5872: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
14.6013 +m4trace:m4/libtool.m4:5873: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
14.6014 +m4trace:m4/libtool.m4:5874: -1- AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
14.6015 +m4trace:m4/libtool.m4:5875: -1- AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
14.6016 +m4trace:m4/libtool.m4:5880: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no)
14.6017 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
14.6018 + AC_SUBST(GCJFLAGS)
14.6019 +])
14.6020 +m4trace:m4/libtool.m4:5886: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no)
14.6021 +])
14.6022 +m4trace:m4/libtool.m4:5900: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output])
14.6023 +AC_CACHE_VAL(lt_cv_path_SED,
14.6024 +[# Loop through the user's path and test for sed and gsed.
14.6025 +# Then use that list of sed's as ones to test for truncation.
14.6026 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14.6027 +for as_dir in $PATH
14.6028 +do
14.6029 + IFS=$as_save_IFS
14.6030 + test -z "$as_dir" && as_dir=.
14.6031 + for lt_ac_prog in sed gsed; do
14.6032 + for ac_exec_ext in '' $ac_executable_extensions; do
14.6033 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
14.6034 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
14.6035 + fi
14.6036 + done
14.6037 + done
14.6038 +done
14.6039 +lt_ac_max=0
14.6040 +lt_ac_count=0
14.6041 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
14.6042 +# along with /bin/sed that truncates output.
14.6043 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
14.6044 + test ! -f $lt_ac_sed && break
14.6045 + cat /dev/null > conftest.in
14.6046 + lt_ac_count=0
14.6047 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
14.6048 + # Check for GNU sed and select it if it is found.
14.6049 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
14.6050 + lt_cv_path_SED=$lt_ac_sed
14.6051 + break
14.6052 + fi
14.6053 + while true; do
14.6054 + cat conftest.in conftest.in >conftest.tmp
14.6055 + mv conftest.tmp conftest.in
14.6056 + cp conftest.in conftest.nl
14.6057 + echo >>conftest.nl
14.6058 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
14.6059 + cmp -s conftest.out conftest.nl || break
14.6060 + # 10000 chars as input seems more than enough
14.6061 + test $lt_ac_count -gt 10 && break
14.6062 + lt_ac_count=`expr $lt_ac_count + 1`
14.6063 + if test $lt_ac_count -gt $lt_ac_max; then
14.6064 + lt_ac_max=$lt_ac_count
14.6065 + lt_cv_path_SED=$lt_ac_sed
14.6066 + fi
14.6067 + done
14.6068 +done
14.6069 +SED=$lt_cv_path_SED
14.6070 +])
14.6071 +AC_MSG_RESULT([$SED])
14.6072 +])
14.6073 +m4trace:m4/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
14.6074 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
14.6075 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
14.6076 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14.6077 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
14.6078 +fi
14.6079 +if test -n "$PKG_CONFIG"; then
14.6080 + _pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
14.6081 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
14.6082 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14.6083 + AC_MSG_RESULT([yes])
14.6084 + else
14.6085 + AC_MSG_RESULT([no])
14.6086 + PKG_CONFIG=""
14.6087 + fi
14.6088 +
14.6089 +fi[]dnl
14.6090 +])
14.6091 +m4trace:m4/pkg.m4:72: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
14.6092 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
14.6093 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
14.6094 +
14.6095 +pkg_failed=no
14.6096 +AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
14.6097 + [_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])])
14.6098 +AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
14.6099 + [_PKG_CONFIG([$1][_LIBS], [libs], [$2])])
14.6100 +
14.6101 +if test $pkg_failed = yes; then
14.6102 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
14.6103 + # Put the nasty error message in config.log where it belongs
14.6104 + echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
14.6105 +
14.6106 + ifelse([$4], , [AC_MSG_ERROR(dnl
14.6107 +[Package requirements ($2) were not met.
14.6108 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
14.6109 +installed software in a non-standard prefix.
14.6110 +
14.6111 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
14.6112 +to avoid the need to call pkg-config. See the pkg-config man page for
14.6113 +more details.])],
14.6114 + [$4])
14.6115 +elif test $pkg_failed = untried; then
14.6116 + ifelse([$4], , [AC_MSG_FAILURE(dnl
14.6117 +[The pkg-config script could not be found or is too old. Make sure it
14.6118 +is in your PATH or set the PKG_CONFIG environment variable to the full
14.6119 +path to pkg-config.
14.6120 +
14.6121 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
14.6122 +to avoid the need to call pkg-config. See the pkg-config man page for
14.6123 +more details.
14.6124 +
14.6125 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
14.6126 + [$4])
14.6127 +else
14.6128 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
14.6129 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
14.6130 + ifelse([$3], , :, [$3])
14.6131 +fi[]dnl
14.6132 +])
14.6133 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
14.6134 +m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
14.6135 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
14.6136 +m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
14.6137 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
14.6138 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
14.6139 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
14.6140 +m4trace:configure.ac:3: -1- m4_pattern_allow([^SHELL$])
14.6141 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PATH_SEPARATOR$])
14.6142 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
14.6143 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
14.6144 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
14.6145 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
14.6146 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
14.6147 +m4trace:configure.ac:3: -1- m4_pattern_allow([^exec_prefix$])
14.6148 +m4trace:configure.ac:3: -1- m4_pattern_allow([^prefix$])
14.6149 +m4trace:configure.ac:3: -1- m4_pattern_allow([^program_transform_name$])
14.6150 +m4trace:configure.ac:3: -1- m4_pattern_allow([^bindir$])
14.6151 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sbindir$])
14.6152 +m4trace:configure.ac:3: -1- m4_pattern_allow([^libexecdir$])
14.6153 +m4trace:configure.ac:3: -1- m4_pattern_allow([^datarootdir$])
14.6154 +m4trace:configure.ac:3: -1- m4_pattern_allow([^datadir$])
14.6155 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sysconfdir$])
14.6156 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sharedstatedir$])
14.6157 +m4trace:configure.ac:3: -1- m4_pattern_allow([^localstatedir$])
14.6158 +m4trace:configure.ac:3: -1- m4_pattern_allow([^includedir$])
14.6159 +m4trace:configure.ac:3: -1- m4_pattern_allow([^oldincludedir$])
14.6160 +m4trace:configure.ac:3: -1- m4_pattern_allow([^docdir$])
14.6161 +m4trace:configure.ac:3: -1- m4_pattern_allow([^infodir$])
14.6162 +m4trace:configure.ac:3: -1- m4_pattern_allow([^htmldir$])
14.6163 +m4trace:configure.ac:3: -1- m4_pattern_allow([^dvidir$])
14.6164 +m4trace:configure.ac:3: -1- m4_pattern_allow([^pdfdir$])
14.6165 +m4trace:configure.ac:3: -1- m4_pattern_allow([^psdir$])
14.6166 +m4trace:configure.ac:3: -1- m4_pattern_allow([^libdir$])
14.6167 +m4trace:configure.ac:3: -1- m4_pattern_allow([^localedir$])
14.6168 +m4trace:configure.ac:3: -1- m4_pattern_allow([^mandir$])
14.6169 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
14.6170 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
14.6171 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
14.6172 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
14.6173 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
14.6174 +m4trace:configure.ac:3: -1- m4_pattern_allow([^DEFS$])
14.6175 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_C$])
14.6176 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_N$])
14.6177 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_T$])
14.6178 +m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
14.6179 +m4trace:configure.ac:3: -1- m4_pattern_allow([^build_alias$])
14.6180 +m4trace:configure.ac:3: -1- m4_pattern_allow([^host_alias$])
14.6181 +m4trace:configure.ac:3: -1- m4_pattern_allow([^target_alias$])
14.6182 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build$])
14.6183 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_cpu$])
14.6184 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_vendor$])
14.6185 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_os$])
14.6186 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host$])
14.6187 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_cpu$])
14.6188 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_vendor$])
14.6189 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_os$])
14.6190 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target$])
14.6191 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_cpu$])
14.6192 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_vendor$])
14.6193 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_os$])
14.6194 +m4trace:configure.ac:10: -1- AM_DISABLE_STATIC
14.6195 +m4trace:configure.ac:10: -1- AC_DISABLE_STATIC([])
14.6196 +m4trace:configure.ac:10: -1- AC_ENABLE_STATIC([no])
14.6197 +m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.6198 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.6199 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
14.6200 +m4/libtool.m4:1799: AC_ENABLE_STATIC is expanded from...
14.6201 +m4/libtool.m4:1828: AC_DISABLE_STATIC is expanded from...
14.6202 +m4/libtool.m4:5873: AM_DISABLE_STATIC is expanded from...
14.6203 +configure.ac:10: the top level])
14.6204 +m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
14.6205 +m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
14.6206 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
14.6207 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
14.6208 +m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
14.6209 +m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
14.6210 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINT$])
14.6211 +m4trace:configure.ac:17: -1- AS_VERSION([gst-indt-plugins], [GST_PLUGINS_VERSION], [0], [10], [0], [1], [GST_CVS="no"], [GST_CVS="yes"])
14.6212 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION$])
14.6213 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION$])
14.6214 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_RELEASE$])
14.6215 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_RELEASE$])
14.6216 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MAJOR$])
14.6217 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MINOR$])
14.6218 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MICRO$])
14.6219 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_NANO$])
14.6220 +m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$])
14.6221 +m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$])
14.6222 +m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$])
14.6223 +m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$])
14.6224 +m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
14.6225 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
14.6226 +m4trace:configure.ac:19: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
14.6227 +m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.10])
14.6228 +m4trace:configure.ac:19: -1- _AM_AUTOCONF_VERSION([2.61])
14.6229 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
14.6230 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
14.6231 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_DATA$])
14.6232 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__isrc$])
14.6233 +m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__isrc])
14.6234 +m4trace:configure.ac:19: -1- m4_pattern_allow([^CYGPATH_W$])
14.6235 +m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
14.6236 +m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
14.6237 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
14.6238 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
14.6239 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-define])
14.6240 +m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
14.6241 +m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
14.6242 +m4trace:configure.ac:19: -1- AM_SANITY_CHECK
14.6243 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
14.6244 +m4trace:configure.ac:19: -1- AM_MISSING_HAS_RUN
14.6245 +m4trace:configure.ac:19: -1- AM_AUX_DIR_EXPAND
14.6246 +m4trace:configure.ac:19: -1- m4_pattern_allow([^ACLOCAL$])
14.6247 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
14.6248 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOCONF$])
14.6249 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
14.6250 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOMAKE$])
14.6251 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
14.6252 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOHEADER$])
14.6253 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
14.6254 +m4trace:configure.ac:19: -1- m4_pattern_allow([^MAKEINFO$])
14.6255 +m4trace:configure.ac:19: -1- AM_PROG_INSTALL_SH
14.6256 +m4trace:configure.ac:19: -1- m4_pattern_allow([^install_sh$])
14.6257 +m4trace:configure.ac:19: -1- AM_PROG_INSTALL_STRIP
14.6258 +m4trace:configure.ac:19: -1- m4_pattern_allow([^STRIP$])
14.6259 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
14.6260 +m4trace:configure.ac:19: -1- AM_PROG_MKDIR_P
14.6261 +m4trace:configure.ac:19: -1- m4_pattern_allow([^mkdir_p$])
14.6262 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AWK$])
14.6263 +m4trace:configure.ac:19: -1- m4_pattern_allow([^SET_MAKE$])
14.6264 +m4trace:configure.ac:19: -1- AM_SET_LEADING_DOT
14.6265 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__leading_dot$])
14.6266 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
14.6267 + [_AM_PROG_TAR([v7])])])
14.6268 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([tar-ustar])
14.6269 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
14.6270 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([tar-pax])
14.6271 +m4trace:configure.ac:19: -1- _AM_PROG_TAR([v7])
14.6272 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AMTAR], [tar])
14.6273 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AMTAR$])
14.6274 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__tar$])
14.6275 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__untar$])
14.6276 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
14.6277 + [_AM_DEPENDENCIES(CC)],
14.6278 + [define([AC_PROG_CC],
14.6279 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
14.6280 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
14.6281 + [_AM_DEPENDENCIES(CXX)],
14.6282 + [define([AC_PROG_CXX],
14.6283 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
14.6284 +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
14.6285 + [_AM_DEPENDENCIES(OBJC)],
14.6286 + [define([AC_PROG_OBJC],
14.6287 + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
14.6288 +])
14.6289 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-dependencies])
14.6290 +m4trace:configure.ac:21: -1- AM_PROG_LIBTOOL
14.6291 +m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
14.6292 +m4trace:configure.ac:21: -1- _AC_PROG_LIBTOOL
14.6293 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SETUP
14.6294 +m4trace:configure.ac:21: -1- AC_ENABLE_SHARED
14.6295 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.6296 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.6297 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
14.6298 +m4/libtool.m4:1760: AC_ENABLE_SHARED is expanded from...
14.6299 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.6300 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.6301 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.6302 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.6303 +configure.ac:21: the top level])
14.6304 +m4trace:configure.ac:21: -1- AC_ENABLE_FAST_INSTALL
14.6305 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.6306 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.6307 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
14.6308 +m4/libtool.m4:1838: AC_ENABLE_FAST_INSTALL is expanded from...
14.6309 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.6310 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.6311 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.6312 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.6313 +configure.ac:21: the top level])
14.6314 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
14.6315 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CFLAGS$])
14.6316 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
14.6317 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
14.6318 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
14.6319 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
14.6320 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
14.6321 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
14.6322 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
14.6323 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CC$])
14.6324 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EXEEXT$])
14.6325 +m4trace:configure.ac:21: -1- m4_pattern_allow([^OBJEXT$])
14.6326 +m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CC])
14.6327 +m4trace:configure.ac:21: -1- AM_SET_DEPDIR
14.6328 +m4trace:configure.ac:21: -1- m4_pattern_allow([^DEPDIR$])
14.6329 +m4trace:configure.ac:21: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
14.6330 +m4trace:configure.ac:21: -1- AM_MAKE_INCLUDE
14.6331 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__include$])
14.6332 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__quote$])
14.6333 +m4trace:configure.ac:21: -1- AM_DEP_TRACK
14.6334 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
14.6335 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_TRUE$])
14.6336 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_FALSE$])
14.6337 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
14.6338 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
14.6339 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
14.6340 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
14.6341 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CCDEPMODE$])
14.6342 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
14.6343 + test "x$enable_dependency_tracking" != xno \
14.6344 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
14.6345 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
14.6346 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
14.6347 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
14.6348 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
14.6349 +m4trace:configure.ac:21: -1- AC_PROG_LD
14.6350 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.6351 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.6352 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
14.6353 +m4/libtool.m4:1979: AC_PROG_LD is expanded from...
14.6354 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.6355 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.6356 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.6357 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.6358 +configure.ac:21: the top level])
14.6359 +m4trace:configure.ac:21: -1- LT_AC_PROG_SED
14.6360 +m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
14.6361 +m4trace:configure.ac:21: -1- AC_PROG_EGREP
14.6362 +m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
14.6363 +m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
14.6364 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
14.6365 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
14.6366 +m4trace:configure.ac:21: -1- AC_PROG_LD_RELOAD_FLAG
14.6367 +m4trace:configure.ac:21: -1- AC_PROG_NM
14.6368 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LN_S$])
14.6369 +m4trace:configure.ac:21: -1- AC_DEPLIBS_CHECK_METHOD
14.6370 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_MAX_CMD_LEN
14.6371 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
14.6372 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.6373 +m4trace:configure.ac:21: -1- AC_LIBTOOL_OBJDIR
14.6374 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
14.6375 +m4trace:configure.ac:21: -1- _LT_AC_PROG_ECHO_BACKSLASH
14.6376 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([
14.6377 +# Check that we are running under the correct shell.
14.6378 +SHELL=${CONFIG_SHELL-/bin/sh}
14.6379 +
14.6380 +case X$ECHO in
14.6381 +X*--fallback-echo)
14.6382 + # Remove one level of quotation (which was required for Make).
14.6383 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
14.6384 + ;;
14.6385 +esac
14.6386 +
14.6387 +echo=${ECHO-echo}
14.6388 +if test "X[$]1" = X--no-reexec; then
14.6389 + # Discard the --no-reexec flag, and continue.
14.6390 + shift
14.6391 +elif test "X[$]1" = X--fallback-echo; then
14.6392 + # Avoid inline document here, it may be left over
14.6393 + :
14.6394 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
14.6395 + # Yippee, $echo works!
14.6396 + :
14.6397 +else
14.6398 + # Restart under the correct shell.
14.6399 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
14.6400 +fi
14.6401 +
14.6402 +if test "X[$]1" = X--fallback-echo; then
14.6403 + # used as fallback echo
14.6404 + shift
14.6405 + cat <<EOF
14.6406 +[$]*
14.6407 +EOF
14.6408 + exit 0
14.6409 +fi
14.6410 +
14.6411 +# The HP-UX ksh and POSIX shell print the target directory to stdout
14.6412 +# if CDPATH is set.
14.6413 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
14.6414 +
14.6415 +if test -z "$ECHO"; then
14.6416 +if test "X${echo_test_string+set}" != Xset; then
14.6417 +# find a string as large as possible, as long as the shell can cope with it
14.6418 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
14.6419 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
14.6420 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
14.6421 + echo_test_string="`eval $cmd`" &&
14.6422 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
14.6423 + then
14.6424 + break
14.6425 + fi
14.6426 + done
14.6427 +fi
14.6428 +
14.6429 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
14.6430 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
14.6431 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.6432 + :
14.6433 +else
14.6434 + # The Solaris, AIX, and Digital Unix default echo programs unquote
14.6435 + # backslashes. This makes it impossible to quote backslashes using
14.6436 + # echo "$something" | sed 's/\\/\\\\/g'
14.6437 + #
14.6438 + # So, first we look for a working echo in the user's PATH.
14.6439 +
14.6440 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14.6441 + for dir in $PATH /usr/ucb; do
14.6442 + IFS="$lt_save_ifs"
14.6443 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
14.6444 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
14.6445 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
14.6446 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.6447 + echo="$dir/echo"
14.6448 + break
14.6449 + fi
14.6450 + done
14.6451 + IFS="$lt_save_ifs"
14.6452 +
14.6453 + if test "X$echo" = Xecho; then
14.6454 + # We didn't find a better echo, so look for alternatives.
14.6455 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
14.6456 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
14.6457 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.6458 + # This shell has a builtin print -r that does the trick.
14.6459 + echo='print -r'
14.6460 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
14.6461 + test "X$CONFIG_SHELL" != X/bin/ksh; then
14.6462 + # If we have ksh, try running configure again with it.
14.6463 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14.6464 + export ORIGINAL_CONFIG_SHELL
14.6465 + CONFIG_SHELL=/bin/ksh
14.6466 + export CONFIG_SHELL
14.6467 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
14.6468 + else
14.6469 + # Try using printf.
14.6470 + echo='printf %s\n'
14.6471 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
14.6472 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
14.6473 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.6474 + # Cool, printf works
14.6475 + :
14.6476 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
14.6477 + test "X$echo_testing_string" = 'X\t' &&
14.6478 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
14.6479 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.6480 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
14.6481 + export CONFIG_SHELL
14.6482 + SHELL="$CONFIG_SHELL"
14.6483 + export SHELL
14.6484 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
14.6485 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
14.6486 + test "X$echo_testing_string" = 'X\t' &&
14.6487 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
14.6488 + test "X$echo_testing_string" = "X$echo_test_string"; then
14.6489 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
14.6490 + else
14.6491 + # maybe with a smaller string...
14.6492 + prev=:
14.6493 +
14.6494 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
14.6495 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
14.6496 + then
14.6497 + break
14.6498 + fi
14.6499 + prev="$cmd"
14.6500 + done
14.6501 +
14.6502 + if test "$prev" != 'sed 50q "[$]0"'; then
14.6503 + echo_test_string=`eval $prev`
14.6504 + export echo_test_string
14.6505 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
14.6506 + else
14.6507 + # Oops. We lost completely, so just stick with echo.
14.6508 + echo=echo
14.6509 + fi
14.6510 + fi
14.6511 + fi
14.6512 + fi
14.6513 +fi
14.6514 +fi
14.6515 +
14.6516 +# Copy echo and quote the copy suitably for passing to libtool from
14.6517 +# the Makefile, instead of quoting the original, which is used later.
14.6518 +ECHO=$echo
14.6519 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
14.6520 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
14.6521 +fi
14.6522 +
14.6523 +AC_SUBST(ECHO)
14.6524 +])
14.6525 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO$])
14.6526 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AR$])
14.6527 +m4trace:configure.ac:21: -1- m4_pattern_allow([^RANLIB$])
14.6528 +m4trace:configure.ac:21: -1- m4_pattern_allow([^STRIP$])
14.6529 +m4trace:configure.ac:21: -1- AC_PATH_MAGIC
14.6530 +m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
14.6531 +m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
14.6532 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.6533 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.6534 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
14.6535 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.6536 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.6537 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.6538 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.6539 +configure.ac:21: the top level])
14.6540 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.6541 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.6542 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
14.6543 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.6544 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.6545 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.6546 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.6547 +configure.ac:21: the top level])
14.6548 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_C_CONFIG
14.6549 +m4trace:configure.ac:21: -1- _LT_AC_LANG_C_CONFIG
14.6550 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [])
14.6551 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
14.6552 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
14.6560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_cc_can_build_shared], [])
14.6561 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static_works], [])
14.6562 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6563 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, ) works], [lt_prog_compiler_static_works], [$lt_prog_compiler_static], [], [_LT_AC_TAGVAR(lt_prog_compiler_static, )=])
14.6564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6567 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([])
14.6568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.6569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.6570 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
14.6571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.6572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.6573 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([])
14.6574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
14.6584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6602 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6603 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6604 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6605 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6606 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6607 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6608 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6612 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6613 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6614 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6615 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6616 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6617 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6618 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6619 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6620 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
14.6621 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6623 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6624 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [])
14.6625 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, ) works], [lt_prog_compiler_pic_works], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, )ifelse([],[],[ -DPIC],[ifelse([],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, ) in
14.6626 + "" | " "*) ;;
14.6627 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, )=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, )" ;;
14.6628 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, )=
14.6629 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
14.6630 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6631 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6632 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6633 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6634 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6635 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6636 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6637 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
14.6638 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6639 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6640 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6641 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([])
14.6642 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6643 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6644 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6645 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6646 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6649 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([])
14.6650 +m4trace:configure.ac:21: -1- _LT_AC_LOCK
14.6651 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
14.6652 +You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
14.6653 +../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
14.6654 +../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
14.6655 +../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
14.6656 +m4/libtool.m4:437: _LT_AC_LOCK is expanded from...
14.6657 +m4/libtool.m4:970: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
14.6658 +m4/libtool.m4:2473: _LT_AC_LANG_C_CONFIG is expanded from...
14.6659 +m4/libtool.m4:2472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
14.6660 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.6661 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.6662 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.6663 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.6664 +configure.ac:21: the top level])
14.6665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.6666 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([])
14.6667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
14.6669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
14.6672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
14.6673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
14.6676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
14.6678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
14.6684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
14.6685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
14.6686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
14.6687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.6688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
14.6689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
14.6690 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
14.6702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
14.6703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.6704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6711 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6714 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6715 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6716 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6717 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6718 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6719 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6720 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6721 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6722 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6723 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6724 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6725 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6726 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6727 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6728 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6729 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6730 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
14.6731 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6732 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6733 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6734 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.6735 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.6736 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6737 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6738 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6739 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6740 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6741 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6742 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6743 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6744 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6745 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
14.6746 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6747 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.6748 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6749 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6750 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6751 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6752 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6753 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.6754 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6755 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
14.6756 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6757 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
14.6758 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6759 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6760 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6761 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6762 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6763 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6764 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6765 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6766 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6767 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6768 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6769 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
14.6770 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
14.6771 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
14.6772 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6773 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6774 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6775 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6776 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6777 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6778 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6779 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
14.6780 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6781 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6782 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
14.6783 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6784 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
14.6785 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6786 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6787 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6788 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6789 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6790 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6791 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6792 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6793 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6794 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6795 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6796 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6797 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6798 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6799 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6800 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6801 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6802 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6803 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6804 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6805 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6806 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6807 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6808 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6809 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6810 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6811 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6812 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6813 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6814 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6815 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6816 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6817 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
14.6818 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6819 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6820 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6821 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6822 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6823 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6824 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6825 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6826 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6827 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6828 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6829 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6830 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6831 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6832 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
14.6833 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6834 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6835 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6836 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6837 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6838 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6839 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6840 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6841 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6842 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6843 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6844 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6845 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6846 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6847 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6848 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6849 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6850 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6851 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6852 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6853 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6854 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6855 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6856 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6857 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6858 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6859 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
14.6860 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6861 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6862 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6863 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6864 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6865 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6866 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6867 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6868 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6869 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6870 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6871 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6872 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6873 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.6874 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6875 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6876 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6877 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
14.6878 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6879 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6880 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6881 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6882 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6883 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6884 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6885 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6886 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6887 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6888 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6889 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6890 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6891 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6892 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6893 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6894 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6895 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [])
14.6896 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6897 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6898 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6899 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6900 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6901 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6902 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6903 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6904 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6905 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6906 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6907 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6908 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6909 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6910 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
14.6911 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6912 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6913 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6914 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
14.6915 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6916 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6917 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6918 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6919 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6920 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6921 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6922 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6923 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6924 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6925 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6926 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6927 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6928 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6929 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6930 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6931 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6932 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [])
14.6933 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6934 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6935 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6936 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6937 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6938 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([])
14.6939 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([])
14.6940 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6941 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.6942 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var ])
14.6943 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
14.6944 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6945 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.6946 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6947 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6948 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6949 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6950 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6951 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.6952 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
14.6953 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([])
14.6954 +m4trace:configure.ac:21: -1- _LT_AC_CHECK_DLFCN
14.6955 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
14.6956 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
14.6957 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
14.6958 +m4trace:configure.ac:21: -1- m4_pattern_allow([^STDC_HEADERS$])
14.6959 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
14.6960 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
14.6961 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.6962 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6963 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6964 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6965 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.6966 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6967 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
14.6968 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6969 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
14.6970 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.6971 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
14.6972 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.6973 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6974 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.6975 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
14.6976 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([])
14.6977 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
14.6978 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [])
14.6979 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
14.6980 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.6981 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.6982 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.6983 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.6984 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.6985 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
14.6986 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.6987 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
14.6988 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
14.6989 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
14.6990 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
14.6991 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
14.6992 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
14.6993 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
14.6994 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
14.6995 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.6996 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.6997 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [])
14.6998 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [])
14.6999 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
14.7000 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.7001 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
14.7002 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.7003 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.7004 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
14.7005 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.7006 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
14.7007 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
14.7008 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
14.7009 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.7010 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
14.7011 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
14.7012 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
14.7013 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
14.7014 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.7015 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.7016 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
14.7017 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
14.7018 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
14.7019 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.7020 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
14.7021 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
14.7022 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
14.7023 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [])
14.7024 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
14.7025 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
14.7026 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
14.7027 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
14.7028 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
14.7029 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
14.7030 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
14.7031 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
14.7032 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
14.7033 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
14.7034 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
14.7035 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
14.7036 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
14.7037 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
14.7038 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
14.7039 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
14.7040 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
14.7041 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
14.7042 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
14.7043 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
14.7044 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
14.7045 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
14.7046 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
14.7047 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
14.7048 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
14.7049 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
14.7050 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
14.7051 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
14.7052 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
14.7053 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
14.7054 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
14.7055 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
14.7056 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [])
14.7057 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
14.7058 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
14.7059 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
14.7060 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
14.7061 +m4trace:configure.ac:21: -1- _LT_AC_TAGCONFIG
14.7062 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
14.7063 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
14.7064 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
14.7065 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.7066 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.7067 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.7068 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.7069 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.7070 +configure.ac:21: the top level])
14.7071 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.7072 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.7073 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.7074 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.7075 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.7076 +configure.ac:21: the top level])
14.7077 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.7078 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.7079 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.7080 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.7081 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.7082 +configure.ac:21: the top level])
14.7083 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_CXX_CONFIG
14.7084 +m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX_CONFIG([CXX])
14.7085 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXX$])
14.7086 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXFLAGS$])
14.7087 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
14.7088 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
14.7089 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
14.7090 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXX$])
14.7091 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CXX$])
14.7092 +m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CXX])
14.7093 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXDEPMODE$])
14.7094 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
14.7095 + test "x$enable_dependency_tracking" != xno \
14.7096 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
14.7097 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
14.7098 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
14.7099 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
14.7100 +m4trace:configure.ac:21: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
14.7101 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXCPP$])
14.7102 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
14.7103 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXCPP$])
14.7104 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7105 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7106 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
14.7107 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7108 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7109 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7110 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7111 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
14.7112 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7113 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7114 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
14.7115 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
14.7116 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
14.7117 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7118 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7119 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
14.7120 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7121 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
14.7122 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7123 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7124 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
14.7125 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7126 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7127 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [CXX])
14.7128 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
14.7129 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
14.7130 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
14.7131 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
14.7132 +m4trace:configure.ac:21: -1- AC_PROG_LD
14.7133 +m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
14.7134 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7135 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7136 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7137 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7138 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7139 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7140 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7141 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7142 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7143 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7144 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7145 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7146 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7147 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7148 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7149 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7150 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7151 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7152 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
14.7153 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7154 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.7155 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7156 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7157 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7158 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7159 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7160 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.7161 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7162 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
14.7163 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7164 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
14.7165 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7166 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7167 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7168 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7169 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7170 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7171 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
14.7172 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
14.7173 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7174 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7175 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7176 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7177 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7178 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7179 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7180 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7181 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7182 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7183 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
14.7184 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7185 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7186 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
14.7187 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7188 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
14.7189 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
14.7190 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7191 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7192 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7193 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7194 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7195 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7196 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7197 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7198 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7199 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7200 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7201 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7202 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7203 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7204 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7205 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7206 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7207 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7208 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7209 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
14.7210 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7211 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7212 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7213 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7214 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7215 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7216 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
14.7217 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7218 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
14.7219 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7220 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7221 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7222 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7223 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7224 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7225 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7226 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7227 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7228 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7229 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7230 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7231 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7232 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7233 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7234 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7235 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7236 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7237 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7238 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7239 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7240 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7241 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7242 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7243 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7244 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7245 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7246 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7247 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7248 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7249 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7250 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7252 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7253 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7254 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7255 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7256 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7257 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
14.7258 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7259 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7260 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7261 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7262 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7263 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7264 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7265 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7266 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7267 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7268 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7269 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7270 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7271 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7272 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7273 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7274 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7275 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7276 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7277 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7278 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7279 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7280 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7281 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7282 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7283 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7284 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7285 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7286 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7287 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7288 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7289 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7290 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7291 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7292 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7293 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7294 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
14.7295 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7296 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7297 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7298 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
14.7299 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7300 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7301 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7302 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7303 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7304 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
14.7305 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7306 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7307 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7308 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7309 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7310 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7311 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7312 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7313 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7314 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7315 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7316 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7317 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7318 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
14.7319 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
14.7320 +m4trace:configure.ac:21: -1- AC_LIBTOOL_POSTDEP_PREDEP([CXX])
14.7321 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7322 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7323 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7324 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7325 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7326 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7327 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7328 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7329 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7330 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7331 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7332 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7333 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7334 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7335 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7336 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7337 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7338 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7339 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([CXX])
14.7340 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7341 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7342 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7343 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7344 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7345 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7346 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7347 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7348 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7349 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7351 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7352 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7353 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7354 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7355 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7356 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7357 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7358 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7359 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7360 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7361 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7362 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7363 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7364 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7365 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7366 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7367 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7368 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7369 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7370 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7371 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7372 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7373 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7374 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7375 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7376 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7377 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7378 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7379 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7380 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7381 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7382 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7383 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7384 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7385 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7386 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7387 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
14.7388 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7389 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7390 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7391 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [CXX])
14.7392 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX) works], [lt_prog_compiler_pic_works_CXX], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)ifelse([CXX],[],[ -DPIC],[ifelse([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX) in
14.7393 + "" | " "*) ;;
14.7394 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
14.7395 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=
14.7396 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
14.7397 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7398 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7399 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7400 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7401 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7402 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7403 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7404 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
14.7405 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7406 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7407 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7408 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([CXX])
14.7409 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7410 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7411 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7412 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7413 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7414 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7415 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7416 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([CXX])
14.7417 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7418 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([CXX])
14.7419 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7420 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7421 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7422 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7423 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7424 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7425 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7426 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7427 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7428 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
14.7429 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7430 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7431 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7432 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7433 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7434 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7435 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7436 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7437 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7438 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7439 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7440 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7441 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([CXX])
14.7442 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([CXX])
14.7443 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7444 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7445 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var CXX])
14.7446 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
14.7447 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7448 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7449 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7450 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7451 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7452 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7453 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7454 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7455 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
14.7456 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([CXX])
14.7457 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
14.7458 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
14.7459 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([CXX])
14.7460 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
14.7461 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [CXX])
14.7462 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
14.7463 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
14.7467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7468 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
14.7469 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7470 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
14.7471 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7472 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
14.7473 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7474 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7475 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
14.7476 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7477 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7478 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7479 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7480 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [CXX])
14.7481 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [CXX])
14.7482 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
14.7483 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7484 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
14.7485 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7486 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7487 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
14.7488 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7489 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
14.7490 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
14.7491 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
14.7492 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7493 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
14.7494 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
14.7495 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7496 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
14.7497 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7498 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7499 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
14.7500 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
14.7501 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
14.7502 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7503 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
14.7504 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
14.7505 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
14.7506 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
14.7507 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
14.7508 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
14.7509 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
14.7510 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
14.7511 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
14.7512 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
14.7513 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
14.7514 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
14.7515 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
14.7516 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
14.7517 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
14.7518 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
14.7519 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
14.7520 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
14.7521 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
14.7522 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
14.7523 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
14.7524 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
14.7525 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
14.7526 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
14.7527 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
14.7528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
14.7529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
14.7530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
14.7531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
14.7532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
14.7533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
14.7534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
14.7535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
14.7536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
14.7537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
14.7538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
14.7539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [CXX])
14.7540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
14.7541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
14.7542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
14.7543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
14.7544 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_F77_CONFIG
14.7545 +m4trace:configure.ac:21: -1- _LT_AC_LANG_F77_CONFIG([F77])
14.7546 +m4trace:configure.ac:21: -1- m4_pattern_allow([^F77$])
14.7547 +m4trace:configure.ac:21: -1- m4_pattern_allow([^FFLAGS$])
14.7548 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
14.7549 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
14.7550 +m4trace:configure.ac:21: -1- m4_pattern_allow([^F77$])
14.7551 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_F77$])
14.7552 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.7555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
14.7560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
14.7563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
14.7564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
14.7565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
14.7567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.7568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
14.7570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [F77])
14.7571 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
14.7572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
14.7573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
14.7575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
14.7576 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([F77])
14.7577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
14.7587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7602 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7603 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7604 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7605 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7606 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7607 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7608 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7612 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7613 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7614 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7615 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7616 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7617 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7618 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7619 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7620 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7621 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7623 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
14.7624 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7625 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7626 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7627 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [F77])
14.7628 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77) works], [lt_prog_compiler_pic_works_F77], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)ifelse([F77],[],[ -DPIC],[ifelse([F77],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77) in
14.7629 + "" | " "*) ;;
14.7630 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)" ;;
14.7631 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=
14.7632 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, F77)=no])
14.7633 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7634 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7635 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7636 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7637 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7638 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7639 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7640 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
14.7641 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7642 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7643 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7644 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([F77])
14.7645 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7646 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7649 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7650 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7651 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7652 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([F77])
14.7653 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7654 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([F77])
14.7655 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7656 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
14.7657 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7658 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7659 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
14.7660 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
14.7661 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7662 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7663 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
14.7664 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
14.7666 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
14.7672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
14.7673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
14.7674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.7675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.7676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
14.7677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
14.7678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.7690 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
14.7691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.7692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7711 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7714 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7715 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7716 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7717 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7718 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.7719 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7720 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7721 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7722 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.7723 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.7724 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7725 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7726 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7727 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7728 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7729 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7730 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7731 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7732 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7733 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.7734 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7735 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.7736 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7737 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7738 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7739 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7740 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7741 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.7742 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7743 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.7744 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7745 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.7746 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7747 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7748 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7749 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7750 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7751 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7752 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7753 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7754 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7755 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7756 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7757 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
14.7758 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
14.7759 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
14.7760 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7761 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7762 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7763 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7764 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7765 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7766 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7767 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
14.7768 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7769 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7770 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
14.7771 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7772 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
14.7773 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7774 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7775 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7776 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7777 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7778 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7779 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7780 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7781 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7782 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7783 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7784 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7785 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7786 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7787 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7788 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7789 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7790 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7791 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7792 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7793 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7794 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7795 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7796 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7797 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7798 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7799 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7800 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7801 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7802 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7803 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7804 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7805 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
14.7806 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7807 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7808 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7809 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7810 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7811 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7812 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7813 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7814 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7815 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7816 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7817 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7818 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7819 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7820 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
14.7821 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7822 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7823 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7824 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7825 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7826 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7827 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7828 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7829 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7830 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7831 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7832 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7833 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7834 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7835 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7836 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7837 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7838 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7839 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7840 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7841 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7842 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7843 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7844 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7845 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7846 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7847 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
14.7848 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7849 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7850 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7851 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7852 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7853 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7854 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7855 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7856 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7857 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7858 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7859 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7860 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7861 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7862 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7863 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7864 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7865 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.7866 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7867 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7868 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7869 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7870 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7871 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7872 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7873 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.7874 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7875 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7876 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7877 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7878 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7879 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7880 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7881 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7882 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7883 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [F77])
14.7884 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7885 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7886 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7887 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7888 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7889 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7890 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7891 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7892 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7893 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7894 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7895 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7896 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7897 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7898 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.7899 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7900 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7901 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7902 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.7903 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7904 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7905 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7906 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7907 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7908 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7909 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.7910 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7911 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7912 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7913 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
14.7914 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7915 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7916 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7917 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7918 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7919 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7920 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7921 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7922 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7923 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7924 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7925 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7926 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([F77])
14.7927 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([F77])
14.7928 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7929 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7930 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var F77])
14.7931 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
14.7932 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.7933 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.7934 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7935 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7936 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7937 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7938 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7939 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.7940 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
14.7941 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([F77])
14.7942 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
14.7943 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [F77])
14.7944 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
14.7945 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7946 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7947 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7948 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
14.7949 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7950 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
14.7951 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7952 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
14.7953 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
14.7954 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
14.7955 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
14.7956 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
14.7957 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
14.7958 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
14.7959 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
14.7960 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7961 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7962 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [F77])
14.7963 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [F77])
14.7964 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
14.7965 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.7966 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.7967 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.7968 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.7969 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
14.7970 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.7971 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
14.7972 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
14.7973 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
14.7974 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7975 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
14.7976 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
14.7977 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
14.7978 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
14.7979 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.7980 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.7981 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
14.7982 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
14.7983 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
14.7984 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.7985 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
14.7986 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
14.7987 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
14.7988 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
14.7989 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
14.7990 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
14.7991 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
14.7992 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
14.7993 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
14.7994 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
14.7995 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
14.7996 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
14.7997 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
14.7998 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
14.7999 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
14.8000 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
14.8001 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
14.8002 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
14.8003 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
14.8004 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
14.8005 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
14.8006 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
14.8007 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
14.8008 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
14.8009 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
14.8010 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
14.8011 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
14.8012 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
14.8013 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
14.8014 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
14.8015 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
14.8016 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
14.8017 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
14.8018 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
14.8019 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
14.8020 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
14.8021 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [F77])
14.8022 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
14.8023 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
14.8024 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
14.8025 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
14.8026 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_GCJ_CONFIG
14.8027 +m4trace:configure.ac:21: -1- _LT_AC_LANG_GCJ_CONFIG([GCJ])
14.8028 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
14.8029 +You should run autoupdate.], [../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
14.8030 +m4/libtool.m4:3748: _LT_AC_LANG_GCJ_CONFIG is expanded from...
14.8031 +m4/libtool.m4:3747: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
14.8032 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.8033 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.8034 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.8035 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.8036 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.8037 +configure.ac:21: the top level])
14.8038 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [GCJ])
14.8039 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
14.8040 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
14.8041 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8042 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([GCJ])
14.8043 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
14.8044 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
14.8045 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, GCJ)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, GCJ) -fno-rtti -fno-exceptions"])
14.8046 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
14.8047 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
14.8048 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([GCJ])
14.8049 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8050 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8051 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8052 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8053 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8054 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8055 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8056 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8057 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8058 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
14.8059 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8060 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8061 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8062 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8063 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8064 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8065 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8066 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8067 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8068 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8069 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8070 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8071 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8072 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8073 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8074 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8075 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8076 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8077 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8078 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8079 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8080 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8081 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8082 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8083 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8084 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8085 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8086 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8087 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8088 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8089 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8090 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8091 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8092 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8093 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8094 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8095 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
14.8096 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8097 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8098 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8099 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [GCJ])
14.8100 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ) works], [lt_prog_compiler_pic_works_GCJ], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)ifelse([GCJ],[],[ -DPIC],[ifelse([GCJ],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ) in
14.8101 + "" | " "*) ;;
14.8102 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)" ;;
14.8103 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=
14.8104 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, GCJ)=no])
14.8105 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8106 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8107 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8108 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8109 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8110 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8111 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8112 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
14.8113 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8114 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8115 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8116 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([GCJ])
14.8117 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8118 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8119 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8120 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8121 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8122 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8123 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8124 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([GCJ])
14.8125 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8126 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([GCJ])
14.8127 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8128 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
14.8129 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8130 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8131 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
14.8132 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
14.8133 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8134 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8135 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
14.8136 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8137 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
14.8138 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8139 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8140 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8141 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8142 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8143 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
14.8144 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
14.8145 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
14.8146 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
14.8147 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8148 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
14.8149 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
14.8150 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8151 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8152 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8153 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8154 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8155 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8156 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8157 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8158 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8159 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8160 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8161 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
14.8162 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
14.8163 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8164 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8165 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8166 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8167 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8168 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8169 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8170 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8171 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8172 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8173 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8174 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8175 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8176 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8177 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8178 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8179 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8180 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8181 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8182 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8183 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8184 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8185 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8186 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8187 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8188 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8189 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8190 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
14.8191 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8192 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8193 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8194 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8195 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8196 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8197 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8198 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8199 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8200 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8201 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8202 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8203 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8204 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8205 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
14.8206 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8207 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.8208 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8209 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8210 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8211 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8212 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8213 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
14.8214 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8215 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
14.8216 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8217 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
14.8218 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8219 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8220 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8221 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8222 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8223 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8224 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8225 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8226 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8227 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8228 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8229 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
14.8230 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
14.8231 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
14.8232 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8233 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8234 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8235 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8236 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8237 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8238 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8239 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
14.8240 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8241 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8242 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
14.8243 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8244 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
14.8245 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8246 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8247 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8248 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8249 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8250 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8252 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8253 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8254 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8255 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8256 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8257 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8258 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8259 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8260 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8261 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8262 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8263 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8264 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8265 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8266 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8267 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8268 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8269 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8270 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8271 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8272 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8273 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8274 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8275 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8276 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8277 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
14.8278 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8279 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8280 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8281 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8282 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8283 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8284 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8285 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8286 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8287 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8288 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8289 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8290 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8291 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8292 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
14.8293 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8294 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8295 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8296 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8297 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8298 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8299 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8300 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8301 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8302 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8303 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8304 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8305 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8306 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8307 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8308 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8309 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8310 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8311 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8312 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8313 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8314 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8315 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8316 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8317 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8318 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8319 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
14.8320 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8321 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8322 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8323 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8324 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8325 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8326 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8327 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8328 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8329 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8330 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8331 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8332 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8333 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8334 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8335 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8336 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8337 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
14.8338 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8339 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8340 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8341 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8342 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8343 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8344 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8345 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8346 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8347 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8348 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8349 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8351 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8352 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8353 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8354 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8355 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [GCJ])
14.8356 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8357 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8358 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8359 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8360 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8361 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8362 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8363 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8364 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8365 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8366 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8367 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8368 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8369 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8370 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
14.8371 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8372 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8373 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8374 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
14.8375 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8376 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8377 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8378 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8379 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8380 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8381 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8382 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8383 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8384 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8385 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
14.8386 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8387 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8388 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8389 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8390 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8391 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8392 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8393 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8394 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8395 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8396 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8397 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8398 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([GCJ])
14.8399 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([GCJ])
14.8400 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8401 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8402 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var GCJ])
14.8403 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
14.8404 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8405 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8406 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8407 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8408 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8409 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8410 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8411 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8412 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
14.8413 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([GCJ])
14.8414 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
14.8415 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
14.8416 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([GCJ])
14.8417 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
14.8418 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [GCJ])
14.8419 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
14.8420 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8421 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8422 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8423 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
14.8424 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8425 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
14.8426 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8427 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
14.8428 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
14.8429 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
14.8430 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
14.8431 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
14.8432 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
14.8433 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
14.8434 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
14.8435 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8436 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8437 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [GCJ])
14.8438 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [GCJ])
14.8439 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
14.8440 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8441 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
14.8442 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8443 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8444 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
14.8445 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8446 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
14.8447 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
14.8448 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
14.8449 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8450 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
14.8451 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
14.8452 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
14.8453 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
14.8454 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8455 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8456 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
14.8457 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
14.8458 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
14.8459 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8460 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
14.8461 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
14.8462 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
14.8463 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [GCJ])
14.8464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
14.8465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
14.8466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
14.8467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
14.8468 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
14.8469 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
14.8470 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
14.8471 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
14.8472 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
14.8473 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
14.8474 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
14.8475 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
14.8476 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
14.8477 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
14.8478 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
14.8479 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
14.8480 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
14.8481 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
14.8482 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
14.8483 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
14.8484 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
14.8485 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
14.8486 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
14.8487 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
14.8488 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
14.8489 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
14.8490 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
14.8491 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
14.8492 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
14.8493 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
14.8494 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
14.8495 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
14.8496 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [GCJ])
14.8497 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
14.8498 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
14.8499 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
14.8500 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
14.8501 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
14.8502 +You should run autoupdate.], [../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
14.8503 +m4/libtool.m4:3748: _LT_AC_LANG_GCJ_CONFIG is expanded from...
14.8504 +m4/libtool.m4:3747: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
14.8505 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.8506 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.8507 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.8508 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.8509 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.8510 +configure.ac:21: the top level])
14.8511 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_RC_CONFIG
14.8512 +m4trace:configure.ac:21: -1- _LT_AC_LANG_RC_CONFIG([RC])
14.8513 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
14.8514 +You should run autoupdate.], [../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
14.8515 +m4/libtool.m4:3803: _LT_AC_LANG_RC_CONFIG is expanded from...
14.8516 +m4/libtool.m4:3802: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
14.8517 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.8518 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.8519 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.8520 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.8521 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.8522 +configure.ac:21: the top level])
14.8523 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [RC])
14.8524 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
14.8525 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
14.8526 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
14.8527 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([RC])
14.8528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
14.8529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [RC])
14.8530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
14.8531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
14.8532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
14.8533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
14.8534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
14.8535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
14.8536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
14.8537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
14.8538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
14.8539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
14.8540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
14.8541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
14.8542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
14.8543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
14.8544 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
14.8545 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
14.8546 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
14.8547 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
14.8548 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [RC])
14.8549 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [RC])
14.8550 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
14.8551 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
14.8552 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
14.8553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
14.8554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
14.8555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
14.8556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
14.8557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
14.8558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
14.8559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
14.8560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
14.8561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
14.8562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
14.8563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
14.8564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
14.8565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
14.8566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
14.8567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
14.8568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
14.8569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
14.8570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
14.8571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [RC])
14.8572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
14.8573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
14.8574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [RC])
14.8575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
14.8576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
14.8577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
14.8578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
14.8579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
14.8580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
14.8581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
14.8582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
14.8583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
14.8584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
14.8585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
14.8586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
14.8587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
14.8588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
14.8589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
14.8590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
14.8591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
14.8592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
14.8593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
14.8594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
14.8595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
14.8596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
14.8597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
14.8598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [RC])
14.8599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
14.8600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
14.8601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
14.8602 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [RC])
14.8603 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [RC])
14.8604 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [RC])
14.8605 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
14.8606 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [RC])
14.8607 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [RC])
14.8608 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [RC])
14.8609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
14.8610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
14.8611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
14.8612 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
14.8613 +You should run autoupdate.], [../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
14.8614 +m4/libtool.m4:3803: _LT_AC_LANG_RC_CONFIG is expanded from...
14.8615 +m4/libtool.m4:3802: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
14.8616 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
14.8617 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
14.8618 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
14.8619 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
14.8620 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
14.8621 +configure.ac:21: the top level])
14.8622 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBTOOL$])
14.8623 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CXX
14.8624 +m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX
14.8625 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
14.8626 +m4trace:configure.ac:21: -1- AC_LIBTOOL_F77
14.8627 +m4trace:configure.ac:21: -1- _LT_AC_LANG_F77
14.8628 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
14.8629 +m4trace:configure.ac:23: -1- AM_CONFIG_HEADER([config.h])
14.8630 +m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
14.8631 +You should run autoupdate.], [/usr/share/aclocal-1.10/header.m4:12: AM_CONFIG_HEADER is expanded from...
14.8632 +configure.ac:23: the top level])
14.8633 +m4trace:configure.ac:26: -1- m4_pattern_allow([^ACLOCAL_AMFLAGS$])
14.8634 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
14.8635 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CFLAGS$])
14.8636 +m4trace:configure.ac:29: -1- m4_pattern_allow([^LDFLAGS$])
14.8637 +m4trace:configure.ac:29: -1- m4_pattern_allow([^LIBS$])
14.8638 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CPPFLAGS$])
14.8639 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
14.8640 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
14.8641 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
14.8642 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
14.8643 +m4trace:configure.ac:29: -1- m4_pattern_allow([^ac_ct_CC$])
14.8644 +m4trace:configure.ac:29: -1- _AM_DEPENDENCIES([CC])
14.8645 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CCDEPMODE$])
14.8646 +m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
14.8647 + test "x$enable_dependency_tracking" != xno \
14.8648 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
14.8649 +m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
14.8650 +m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
14.8651 +m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
14.8652 +m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
14.8653 +m4trace:configure.ac:31: -1- AM_PROG_AS
14.8654 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCAS$])
14.8655 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCASFLAGS$])
14.8656 +m4trace:configure.ac:31: -1- _AM_IF_OPTION([no-dependencies], [], [_AM_DEPENDENCIES([CCAS])])
14.8657 +m4trace:configure.ac:31: -2- _AM_MANGLE_OPTION([no-dependencies])
14.8658 +m4trace:configure.ac:31: -1- _AM_DEPENDENCIES([CCAS])
14.8659 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCASDEPMODE$])
14.8660 +m4trace:configure.ac:31: -1- AM_CONDITIONAL([am__fastdepCCAS], [
14.8661 + test "x$enable_dependency_tracking" != xno \
14.8662 + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3])
14.8663 +m4trace:configure.ac:31: -1- m4_pattern_allow([^am__fastdepCCAS_TRUE$])
14.8664 +m4trace:configure.ac:31: -1- m4_pattern_allow([^am__fastdepCCAS_FALSE$])
14.8665 +m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_TRUE])
14.8666 +m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_FALSE])
14.8667 +m4trace:configure.ac:34: -1- AS_COMPILER_FLAG([-Wall], [GST_WALL="yes"], [GST_WALL="no"])
14.8668 +m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
14.8669 +You should run autoupdate.], [../../lib/autoconf/general.m4:2367: AC_TRY_COMPILE is expanded from...
14.8670 +m4/as-compiler-flag.m4:14: AS_COMPILER_FLAG is expanded from...
14.8671 +configure.ac:34: the top level])
14.8672 +m4trace:configure.ac:40: -1- AS_COMPILER_FLAG([-Werror], [ERROR_CFLAGS="$ERROR_CFLAGS -Werror"], [ERROR_CFLAGS="$ERROR_CFLAGS"])
14.8673 +m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
14.8674 +You should run autoupdate.], [../../lib/autoconf/general.m4:2367: AC_TRY_COMPILE is expanded from...
14.8675 +m4/as-compiler-flag.m4:14: AS_COMPILER_FLAG is expanded from...
14.8676 +configure.ac:40: the top level])
14.8677 +m4trace:configure.ac:44: -1- m4_pattern_allow([^ERROR_CFLAGS$])
14.8678 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXX$])
14.8679 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXXFLAGS$])
14.8680 +m4trace:configure.ac:47: -1- m4_pattern_allow([^LDFLAGS$])
14.8681 +m4trace:configure.ac:47: -1- m4_pattern_allow([^LIBS$])
14.8682 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CPPFLAGS$])
14.8683 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXX$])
14.8684 +m4trace:configure.ac:47: -1- m4_pattern_allow([^ac_ct_CXX$])
14.8685 +m4trace:configure.ac:47: -1- _AM_DEPENDENCIES([CXX])
14.8686 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXXDEPMODE$])
14.8687 +m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
14.8688 + test "x$enable_dependency_tracking" != xno \
14.8689 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
14.8690 +m4trace:configure.ac:47: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
14.8691 +m4trace:configure.ac:47: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
14.8692 +m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
14.8693 +m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
14.8694 +m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_CXX$])
14.8695 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXCPP$])
14.8696 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CPPFLAGS$])
14.8697 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXCPP$])
14.8698 +m4trace:configure.ac:54: -1- m4_pattern_allow([^STDC_HEADERS$])
14.8699 +m4trace:configure.ac:58: -1- m4_pattern_allow([^HAVE_PKGCONFIG$])
14.8700 +m4trace:configure.ac:71: -1- PKG_CHECK_MODULES([GST], [\
14.8701 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST=yes], [HAVE_GST=no])
14.8702 +m4trace:configure.ac:71: -1- PKG_PROG_PKG_CONFIG
14.8703 +m4trace:configure.ac:71: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
14.8704 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
14.8705 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG$])
14.8706 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG$])
14.8707 +m4trace:configure.ac:71: -1- m4_pattern_allow([^GST_CFLAGS$])
14.8708 +m4trace:configure.ac:71: -1- m4_pattern_allow([^GST_LIBS$])
14.8709 +m4trace:configure.ac:88: -1- m4_pattern_allow([^GST_CFLAGS$])
14.8710 +m4trace:configure.ac:89: -1- m4_pattern_allow([^GST_LIBS$])
14.8711 +m4trace:configure.ac:92: -1- m4_pattern_allow([^GST_MAJORMINOR$])
14.8712 +m4trace:configure.ac:95: -1- PKG_CHECK_MODULES([GST_BASE], [gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_BASE="yes"], [HAVE_GST_BASE="no"])
14.8713 +m4trace:configure.ac:95: -1- m4_pattern_allow([^GST_BASE_CFLAGS$])
14.8714 +m4trace:configure.ac:95: -1- m4_pattern_allow([^GST_BASE_LIBS$])
14.8715 +m4trace:configure.ac:102: -1- m4_pattern_allow([^GST_BASE_LIBS$])
14.8716 +m4trace:configure.ac:103: -1- m4_pattern_allow([^GST_BASE_CFLAGS$])
14.8717 +m4trace:configure.ac:106: -1- PKG_CHECK_MODULES([GST_PLUGINS_BASE], [gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_PLUGINS="yes"], [HAVE_GST_PLUGINS="no"])
14.8718 +m4trace:configure.ac:106: -1- m4_pattern_allow([^GST_PLUGINS_BASE_CFLAGS$])
14.8719 +m4trace:configure.ac:106: -1- m4_pattern_allow([^GST_PLUGINS_BASE_LIBS$])
14.8720 +m4trace:configure.ac:113: -1- m4_pattern_allow([^GST_PLUGINS_BASE_LIBS$])
14.8721 +m4trace:configure.ac:114: -1- m4_pattern_allow([^GST_PLUGINS_BASE_CFLAGS$])
14.8722 +m4trace:configure.ac:118: -1- m4_pattern_allow([^plugindir$])
14.8723 +m4trace:configure.ac:122: -1- m4_pattern_allow([^GST_PLUGIN_LDFLAGS$])
14.8724 +m4trace:configure.ac:124: -1- m4_pattern_allow([^GST_LICENSE$])
14.8725 +m4trace:configure.ac:125: -1- m4_pattern_allow([^GST_PACKAGE_NAME$])
14.8726 +m4trace:configure.ac:126: -1- m4_pattern_allow([^GST_PACKAGE_ORIGIN$])
14.8727 +m4trace:configure.ac:128: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
14.8728 +You should run autoupdate.], [])
14.8729 +m4trace:configure.ac:128: -1- m4_pattern_allow([^LIB@&t@OBJS$])
14.8730 +m4trace:configure.ac:128: -1- m4_pattern_allow([^LTLIBOBJS$])
14.8731 +m4trace:configure.ac:128: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
14.8732 +m4trace:configure.ac:128: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/gst-gpac/autom4te.cache/traces.1 Thu Feb 21 17:44:16 2008 +0000
15.3 @@ -0,0 +1,838 @@
15.4 +m4trace:aclocal.m4:913: -1- m4_include([m4/as-compiler-flag.m4])
15.5 +m4trace:aclocal.m4:914: -1- m4_include([m4/as-version.m4])
15.6 +m4trace:aclocal.m4:915: -1- m4_include([m4/libtool.m4])
15.7 +m4trace:aclocal.m4:916: -1- m4_include([m4/pkg.m4])
15.8 +m4trace:configure.ac:3: -1- AC_INIT
15.9 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
15.10 +m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
15.11 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
15.12 +m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
15.13 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
15.14 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
15.15 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
15.16 +m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
15.17 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([SHELL])
15.18 +m4trace:configure.ac:3: -1- m4_pattern_allow([^SHELL$])
15.19 +m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
15.20 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
15.21 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PATH_SEPARATOR$])
15.22 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
15.23 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PACKAGE_NAME])
15.24 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
15.25 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
15.26 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
15.27 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
15.28 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
15.29 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
15.30 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
15.31 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
15.32 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PACKAGE_STRING])
15.33 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
15.34 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
15.35 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
15.36 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
15.37 +m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
15.38 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([exec_prefix])
15.39 +m4trace:configure.ac:3: -1- m4_pattern_allow([^exec_prefix$])
15.40 +m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
15.41 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([prefix])
15.42 +m4trace:configure.ac:3: -1- m4_pattern_allow([^prefix$])
15.43 +m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
15.44 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([program_transform_name])
15.45 +m4trace:configure.ac:3: -1- m4_pattern_allow([^program_transform_name$])
15.46 +m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
15.47 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([bindir])
15.48 +m4trace:configure.ac:3: -1- m4_pattern_allow([^bindir$])
15.49 +m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
15.50 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([sbindir])
15.51 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sbindir$])
15.52 +m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
15.53 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([libexecdir])
15.54 +m4trace:configure.ac:3: -1- m4_pattern_allow([^libexecdir$])
15.55 +m4trace:configure.ac:3: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
15.56 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([datarootdir])
15.57 +m4trace:configure.ac:3: -1- m4_pattern_allow([^datarootdir$])
15.58 +m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${datarootdir}'])
15.59 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([datadir])
15.60 +m4trace:configure.ac:3: -1- m4_pattern_allow([^datadir$])
15.61 +m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
15.62 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([sysconfdir])
15.63 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sysconfdir$])
15.64 +m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
15.65 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([sharedstatedir])
15.66 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sharedstatedir$])
15.67 +m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
15.68 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([localstatedir])
15.69 +m4trace:configure.ac:3: -1- m4_pattern_allow([^localstatedir$])
15.70 +m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
15.71 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([includedir])
15.72 +m4trace:configure.ac:3: -1- m4_pattern_allow([^includedir$])
15.73 +m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
15.74 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([oldincludedir])
15.75 +m4trace:configure.ac:3: -1- m4_pattern_allow([^oldincludedir$])
15.76 +m4trace:configure.ac:3: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
15.77 + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
15.78 + ['${datarootdir}/doc/${PACKAGE}'])])
15.79 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([docdir])
15.80 +m4trace:configure.ac:3: -1- m4_pattern_allow([^docdir$])
15.81 +m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
15.82 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([infodir])
15.83 +m4trace:configure.ac:3: -1- m4_pattern_allow([^infodir$])
15.84 +m4trace:configure.ac:3: -1- AC_SUBST([htmldir], ['${docdir}'])
15.85 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([htmldir])
15.86 +m4trace:configure.ac:3: -1- m4_pattern_allow([^htmldir$])
15.87 +m4trace:configure.ac:3: -1- AC_SUBST([dvidir], ['${docdir}'])
15.88 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([dvidir])
15.89 +m4trace:configure.ac:3: -1- m4_pattern_allow([^dvidir$])
15.90 +m4trace:configure.ac:3: -1- AC_SUBST([pdfdir], ['${docdir}'])
15.91 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([pdfdir])
15.92 +m4trace:configure.ac:3: -1- m4_pattern_allow([^pdfdir$])
15.93 +m4trace:configure.ac:3: -1- AC_SUBST([psdir], ['${docdir}'])
15.94 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([psdir])
15.95 +m4trace:configure.ac:3: -1- m4_pattern_allow([^psdir$])
15.96 +m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
15.97 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([libdir])
15.98 +m4trace:configure.ac:3: -1- m4_pattern_allow([^libdir$])
15.99 +m4trace:configure.ac:3: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
15.100 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([localedir])
15.101 +m4trace:configure.ac:3: -1- m4_pattern_allow([^localedir$])
15.102 +m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
15.103 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([mandir])
15.104 +m4trace:configure.ac:3: -1- m4_pattern_allow([^mandir$])
15.105 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
15.106 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
15.107 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
15.108 +#undef PACKAGE_NAME])
15.109 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
15.110 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
15.111 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
15.112 +#undef PACKAGE_TARNAME])
15.113 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
15.114 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
15.115 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
15.116 +#undef PACKAGE_VERSION])
15.117 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
15.118 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
15.119 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
15.120 +#undef PACKAGE_STRING])
15.121 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
15.122 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
15.123 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
15.124 +#undef PACKAGE_BUGREPORT])
15.125 +m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
15.126 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([DEFS])
15.127 +m4trace:configure.ac:3: -1- m4_pattern_allow([^DEFS$])
15.128 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
15.129 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([ECHO_C])
15.130 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_C$])
15.131 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
15.132 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([ECHO_N])
15.133 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_N$])
15.134 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
15.135 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([ECHO_T])
15.136 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_T$])
15.137 +m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
15.138 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([LIBS])
15.139 +m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
15.140 +m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
15.141 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([build_alias])
15.142 +m4trace:configure.ac:3: -1- m4_pattern_allow([^build_alias$])
15.143 +m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
15.144 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([host_alias])
15.145 +m4trace:configure.ac:3: -1- m4_pattern_allow([^host_alias$])
15.146 +m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
15.147 +m4trace:configure.ac:3: -1- AC_SUBST_TRACE([target_alias])
15.148 +m4trace:configure.ac:3: -1- m4_pattern_allow([^target_alias$])
15.149 +m4trace:configure.ac:4: -1- AC_CANONICAL_TARGET
15.150 +m4trace:configure.ac:4: -1- AC_CANONICAL_HOST
15.151 +m4trace:configure.ac:4: -1- AC_CANONICAL_BUILD
15.152 +m4trace:configure.ac:4: -1- AC_REQUIRE_AUX_FILE([config.sub])
15.153 +m4trace:configure.ac:4: -1- AC_REQUIRE_AUX_FILE([config.guess])
15.154 +m4trace:configure.ac:4: -1- AC_SUBST([build], [$ac_cv_build])
15.155 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build])
15.156 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build$])
15.157 +m4trace:configure.ac:4: -1- AC_SUBST([build_cpu], [$[1]])
15.158 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_cpu])
15.159 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_cpu$])
15.160 +m4trace:configure.ac:4: -1- AC_SUBST([build_vendor], [$[2]])
15.161 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_vendor])
15.162 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_vendor$])
15.163 +m4trace:configure.ac:4: -1- AC_SUBST([build_os])
15.164 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_os])
15.165 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_os$])
15.166 +m4trace:configure.ac:4: -1- AC_SUBST([host], [$ac_cv_host])
15.167 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host])
15.168 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host$])
15.169 +m4trace:configure.ac:4: -1- AC_SUBST([host_cpu], [$[1]])
15.170 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_cpu])
15.171 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_cpu$])
15.172 +m4trace:configure.ac:4: -1- AC_SUBST([host_vendor], [$[2]])
15.173 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_vendor])
15.174 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_vendor$])
15.175 +m4trace:configure.ac:4: -1- AC_SUBST([host_os])
15.176 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_os])
15.177 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_os$])
15.178 +m4trace:configure.ac:4: -1- AC_SUBST([target], [$ac_cv_target])
15.179 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([target])
15.180 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target$])
15.181 +m4trace:configure.ac:4: -1- AC_SUBST([target_cpu], [$[1]])
15.182 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([target_cpu])
15.183 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_cpu$])
15.184 +m4trace:configure.ac:4: -1- AC_SUBST([target_vendor], [$[2]])
15.185 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([target_vendor])
15.186 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_vendor$])
15.187 +m4trace:configure.ac:4: -1- AC_SUBST([target_os])
15.188 +m4trace:configure.ac:4: -1- AC_SUBST_TRACE([target_os])
15.189 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_os$])
15.190 +m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.191 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.192 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
15.193 +m4/libtool.m4:1799: AC_ENABLE_STATIC is expanded from...
15.194 +m4/libtool.m4:1828: AC_DISABLE_STATIC is expanded from...
15.195 +m4/libtool.m4:5873: AM_DISABLE_STATIC is expanded from...
15.196 +configure.ac:10: the top level])
15.197 +m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
15.198 +m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
15.199 +m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
15.200 +m4trace:configure.ac:13: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
15.201 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
15.202 +m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
15.203 +m4trace:configure.ac:13: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
15.204 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
15.205 +m4trace:configure.ac:13: -1- AC_SUBST([MAINT])
15.206 +m4trace:configure.ac:13: -1- AC_SUBST_TRACE([MAINT])
15.207 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINT$])
15.208 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION])
15.209 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION$])
15.210 +m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION], [/* Define the version */
15.211 +#undef GST_PLUGINS_VERSION])
15.212 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION])
15.213 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([GST_PLUGINS_VERSION])
15.214 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION$])
15.215 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION_RELEASE])
15.216 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_RELEASE$])
15.217 +m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION_RELEASE], [/* Define the release version */
15.218 +#undef GST_PLUGINS_VERSION_RELEASE])
15.219 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_RELEASE])
15.220 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([GST_PLUGINS_VERSION_RELEASE])
15.221 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_RELEASE$])
15.222 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MAJOR])
15.223 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([GST_PLUGINS_VERSION_MAJOR])
15.224 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MAJOR$])
15.225 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MINOR])
15.226 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([GST_PLUGINS_VERSION_MINOR])
15.227 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MINOR$])
15.228 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MICRO])
15.229 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([GST_PLUGINS_VERSION_MICRO])
15.230 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MICRO$])
15.231 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_NANO])
15.232 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([GST_PLUGINS_VERSION_NANO])
15.233 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_NANO$])
15.234 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
15.235 +m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$])
15.236 +m4trace:configure.ac:17: -1- AH_OUTPUT([PACKAGE], [/* Define the package name */
15.237 +#undef PACKAGE])
15.238 +m4trace:configure.ac:17: -1- AC_SUBST([PACKAGE])
15.239 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([PACKAGE])
15.240 +m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$])
15.241 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
15.242 +m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$])
15.243 +m4trace:configure.ac:17: -1- AH_OUTPUT([VERSION], [/* Define the version */
15.244 +#undef VERSION])
15.245 +m4trace:configure.ac:17: -1- AC_SUBST([VERSION])
15.246 +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([VERSION])
15.247 +m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$])
15.248 +m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
15.249 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
15.250 +m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.9.6])
15.251 +m4trace:configure.ac:19: -1- AC_REQUIRE_AUX_FILE([install-sh])
15.252 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_PROGRAM])
15.253 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
15.254 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
15.255 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_SCRIPT])
15.256 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
15.257 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
15.258 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_DATA])
15.259 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([INSTALL_DATA])
15.260 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_DATA$])
15.261 +m4trace:configure.ac:19: -1- AC_SUBST([CYGPATH_W])
15.262 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([CYGPATH_W])
15.263 +m4trace:configure.ac:19: -1- m4_pattern_allow([^CYGPATH_W$])
15.264 +m4trace:configure.ac:19: -1- AC_SUBST([PACKAGE], [$PACKAGE])
15.265 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([PACKAGE])
15.266 +m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
15.267 +m4trace:configure.ac:19: -1- AC_SUBST([VERSION], [$VERSION])
15.268 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([VERSION])
15.269 +m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
15.270 +m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
15.271 +m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
15.272 +m4trace:configure.ac:19: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
15.273 +#undef PACKAGE])
15.274 +m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
15.275 +m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
15.276 +m4trace:configure.ac:19: -1- AH_OUTPUT([VERSION], [/* Version number of package */
15.277 +#undef VERSION])
15.278 +m4trace:configure.ac:19: -1- AC_SUBST([ACLOCAL])
15.279 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([ACLOCAL])
15.280 +m4trace:configure.ac:19: -1- m4_pattern_allow([^ACLOCAL$])
15.281 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOCONF])
15.282 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([AUTOCONF])
15.283 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOCONF$])
15.284 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOMAKE])
15.285 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([AUTOMAKE])
15.286 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOMAKE$])
15.287 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOHEADER])
15.288 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([AUTOHEADER])
15.289 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOHEADER$])
15.290 +m4trace:configure.ac:19: -1- AC_SUBST([MAKEINFO])
15.291 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([MAKEINFO])
15.292 +m4trace:configure.ac:19: -1- m4_pattern_allow([^MAKEINFO$])
15.293 +m4trace:configure.ac:19: -1- AC_SUBST([install_sh])
15.294 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([install_sh])
15.295 +m4trace:configure.ac:19: -1- m4_pattern_allow([^install_sh$])
15.296 +m4trace:configure.ac:19: -1- AC_SUBST([STRIP])
15.297 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([STRIP])
15.298 +m4trace:configure.ac:19: -1- m4_pattern_allow([^STRIP$])
15.299 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
15.300 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
15.301 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
15.302 +m4trace:configure.ac:19: -1- AC_SUBST([mkdir_p])
15.303 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([mkdir_p])
15.304 +m4trace:configure.ac:19: -1- m4_pattern_allow([^mkdir_p$])
15.305 +m4trace:configure.ac:19: -1- AC_SUBST([AWK])
15.306 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([AWK])
15.307 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AWK$])
15.308 +m4trace:configure.ac:19: -1- AC_SUBST([SET_MAKE])
15.309 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([SET_MAKE])
15.310 +m4trace:configure.ac:19: -1- m4_pattern_allow([^SET_MAKE$])
15.311 +m4trace:configure.ac:19: -1- AC_SUBST([am__leading_dot])
15.312 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([am__leading_dot])
15.313 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__leading_dot$])
15.314 +m4trace:configure.ac:19: -1- AC_SUBST([AMTAR])
15.315 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([AMTAR])
15.316 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AMTAR$])
15.317 +m4trace:configure.ac:19: -1- AC_SUBST([am__tar])
15.318 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([am__tar])
15.319 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__tar$])
15.320 +m4trace:configure.ac:19: -1- AC_SUBST([am__untar])
15.321 +m4trace:configure.ac:19: -1- AC_SUBST_TRACE([am__untar])
15.322 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__untar$])
15.323 +m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
15.324 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.325 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.326 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
15.327 +m4/libtool.m4:1760: AC_ENABLE_SHARED is expanded from...
15.328 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.329 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.330 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.331 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.332 +configure.ac:21: the top level])
15.333 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.334 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.335 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
15.336 +m4/libtool.m4:1838: AC_ENABLE_FAST_INSTALL is expanded from...
15.337 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.338 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.339 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.340 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.341 +configure.ac:21: the top level])
15.342 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
15.343 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CC])
15.344 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
15.345 +m4trace:configure.ac:21: -1- AC_SUBST([CFLAGS])
15.346 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CFLAGS])
15.347 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CFLAGS$])
15.348 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
15.349 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LDFLAGS])
15.350 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
15.351 +m4trace:configure.ac:21: -1- AC_SUBST([LIBS])
15.352 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBS])
15.353 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
15.354 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
15.355 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPPFLAGS])
15.356 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
15.357 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
15.358 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CC])
15.359 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
15.360 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
15.361 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CC])
15.362 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
15.363 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
15.364 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CC])
15.365 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
15.366 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
15.367 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CC])
15.368 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
15.369 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
15.370 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ac_ct_CC])
15.371 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CC$])
15.372 +m4trace:configure.ac:21: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
15.373 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([EXEEXT])
15.374 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EXEEXT$])
15.375 +m4trace:configure.ac:21: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
15.376 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([OBJEXT])
15.377 +m4trace:configure.ac:21: -1- m4_pattern_allow([^OBJEXT$])
15.378 +m4trace:configure.ac:21: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
15.379 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([DEPDIR])
15.380 +m4trace:configure.ac:21: -1- m4_pattern_allow([^DEPDIR$])
15.381 +m4trace:configure.ac:21: -1- AC_SUBST([am__include])
15.382 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([am__include])
15.383 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__include$])
15.384 +m4trace:configure.ac:21: -1- AC_SUBST([am__quote])
15.385 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([am__quote])
15.386 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__quote$])
15.387 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
15.388 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_TRUE])
15.389 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([AMDEP_TRUE])
15.390 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_TRUE$])
15.391 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_FALSE])
15.392 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([AMDEP_FALSE])
15.393 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_FALSE$])
15.394 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEPBACKSLASH])
15.395 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
15.396 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
15.397 +m4trace:configure.ac:21: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
15.398 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CCDEPMODE])
15.399 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CCDEPMODE$])
15.400 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
15.401 + test "x$enable_dependency_tracking" != xno \
15.402 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
15.403 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_TRUE])
15.404 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
15.405 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
15.406 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_FALSE])
15.407 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
15.408 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
15.409 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.410 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.411 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
15.412 +m4/libtool.m4:1979: AC_PROG_LD is expanded from...
15.413 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.414 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.415 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.416 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.417 +configure.ac:21: the top level])
15.418 +m4trace:configure.ac:21: -1- AC_SUBST([GREP])
15.419 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([GREP])
15.420 +m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
15.421 +m4trace:configure.ac:21: -1- AC_SUBST([GREP])
15.422 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([GREP])
15.423 +m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
15.424 +m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
15.425 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([EGREP])
15.426 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
15.427 +m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
15.428 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([EGREP])
15.429 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
15.430 +m4trace:configure.ac:21: -1- AC_SUBST([LN_S], [$as_ln_s])
15.431 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LN_S])
15.432 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LN_S$])
15.433 +m4trace:configure.ac:21: -1- AC_SUBST([ECHO])
15.434 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO])
15.435 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO$])
15.436 +m4trace:configure.ac:21: -1- AC_SUBST([AR])
15.437 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([AR])
15.438 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AR$])
15.439 +m4trace:configure.ac:21: -1- AC_SUBST([RANLIB])
15.440 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([RANLIB])
15.441 +m4trace:configure.ac:21: -1- m4_pattern_allow([^RANLIB$])
15.442 +m4trace:configure.ac:21: -1- AC_SUBST([STRIP])
15.443 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([STRIP])
15.444 +m4trace:configure.ac:21: -1- m4_pattern_allow([^STRIP$])
15.445 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.446 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.447 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
15.448 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.449 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.450 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.451 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.452 +configure.ac:21: the top level])
15.453 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.454 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.455 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
15.456 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.457 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.458 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.459 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.460 +configure.ac:21: the top level])
15.461 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
15.462 +You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
15.463 +../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
15.464 +../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
15.465 +../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
15.466 +m4/libtool.m4:437: _LT_AC_LOCK is expanded from...
15.467 +m4/libtool.m4:970: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
15.468 +m4/libtool.m4:2473: _LT_AC_LANG_C_CONFIG is expanded from...
15.469 +m4/libtool.m4:2472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
15.470 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.471 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.472 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.473 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.474 +configure.ac:21: the top level])
15.475 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
15.476 +#undef HAVE_DLFCN_H])
15.477 +m4trace:configure.ac:21: -1- AC_SUBST([CPP])
15.478 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPP])
15.479 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
15.480 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
15.481 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPPFLAGS])
15.482 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
15.483 +m4trace:configure.ac:21: -1- AC_SUBST([CPP])
15.484 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPP])
15.485 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
15.486 +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
15.487 +m4trace:configure.ac:21: -1- m4_pattern_allow([^STDC_HEADERS$])
15.488 +m4trace:configure.ac:21: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
15.489 +#undef STDC_HEADERS])
15.490 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
15.491 +#undef HAVE_SYS_TYPES_H])
15.492 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
15.493 +#undef HAVE_SYS_STAT_H])
15.494 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
15.495 +#undef HAVE_STDLIB_H])
15.496 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
15.497 +#undef HAVE_STRING_H])
15.498 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
15.499 +#undef HAVE_MEMORY_H])
15.500 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
15.501 +#undef HAVE_STRINGS_H])
15.502 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
15.503 +#undef HAVE_INTTYPES_H])
15.504 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
15.505 +#undef HAVE_STDINT_H])
15.506 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
15.507 +#undef HAVE_UNISTD_H])
15.508 +m4trace:configure.ac:21: -1- _LT_AC_TAGCONFIG
15.509 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
15.510 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
15.511 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
15.512 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.513 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.514 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.515 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.516 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.517 +configure.ac:21: the top level])
15.518 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.519 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.520 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.521 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.522 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.523 +configure.ac:21: the top level])
15.524 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.525 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.526 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.527 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.528 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.529 +configure.ac:21: the top level])
15.530 +m4trace:configure.ac:21: -1- AC_SUBST([CXX])
15.531 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CXX])
15.532 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXX$])
15.533 +m4trace:configure.ac:21: -1- AC_SUBST([CXXFLAGS])
15.534 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CXXFLAGS])
15.535 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXFLAGS$])
15.536 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
15.537 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LDFLAGS])
15.538 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
15.539 +m4trace:configure.ac:21: -1- AC_SUBST([LIBS])
15.540 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBS])
15.541 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
15.542 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
15.543 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPPFLAGS])
15.544 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
15.545 +m4trace:configure.ac:21: -1- AC_SUBST([CXX])
15.546 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CXX])
15.547 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXX$])
15.548 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CXX])
15.549 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ac_ct_CXX])
15.550 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CXX$])
15.551 +m4trace:configure.ac:21: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
15.552 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CXXDEPMODE])
15.553 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXDEPMODE$])
15.554 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
15.555 + test "x$enable_dependency_tracking" != xno \
15.556 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
15.557 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_TRUE])
15.558 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
15.559 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
15.560 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_FALSE])
15.561 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
15.562 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
15.563 +m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
15.564 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CXXCPP])
15.565 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXCPP$])
15.566 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
15.567 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CPPFLAGS])
15.568 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
15.569 +m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
15.570 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([CXXCPP])
15.571 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXCPP$])
15.572 +m4trace:configure.ac:21: -1- AC_SUBST([F77])
15.573 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([F77])
15.574 +m4trace:configure.ac:21: -1- m4_pattern_allow([^F77$])
15.575 +m4trace:configure.ac:21: -1- AC_SUBST([FFLAGS])
15.576 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([FFLAGS])
15.577 +m4trace:configure.ac:21: -1- m4_pattern_allow([^FFLAGS$])
15.578 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
15.579 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LDFLAGS])
15.580 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
15.581 +m4trace:configure.ac:21: -1- AC_SUBST([LIBS])
15.582 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBS])
15.583 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
15.584 +m4trace:configure.ac:21: -1- AC_SUBST([F77])
15.585 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([F77])
15.586 +m4trace:configure.ac:21: -1- m4_pattern_allow([^F77$])
15.587 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_F77])
15.588 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ac_ct_F77])
15.589 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_F77$])
15.590 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
15.591 +You should run autoupdate.], [../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
15.592 +m4/libtool.m4:3748: _LT_AC_LANG_GCJ_CONFIG is expanded from...
15.593 +m4/libtool.m4:3747: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
15.594 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.595 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.596 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.597 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.598 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.599 +configure.ac:21: the top level])
15.600 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
15.601 +You should run autoupdate.], [../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
15.602 +m4/libtool.m4:3748: _LT_AC_LANG_GCJ_CONFIG is expanded from...
15.603 +m4/libtool.m4:3747: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
15.604 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.605 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.606 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.607 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.608 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.609 +configure.ac:21: the top level])
15.610 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
15.611 +You should run autoupdate.], [../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
15.612 +m4/libtool.m4:3803: _LT_AC_LANG_RC_CONFIG is expanded from...
15.613 +m4/libtool.m4:3802: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
15.614 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.615 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.616 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.617 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.618 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.619 +configure.ac:21: the top level])
15.620 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
15.621 +You should run autoupdate.], [../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
15.622 +m4/libtool.m4:3803: _LT_AC_LANG_RC_CONFIG is expanded from...
15.623 +m4/libtool.m4:3802: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
15.624 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
15.625 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
15.626 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
15.627 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
15.628 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
15.629 +configure.ac:21: the top level])
15.630 +m4trace:configure.ac:21: -1- AC_SUBST([LIBTOOL])
15.631 +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBTOOL])
15.632 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBTOOL$])
15.633 +m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
15.634 +You should run autoupdate.], [aclocal.m4:374: AM_CONFIG_HEADER is expanded from...
15.635 +configure.ac:23: the top level])
15.636 +m4trace:configure.ac:23: -1- AC_CONFIG_HEADERS([config.h])
15.637 +m4trace:configure.ac:26: -1- AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4"])
15.638 +m4trace:configure.ac:26: -1- AC_SUBST_TRACE([ACLOCAL_AMFLAGS])
15.639 +m4trace:configure.ac:26: -1- m4_pattern_allow([^ACLOCAL_AMFLAGS$])
15.640 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
15.641 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CC])
15.642 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
15.643 +m4trace:configure.ac:29: -1- AC_SUBST([CFLAGS])
15.644 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CFLAGS])
15.645 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CFLAGS$])
15.646 +m4trace:configure.ac:29: -1- AC_SUBST([LDFLAGS])
15.647 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([LDFLAGS])
15.648 +m4trace:configure.ac:29: -1- m4_pattern_allow([^LDFLAGS$])
15.649 +m4trace:configure.ac:29: -1- AC_SUBST([LIBS])
15.650 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([LIBS])
15.651 +m4trace:configure.ac:29: -1- m4_pattern_allow([^LIBS$])
15.652 +m4trace:configure.ac:29: -1- AC_SUBST([CPPFLAGS])
15.653 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CPPFLAGS])
15.654 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CPPFLAGS$])
15.655 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
15.656 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CC])
15.657 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
15.658 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
15.659 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CC])
15.660 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
15.661 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
15.662 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CC])
15.663 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
15.664 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
15.665 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CC])
15.666 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
15.667 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
15.668 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([ac_ct_CC])
15.669 +m4trace:configure.ac:29: -1- m4_pattern_allow([^ac_ct_CC$])
15.670 +m4trace:configure.ac:29: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
15.671 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([CCDEPMODE])
15.672 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CCDEPMODE$])
15.673 +m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
15.674 + test "x$enable_dependency_tracking" != xno \
15.675 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
15.676 +m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_TRUE])
15.677 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
15.678 +m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
15.679 +m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_FALSE])
15.680 +m4trace:configure.ac:29: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
15.681 +m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
15.682 +m4trace:configure.ac:31: -1- AC_SUBST([CCAS])
15.683 +m4trace:configure.ac:31: -1- AC_SUBST_TRACE([CCAS])
15.684 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCAS$])
15.685 +m4trace:configure.ac:31: -1- AC_SUBST([CCASFLAGS])
15.686 +m4trace:configure.ac:31: -1- AC_SUBST_TRACE([CCASFLAGS])
15.687 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCASFLAGS$])
15.688 +m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
15.689 +You should run autoupdate.], [../../lib/autoconf/general.m4:2367: AC_TRY_COMPILE is expanded from...
15.690 +m4/as-compiler-flag.m4:14: AS_COMPILER_FLAG is expanded from...
15.691 +configure.ac:34: the top level])
15.692 +m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
15.693 +You should run autoupdate.], [../../lib/autoconf/general.m4:2367: AC_TRY_COMPILE is expanded from...
15.694 +m4/as-compiler-flag.m4:14: AS_COMPILER_FLAG is expanded from...
15.695 +configure.ac:40: the top level])
15.696 +m4trace:configure.ac:44: -1- AC_SUBST([ERROR_CFLAGS])
15.697 +m4trace:configure.ac:44: -1- AC_SUBST_TRACE([ERROR_CFLAGS])
15.698 +m4trace:configure.ac:44: -1- m4_pattern_allow([^ERROR_CFLAGS$])
15.699 +m4trace:configure.ac:47: -1- AC_SUBST([CXX])
15.700 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([CXX])
15.701 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXX$])
15.702 +m4trace:configure.ac:47: -1- AC_SUBST([CXXFLAGS])
15.703 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([CXXFLAGS])
15.704 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXXFLAGS$])
15.705 +m4trace:configure.ac:47: -1- AC_SUBST([LDFLAGS])
15.706 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([LDFLAGS])
15.707 +m4trace:configure.ac:47: -1- m4_pattern_allow([^LDFLAGS$])
15.708 +m4trace:configure.ac:47: -1- AC_SUBST([LIBS])
15.709 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([LIBS])
15.710 +m4trace:configure.ac:47: -1- m4_pattern_allow([^LIBS$])
15.711 +m4trace:configure.ac:47: -1- AC_SUBST([CPPFLAGS])
15.712 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([CPPFLAGS])
15.713 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CPPFLAGS$])
15.714 +m4trace:configure.ac:47: -1- AC_SUBST([CXX])
15.715 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([CXX])
15.716 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXX$])
15.717 +m4trace:configure.ac:47: -1- AC_SUBST([ac_ct_CXX])
15.718 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([ac_ct_CXX])
15.719 +m4trace:configure.ac:47: -1- m4_pattern_allow([^ac_ct_CXX$])
15.720 +m4trace:configure.ac:47: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
15.721 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([CXXDEPMODE])
15.722 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXXDEPMODE$])
15.723 +m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
15.724 + test "x$enable_dependency_tracking" != xno \
15.725 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
15.726 +m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_TRUE])
15.727 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
15.728 +m4trace:configure.ac:47: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
15.729 +m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_FALSE])
15.730 +m4trace:configure.ac:47: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
15.731 +m4trace:configure.ac:47: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
15.732 +m4trace:configure.ac:49: -1- AC_SUBST([HAVE_CXX])
15.733 +m4trace:configure.ac:49: -1- AC_SUBST_TRACE([HAVE_CXX])
15.734 +m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_CXX$])
15.735 +m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
15.736 +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CXXCPP])
15.737 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXCPP$])
15.738 +m4trace:configure.ac:51: -1- AC_SUBST([CPPFLAGS])
15.739 +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CPPFLAGS])
15.740 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CPPFLAGS$])
15.741 +m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
15.742 +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CXXCPP])
15.743 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXCPP$])
15.744 +m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
15.745 +m4trace:configure.ac:54: -1- m4_pattern_allow([^STDC_HEADERS$])
15.746 +m4trace:configure.ac:54: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
15.747 +#undef STDC_HEADERS])
15.748 +m4trace:configure.ac:55: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
15.749 + calls it, or to nothing if \'inline\' is not supported under any name. */
15.750 +#ifndef __cplusplus
15.751 +#undef inline
15.752 +#endif])
15.753 +m4trace:configure.ac:58: -1- AC_SUBST([HAVE_PKGCONFIG])
15.754 +m4trace:configure.ac:58: -1- AC_SUBST_TRACE([HAVE_PKGCONFIG])
15.755 +m4trace:configure.ac:58: -1- m4_pattern_allow([^HAVE_PKGCONFIG$])
15.756 +m4trace:configure.ac:71: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
15.757 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
15.758 +m4trace:configure.ac:71: -1- AC_SUBST([PKG_CONFIG])
15.759 +m4trace:configure.ac:71: -1- AC_SUBST_TRACE([PKG_CONFIG])
15.760 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG$])
15.761 +m4trace:configure.ac:71: -1- AC_SUBST([PKG_CONFIG])
15.762 +m4trace:configure.ac:71: -1- AC_SUBST_TRACE([PKG_CONFIG])
15.763 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG$])
15.764 +m4trace:configure.ac:71: -1- AC_SUBST([GST_CFLAGS])
15.765 +m4trace:configure.ac:71: -1- AC_SUBST_TRACE([GST_CFLAGS])
15.766 +m4trace:configure.ac:71: -1- m4_pattern_allow([^GST_CFLAGS$])
15.767 +m4trace:configure.ac:71: -1- AC_SUBST([GST_LIBS])
15.768 +m4trace:configure.ac:71: -1- AC_SUBST_TRACE([GST_LIBS])
15.769 +m4trace:configure.ac:71: -1- m4_pattern_allow([^GST_LIBS$])
15.770 +m4trace:configure.ac:88: -1- AC_SUBST([GST_CFLAGS])
15.771 +m4trace:configure.ac:88: -1- AC_SUBST_TRACE([GST_CFLAGS])
15.772 +m4trace:configure.ac:88: -1- m4_pattern_allow([^GST_CFLAGS$])
15.773 +m4trace:configure.ac:89: -1- AC_SUBST([GST_LIBS])
15.774 +m4trace:configure.ac:89: -1- AC_SUBST_TRACE([GST_LIBS])
15.775 +m4trace:configure.ac:89: -1- m4_pattern_allow([^GST_LIBS$])
15.776 +m4trace:configure.ac:92: -1- AC_SUBST([GST_MAJORMINOR])
15.777 +m4trace:configure.ac:92: -1- AC_SUBST_TRACE([GST_MAJORMINOR])
15.778 +m4trace:configure.ac:92: -1- m4_pattern_allow([^GST_MAJORMINOR$])
15.779 +m4trace:configure.ac:95: -1- AC_SUBST([GST_BASE_CFLAGS])
15.780 +m4trace:configure.ac:95: -1- AC_SUBST_TRACE([GST_BASE_CFLAGS])
15.781 +m4trace:configure.ac:95: -1- m4_pattern_allow([^GST_BASE_CFLAGS$])
15.782 +m4trace:configure.ac:95: -1- AC_SUBST([GST_BASE_LIBS])
15.783 +m4trace:configure.ac:95: -1- AC_SUBST_TRACE([GST_BASE_LIBS])
15.784 +m4trace:configure.ac:95: -1- m4_pattern_allow([^GST_BASE_LIBS$])
15.785 +m4trace:configure.ac:102: -1- AC_SUBST([GST_BASE_LIBS])
15.786 +m4trace:configure.ac:102: -1- AC_SUBST_TRACE([GST_BASE_LIBS])
15.787 +m4trace:configure.ac:102: -1- m4_pattern_allow([^GST_BASE_LIBS$])
15.788 +m4trace:configure.ac:103: -1- AC_SUBST([GST_BASE_CFLAGS])
15.789 +m4trace:configure.ac:103: -1- AC_SUBST_TRACE([GST_BASE_CFLAGS])
15.790 +m4trace:configure.ac:103: -1- m4_pattern_allow([^GST_BASE_CFLAGS$])
15.791 +m4trace:configure.ac:106: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
15.792 +m4trace:configure.ac:106: -1- AC_SUBST_TRACE([GST_PLUGINS_BASE_CFLAGS])
15.793 +m4trace:configure.ac:106: -1- m4_pattern_allow([^GST_PLUGINS_BASE_CFLAGS$])
15.794 +m4trace:configure.ac:106: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
15.795 +m4trace:configure.ac:106: -1- AC_SUBST_TRACE([GST_PLUGINS_BASE_LIBS])
15.796 +m4trace:configure.ac:106: -1- m4_pattern_allow([^GST_PLUGINS_BASE_LIBS$])
15.797 +m4trace:configure.ac:113: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
15.798 +m4trace:configure.ac:113: -1- AC_SUBST_TRACE([GST_PLUGINS_BASE_LIBS])
15.799 +m4trace:configure.ac:113: -1- m4_pattern_allow([^GST_PLUGINS_BASE_LIBS$])
15.800 +m4trace:configure.ac:114: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
15.801 +m4trace:configure.ac:114: -1- AC_SUBST_TRACE([GST_PLUGINS_BASE_CFLAGS])
15.802 +m4trace:configure.ac:114: -1- m4_pattern_allow([^GST_PLUGINS_BASE_CFLAGS$])
15.803 +m4trace:configure.ac:118: -1- AC_SUBST([plugindir])
15.804 +m4trace:configure.ac:118: -1- AC_SUBST_TRACE([plugindir])
15.805 +m4trace:configure.ac:118: -1- m4_pattern_allow([^plugindir$])
15.806 +m4trace:configure.ac:122: -1- AC_SUBST([GST_PLUGIN_LDFLAGS])
15.807 +m4trace:configure.ac:122: -1- AC_SUBST_TRACE([GST_PLUGIN_LDFLAGS])
15.808 +m4trace:configure.ac:122: -1- m4_pattern_allow([^GST_PLUGIN_LDFLAGS$])
15.809 +m4trace:configure.ac:124: -1- AC_DEFINE_TRACE_LITERAL([GST_LICENSE])
15.810 +m4trace:configure.ac:124: -1- m4_pattern_allow([^GST_LICENSE$])
15.811 +m4trace:configure.ac:124: -1- AH_OUTPUT([GST_LICENSE], [/* License for Distribution */
15.812 +#undef GST_LICENSE])
15.813 +m4trace:configure.ac:125: -1- AC_DEFINE_TRACE_LITERAL([GST_PACKAGE_NAME])
15.814 +m4trace:configure.ac:125: -1- m4_pattern_allow([^GST_PACKAGE_NAME$])
15.815 +m4trace:configure.ac:125: -1- AH_OUTPUT([GST_PACKAGE_NAME], [/* package name */
15.816 +#undef GST_PACKAGE_NAME])
15.817 +m4trace:configure.ac:126: -1- AC_DEFINE_TRACE_LITERAL([GST_PACKAGE_ORIGIN])
15.818 +m4trace:configure.ac:126: -1- m4_pattern_allow([^GST_PACKAGE_ORIGIN$])
15.819 +m4trace:configure.ac:126: -1- AH_OUTPUT([GST_PACKAGE_ORIGIN], [/* Origin of this package */
15.820 +#undef GST_PACKAGE_ORIGIN])
15.821 +m4trace:configure.ac:128: -1- AC_CONFIG_FILES([\
15.822 + Makefile \
15.823 + src/Makefile
15.824 +])
15.825 +m4trace:configure.ac:128: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
15.826 +You should run autoupdate.], [])
15.827 +m4trace:configure.ac:128: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
15.828 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
15.829 +m4trace:configure.ac:128: -1- m4_pattern_allow([^LIB@&t@OBJS$])
15.830 +m4trace:configure.ac:128: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
15.831 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([LTLIBOBJS])
15.832 +m4trace:configure.ac:128: -1- m4_pattern_allow([^LTLIBOBJS$])
15.833 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([top_builddir])
15.834 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([srcdir])
15.835 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_srcdir])
15.836 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([top_srcdir])
15.837 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_top_srcdir])
15.838 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([builddir])
15.839 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_builddir])
15.840 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_top_builddir])
15.841 +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([INSTALL])
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/gst-gpac/autom4te.cache/traces.2 Thu Feb 21 17:44:16 2008 +0000
16.3 @@ -0,0 +1,8690 @@
16.4 +m4trace:/usr/share/aclocal-1.9/amversion.m4:13: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
16.5 +m4trace:/usr/share/aclocal-1.9/amversion.m4:19: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])])
16.6 +m4trace:/usr/share/aclocal-1.9/as.m4:13: -1- AC_DEFUN([AM_PROG_AS], [# By default we simply use the C compiler to build assembly code.
16.7 +AC_REQUIRE([AC_PROG_CC])
16.8 +test "${CCAS+set}" = set || CCAS=$CC
16.9 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
16.10 +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
16.11 +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
16.12 +])
16.13 +m4trace:/usr/share/aclocal-1.9/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
16.14 +AC_PREREQ([2.50])dnl
16.15 +# expand $ac_aux_dir to an absolute path
16.16 +am_aux_dir=`cd $ac_aux_dir && pwd`
16.17 +])
16.18 +m4trace:/usr/share/aclocal-1.9/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
16.19 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
16.20 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
16.21 +AC_SUBST([$1_TRUE])
16.22 +AC_SUBST([$1_FALSE])
16.23 +if $2; then
16.24 + $1_TRUE=
16.25 + $1_FALSE='#'
16.26 +else
16.27 + $1_TRUE='#'
16.28 + $1_FALSE=
16.29 +fi
16.30 +AC_CONFIG_COMMANDS_PRE(
16.31 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
16.32 + AC_MSG_ERROR([[conditional "$1" was never defined.
16.33 +Usually this means the macro was only invoked conditionally.]])
16.34 +fi])])
16.35 +m4trace:/usr/share/aclocal-1.9/depend.m4:29: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
16.36 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
16.37 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
16.38 +AC_REQUIRE([AM_DEP_TRACK])dnl
16.39 +
16.40 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
16.41 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
16.42 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
16.43 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
16.44 + [depcc="$$1" am_compiler_list=])
16.45 +
16.46 +AC_CACHE_CHECK([dependency style of $depcc],
16.47 + [am_cv_$1_dependencies_compiler_type],
16.48 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16.49 + # We make a subdir and do the tests there. Otherwise we can end up
16.50 + # making bogus files that we don't know about and never remove. For
16.51 + # instance it was reported that on HP-UX the gcc test will end up
16.52 + # making a dummy file named `D' -- because `-MD' means `put the output
16.53 + # in D'.
16.54 + mkdir conftest.dir
16.55 + # Copy depcomp to subdir because otherwise we won't find it if we're
16.56 + # using a relative directory.
16.57 + cp "$am_depcomp" conftest.dir
16.58 + cd conftest.dir
16.59 + # We will build objects and dependencies in a subdirectory because
16.60 + # it helps to detect inapplicable dependency modes. For instance
16.61 + # both Tru64's cc and ICC support -MD to output dependencies as a
16.62 + # side effect of compilation, but ICC will put the dependencies in
16.63 + # the current directory while Tru64 will put them in the object
16.64 + # directory.
16.65 + mkdir sub
16.66 +
16.67 + am_cv_$1_dependencies_compiler_type=none
16.68 + if test "$am_compiler_list" = ""; then
16.69 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
16.70 + fi
16.71 + for depmode in $am_compiler_list; do
16.72 + # Setup a source with many dependencies, because some compilers
16.73 + # like to wrap large dependency lists on column 80 (with \), and
16.74 + # we should not choose a depcomp mode which is confused by this.
16.75 + #
16.76 + # We need to recreate these files for each test, as the compiler may
16.77 + # overwrite some of them when testing with obscure command lines.
16.78 + # This happens at least with the AIX C compiler.
16.79 + : > sub/conftest.c
16.80 + for i in 1 2 3 4 5 6; do
16.81 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
16.82 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16.83 + # Solaris 8's {/usr,}/bin/sh.
16.84 + touch sub/conftst$i.h
16.85 + done
16.86 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16.87 +
16.88 + case $depmode in
16.89 + nosideeffect)
16.90 + # after this tag, mechanisms are not by side-effect, so they'll
16.91 + # only be used when explicitly requested
16.92 + if test "x$enable_dependency_tracking" = xyes; then
16.93 + continue
16.94 + else
16.95 + break
16.96 + fi
16.97 + ;;
16.98 + none) break ;;
16.99 + esac
16.100 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
16.101 + # mode. It turns out that the SunPro C++ compiler does not properly
16.102 + # handle `-M -o', and we need to detect this.
16.103 + if depmode=$depmode \
16.104 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
16.105 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16.106 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
16.107 + >/dev/null 2>conftest.err &&
16.108 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16.109 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
16.110 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16.111 + # icc doesn't choke on unknown options, it will just issue warnings
16.112 + # or remarks (even with -Werror). So we grep stderr for any message
16.113 + # that says an option was ignored or not supported.
16.114 + # When given -MP, icc 7.0 and 7.1 complain thusly:
16.115 + # icc: Command line warning: ignoring option '-M'; no argument required
16.116 + # The diagnosis changed in icc 8.0:
16.117 + # icc: Command line remark: option '-MP' not supported
16.118 + if (grep 'ignoring option' conftest.err ||
16.119 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16.120 + am_cv_$1_dependencies_compiler_type=$depmode
16.121 + break
16.122 + fi
16.123 + fi
16.124 + done
16.125 +
16.126 + cd ..
16.127 + rm -rf conftest.dir
16.128 +else
16.129 + am_cv_$1_dependencies_compiler_type=none
16.130 +fi
16.131 +])
16.132 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
16.133 +AM_CONDITIONAL([am__fastdep$1], [
16.134 + test "x$enable_dependency_tracking" != xno \
16.135 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
16.136 +])
16.137 +m4trace:/usr/share/aclocal-1.9/depend.m4:138: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
16.138 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
16.139 +])
16.140 +m4trace:/usr/share/aclocal-1.9/depend.m4:146: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
16.141 +[ --disable-dependency-tracking speeds up one-time build
16.142 + --enable-dependency-tracking do not reject slow dependency extractors])
16.143 +if test "x$enable_dependency_tracking" != xno; then
16.144 + am_depcomp="$ac_aux_dir/depcomp"
16.145 + AMDEPBACKSLASH='\'
16.146 +fi
16.147 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
16.148 +AC_SUBST([AMDEPBACKSLASH])
16.149 +])
16.150 +m4trace:/usr/share/aclocal-1.9/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
16.151 + # Strip MF so we end up with the name of the file.
16.152 + mf=`echo "$mf" | sed -e 's/:.*$//'`
16.153 + # Check whether this is an Automake generated Makefile or not.
16.154 + # We used to match only the files named `Makefile.in', but
16.155 + # some people rename them; so instead we look at the file content.
16.156 + # Grep'ing the first line is not enough: some people post-process
16.157 + # each Makefile.in and add a new line on top of each file to say so.
16.158 + # So let's grep whole file.
16.159 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
16.160 + dirpart=`AS_DIRNAME("$mf")`
16.161 + else
16.162 + continue
16.163 + fi
16.164 + # Extract the definition of DEPDIR, am__include, and am__quote
16.165 + # from the Makefile without running `make'.
16.166 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16.167 + test -z "$DEPDIR" && continue
16.168 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
16.169 + test -z "am__include" && continue
16.170 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16.171 + # When using ansi2knr, U may be empty or an underscore; expand it
16.172 + U=`sed -n 's/^U = //p' < "$mf"`
16.173 + # Find all dependency output files, they are included files with
16.174 + # $(DEPDIR) in their names. We invoke sed twice because it is the
16.175 + # simplest approach to changing $(DEPDIR) to its actual value in the
16.176 + # expansion.
16.177 + for file in `sed -n "
16.178 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16.179 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16.180 + # Make sure the directory exists.
16.181 + test -f "$dirpart/$file" && continue
16.182 + fdir=`AS_DIRNAME(["$file"])`
16.183 + AS_MKDIR_P([$dirpart/$fdir])
16.184 + # echo "creating $dirpart/$file"
16.185 + echo '# dummy' > "$dirpart/$file"
16.186 + done
16.187 +done
16.188 +])
16.189 +m4trace:/usr/share/aclocal-1.9/depout.m4:63: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
16.190 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
16.191 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
16.192 +])
16.193 +m4trace:/usr/share/aclocal-1.9/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
16.194 +m4trace:/usr/share/aclocal-1.9/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
16.195 +You should run autoupdate.])dnl
16.196 +AC_CONFIG_HEADERS($@)])
16.197 +m4trace:/usr/share/aclocal-1.9/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl
16.198 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
16.199 +dnl the ones we care about.
16.200 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
16.201 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
16.202 +AC_REQUIRE([AC_PROG_INSTALL])dnl
16.203 +# test to see if srcdir already configured
16.204 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
16.205 + test -f $srcdir/config.status; then
16.206 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
16.207 +fi
16.208 +
16.209 +# test whether we have cygpath
16.210 +if test -z "$CYGPATH_W"; then
16.211 + if (cygpath --version) >/dev/null 2>/dev/null; then
16.212 + CYGPATH_W='cygpath -w'
16.213 + else
16.214 + CYGPATH_W=echo
16.215 + fi
16.216 +fi
16.217 +AC_SUBST([CYGPATH_W])
16.218 +
16.219 +# Define the identity of the package.
16.220 +dnl Distinguish between old-style and new-style calls.
16.221 +m4_ifval([$2],
16.222 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
16.223 + AC_SUBST([PACKAGE], [$1])dnl
16.224 + AC_SUBST([VERSION], [$2])],
16.225 +[_AM_SET_OPTIONS([$1])dnl
16.226 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
16.227 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
16.228 +
16.229 +_AM_IF_OPTION([no-define],,
16.230 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
16.231 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
16.232 +
16.233 +# Some tools Automake needs.
16.234 +AC_REQUIRE([AM_SANITY_CHECK])dnl
16.235 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
16.236 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
16.237 +AM_MISSING_PROG(AUTOCONF, autoconf)
16.238 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
16.239 +AM_MISSING_PROG(AUTOHEADER, autoheader)
16.240 +AM_MISSING_PROG(MAKEINFO, makeinfo)
16.241 +AM_PROG_INSTALL_SH
16.242 +AM_PROG_INSTALL_STRIP
16.243 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
16.244 +# We need awk for the "check" target. The system "awk" is bad on
16.245 +# some platforms.
16.246 +AC_REQUIRE([AC_PROG_AWK])dnl
16.247 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
16.248 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
16.249 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
16.250 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
16.251 + [_AM_PROG_TAR([v7])])])
16.252 +_AM_IF_OPTION([no-dependencies],,
16.253 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
16.254 + [_AM_DEPENDENCIES(CC)],
16.255 + [define([AC_PROG_CC],
16.256 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
16.257 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
16.258 + [_AM_DEPENDENCIES(CXX)],
16.259 + [define([AC_PROG_CXX],
16.260 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
16.261 +])
16.262 +])
16.263 +m4trace:/usr/share/aclocal-1.9/init.m4:102: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
16.264 +_am_stamp_count=1
16.265 +for _am_header in $config_headers :; do
16.266 + case $_am_header in
16.267 + $1 | $1:* )
16.268 + break ;;
16.269 + * )
16.270 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16.271 + esac
16.272 +done
16.273 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
16.274 +m4trace:/usr/share/aclocal-1.9/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
16.275 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
16.276 +AC_SUBST(install_sh)])
16.277 +m4trace:/usr/share/aclocal-1.9/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
16.278 +mkdir .tst 2>/dev/null
16.279 +if test -d .tst; then
16.280 + am__leading_dot=.
16.281 +else
16.282 + am__leading_dot=_
16.283 +fi
16.284 +rmdir .tst 2>/dev/null
16.285 +AC_SUBST([am__leading_dot])])
16.286 +m4trace:/usr/share/aclocal-1.9/maintainer.m4:13: -1- AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
16.287 + dnl maintainer-mode is disabled by default
16.288 + AC_ARG_ENABLE(maintainer-mode,
16.289 +[ --enable-maintainer-mode enable make rules and dependencies not useful
16.290 + (and sometimes confusing) to the casual installer],
16.291 + USE_MAINTAINER_MODE=$enableval,
16.292 + USE_MAINTAINER_MODE=no)
16.293 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
16.294 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
16.295 + MAINT=$MAINTAINER_MODE_TRUE
16.296 + AC_SUBST(MAINT)dnl
16.297 +
16.298 +])
16.299 +m4trace:/usr/share/aclocal-1.9/maintainer.m4:28: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
16.300 +m4trace:/usr/share/aclocal-1.9/maintainer.m4:28: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
16.301 +You should run autoupdate.])dnl
16.302 +AM_MAINTAINER_MODE])
16.303 +m4trace:/usr/share/aclocal-1.9/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
16.304 +cat > confinc << 'END'
16.305 +am__doit:
16.306 + @echo done
16.307 +.PHONY: am__doit
16.308 +END
16.309 +# If we don't find an include directive, just comment out the code.
16.310 +AC_MSG_CHECKING([for style of include used by $am_make])
16.311 +am__include="#"
16.312 +am__quote=
16.313 +_am_result=none
16.314 +# First try GNU make style include.
16.315 +echo "include confinc" > confmf
16.316 +# We grep out `Entering directory' and `Leaving directory'
16.317 +# messages which can occur if `w' ends up in MAKEFLAGS.
16.318 +# In particular we don't look at `^make:' because GNU make might
16.319 +# be invoked under some other name (usually "gmake"), in which
16.320 +# case it prints its new name instead of `make'.
16.321 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
16.322 + am__include=include
16.323 + am__quote=
16.324 + _am_result=GNU
16.325 +fi
16.326 +# Now try BSD make style include.
16.327 +if test "$am__include" = "#"; then
16.328 + echo '.include "confinc"' > confmf
16.329 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
16.330 + am__include=.include
16.331 + am__quote="\""
16.332 + _am_result=BSD
16.333 + fi
16.334 +fi
16.335 +AC_SUBST([am__include])
16.336 +AC_SUBST([am__quote])
16.337 +AC_MSG_RESULT([$_am_result])
16.338 +rm -f confinc confmf
16.339 +])
16.340 +m4trace:/usr/share/aclocal-1.9/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
16.341 +$1=${$1-"${am_missing_run}$2"}
16.342 +AC_SUBST($1)])
16.343 +m4trace:/usr/share/aclocal-1.9/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
16.344 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
16.345 +# Use eval to expand $SHELL
16.346 +if eval "$MISSING --run true"; then
16.347 + am_missing_run="$MISSING --run "
16.348 +else
16.349 + am_missing_run=
16.350 + AC_MSG_WARN([`missing' script is too old or missing])
16.351 +fi
16.352 +])
16.353 +m4trace:/usr/share/aclocal-1.9/mkdirp.m4:30: -1- AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
16.354 + # We used to keeping the `.' as first argument, in order to
16.355 + # allow $(mkdir_p) to be used without argument. As in
16.356 + # $(mkdir_p) $(somedir)
16.357 + # where $(somedir) is conditionally defined. However this is wrong
16.358 + # for two reasons:
16.359 + # 1. if the package is installed by a user who cannot write `.'
16.360 + # make install will fail,
16.361 + # 2. the above comment should most certainly read
16.362 + # $(mkdir_p) $(DESTDIR)$(somedir)
16.363 + # so it does not work when $(somedir) is undefined and
16.364 + # $(DESTDIR) is not.
16.365 + # To support the latter case, we have to write
16.366 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
16.367 + # so the `.' trick is pointless.
16.368 + mkdir_p='mkdir -p --'
16.369 +else
16.370 + # On NextStep and OpenStep, the `mkdir' command does not
16.371 + # recognize any option. It will interpret all options as
16.372 + # directories to create, and then abort because `.' already
16.373 + # exists.
16.374 + for d in ./-p ./--version;
16.375 + do
16.376 + test -d $d && rmdir $d
16.377 + done
16.378 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
16.379 + if test -f "$ac_aux_dir/mkinstalldirs"; then
16.380 + mkdir_p='$(mkinstalldirs)'
16.381 + else
16.382 + mkdir_p='$(install_sh) -d'
16.383 + fi
16.384 +fi
16.385 +AC_SUBST([mkdir_p])])
16.386 +m4trace:/usr/share/aclocal-1.9/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
16.387 +m4trace:/usr/share/aclocal-1.9/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
16.388 +m4trace:/usr/share/aclocal-1.9/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
16.389 +m4trace:/usr/share/aclocal-1.9/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
16.390 +m4trace:/usr/share/aclocal-1.9/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
16.391 + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
16.392 + ac_status=$?
16.393 + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
16.394 + (exit $ac_status); }])
16.395 +m4trace:/usr/share/aclocal-1.9/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
16.396 +# Just in case
16.397 +sleep 1
16.398 +echo timestamp > conftest.file
16.399 +# Do `set' in a subshell so we don't clobber the current shell's
16.400 +# arguments. Must try -L first in case configure is actually a
16.401 +# symlink; some systems play weird games with the mod time of symlinks
16.402 +# (eg FreeBSD returns the mod time of the symlink's containing
16.403 +# directory).
16.404 +if (
16.405 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
16.406 + if test "$[*]" = "X"; then
16.407 + # -L didn't work.
16.408 + set X `ls -t $srcdir/configure conftest.file`
16.409 + fi
16.410 + rm -f conftest.file
16.411 + if test "$[*]" != "X $srcdir/configure conftest.file" \
16.412 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
16.413 +
16.414 + # If neither matched, then we have a broken ls. This can happen
16.415 + # if, for instance, CONFIG_SHELL is bash and it inherits a
16.416 + # broken ls alias from the environment. This has actually
16.417 + # happened. Such a system could not be considered "sane".
16.418 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
16.419 +alias in your environment])
16.420 + fi
16.421 +
16.422 + test "$[2]" = conftest.file
16.423 + )
16.424 +then
16.425 + # Ok.
16.426 + :
16.427 +else
16.428 + AC_MSG_ERROR([newly created file is older than distributed files!
16.429 +Check your system clock])
16.430 +fi
16.431 +AC_MSG_RESULT(yes)])
16.432 +m4trace:/usr/share/aclocal-1.9/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
16.433 +# Installed binaries are usually stripped using `strip' when the user
16.434 +# run `make install-strip'. However `strip' might not be the right
16.435 +# tool to use in cross-compilation environments, therefore Automake
16.436 +# will honor the `STRIP' environment variable to overrule this program.
16.437 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
16.438 +if test "$cross_compiling" != no; then
16.439 + AC_CHECK_TOOL([STRIP], [strip], :)
16.440 +fi
16.441 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
16.442 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
16.443 +m4trace:/usr/share/aclocal-1.9/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
16.444 +AM_MISSING_PROG([AMTAR], [tar])
16.445 +m4_if([$1], [v7],
16.446 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
16.447 + [m4_case([$1], [ustar],, [pax],,
16.448 + [m4_fatal([Unknown tar format])])
16.449 +AC_MSG_CHECKING([how to create a $1 tar archive])
16.450 +# Loop over all known methods to create a tar archive until one works.
16.451 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
16.452 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
16.453 +# Do not fold the above two line into one, because Tru64 sh and
16.454 +# Solaris sh will not grok spaces in the rhs of `-'.
16.455 +for _am_tool in $_am_tools
16.456 +do
16.457 + case $_am_tool in
16.458 + gnutar)
16.459 + for _am_tar in tar gnutar gtar;
16.460 + do
16.461 + AM_RUN_LOG([$_am_tar --version]) && break
16.462 + done
16.463 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
16.464 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
16.465 + am__untar="$_am_tar -xf -"
16.466 + ;;
16.467 + plaintar)
16.468 + # Must skip GNU tar: if it does not support --format= it doesn't create
16.469 + # ustar tarball either.
16.470 + (tar --version) >/dev/null 2>&1 && continue
16.471 + am__tar='tar chf - "$$tardir"'
16.472 + am__tar_='tar chf - "$tardir"'
16.473 + am__untar='tar xf -'
16.474 + ;;
16.475 + pax)
16.476 + am__tar='pax -L -x $1 -w "$$tardir"'
16.477 + am__tar_='pax -L -x $1 -w "$tardir"'
16.478 + am__untar='pax -r'
16.479 + ;;
16.480 + cpio)
16.481 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
16.482 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
16.483 + am__untar='cpio -i -H $1 -d'
16.484 + ;;
16.485 + none)
16.486 + am__tar=false
16.487 + am__tar_=false
16.488 + am__untar=false
16.489 + ;;
16.490 + esac
16.491 +
16.492 + # If the value was cached, stop now. We just wanted to have am__tar
16.493 + # and am__untar set.
16.494 + test -n "${am_cv_prog_tar_$1}" && break
16.495 +
16.496 + # tar/untar a dummy directory, and stop if the command works
16.497 + rm -rf conftest.dir
16.498 + mkdir conftest.dir
16.499 + echo GrepMe > conftest.dir/file
16.500 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
16.501 + rm -rf conftest.dir
16.502 + if test -s conftest.tar; then
16.503 + AM_RUN_LOG([$am__untar <conftest.tar])
16.504 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
16.505 + fi
16.506 +done
16.507 +rm -rf conftest.dir
16.508 +
16.509 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
16.510 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
16.511 +AC_SUBST([am__tar])
16.512 +AC_SUBST([am__untar])
16.513 +])
16.514 +m4trace:m4/as-compiler-flag.m4:14: -1- AC_DEFUN([AS_COMPILER_FLAG], [
16.515 + AC_MSG_CHECKING([to see if compiler understands $1])
16.516 +
16.517 + save_CFLAGS="$CFLAGS"
16.518 + CFLAGS="$CFLAGS $1"
16.519 +
16.520 + AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
16.521 + CFLAGS="$save_CFLAGS"
16.522 +
16.523 + if test "X$flag_ok" = Xyes ; then
16.524 + $2
16.525 + true
16.526 + else
16.527 + $3
16.528 + true
16.529 + fi
16.530 + AC_MSG_RESULT([$flag_ok])
16.531 +])
16.532 +m4trace:m4/as-version.m4:29: -1- AC_DEFUN([AS_VERSION], [
16.533 + PACKAGE=[$1]
16.534 + [$2]_MAJOR=[$3]
16.535 + [$2]_MINOR=[$4]
16.536 + [$2]_MICRO=[$5]
16.537 + NANO=[$6]
16.538 + [$2]_NANO=$NANO
16.539 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
16.540 + then
16.541 + AC_MSG_NOTICE(configuring [$1] for release)
16.542 + VERSION=[$3].[$4].[$5]
16.543 + [$2]_RELEASE=1
16.544 + dnl execute action
16.545 + ifelse([$7], , :, [$7])
16.546 + else
16.547 + AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
16.548 + VERSION=[$3].[$4].[$5].$NANO
16.549 + [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
16.550 + dnl execute action
16.551 + ifelse([$8], , :, [$8])
16.552 + fi
16.553 +
16.554 + [$2]=$VERSION
16.555 + AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version])
16.556 + AC_SUBST([$2])
16.557 + AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version])
16.558 + AC_SUBST([$2]_RELEASE)
16.559 +
16.560 + AC_SUBST([$2]_MAJOR)
16.561 + AC_SUBST([$2]_MINOR)
16.562 + AC_SUBST([$2]_MICRO)
16.563 + AC_SUBST([$2]_NANO)
16.564 + AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name])
16.565 + AC_SUBST(PACKAGE)
16.566 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version])
16.567 + AC_SUBST(VERSION)
16.568 +])
16.569 +m4trace:m4/libtool.m4:41: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
16.570 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
16.571 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
16.572 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
16.573 + [AC_LIBTOOL_CXX],
16.574 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
16.575 + ])])
16.576 +dnl And a similar setup for Fortran 77 support
16.577 + AC_PROVIDE_IFELSE([AC_PROG_F77],
16.578 + [AC_LIBTOOL_F77],
16.579 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
16.580 +])])
16.581 +
16.582 +dnl Quote AM_PROG_GCJ so that aclocal doesn't bring it in needlessly.
16.583 +dnl If either AC_PROG_GCJ or AM_PROG_GCJ have already been expanded, run
16.584 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
16.585 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
16.586 + [AC_LIBTOOL_GCJ],
16.587 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
16.588 + [AC_LIBTOOL_GCJ],
16.589 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
16.590 + [AC_LIBTOOL_GCJ],
16.591 + [ifdef([AC_PROG_GCJ],
16.592 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
16.593 + ifdef([A][M_PROG_GCJ],
16.594 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
16.595 + ifdef([LT_AC_PROG_GCJ],
16.596 + [define([LT_AC_PROG_GCJ],
16.597 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
16.598 +])])
16.599 +m4trace:m4/libtool.m4:76: -1- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
16.600 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
16.601 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
16.602 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
16.603 +
16.604 +# This can be used to rebuild libtool when needed
16.605 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
16.606 +
16.607 +# Always use our own libtool.
16.608 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
16.609 +AC_SUBST(LIBTOOL)dnl
16.610 +
16.611 +# Prevent multiple expansion
16.612 +define([AC_PROG_LIBTOOL], [])
16.613 +])
16.614 +m4trace:m4/libtool.m4:96: -1- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl
16.615 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
16.616 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
16.617 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
16.618 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
16.619 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
16.620 +AC_REQUIRE([AC_PROG_CC])dnl
16.621 +AC_REQUIRE([AC_PROG_LD])dnl
16.622 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
16.623 +AC_REQUIRE([AC_PROG_NM])dnl
16.624 +
16.625 +AC_REQUIRE([AC_PROG_LN_S])dnl
16.626 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
16.627 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
16.628 +AC_REQUIRE([AC_OBJEXT])dnl
16.629 +AC_REQUIRE([AC_EXEEXT])dnl
16.630 +dnl
16.631 +
16.632 +AC_LIBTOOL_SYS_MAX_CMD_LEN
16.633 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
16.634 +AC_LIBTOOL_OBJDIR
16.635 +
16.636 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16.637 +_LT_AC_PROG_ECHO_BACKSLASH
16.638 +
16.639 +case $host_os in
16.640 +aix3*)
16.641 + # AIX sometimes has problems with the GCC collect2 program. For some
16.642 + # reason, if we set the COLLECT_NAMES environment variable, the problems
16.643 + # vanish in a puff of smoke.
16.644 + if test "X${COLLECT_NAMES+set}" != Xset; then
16.645 + COLLECT_NAMES=
16.646 + export COLLECT_NAMES
16.647 + fi
16.648 + ;;
16.649 +esac
16.650 +
16.651 +# Sed substitution that helps us do robust quoting. It backslashifies
16.652 +# metacharacters that are still active within double-quoted strings.
16.653 +Xsed='sed -e s/^X//'
16.654 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
16.655 +
16.656 +# Same as above, but do not quote variable references.
16.657 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
16.658 +
16.659 +# Sed substitution to delay expansion of an escaped shell variable in a
16.660 +# double_quote_subst'ed string.
16.661 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
16.662 +
16.663 +# Sed substitution to avoid accidental globbing in evaled expressions
16.664 +no_glob_subst='s/\*/\\\*/g'
16.665 +
16.666 +# Constants:
16.667 +rm="rm -f"
16.668 +
16.669 +# Global variables:
16.670 +default_ofile=libtool
16.671 +can_build_shared=yes
16.672 +
16.673 +# All known linkers require a `.a' archive for static linking (except M$VC,
16.674 +# which needs '.lib').
16.675 +libext=a
16.676 +ltmain="$ac_aux_dir/ltmain.sh"
16.677 +ofile="$default_ofile"
16.678 +with_gnu_ld="$lt_cv_prog_gnu_ld"
16.679 +
16.680 +AC_CHECK_TOOL(AR, ar, false)
16.681 +AC_CHECK_TOOL(RANLIB, ranlib, :)
16.682 +AC_CHECK_TOOL(STRIP, strip, :)
16.683 +
16.684 +old_CC="$CC"
16.685 +old_CFLAGS="$CFLAGS"
16.686 +
16.687 +# Set sane defaults for various variables
16.688 +test -z "$AR" && AR=ar
16.689 +test -z "$AR_FLAGS" && AR_FLAGS=cru
16.690 +test -z "$AS" && AS=as
16.691 +test -z "$CC" && CC=cc
16.692 +test -z "$LTCC" && LTCC=$CC
16.693 +test -z "$DLLTOOL" && DLLTOOL=dlltool
16.694 +test -z "$LD" && LD=ld
16.695 +test -z "$LN_S" && LN_S="ln -s"
16.696 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
16.697 +test -z "$NM" && NM=nm
16.698 +test -z "$SED" && SED=sed
16.699 +test -z "$OBJDUMP" && OBJDUMP=objdump
16.700 +test -z "$RANLIB" && RANLIB=:
16.701 +test -z "$STRIP" && STRIP=:
16.702 +test -z "$ac_objext" && ac_objext=o
16.703 +
16.704 +# Determine commands to create old-style static archives.
16.705 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
16.706 +old_postinstall_cmds='chmod 644 $oldlib'
16.707 +old_postuninstall_cmds=
16.708 +
16.709 +if test -n "$RANLIB"; then
16.710 + case $host_os in
16.711 + openbsd*)
16.712 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
16.713 + ;;
16.714 + *)
16.715 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
16.716 + ;;
16.717 + esac
16.718 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
16.719 +fi
16.720 +
16.721 +# Only perform the check for file, if the check method requires it
16.722 +case $deplibs_check_method in
16.723 +file_magic*)
16.724 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
16.725 + AC_PATH_MAGIC
16.726 + fi
16.727 + ;;
16.728 +esac
16.729 +
16.730 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
16.731 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
16.732 +enable_win32_dll=yes, enable_win32_dll=no)
16.733 +
16.734 +AC_ARG_ENABLE([libtool-lock],
16.735 + [AC_HELP_STRING([--disable-libtool-lock],
16.736 + [avoid locking (might break parallel builds)])])
16.737 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
16.738 +
16.739 +AC_ARG_WITH([pic],
16.740 + [AC_HELP_STRING([--with-pic],
16.741 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
16.742 + [pic_mode="$withval"],
16.743 + [pic_mode=default])
16.744 +test -z "$pic_mode" && pic_mode=default
16.745 +
16.746 +# Use C for the default configuration in the libtool script
16.747 +tagname=
16.748 +AC_LIBTOOL_LANG_C_CONFIG
16.749 +_LT_AC_TAGCONFIG
16.750 +])
16.751 +m4trace:m4/libtool.m4:238: -1- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl
16.752 +
16.753 +# If no C compiler was specified, use CC.
16.754 +LTCC=${LTCC-"$CC"}
16.755 +
16.756 +# Allow CC to be a program name with arguments.
16.757 +compiler=$CC
16.758 +])
16.759 +m4trace:m4/libtool.m4:257: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_LINK_IFELSE(AC_LANG_PROGRAM,[
16.760 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16.761 +}'`
16.762 +# Check for a 64-bit object if we didn't find anything.
16.763 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16.764 +}'`; fi],[])
16.765 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16.766 +])
16.767 +m4trace:m4/libtool.m4:270: -1- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE],
16.768 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
16.769 + [AC_DIVERT_PUSH(NOTICE)])
16.770 +$1
16.771 +AC_DIVERT_POP
16.772 +])
16.773 +m4trace:m4/libtool.m4:283: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([
16.774 +# Check that we are running under the correct shell.
16.775 +SHELL=${CONFIG_SHELL-/bin/sh}
16.776 +
16.777 +case X$ECHO in
16.778 +X*--fallback-echo)
16.779 + # Remove one level of quotation (which was required for Make).
16.780 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
16.781 + ;;
16.782 +esac
16.783 +
16.784 +echo=${ECHO-echo}
16.785 +if test "X[$]1" = X--no-reexec; then
16.786 + # Discard the --no-reexec flag, and continue.
16.787 + shift
16.788 +elif test "X[$]1" = X--fallback-echo; then
16.789 + # Avoid inline document here, it may be left over
16.790 + :
16.791 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
16.792 + # Yippee, $echo works!
16.793 + :
16.794 +else
16.795 + # Restart under the correct shell.
16.796 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
16.797 +fi
16.798 +
16.799 +if test "X[$]1" = X--fallback-echo; then
16.800 + # used as fallback echo
16.801 + shift
16.802 + cat <<EOF
16.803 +[$]*
16.804 +EOF
16.805 + exit 0
16.806 +fi
16.807 +
16.808 +# The HP-UX ksh and POSIX shell print the target directory to stdout
16.809 +# if CDPATH is set.
16.810 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
16.811 +
16.812 +if test -z "$ECHO"; then
16.813 +if test "X${echo_test_string+set}" != Xset; then
16.814 +# find a string as large as possible, as long as the shell can cope with it
16.815 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
16.816 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
16.817 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
16.818 + echo_test_string="`eval $cmd`" &&
16.819 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
16.820 + then
16.821 + break
16.822 + fi
16.823 + done
16.824 +fi
16.825 +
16.826 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
16.827 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
16.828 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.829 + :
16.830 +else
16.831 + # The Solaris, AIX, and Digital Unix default echo programs unquote
16.832 + # backslashes. This makes it impossible to quote backslashes using
16.833 + # echo "$something" | sed 's/\\/\\\\/g'
16.834 + #
16.835 + # So, first we look for a working echo in the user's PATH.
16.836 +
16.837 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16.838 + for dir in $PATH /usr/ucb; do
16.839 + IFS="$lt_save_ifs"
16.840 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
16.841 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
16.842 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
16.843 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.844 + echo="$dir/echo"
16.845 + break
16.846 + fi
16.847 + done
16.848 + IFS="$lt_save_ifs"
16.849 +
16.850 + if test "X$echo" = Xecho; then
16.851 + # We didn't find a better echo, so look for alternatives.
16.852 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
16.853 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
16.854 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.855 + # This shell has a builtin print -r that does the trick.
16.856 + echo='print -r'
16.857 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
16.858 + test "X$CONFIG_SHELL" != X/bin/ksh; then
16.859 + # If we have ksh, try running configure again with it.
16.860 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16.861 + export ORIGINAL_CONFIG_SHELL
16.862 + CONFIG_SHELL=/bin/ksh
16.863 + export CONFIG_SHELL
16.864 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
16.865 + else
16.866 + # Try using printf.
16.867 + echo='printf %s\n'
16.868 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
16.869 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
16.870 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.871 + # Cool, printf works
16.872 + :
16.873 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
16.874 + test "X$echo_testing_string" = 'X\t' &&
16.875 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
16.876 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.877 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
16.878 + export CONFIG_SHELL
16.879 + SHELL="$CONFIG_SHELL"
16.880 + export SHELL
16.881 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
16.882 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
16.883 + test "X$echo_testing_string" = 'X\t' &&
16.884 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
16.885 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.886 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
16.887 + else
16.888 + # maybe with a smaller string...
16.889 + prev=:
16.890 +
16.891 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
16.892 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
16.893 + then
16.894 + break
16.895 + fi
16.896 + prev="$cmd"
16.897 + done
16.898 +
16.899 + if test "$prev" != 'sed 50q "[$]0"'; then
16.900 + echo_test_string=`eval $prev`
16.901 + export echo_test_string
16.902 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
16.903 + else
16.904 + # Oops. We lost completely, so just stick with echo.
16.905 + echo=echo
16.906 + fi
16.907 + fi
16.908 + fi
16.909 + fi
16.910 +fi
16.911 +fi
16.912 +
16.913 +# Copy echo and quote the copy suitably for passing to libtool from
16.914 +# the Makefile, instead of quoting the original, which is used later.
16.915 +ECHO=$echo
16.916 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
16.917 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
16.918 +fi
16.919 +
16.920 +AC_SUBST(ECHO)
16.921 +])])
16.922 +m4trace:m4/libtool.m4:437: -1- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock],
16.923 + [AC_HELP_STRING([--disable-libtool-lock],
16.924 + [avoid locking (might break parallel builds)])])
16.925 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
16.926 +
16.927 +# Some flags need to be propagated to the compiler or linker for good
16.928 +# libtool support.
16.929 +case $host in
16.930 +ia64-*-hpux*)
16.931 + # Find out which ABI we are using.
16.932 + echo 'int i;' > conftest.$ac_ext
16.933 + if AC_TRY_EVAL(ac_compile); then
16.934 + case `/usr/bin/file conftest.$ac_objext` in
16.935 + *ELF-32*)
16.936 + HPUX_IA64_MODE="32"
16.937 + ;;
16.938 + *ELF-64*)
16.939 + HPUX_IA64_MODE="64"
16.940 + ;;
16.941 + esac
16.942 + fi
16.943 + rm -rf conftest*
16.944 + ;;
16.945 +*-*-irix6*)
16.946 + # Find out which ABI we are using.
16.947 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
16.948 + if AC_TRY_EVAL(ac_compile); then
16.949 + if test "$lt_cv_prog_gnu_ld" = yes; then
16.950 + case `/usr/bin/file conftest.$ac_objext` in
16.951 + *32-bit*)
16.952 + LD="${LD-ld} -melf32bsmip"
16.953 + ;;
16.954 + *N32*)
16.955 + LD="${LD-ld} -melf32bmipn32"
16.956 + ;;
16.957 + *64-bit*)
16.958 + LD="${LD-ld} -melf64bmip"
16.959 + ;;
16.960 + esac
16.961 + else
16.962 + case `/usr/bin/file conftest.$ac_objext` in
16.963 + *32-bit*)
16.964 + LD="${LD-ld} -32"
16.965 + ;;
16.966 + *N32*)
16.967 + LD="${LD-ld} -n32"
16.968 + ;;
16.969 + *64-bit*)
16.970 + LD="${LD-ld} -64"
16.971 + ;;
16.972 + esac
16.973 + fi
16.974 + fi
16.975 + rm -rf conftest*
16.976 + ;;
16.977 +
16.978 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
16.979 + # Find out which ABI we are using.
16.980 + echo 'int i;' > conftest.$ac_ext
16.981 + if AC_TRY_EVAL(ac_compile); then
16.982 + case "`/usr/bin/file conftest.o`" in
16.983 + *32-bit*)
16.984 + case $host in
16.985 + x86_64-*linux*)
16.986 + LD="${LD-ld} -m elf_i386"
16.987 + ;;
16.988 + ppc64-*linux*|powerpc64-*linux*)
16.989 + LD="${LD-ld} -m elf32ppclinux"
16.990 + ;;
16.991 + s390x-*linux*)
16.992 + LD="${LD-ld} -m elf_s390"
16.993 + ;;
16.994 + sparc64-*linux*)
16.995 + LD="${LD-ld} -m elf32_sparc"
16.996 + ;;
16.997 + esac
16.998 + ;;
16.999 + *64-bit*)
16.1000 + case $host in
16.1001 + x86_64-*linux*)
16.1002 + LD="${LD-ld} -m elf_x86_64"
16.1003 + ;;
16.1004 + ppc*-*linux*|powerpc*-*linux*)
16.1005 + LD="${LD-ld} -m elf64ppc"
16.1006 + ;;
16.1007 + s390*-*linux*)
16.1008 + LD="${LD-ld} -m elf64_s390"
16.1009 + ;;
16.1010 + sparc*-*linux*)
16.1011 + LD="${LD-ld} -m elf64_sparc"
16.1012 + ;;
16.1013 + esac
16.1014 + ;;
16.1015 + esac
16.1016 + fi
16.1017 + rm -rf conftest*
16.1018 + ;;
16.1019 +
16.1020 +*-*-sco3.2v5*)
16.1021 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
16.1022 + SAVE_CFLAGS="$CFLAGS"
16.1023 + CFLAGS="$CFLAGS -belf"
16.1024 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
16.1025 + [AC_LANG_PUSH(C)
16.1026 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
16.1027 + AC_LANG_POP])
16.1028 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
16.1029 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
16.1030 + CFLAGS="$SAVE_CFLAGS"
16.1031 + fi
16.1032 + ;;
16.1033 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
16.1034 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
16.1035 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
16.1036 + AC_CHECK_TOOL(AS, as, false)
16.1037 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
16.1038 + ;;
16.1039 + ])
16.1040 +esac
16.1041 +
16.1042 +need_locks="$enable_libtool_lock"
16.1043 +
16.1044 +])
16.1045 +m4trace:m4/libtool.m4:567: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])
16.1046 +AC_CACHE_CHECK([$1], [$2],
16.1047 + [$2=no
16.1048 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
16.1049 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16.1050 + lt_compiler_flag="$3"
16.1051 + # Insert the option either (1) after the last *FLAGS variable, or
16.1052 + # (2) before a word containing "conftest.", or (3) at the end.
16.1053 + # Note that $ac_compile itself does not contain backslashes and begins
16.1054 + # with a dollar sign (not a hyphen), so the echo should work correctly.
16.1055 + # The option is referenced via a variable to avoid confusing sed.
16.1056 + lt_compile=`echo "$ac_compile" | $SED \
16.1057 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16.1058 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
16.1059 + -e 's:$: $lt_compiler_flag:'`
16.1060 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
16.1061 + (eval "$lt_compile" 2>conftest.err)
16.1062 + ac_status=$?
16.1063 + cat conftest.err >&AS_MESSAGE_LOG_FD
16.1064 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
16.1065 + if (exit $ac_status) && test -s "$ac_outfile"; then
16.1066 + # The compiler can only warn and ignore the option if not recognized
16.1067 + # So say no if there are warnings
16.1068 + if test ! -s conftest.err; then
16.1069 + $2=yes
16.1070 + fi
16.1071 + fi
16.1072 + $rm conftest*
16.1073 +])
16.1074 +
16.1075 +if test x"[$]$2" = xyes; then
16.1076 + ifelse([$5], , :, [$5])
16.1077 +else
16.1078 + ifelse([$6], , :, [$6])
16.1079 +fi
16.1080 +])
16.1081 +m4trace:m4/libtool.m4:610: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_CACHE_CHECK([$1], [$2],
16.1082 + [$2=no
16.1083 + save_LDFLAGS="$LDFLAGS"
16.1084 + LDFLAGS="$LDFLAGS $3"
16.1085 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
16.1086 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16.1087 + # The compiler can only warn and ignore the option if not recognized
16.1088 + # So say no if there are warnings
16.1089 + if test -s conftest.err; then
16.1090 + # Append any errors to the config.log.
16.1091 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
16.1092 + else
16.1093 + $2=yes
16.1094 + fi
16.1095 + fi
16.1096 + $rm conftest*
16.1097 + LDFLAGS="$save_LDFLAGS"
16.1098 +])
16.1099 +
16.1100 +if test x"[$]$2" = xyes; then
16.1101 + ifelse([$4], , :, [$4])
16.1102 +else
16.1103 + ifelse([$5], , :, [$5])
16.1104 +fi
16.1105 +])
16.1106 +m4trace:m4/libtool.m4:640: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments
16.1107 +AC_MSG_CHECKING([the maximum length of command line arguments])
16.1108 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
16.1109 + i=0
16.1110 + teststring="ABCD"
16.1111 +
16.1112 + case $build_os in
16.1113 + msdosdjgpp*)
16.1114 + # On DJGPP, this test can blow up pretty badly due to problems in libc
16.1115 + # (any single argument exceeding 2000 bytes causes a buffer overrun
16.1116 + # during glob expansion). Even if it were fixed, the result of this
16.1117 + # check would be larger than it should be.
16.1118 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
16.1119 + ;;
16.1120 +
16.1121 + gnu*)
16.1122 + # Under GNU Hurd, this test is not required because there is
16.1123 + # no limit to the length of command line arguments.
16.1124 + # Libtool will interpret -1 as no limit whatsoever
16.1125 + lt_cv_sys_max_cmd_len=-1;
16.1126 + ;;
16.1127 +
16.1128 + cygwin* | mingw*)
16.1129 + # On Win9x/ME, this test blows up -- it succeeds, but takes
16.1130 + # about 5 minutes as the teststring grows exponentially.
16.1131 + # Worse, since 9x/ME are not pre-emptively multitasking,
16.1132 + # you end up with a "frozen" computer, even though with patience
16.1133 + # the test eventually succeeds (with a max line length of 256k).
16.1134 + # Instead, let's just punt: use the minimum linelength reported by
16.1135 + # all of the supported platforms: 8192 (on NT/2K/XP).
16.1136 + lt_cv_sys_max_cmd_len=8192;
16.1137 + ;;
16.1138 +
16.1139 + amigaos*)
16.1140 + # On AmigaOS with pdksh, this test takes hours, literally.
16.1141 + # So we just punt and use a minimum line length of 8192.
16.1142 + lt_cv_sys_max_cmd_len=8192;
16.1143 + ;;
16.1144 +
16.1145 + *)
16.1146 + # If test is not a shell built-in, we'll probably end up computing a
16.1147 + # maximum length that is only half of the actual maximum length, but
16.1148 + # we can't tell.
16.1149 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
16.1150 + = "XX$teststring") >/dev/null 2>&1 &&
16.1151 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
16.1152 + lt_cv_sys_max_cmd_len=$new_result &&
16.1153 + test $i != 17 # 1/2 MB should be enough
16.1154 + do
16.1155 + i=`expr $i + 1`
16.1156 + teststring=$teststring$teststring
16.1157 + done
16.1158 + teststring=
16.1159 + # Add a significant safety factor because C++ compilers can tack on massive
16.1160 + # amounts of additional arguments before passing them to the linker.
16.1161 + # It appears as though 1/2 is a usable value.
16.1162 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16.1163 + ;;
16.1164 + esac
16.1165 +])
16.1166 +if test -n $lt_cv_sys_max_cmd_len ; then
16.1167 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
16.1168 +else
16.1169 + AC_MSG_RESULT(none)
16.1170 +fi
16.1171 +])
16.1172 +m4trace:m4/libtool.m4:711: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl
16.1173 +])
16.1174 +m4trace:m4/libtool.m4:719: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
16.1175 +if test "$cross_compiling" = yes; then :
16.1176 + [$4]
16.1177 +else
16.1178 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16.1179 + lt_status=$lt_dlunknown
16.1180 + cat > conftest.$ac_ext <<EOF
16.1181 +[#line __oline__ "configure"
16.1182 +#include "confdefs.h"
16.1183 +
16.1184 +#if HAVE_DLFCN_H
16.1185 +#include <dlfcn.h>
16.1186 +#endif
16.1187 +
16.1188 +#include <stdio.h>
16.1189 +
16.1190 +#ifdef RTLD_GLOBAL
16.1191 +# define LT_DLGLOBAL RTLD_GLOBAL
16.1192 +#else
16.1193 +# ifdef DL_GLOBAL
16.1194 +# define LT_DLGLOBAL DL_GLOBAL
16.1195 +# else
16.1196 +# define LT_DLGLOBAL 0
16.1197 +# endif
16.1198 +#endif
16.1199 +
16.1200 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16.1201 + find out it does not work in some platform. */
16.1202 +#ifndef LT_DLLAZY_OR_NOW
16.1203 +# ifdef RTLD_LAZY
16.1204 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
16.1205 +# else
16.1206 +# ifdef DL_LAZY
16.1207 +# define LT_DLLAZY_OR_NOW DL_LAZY
16.1208 +# else
16.1209 +# ifdef RTLD_NOW
16.1210 +# define LT_DLLAZY_OR_NOW RTLD_NOW
16.1211 +# else
16.1212 +# ifdef DL_NOW
16.1213 +# define LT_DLLAZY_OR_NOW DL_NOW
16.1214 +# else
16.1215 +# define LT_DLLAZY_OR_NOW 0
16.1216 +# endif
16.1217 +# endif
16.1218 +# endif
16.1219 +# endif
16.1220 +#endif
16.1221 +
16.1222 +#ifdef __cplusplus
16.1223 +extern "C" void exit (int);
16.1224 +#endif
16.1225 +
16.1226 +void fnord() { int i=42;}
16.1227 +int main ()
16.1228 +{
16.1229 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16.1230 + int status = $lt_dlunknown;
16.1231 +
16.1232 + if (self)
16.1233 + {
16.1234 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16.1235 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16.1236 + /* dlclose (self); */
16.1237 + }
16.1238 +
16.1239 + exit (status);
16.1240 +}]
16.1241 +EOF
16.1242 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
16.1243 + (./conftest; exit; ) 2>/dev/null
16.1244 + lt_status=$?
16.1245 + case x$lt_status in
16.1246 + x$lt_dlno_uscore) $1 ;;
16.1247 + x$lt_dlneed_uscore) $2 ;;
16.1248 + x$lt_unknown|x*) $3 ;;
16.1249 + esac
16.1250 + else :
16.1251 + # compilation failed
16.1252 + $3
16.1253 + fi
16.1254 +fi
16.1255 +rm -fr conftest*
16.1256 +])
16.1257 +m4trace:m4/libtool.m4:807: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
16.1258 +if test "x$enable_dlopen" != xyes; then
16.1259 + enable_dlopen=unknown
16.1260 + enable_dlopen_self=unknown
16.1261 + enable_dlopen_self_static=unknown
16.1262 +else
16.1263 + lt_cv_dlopen=no
16.1264 + lt_cv_dlopen_libs=
16.1265 +
16.1266 + case $host_os in
16.1267 + beos*)
16.1268 + lt_cv_dlopen="load_add_on"
16.1269 + lt_cv_dlopen_libs=
16.1270 + lt_cv_dlopen_self=yes
16.1271 + ;;
16.1272 +
16.1273 + mingw* | pw32*)
16.1274 + lt_cv_dlopen="LoadLibrary"
16.1275 + lt_cv_dlopen_libs=
16.1276 + ;;
16.1277 +
16.1278 + cygwin*)
16.1279 + lt_cv_dlopen="dlopen"
16.1280 + lt_cv_dlopen_libs=
16.1281 + ;;
16.1282 +
16.1283 + darwin*)
16.1284 + # if libdl is installed we need to link against it
16.1285 + AC_CHECK_LIB([dl], [dlopen],
16.1286 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
16.1287 + lt_cv_dlopen="dyld"
16.1288 + lt_cv_dlopen_libs=
16.1289 + lt_cv_dlopen_self=yes
16.1290 + ])
16.1291 + ;;
16.1292 +
16.1293 + *)
16.1294 + AC_CHECK_FUNC([shl_load],
16.1295 + [lt_cv_dlopen="shl_load"],
16.1296 + [AC_CHECK_LIB([dld], [shl_load],
16.1297 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
16.1298 + [AC_CHECK_FUNC([dlopen],
16.1299 + [lt_cv_dlopen="dlopen"],
16.1300 + [AC_CHECK_LIB([dl], [dlopen],
16.1301 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
16.1302 + [AC_CHECK_LIB([svld], [dlopen],
16.1303 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
16.1304 + [AC_CHECK_LIB([dld], [dld_link],
16.1305 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
16.1306 + ])
16.1307 + ])
16.1308 + ])
16.1309 + ])
16.1310 + ])
16.1311 + ;;
16.1312 + esac
16.1313 +
16.1314 + if test "x$lt_cv_dlopen" != xno; then
16.1315 + enable_dlopen=yes
16.1316 + else
16.1317 + enable_dlopen=no
16.1318 + fi
16.1319 +
16.1320 + case $lt_cv_dlopen in
16.1321 + dlopen)
16.1322 + save_CPPFLAGS="$CPPFLAGS"
16.1323 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16.1324 +
16.1325 + save_LDFLAGS="$LDFLAGS"
16.1326 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16.1327 +
16.1328 + save_LIBS="$LIBS"
16.1329 + LIBS="$lt_cv_dlopen_libs $LIBS"
16.1330 +
16.1331 + AC_CACHE_CHECK([whether a program can dlopen itself],
16.1332 + lt_cv_dlopen_self, [dnl
16.1333 + _LT_AC_TRY_DLOPEN_SELF(
16.1334 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
16.1335 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
16.1336 + ])
16.1337 +
16.1338 + if test "x$lt_cv_dlopen_self" = xyes; then
16.1339 + LDFLAGS="$LDFLAGS $link_static_flag"
16.1340 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
16.1341 + lt_cv_dlopen_self_static, [dnl
16.1342 + _LT_AC_TRY_DLOPEN_SELF(
16.1343 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
16.1344 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
16.1345 + ])
16.1346 + fi
16.1347 +
16.1348 + CPPFLAGS="$save_CPPFLAGS"
16.1349 + LDFLAGS="$save_LDFLAGS"
16.1350 + LIBS="$save_LIBS"
16.1351 + ;;
16.1352 + esac
16.1353 +
16.1354 + case $lt_cv_dlopen_self in
16.1355 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16.1356 + *) enable_dlopen_self=unknown ;;
16.1357 + esac
16.1358 +
16.1359 + case $lt_cv_dlopen_self_static in
16.1360 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16.1361 + *) enable_dlopen_self_static=unknown ;;
16.1362 + esac
16.1363 +fi
16.1364 +])
16.1365 +m4trace:m4/libtool.m4:921: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16.1366 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
16.1367 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
16.1368 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
16.1369 + $rm -r conftest 2>/dev/null
16.1370 + mkdir conftest
16.1371 + cd conftest
16.1372 + mkdir out
16.1373 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16.1374 +
16.1375 + lt_compiler_flag="-o out/conftest2.$ac_objext"
16.1376 + # Insert the option either (1) after the last *FLAGS variable, or
16.1377 + # (2) before a word containing "conftest.", or (3) at the end.
16.1378 + # Note that $ac_compile itself does not contain backslashes and begins
16.1379 + # with a dollar sign (not a hyphen), so the echo should work correctly.
16.1380 + lt_compile=`echo "$ac_compile" | $SED \
16.1381 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16.1382 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
16.1383 + -e 's:$: $lt_compiler_flag:'`
16.1384 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
16.1385 + (eval "$lt_compile" 2>out/conftest.err)
16.1386 + ac_status=$?
16.1387 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
16.1388 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
16.1389 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
16.1390 + then
16.1391 + # The compiler can only warn and ignore the option if not recognized
16.1392 + # So say no if there are warnings
16.1393 + if test ! -s out/conftest.err; then
16.1394 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
16.1395 + fi
16.1396 + fi
16.1397 + chmod u+w .
16.1398 + $rm conftest*
16.1399 + # SGI C++ compiler will create directory out/ii_files/ for
16.1400 + # template instantiation
16.1401 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16.1402 + $rm out/* && rmdir out
16.1403 + cd ..
16.1404 + rmdir conftest
16.1405 + $rm conftest*
16.1406 +])
16.1407 +])
16.1408 +m4trace:m4/libtool.m4:970: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl
16.1409 +
16.1410 +hard_links="nottested"
16.1411 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
16.1412 + # do not overwrite the value of need_locks provided by the user
16.1413 + AC_MSG_CHECKING([if we can lock with hard links])
16.1414 + hard_links=yes
16.1415 + $rm conftest*
16.1416 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
16.1417 + touch conftest.a
16.1418 + ln conftest.a conftest.b 2>&5 || hard_links=no
16.1419 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
16.1420 + AC_MSG_RESULT([$hard_links])
16.1421 + if test "$hard_links" = no; then
16.1422 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
16.1423 + need_locks=warn
16.1424 + fi
16.1425 +else
16.1426 + need_locks=no
16.1427 +fi
16.1428 +])
16.1429 +m4trace:m4/libtool.m4:996: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
16.1430 +[rm -f .libs 2>/dev/null
16.1431 +mkdir .libs 2>/dev/null
16.1432 +if test -d .libs; then
16.1433 + lt_cv_objdir=.libs
16.1434 +else
16.1435 + # MS-DOS does not allow filenames that begin with a dot.
16.1436 + lt_cv_objdir=_libs
16.1437 +fi
16.1438 +rmdir .libs 2>/dev/null])
16.1439 +objdir=$lt_cv_objdir
16.1440 +])
16.1441 +m4trace:m4/libtool.m4:1014: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs])
16.1442 +_LT_AC_TAGVAR(hardcode_action, $1)=
16.1443 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
16.1444 + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
16.1445 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
16.1446 +
16.1447 + # We can hardcode non-existant directories.
16.1448 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
16.1449 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
16.1450 + # have to relink, otherwise we might link with an installed library
16.1451 + # when we should be linking with a yet-to-be-installed one
16.1452 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
16.1453 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
16.1454 + # Linking always hardcodes the temporary library directory.
16.1455 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
16.1456 + else
16.1457 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
16.1458 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
16.1459 + fi
16.1460 +else
16.1461 + # We cannot hardcode anything, or else we can only hardcode existing
16.1462 + # directories.
16.1463 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
16.1464 +fi
16.1465 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
16.1466 +
16.1467 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
16.1468 + # Fast installation is not supported
16.1469 + enable_fast_install=no
16.1470 +elif test "$shlibpath_overrides_runpath" = yes ||
16.1471 + test "$enable_shared" = no; then
16.1472 + # Fast installation is not necessary
16.1473 + enable_fast_install=needless
16.1474 +fi
16.1475 +])
16.1476 +m4trace:m4/libtool.m4:1054: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib=
16.1477 +old_striplib=
16.1478 +AC_MSG_CHECKING([whether stripping libraries is possible])
16.1479 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16.1480 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16.1481 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16.1482 + AC_MSG_RESULT([yes])
16.1483 +else
16.1484 +# FIXME - insert some real tests, host_os isn't really good enough
16.1485 + case $host_os in
16.1486 + darwin*)
16.1487 + if test -n "$STRIP" ; then
16.1488 + striplib="$STRIP -x"
16.1489 + AC_MSG_RESULT([yes])
16.1490 + else
16.1491 + AC_MSG_RESULT([no])
16.1492 +fi
16.1493 + ;;
16.1494 + *)
16.1495 + AC_MSG_RESULT([no])
16.1496 + ;;
16.1497 + esac
16.1498 +fi
16.1499 +])
16.1500 +m4trace:m4/libtool.m4:1084: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_MSG_CHECKING([dynamic linker characteristics])
16.1501 +library_names_spec=
16.1502 +libname_spec='lib$name'
16.1503 +soname_spec=
16.1504 +shrext_cmds=".so"
16.1505 +postinstall_cmds=
16.1506 +postuninstall_cmds=
16.1507 +finish_cmds=
16.1508 +finish_eval=
16.1509 +shlibpath_var=
16.1510 +shlibpath_overrides_runpath=unknown
16.1511 +version_type=none
16.1512 +dynamic_linker="$host_os ld.so"
16.1513 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
16.1514 +if test "$GCC" = yes; then
16.1515 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16.1516 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16.1517 + # if the path contains ";" then we assume it to be the separator
16.1518 + # otherwise default to the standard path separator (i.e. ":") - it is
16.1519 + # assumed that no part of a normal pathname contains ";" but that should
16.1520 + # okay in the real world where ";" in dirpaths is itself problematic.
16.1521 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16.1522 + else
16.1523 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16.1524 + fi
16.1525 +else
16.1526 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16.1527 +fi
16.1528 +need_lib_prefix=unknown
16.1529 +hardcode_into_libs=no
16.1530 +
16.1531 +# when you set need_version to no, make sure it does not cause -set_version
16.1532 +# flags to be left without arguments
16.1533 +need_version=unknown
16.1534 +
16.1535 +case $host_os in
16.1536 +aix3*)
16.1537 + version_type=linux
16.1538 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16.1539 + shlibpath_var=LIBPATH
16.1540 +
16.1541 + # AIX 3 has no versioning support, so we append a major version to the name.
16.1542 + soname_spec='${libname}${release}${shared_ext}$major'
16.1543 + ;;
16.1544 +
16.1545 +aix4* | aix5*)
16.1546 + version_type=linux
16.1547 + need_lib_prefix=no
16.1548 + need_version=no
16.1549 + hardcode_into_libs=yes
16.1550 + if test "$host_cpu" = ia64; then
16.1551 + # AIX 5 supports IA64
16.1552 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16.1553 + shlibpath_var=LD_LIBRARY_PATH
16.1554 + else
16.1555 + # With GCC up to 2.95.x, collect2 would create an import file
16.1556 + # for dependence libraries. The import file would start with
16.1557 + # the line `#! .'. This would cause the generated library to
16.1558 + # depend on `.', always an invalid library. This was fixed in
16.1559 + # development snapshots of GCC prior to 3.0.
16.1560 + case $host_os in
16.1561 + aix4 | aix4.[[01]] | aix4.[[01]].*)
16.1562 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16.1563 + echo ' yes '
16.1564 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16.1565 + :
16.1566 + else
16.1567 + can_build_shared=no
16.1568 + fi
16.1569 + ;;
16.1570 + esac
16.1571 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16.1572 + # soname into executable. Probably we can add versioning support to
16.1573 + # collect2, so additional links can be useful in future.
16.1574 + if test "$aix_use_runtimelinking" = yes; then
16.1575 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16.1576 + # instead of lib<name>.a to let people know that these are not
16.1577 + # typical AIX shared libraries.
16.1578 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1579 + else
16.1580 + # We preserve .a as extension for shared libraries through AIX4.2
16.1581 + # and later when we are not doing run time linking.
16.1582 + library_names_spec='${libname}${release}.a $libname.a'
16.1583 + soname_spec='${libname}${release}${shared_ext}$major'
16.1584 + fi
16.1585 + shlibpath_var=LIBPATH
16.1586 + fi
16.1587 + ;;
16.1588 +
16.1589 +amigaos*)
16.1590 + library_names_spec='$libname.ixlibrary $libname.a'
16.1591 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
16.1592 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16.1593 + ;;
16.1594 +
16.1595 +beos*)
16.1596 + library_names_spec='${libname}${shared_ext}'
16.1597 + dynamic_linker="$host_os ld.so"
16.1598 + shlibpath_var=LIBRARY_PATH
16.1599 + ;;
16.1600 +
16.1601 +bsdi4*)
16.1602 + version_type=linux
16.1603 + need_version=no
16.1604 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1605 + soname_spec='${libname}${release}${shared_ext}$major'
16.1606 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16.1607 + shlibpath_var=LD_LIBRARY_PATH
16.1608 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16.1609 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16.1610 + # the default ld.so.conf also contains /usr/contrib/lib and
16.1611 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16.1612 + # libtool to hard-code these into programs
16.1613 + ;;
16.1614 +
16.1615 +cygwin* | mingw* | pw32*)
16.1616 + version_type=windows
16.1617 + shrext_cmds=".dll"
16.1618 + need_version=no
16.1619 + need_lib_prefix=no
16.1620 +
16.1621 + case $GCC,$host_os in
16.1622 + yes,cygwin* | yes,mingw* | yes,pw32*)
16.1623 + library_names_spec='$libname.dll.a'
16.1624 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
16.1625 + postinstall_cmds='base_file=`basename \${file}`~
16.1626 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16.1627 + dldir=$destdir/`dirname \$dlpath`~
16.1628 + test -d \$dldir || mkdir -p \$dldir~
16.1629 + $install_prog $dir/$dlname \$dldir/$dlname'
16.1630 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16.1631 + dlpath=$dir/\$dldll~
16.1632 + $rm \$dlpath'
16.1633 + shlibpath_overrides_runpath=yes
16.1634 +
16.1635 + case $host_os in
16.1636 + cygwin*)
16.1637 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16.1638 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
16.1639 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16.1640 + ;;
16.1641 + mingw*)
16.1642 + # MinGW DLLs use traditional 'lib' prefix
16.1643 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
16.1644 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16.1645 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
16.1646 + # It is most probably a Windows format PATH printed by
16.1647 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
16.1648 + # path with ; separators, and with drive letters. We can handle the
16.1649 + # drive letters (cygwin fileutils understands them), so leave them,
16.1650 + # especially as we might pass files found there to a mingw objdump,
16.1651 + # which wouldn't understand a cygwinified path. Ahh.
16.1652 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16.1653 + else
16.1654 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16.1655 + fi
16.1656 + ;;
16.1657 + pw32*)
16.1658 + # pw32 DLLs use 'pw' prefix rather than 'lib'
16.1659 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16.1660 + ;;
16.1661 + esac
16.1662 + ;;
16.1663 +
16.1664 + *)
16.1665 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
16.1666 + ;;
16.1667 + esac
16.1668 + dynamic_linker='Win32 ld.exe'
16.1669 + # FIXME: first we should search . and the directory the executable is in
16.1670 + shlibpath_var=PATH
16.1671 + ;;
16.1672 +
16.1673 +darwin* | rhapsody*)
16.1674 + dynamic_linker="$host_os dyld"
16.1675 + version_type=darwin
16.1676 + need_lib_prefix=no
16.1677 + need_version=no
16.1678 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16.1679 + soname_spec='${libname}${release}${major}$shared_ext'
16.1680 + shlibpath_overrides_runpath=yes
16.1681 + shlibpath_var=DYLD_LIBRARY_PATH
16.1682 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
16.1683 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16.1684 + if test "$GCC" = yes; then
16.1685 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16.1686 + else
16.1687 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16.1688 + fi
16.1689 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16.1690 + ;;
16.1691 +
16.1692 +dgux*)
16.1693 + version_type=linux
16.1694 + need_lib_prefix=no
16.1695 + need_version=no
16.1696 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16.1697 + soname_spec='${libname}${release}${shared_ext}$major'
16.1698 + shlibpath_var=LD_LIBRARY_PATH
16.1699 + ;;
16.1700 +
16.1701 +freebsd1*)
16.1702 + dynamic_linker=no
16.1703 + ;;
16.1704 +
16.1705 +kfreebsd*-gnu)
16.1706 + version_type=linux
16.1707 + need_lib_prefix=no
16.1708 + need_version=no
16.1709 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16.1710 + soname_spec='${libname}${release}${shared_ext}$major'
16.1711 + shlibpath_var=LD_LIBRARY_PATH
16.1712 + shlibpath_overrides_runpath=no
16.1713 + hardcode_into_libs=yes
16.1714 + dynamic_linker='GNU ld.so'
16.1715 + ;;
16.1716 +
16.1717 +freebsd*)
16.1718 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16.1719 + version_type=freebsd-$objformat
16.1720 + case $version_type in
16.1721 + freebsd-elf*)
16.1722 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16.1723 + need_version=no
16.1724 + need_lib_prefix=no
16.1725 + ;;
16.1726 + freebsd-*)
16.1727 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16.1728 + need_version=yes
16.1729 + ;;
16.1730 + esac
16.1731 + shlibpath_var=LD_LIBRARY_PATH
16.1732 + case $host_os in
16.1733 + freebsd2*)
16.1734 + shlibpath_overrides_runpath=yes
16.1735 + ;;
16.1736 + freebsd3.[01]* | freebsdelf3.[01]*)
16.1737 + shlibpath_overrides_runpath=yes
16.1738 + hardcode_into_libs=yes
16.1739 + ;;
16.1740 + *) # from 3.2 on
16.1741 + shlibpath_overrides_runpath=no
16.1742 + hardcode_into_libs=yes
16.1743 + ;;
16.1744 + esac
16.1745 + ;;
16.1746 +
16.1747 +gnu*)
16.1748 + version_type=linux
16.1749 + need_lib_prefix=no
16.1750 + need_version=no
16.1751 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16.1752 + soname_spec='${libname}${release}${shared_ext}$major'
16.1753 + shlibpath_var=LD_LIBRARY_PATH
16.1754 + hardcode_into_libs=yes
16.1755 + ;;
16.1756 +
16.1757 +hpux9* | hpux10* | hpux11*)
16.1758 + # Give a soname corresponding to the major version so that dld.sl refuses to
16.1759 + # link against other versions.
16.1760 + version_type=sunos
16.1761 + need_lib_prefix=no
16.1762 + need_version=no
16.1763 + case "$host_cpu" in
16.1764 + ia64*)
16.1765 + shrext_cmds='.so'
16.1766 + hardcode_into_libs=yes
16.1767 + dynamic_linker="$host_os dld.so"
16.1768 + shlibpath_var=LD_LIBRARY_PATH
16.1769 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16.1770 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1771 + soname_spec='${libname}${release}${shared_ext}$major'
16.1772 + if test "X$HPUX_IA64_MODE" = X32; then
16.1773 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16.1774 + else
16.1775 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16.1776 + fi
16.1777 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16.1778 + ;;
16.1779 + hppa*64*)
16.1780 + shrext_cmds='.sl'
16.1781 + hardcode_into_libs=yes
16.1782 + dynamic_linker="$host_os dld.sl"
16.1783 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16.1784 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16.1785 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1786 + soname_spec='${libname}${release}${shared_ext}$major'
16.1787 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16.1788 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16.1789 + ;;
16.1790 + *)
16.1791 + shrext_cmds='.sl'
16.1792 + dynamic_linker="$host_os dld.sl"
16.1793 + shlibpath_var=SHLIB_PATH
16.1794 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16.1795 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1796 + soname_spec='${libname}${release}${shared_ext}$major'
16.1797 + ;;
16.1798 + esac
16.1799 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
16.1800 + postinstall_cmds='chmod 555 $lib'
16.1801 + ;;
16.1802 +
16.1803 +irix5* | irix6* | nonstopux*)
16.1804 + case $host_os in
16.1805 + nonstopux*) version_type=nonstopux ;;
16.1806 + *)
16.1807 + if test "$lt_cv_prog_gnu_ld" = yes; then
16.1808 + version_type=linux
16.1809 + else
16.1810 + version_type=irix
16.1811 + fi ;;
16.1812 + esac
16.1813 + need_lib_prefix=no
16.1814 + need_version=no
16.1815 + soname_spec='${libname}${release}${shared_ext}$major'
16.1816 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16.1817 + case $host_os in
16.1818 + irix5* | nonstopux*)
16.1819 + libsuff= shlibsuff=
16.1820 + ;;
16.1821 + *)
16.1822 + case $LD in # libtool.m4 will add one of these switches to LD
16.1823 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16.1824 + libsuff= shlibsuff= libmagic=32-bit;;
16.1825 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16.1826 + libsuff=32 shlibsuff=N32 libmagic=N32;;
16.1827 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16.1828 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
16.1829 + *) libsuff= shlibsuff= libmagic=never-match;;
16.1830 + esac
16.1831 + ;;
16.1832 + esac
16.1833 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16.1834 + shlibpath_overrides_runpath=no
16.1835 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16.1836 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16.1837 + hardcode_into_libs=yes
16.1838 + ;;
16.1839 +
16.1840 +# No shared lib support for Linux oldld, aout, or coff.
16.1841 +linux*oldld* | linux*aout* | linux*coff*)
16.1842 + dynamic_linker=no
16.1843 + ;;
16.1844 +
16.1845 +# This must be Linux ELF.
16.1846 +linux*)
16.1847 + version_type=linux
16.1848 + need_lib_prefix=no
16.1849 + need_version=no
16.1850 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1851 + soname_spec='${libname}${release}${shared_ext}$major'
16.1852 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16.1853 + shlibpath_var=LD_LIBRARY_PATH
16.1854 + shlibpath_overrides_runpath=no
16.1855 + # This implies no fast_install, which is unacceptable.
16.1856 + # Some rework will be needed to allow for fast_install
16.1857 + # before this can be enabled.
16.1858 + hardcode_into_libs=yes
16.1859 +
16.1860 + # Append ld.so.conf contents to the search path
16.1861 + if test -f /etc/ld.so.conf; then
16.1862 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
16.1863 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16.1864 + fi
16.1865 +
16.1866 + # We used to test for /lib/ld.so.1 and disable shared libraries on
16.1867 + # powerpc, because MkLinux only supported shared libraries with the
16.1868 + # GNU dynamic linker. Since this was broken with cross compilers,
16.1869 + # most powerpc-linux boxes support dynamic linking these days and
16.1870 + # people can always --disable-shared, the test was removed, and we
16.1871 + # assume the GNU/Linux dynamic linker is in use.
16.1872 + dynamic_linker='GNU/Linux ld.so'
16.1873 + ;;
16.1874 +
16.1875 +netbsdelf*-gnu)
16.1876 + version_type=linux
16.1877 + need_lib_prefix=no
16.1878 + need_version=no
16.1879 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16.1880 + soname_spec='${libname}${release}${shared_ext}$major'
16.1881 + shlibpath_var=LD_LIBRARY_PATH
16.1882 + shlibpath_overrides_runpath=no
16.1883 + hardcode_into_libs=yes
16.1884 + dynamic_linker='NetBSD ld.elf_so'
16.1885 + ;;
16.1886 +
16.1887 +knetbsd*-gnu)
16.1888 + version_type=linux
16.1889 + need_lib_prefix=no
16.1890 + need_version=no
16.1891 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16.1892 + soname_spec='${libname}${release}${shared_ext}$major'
16.1893 + shlibpath_var=LD_LIBRARY_PATH
16.1894 + shlibpath_overrides_runpath=no
16.1895 + hardcode_into_libs=yes
16.1896 + dynamic_linker='GNU ld.so'
16.1897 + ;;
16.1898 +
16.1899 +netbsd*)
16.1900 + version_type=sunos
16.1901 + need_lib_prefix=no
16.1902 + need_version=no
16.1903 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16.1904 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16.1905 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16.1906 + dynamic_linker='NetBSD (a.out) ld.so'
16.1907 + else
16.1908 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16.1909 + soname_spec='${libname}${release}${shared_ext}$major'
16.1910 + dynamic_linker='NetBSD ld.elf_so'
16.1911 + fi
16.1912 + shlibpath_var=LD_LIBRARY_PATH
16.1913 + shlibpath_overrides_runpath=yes
16.1914 + hardcode_into_libs=yes
16.1915 + ;;
16.1916 +
16.1917 +newsos6)
16.1918 + version_type=linux
16.1919 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1920 + shlibpath_var=LD_LIBRARY_PATH
16.1921 + shlibpath_overrides_runpath=yes
16.1922 + ;;
16.1923 +
16.1924 +nto-qnx*)
16.1925 + version_type=linux
16.1926 + need_lib_prefix=no
16.1927 + need_version=no
16.1928 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1929 + soname_spec='${libname}${release}${shared_ext}$major'
16.1930 + shlibpath_var=LD_LIBRARY_PATH
16.1931 + shlibpath_overrides_runpath=yes
16.1932 + ;;
16.1933 +
16.1934 +openbsd*)
16.1935 + version_type=sunos
16.1936 + need_lib_prefix=no
16.1937 + need_version=yes
16.1938 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16.1939 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16.1940 + shlibpath_var=LD_LIBRARY_PATH
16.1941 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16.1942 + case $host_os in
16.1943 + openbsd2.[[89]] | openbsd2.[[89]].*)
16.1944 + shlibpath_overrides_runpath=no
16.1945 + ;;
16.1946 + *)
16.1947 + shlibpath_overrides_runpath=yes
16.1948 + ;;
16.1949 + esac
16.1950 + else
16.1951 + shlibpath_overrides_runpath=yes
16.1952 + fi
16.1953 + ;;
16.1954 +
16.1955 +os2*)
16.1956 + libname_spec='$name'
16.1957 + shrext_cmds=".dll"
16.1958 + need_lib_prefix=no
16.1959 + library_names_spec='$libname${shared_ext} $libname.a'
16.1960 + dynamic_linker='OS/2 ld.exe'
16.1961 + shlibpath_var=LIBPATH
16.1962 + ;;
16.1963 +
16.1964 +osf3* | osf4* | osf5*)
16.1965 + version_type=osf
16.1966 + need_lib_prefix=no
16.1967 + need_version=no
16.1968 + soname_spec='${libname}${release}${shared_ext}$major'
16.1969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1970 + shlibpath_var=LD_LIBRARY_PATH
16.1971 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16.1972 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16.1973 + ;;
16.1974 +
16.1975 +sco3.2v5*)
16.1976 + version_type=osf
16.1977 + soname_spec='${libname}${release}${shared_ext}$major'
16.1978 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1979 + shlibpath_var=LD_LIBRARY_PATH
16.1980 + ;;
16.1981 +
16.1982 +solaris*)
16.1983 + version_type=linux
16.1984 + need_lib_prefix=no
16.1985 + need_version=no
16.1986 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.1987 + soname_spec='${libname}${release}${shared_ext}$major'
16.1988 + shlibpath_var=LD_LIBRARY_PATH
16.1989 + shlibpath_overrides_runpath=yes
16.1990 + hardcode_into_libs=yes
16.1991 + # ldd complains unless libraries are executable
16.1992 + postinstall_cmds='chmod +x $lib'
16.1993 + ;;
16.1994 +
16.1995 +sunos4*)
16.1996 + version_type=sunos
16.1997 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16.1998 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16.1999 + shlibpath_var=LD_LIBRARY_PATH
16.2000 + shlibpath_overrides_runpath=yes
16.2001 + if test "$with_gnu_ld" = yes; then
16.2002 + need_lib_prefix=no
16.2003 + fi
16.2004 + need_version=yes
16.2005 + ;;
16.2006 +
16.2007 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16.2008 + version_type=linux
16.2009 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.2010 + soname_spec='${libname}${release}${shared_ext}$major'
16.2011 + shlibpath_var=LD_LIBRARY_PATH
16.2012 + case $host_vendor in
16.2013 + sni)
16.2014 + shlibpath_overrides_runpath=no
16.2015 + need_lib_prefix=no
16.2016 + export_dynamic_flag_spec='${wl}-Blargedynsym'
16.2017 + runpath_var=LD_RUN_PATH
16.2018 + ;;
16.2019 + siemens)
16.2020 + need_lib_prefix=no
16.2021 + ;;
16.2022 + motorola)
16.2023 + need_lib_prefix=no
16.2024 + need_version=no
16.2025 + shlibpath_overrides_runpath=no
16.2026 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16.2027 + ;;
16.2028 + esac
16.2029 + ;;
16.2030 +
16.2031 +sysv4*MP*)
16.2032 + if test -d /usr/nec ;then
16.2033 + version_type=linux
16.2034 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16.2035 + soname_spec='$libname${shared_ext}.$major'
16.2036 + shlibpath_var=LD_LIBRARY_PATH
16.2037 + fi
16.2038 + ;;
16.2039 +
16.2040 +uts4*)
16.2041 + version_type=linux
16.2042 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16.2043 + soname_spec='${libname}${release}${shared_ext}$major'
16.2044 + shlibpath_var=LD_LIBRARY_PATH
16.2045 + ;;
16.2046 +
16.2047 +*)
16.2048 + dynamic_linker=no
16.2049 + ;;
16.2050 +esac
16.2051 +AC_MSG_RESULT([$dynamic_linker])
16.2052 +test "$dynamic_linker" = no && can_build_shared=no
16.2053 +])
16.2054 +m4trace:m4/libtool.m4:1643: -1- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_ARG_WITH([tags],
16.2055 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
16.2056 + [include additional configurations @<:@automatic@:>@])],
16.2057 + [tagnames="$withval"])
16.2058 +
16.2059 +if test -f "$ltmain" && test -n "$tagnames"; then
16.2060 + if test ! -f "${ofile}"; then
16.2061 + AC_MSG_WARN([output file `$ofile' does not exist])
16.2062 + fi
16.2063 +
16.2064 + if test -z "$LTCC"; then
16.2065 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16.2066 + if test -z "$LTCC"; then
16.2067 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
16.2068 + else
16.2069 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
16.2070 + fi
16.2071 + fi
16.2072 +
16.2073 + # Extract list of available tagged configurations in $ofile.
16.2074 + # Note that this assumes the entire list is on one line.
16.2075 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16.2076 +
16.2077 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16.2078 + for tagname in $tagnames; do
16.2079 + IFS="$lt_save_ifs"
16.2080 + # Check whether tagname contains only valid characters
16.2081 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
16.2082 + "") ;;
16.2083 + *) AC_MSG_ERROR([invalid tag name: $tagname])
16.2084 + ;;
16.2085 + esac
16.2086 +
16.2087 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
16.2088 + then
16.2089 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
16.2090 + fi
16.2091 +
16.2092 + # Update the list of available tags.
16.2093 + if test -n "$tagname"; then
16.2094 + echo appending configuration tag \"$tagname\" to $ofile
16.2095 +
16.2096 + case $tagname in
16.2097 + CXX)
16.2098 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
16.2099 + AC_LIBTOOL_LANG_CXX_CONFIG
16.2100 + else
16.2101 + tagname=""
16.2102 + fi
16.2103 + ;;
16.2104 +
16.2105 + F77)
16.2106 + if test -n "$F77" && test "X$F77" != "Xno"; then
16.2107 + AC_LIBTOOL_LANG_F77_CONFIG
16.2108 + else
16.2109 + tagname=""
16.2110 + fi
16.2111 + ;;
16.2112 +
16.2113 + GCJ)
16.2114 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16.2115 + AC_LIBTOOL_LANG_GCJ_CONFIG
16.2116 + else
16.2117 + tagname=""
16.2118 + fi
16.2119 + ;;
16.2120 +
16.2121 + RC)
16.2122 + AC_LIBTOOL_LANG_RC_CONFIG
16.2123 + ;;
16.2124 +
16.2125 + *)
16.2126 + AC_MSG_ERROR([Unsupported tag name: $tagname])
16.2127 + ;;
16.2128 + esac
16.2129 +
16.2130 + # Append the new tag name to the list of available tags.
16.2131 + if test -n "$tagname" ; then
16.2132 + available_tags="$available_tags $tagname"
16.2133 + fi
16.2134 + fi
16.2135 + done
16.2136 + IFS="$lt_save_ifs"
16.2137 +
16.2138 + # Now substitute the updated list of available tags.
16.2139 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
16.2140 + mv "${ofile}T" "$ofile"
16.2141 + chmod +x "$ofile"
16.2142 + else
16.2143 + rm -f "${ofile}T"
16.2144 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
16.2145 + fi
16.2146 +fi
16.2147 +])
16.2148 +m4trace:m4/libtool.m4:1743: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
16.2149 +])
16.2150 +m4trace:m4/libtool.m4:1751: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
16.2151 +])
16.2152 +m4trace:m4/libtool.m4:1760: -1- AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
16.2153 +AC_ARG_ENABLE([shared],
16.2154 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
16.2155 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
16.2156 + [p=${PACKAGE-default}
16.2157 + case $enableval in
16.2158 + yes) enable_shared=yes ;;
16.2159 + no) enable_shared=no ;;
16.2160 + *)
16.2161 + enable_shared=no
16.2162 + # Look at the argument we got. We use all the common list separators.
16.2163 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16.2164 + for pkg in $enableval; do
16.2165 + IFS="$lt_save_ifs"
16.2166 + if test "X$pkg" = "X$p"; then
16.2167 + enable_shared=yes
16.2168 + fi
16.2169 + done
16.2170 + IFS="$lt_save_ifs"
16.2171 + ;;
16.2172 + esac],
16.2173 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
16.2174 +])
16.2175 +m4trace:m4/libtool.m4:1789: -1- AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
16.2176 +AC_ENABLE_SHARED(no)
16.2177 +])
16.2178 +m4trace:m4/libtool.m4:1799: -1- AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
16.2179 +AC_ARG_ENABLE([static],
16.2180 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
16.2181 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
16.2182 + [p=${PACKAGE-default}
16.2183 + case $enableval in
16.2184 + yes) enable_static=yes ;;
16.2185 + no) enable_static=no ;;
16.2186 + *)
16.2187 + enable_static=no
16.2188 + # Look at the argument we got. We use all the common list separators.
16.2189 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16.2190 + for pkg in $enableval; do
16.2191 + IFS="$lt_save_ifs"
16.2192 + if test "X$pkg" = "X$p"; then
16.2193 + enable_static=yes
16.2194 + fi
16.2195 + done
16.2196 + IFS="$lt_save_ifs"
16.2197 + ;;
16.2198 + esac],
16.2199 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
16.2200 +])
16.2201 +m4trace:m4/libtool.m4:1828: -1- AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
16.2202 +AC_ENABLE_STATIC(no)
16.2203 +])
16.2204 +m4trace:m4/libtool.m4:1838: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
16.2205 +AC_ARG_ENABLE([fast-install],
16.2206 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
16.2207 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
16.2208 + [p=${PACKAGE-default}
16.2209 + case $enableval in
16.2210 + yes) enable_fast_install=yes ;;
16.2211 + no) enable_fast_install=no ;;
16.2212 + *)
16.2213 + enable_fast_install=no
16.2214 + # Look at the argument we got. We use all the common list separators.
16.2215 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16.2216 + for pkg in $enableval; do
16.2217 + IFS="$lt_save_ifs"
16.2218 + if test "X$pkg" = "X$p"; then
16.2219 + enable_fast_install=yes
16.2220 + fi
16.2221 + done
16.2222 + IFS="$lt_save_ifs"
16.2223 + ;;
16.2224 + esac],
16.2225 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
16.2226 +])
16.2227 +m4trace:m4/libtool.m4:1867: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
16.2228 +AC_ENABLE_FAST_INSTALL(no)
16.2229 +])
16.2230 +m4trace:m4/libtool.m4:1877: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
16.2231 +pic_mode=ifelse($#,1,$1,default)
16.2232 +])
16.2233 +m4trace:m4/libtool.m4:1901: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl
16.2234 +AC_MSG_CHECKING([for $1])
16.2235 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
16.2236 +[case $MAGIC_CMD in
16.2237 +[[\\/*] | ?:[\\/]*])
16.2238 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16.2239 + ;;
16.2240 +*)
16.2241 + lt_save_MAGIC_CMD="$MAGIC_CMD"
16.2242 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16.2243 +dnl $ac_dummy forces splitting on constant user-supplied paths.
16.2244 +dnl POSIX.2 word splitting is done only on the output of word expansions,
16.2245 +dnl not every word. This closes a longstanding sh security hole.
16.2246 + ac_dummy="ifelse([$2], , $PATH, [$2])"
16.2247 + for ac_dir in $ac_dummy; do
16.2248 + IFS="$lt_save_ifs"
16.2249 + test -z "$ac_dir" && ac_dir=.
16.2250 + if test -f $ac_dir/$1; then
16.2251 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
16.2252 + if test -n "$file_magic_test_file"; then
16.2253 + case $deplibs_check_method in
16.2254 + "file_magic "*)
16.2255 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16.2256 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16.2257 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16.2258 + $EGREP "$file_magic_regex" > /dev/null; then
16.2259 + :
16.2260 + else
16.2261 + cat <<EOF 1>&2
16.2262 +
16.2263 +*** Warning: the command libtool uses to detect shared libraries,
16.2264 +*** $file_magic_cmd, produces output that libtool cannot recognize.
16.2265 +*** The result is that libtool may fail to recognize shared libraries
16.2266 +*** as such. This will affect the creation of libtool libraries that
16.2267 +*** depend on shared libraries, but programs linked with such libtool
16.2268 +*** libraries will work regardless of this problem. Nevertheless, you
16.2269 +*** may want to report the problem to your system manager and/or to
16.2270 +*** bug-libtool@gnu.org
16.2271 +
16.2272 +EOF
16.2273 + fi ;;
16.2274 + esac
16.2275 + fi
16.2276 + break
16.2277 + fi
16.2278 + done
16.2279 + IFS="$lt_save_ifs"
16.2280 + MAGIC_CMD="$lt_save_MAGIC_CMD"
16.2281 + ;;
16.2282 +esac])
16.2283 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16.2284 +if test -n "$MAGIC_CMD"; then
16.2285 + AC_MSG_RESULT($MAGIC_CMD)
16.2286 +else
16.2287 + AC_MSG_RESULT(no)
16.2288 +fi
16.2289 +])
16.2290 +m4trace:m4/libtool.m4:1964: -1- AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
16.2291 +if test -z "$lt_cv_path_MAGIC_CMD"; then
16.2292 + if test -n "$ac_tool_prefix"; then
16.2293 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
16.2294 + else
16.2295 + MAGIC_CMD=:
16.2296 + fi
16.2297 +fi
16.2298 +])
16.2299 +m4trace:m4/libtool.m4:1979: -1- AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld],
16.2300 + [AC_HELP_STRING([--with-gnu-ld],
16.2301 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
16.2302 + [test "$withval" = no || with_gnu_ld=yes],
16.2303 + [with_gnu_ld=no])
16.2304 +AC_REQUIRE([LT_AC_PROG_SED])dnl
16.2305 +AC_REQUIRE([AC_PROG_CC])dnl
16.2306 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
16.2307 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
16.2308 +ac_prog=ld
16.2309 +if test "$GCC" = yes; then
16.2310 + # Check if gcc -print-prog-name=ld gives a path.
16.2311 + AC_MSG_CHECKING([for ld used by $CC])
16.2312 + case $host in
16.2313 + *-*-mingw*)
16.2314 + # gcc leaves a trailing carriage return which upsets mingw
16.2315 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16.2316 + *)
16.2317 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16.2318 + esac
16.2319 + case $ac_prog in
16.2320 + # Accept absolute paths.
16.2321 + [[\\/]]* | ?:[[\\/]]*)
16.2322 + re_direlt='/[[^/]][[^/]]*/\.\./'
16.2323 + # Canonicalize the pathname of ld
16.2324 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16.2325 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16.2326 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16.2327 + done
16.2328 + test -z "$LD" && LD="$ac_prog"
16.2329 + ;;
16.2330 + "")
16.2331 + # If it fails, then pretend we aren't using GCC.
16.2332 + ac_prog=ld
16.2333 + ;;
16.2334 + *)
16.2335 + # If it is relative, then search for the first ld in PATH.
16.2336 + with_gnu_ld=unknown
16.2337 + ;;
16.2338 + esac
16.2339 +elif test "$with_gnu_ld" = yes; then
16.2340 + AC_MSG_CHECKING([for GNU ld])
16.2341 +else
16.2342 + AC_MSG_CHECKING([for non-GNU ld])
16.2343 +fi
16.2344 +AC_CACHE_VAL(lt_cv_path_LD,
16.2345 +[if test -z "$LD"; then
16.2346 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16.2347 + for ac_dir in $PATH; do
16.2348 + IFS="$lt_save_ifs"
16.2349 + test -z "$ac_dir" && ac_dir=.
16.2350 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16.2351 + lt_cv_path_LD="$ac_dir/$ac_prog"
16.2352 + # Check to see if the program is GNU ld. I'd rather use --version,
16.2353 + # but apparently some GNU ld's only accept -v.
16.2354 + # Break only if it was the GNU/non-GNU ld that we prefer.
16.2355 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16.2356 + *GNU* | *'with BFD'*)
16.2357 + test "$with_gnu_ld" != no && break
16.2358 + ;;
16.2359 + *)
16.2360 + test "$with_gnu_ld" != yes && break
16.2361 + ;;
16.2362 + esac
16.2363 + fi
16.2364 + done
16.2365 + IFS="$lt_save_ifs"
16.2366 +else
16.2367 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
16.2368 +fi])
16.2369 +LD="$lt_cv_path_LD"
16.2370 +if test -n "$LD"; then
16.2371 + AC_MSG_RESULT($LD)
16.2372 +else
16.2373 + AC_MSG_RESULT(no)
16.2374 +fi
16.2375 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
16.2376 +AC_PROG_LD_GNU
16.2377 +])
16.2378 +m4trace:m4/libtool.m4:2063: -1- AC_DEFUN([AC_PROG_LD_GNU], [AC_REQUIRE([AC_PROG_EGREP])dnl
16.2379 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
16.2380 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
16.2381 +case `$LD -v 2>&1 </dev/null` in
16.2382 +*GNU* | *'with BFD'*)
16.2383 + lt_cv_prog_gnu_ld=yes
16.2384 + ;;
16.2385 +*)
16.2386 + lt_cv_prog_gnu_ld=no
16.2387 + ;;
16.2388 +esac])
16.2389 +with_gnu_ld=$lt_cv_prog_gnu_ld
16.2390 +])
16.2391 +m4trace:m4/libtool.m4:2083: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], [AC_CACHE_CHECK([for $LD option to reload object files],
16.2392 + lt_cv_ld_reload_flag,
16.2393 + [lt_cv_ld_reload_flag='-r'])
16.2394 +reload_flag=$lt_cv_ld_reload_flag
16.2395 +case $reload_flag in
16.2396 +"" | " "*) ;;
16.2397 +*) reload_flag=" $reload_flag" ;;
16.2398 +esac
16.2399 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
16.2400 +])
16.2401 +m4trace:m4/libtool.m4:2100: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], [AC_CACHE_CHECK([how to recognise dependent libraries],
16.2402 +lt_cv_deplibs_check_method,
16.2403 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
16.2404 +lt_cv_file_magic_test_file=
16.2405 +lt_cv_deplibs_check_method='unknown'
16.2406 +# Need to set the preceding variable on all platforms that support
16.2407 +# interlibrary dependencies.
16.2408 +# 'none' -- dependencies not supported.
16.2409 +# `unknown' -- same as none, but documents that we really don't know.
16.2410 +# 'pass_all' -- all dependencies passed with no checks.
16.2411 +# 'test_compile' -- check by making test program.
16.2412 +# 'file_magic [[regex]]' -- check by looking for files in library path
16.2413 +# which responds to the $file_magic_cmd with a given extended regex.
16.2414 +# If you have `file' or equivalent on your system and you're not sure
16.2415 +# whether `pass_all' will *always* work, you probably want this one.
16.2416 +
16.2417 +case $host_os in
16.2418 +aix4* | aix5*)
16.2419 + lt_cv_deplibs_check_method=pass_all
16.2420 + ;;
16.2421 +
16.2422 +beos*)
16.2423 + lt_cv_deplibs_check_method=pass_all
16.2424 + ;;
16.2425 +
16.2426 +bsdi4*)
16.2427 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
16.2428 + lt_cv_file_magic_cmd='/usr/bin/file -L'
16.2429 + lt_cv_file_magic_test_file=/shlib/libc.so
16.2430 + ;;
16.2431 +
16.2432 +cygwin*)
16.2433 + # func_win32_libid is a shell function defined in ltmain.sh
16.2434 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16.2435 + lt_cv_file_magic_cmd='func_win32_libid'
16.2436 + ;;
16.2437 +
16.2438 +mingw* | pw32*)
16.2439 + # Base MSYS/MinGW do not provide the 'file' command needed by
16.2440 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
16.2441 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
16.2442 + lt_cv_file_magic_cmd='$OBJDUMP -f'
16.2443 + ;;
16.2444 +
16.2445 +darwin* | rhapsody*)
16.2446 + lt_cv_deplibs_check_method=pass_all
16.2447 + ;;
16.2448 +
16.2449 +freebsd* | kfreebsd*-gnu)
16.2450 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16.2451 + case $host_cpu in
16.2452 + i*86 )
16.2453 + # Not sure whether the presence of OpenBSD here was a mistake.
16.2454 + # Let's accept both of them until this is cleared up.
16.2455 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
16.2456 + lt_cv_file_magic_cmd=/usr/bin/file
16.2457 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
16.2458 + ;;
16.2459 + esac
16.2460 + else
16.2461 + lt_cv_deplibs_check_method=pass_all
16.2462 + fi
16.2463 + ;;
16.2464 +
16.2465 +gnu*)
16.2466 + lt_cv_deplibs_check_method=pass_all
16.2467 + ;;
16.2468 +
16.2469 +hpux10.20* | hpux11*)
16.2470 + lt_cv_file_magic_cmd=/usr/bin/file
16.2471 + case "$host_cpu" in
16.2472 + ia64*)
16.2473 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
16.2474 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
16.2475 + ;;
16.2476 + hppa*64*)
16.2477 + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
16.2478 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
16.2479 + ;;
16.2480 + *)
16.2481 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
16.2482 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
16.2483 + ;;
16.2484 + esac
16.2485 + ;;
16.2486 +
16.2487 +irix5* | irix6* | nonstopux*)
16.2488 + case $LD in
16.2489 + *-32|*"-32 ") libmagic=32-bit;;
16.2490 + *-n32|*"-n32 ") libmagic=N32;;
16.2491 + *-64|*"-64 ") libmagic=64-bit;;
16.2492 + *) libmagic=never-match;;
16.2493 + esac
16.2494 + lt_cv_deplibs_check_method=pass_all
16.2495 + ;;
16.2496 +
16.2497 +# This must be Linux ELF.
16.2498 +linux*)
16.2499 + lt_cv_deplibs_check_method=pass_all
16.2500 + ;;
16.2501 +
16.2502 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16.2503 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16.2504 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
16.2505 + else
16.2506 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
16.2507 + fi
16.2508 + ;;
16.2509 +
16.2510 +newos6*)
16.2511 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
16.2512 + lt_cv_file_magic_cmd=/usr/bin/file
16.2513 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
16.2514 + ;;
16.2515 +
16.2516 +nto-qnx*)
16.2517 + lt_cv_deplibs_check_method=unknown
16.2518 + ;;
16.2519 +
16.2520 +openbsd*)
16.2521 + lt_cv_file_magic_cmd=/usr/bin/file
16.2522 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
16.2523 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16.2524 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
16.2525 + else
16.2526 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
16.2527 + fi
16.2528 + ;;
16.2529 +
16.2530 +osf3* | osf4* | osf5*)
16.2531 + lt_cv_deplibs_check_method=pass_all
16.2532 + ;;
16.2533 +
16.2534 +sco3.2v5*)
16.2535 + lt_cv_deplibs_check_method=pass_all
16.2536 + ;;
16.2537 +
16.2538 +solaris*)
16.2539 + lt_cv_deplibs_check_method=pass_all
16.2540 + ;;
16.2541 +
16.2542 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16.2543 + case $host_vendor in
16.2544 + motorola)
16.2545 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
16.2546 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
16.2547 + ;;
16.2548 + ncr)
16.2549 + lt_cv_deplibs_check_method=pass_all
16.2550 + ;;
16.2551 + sequent)
16.2552 + lt_cv_file_magic_cmd='/bin/file'
16.2553 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
16.2554 + ;;
16.2555 + sni)
16.2556 + lt_cv_file_magic_cmd='/bin/file'
16.2557 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
16.2558 + lt_cv_file_magic_test_file=/lib/libc.so
16.2559 + ;;
16.2560 + siemens)
16.2561 + lt_cv_deplibs_check_method=pass_all
16.2562 + ;;
16.2563 + esac
16.2564 + ;;
16.2565 +
16.2566 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
16.2567 + lt_cv_deplibs_check_method=pass_all
16.2568 + ;;
16.2569 +esac
16.2570 +])
16.2571 +file_magic_cmd=$lt_cv_file_magic_cmd
16.2572 +deplibs_check_method=$lt_cv_deplibs_check_method
16.2573 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
16.2574 +])
16.2575 +m4trace:m4/libtool.m4:2280: -1- AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
16.2576 +[if test -n "$NM"; then
16.2577 + # Let the user override the test.
16.2578 + lt_cv_path_NM="$NM"
16.2579 +else
16.2580 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16.2581 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
16.2582 + IFS="$lt_save_ifs"
16.2583 + test -z "$ac_dir" && ac_dir=.
16.2584 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
16.2585 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
16.2586 + # Check to see if the nm accepts a BSD-compat flag.
16.2587 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
16.2588 + # nm: unknown option "B" ignored
16.2589 + # Tru64's nm complains that /dev/null is an invalid object file
16.2590 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
16.2591 + */dev/null* | *'Invalid file or object type'*)
16.2592 + lt_cv_path_NM="$tmp_nm -B"
16.2593 + break
16.2594 + ;;
16.2595 + *)
16.2596 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
16.2597 + */dev/null*)
16.2598 + lt_cv_path_NM="$tmp_nm -p"
16.2599 + break
16.2600 + ;;
16.2601 + *)
16.2602 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
16.2603 + continue # so that we can try to find one that supports BSD flags
16.2604 + ;;
16.2605 + esac
16.2606 + esac
16.2607 + fi
16.2608 + done
16.2609 + IFS="$lt_save_ifs"
16.2610 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
16.2611 +fi])
16.2612 +NM="$lt_cv_path_NM"
16.2613 +])
16.2614 +m4trace:m4/libtool.m4:2325: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
16.2615 +LIBM=
16.2616 +case $host in
16.2617 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
16.2618 + # These system don't have libm, or don't need it
16.2619 + ;;
16.2620 +*-ncr-sysv4.3*)
16.2621 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
16.2622 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
16.2623 + ;;
16.2624 +*)
16.2625 + AC_CHECK_LIB(m, cos, LIBM="-lm")
16.2626 + ;;
16.2627 +esac
16.2628 +])
16.2629 +m4trace:m4/libtool.m4:2354: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
16.2630 + case $enable_ltdl_convenience in
16.2631 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
16.2632 + "") enable_ltdl_convenience=yes
16.2633 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
16.2634 + esac
16.2635 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
16.2636 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
16.2637 + # For backwards non-gettext consistent compatibility...
16.2638 + INCLTDL="$LTDLINCL"
16.2639 +])
16.2640 +m4trace:m4/libtool.m4:2380: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
16.2641 + AC_CHECK_LIB(ltdl, lt_dlinit,
16.2642 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
16.2643 + [if test x"$enable_ltdl_install" = xno; then
16.2644 + AC_MSG_WARN([libltdl not installed, but installation disabled])
16.2645 + else
16.2646 + enable_ltdl_install=yes
16.2647 + fi
16.2648 + ])
16.2649 + if test x"$enable_ltdl_install" = x"yes"; then
16.2650 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
16.2651 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
16.2652 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
16.2653 + else
16.2654 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
16.2655 + LIBLTDL="-lltdl"
16.2656 + LTDLINCL=
16.2657 + fi
16.2658 + # For backwards non-gettext consistent compatibility...
16.2659 + INCLTDL="$LTDLINCL"
16.2660 +])
16.2661 +m4trace:m4/libtool.m4:2407: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX])
16.2662 +])
16.2663 +m4trace:m4/libtool.m4:2414: -1- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX])
16.2664 +AC_REQUIRE([AC_PROG_CXXCPP])
16.2665 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
16.2666 +])
16.2667 +m4trace:m4/libtool.m4:2424: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77])
16.2668 +])
16.2669 +m4trace:m4/libtool.m4:2431: -1- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77])
16.2670 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
16.2671 +])
16.2672 +m4trace:m4/libtool.m4:2440: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ])
16.2673 +])
16.2674 +m4trace:m4/libtool.m4:2447: -1- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
16.2675 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
16.2676 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
16.2677 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
16.2678 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
16.2679 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
16.2680 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
16.2681 +])
16.2682 +m4trace:m4/libtool.m4:2461: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC])
16.2683 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
16.2684 +])
16.2685 +m4trace:m4/libtool.m4:2472: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
16.2686 +m4trace:m4/libtool.m4:2473: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC"
16.2687 +AC_LANG_PUSH(C)
16.2688 +
16.2689 +# Source file extension for C test sources.
16.2690 +ac_ext=c
16.2691 +
16.2692 +# Object file extension for compiled C test sources.
16.2693 +objext=o
16.2694 +_LT_AC_TAGVAR(objext, $1)=$objext
16.2695 +
16.2696 +# Code to be used in simple compile tests
16.2697 +lt_simple_compile_test_code="int some_variable = 0;\n"
16.2698 +
16.2699 +# Code to be used in simple link tests
16.2700 +lt_simple_link_test_code='int main(){return(0);}\n'
16.2701 +
16.2702 +_LT_AC_SYS_COMPILER
16.2703 +
16.2704 +#
16.2705 +# Check for any special shared library compilation flags.
16.2706 +#
16.2707 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
16.2708 +if test "$GCC" = no; then
16.2709 + case $host_os in
16.2710 + sco3.2v5*)
16.2711 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
16.2712 + ;;
16.2713 + esac
16.2714 +fi
16.2715 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
16.2716 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
16.2717 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
16.2718 + else
16.2719 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
16.2720 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
16.2721 + fi
16.2722 +fi
16.2723 +
16.2724 +
16.2725 +#
16.2726 +# Check to make sure the static flag actually works.
16.2727 +#
16.2728 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
16.2729 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
16.2730 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
16.2731 + [],
16.2732 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
16.2733 +
16.2734 +
16.2735 +## CAVEAT EMPTOR:
16.2736 +## There is no encapsulation within the following macros, do not change
16.2737 +## the running order or otherwise move them around unless you know exactly
16.2738 +## what you are doing...
16.2739 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
16.2740 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
16.2741 +AC_LIBTOOL_PROG_CC_C_O($1)
16.2742 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
16.2743 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
16.2744 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
16.2745 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
16.2746 +AC_LIBTOOL_SYS_LIB_STRIP
16.2747 +AC_LIBTOOL_DLOPEN_SELF($1)
16.2748 +
16.2749 +# Report which librarie types wil actually be built
16.2750 +AC_MSG_CHECKING([if libtool supports shared libraries])
16.2751 +AC_MSG_RESULT([$can_build_shared])
16.2752 +
16.2753 +AC_MSG_CHECKING([whether to build shared libraries])
16.2754 +test "$can_build_shared" = "no" && enable_shared=no
16.2755 +
16.2756 +# On AIX, shared libraries and static libraries use the same namespace, and
16.2757 +# are all built from PIC.
16.2758 +case "$host_os" in
16.2759 +aix3*)
16.2760 + test "$enable_shared" = yes && enable_static=no
16.2761 + if test -n "$RANLIB"; then
16.2762 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
16.2763 + postinstall_cmds='$RANLIB $lib'
16.2764 + fi
16.2765 + ;;
16.2766 +
16.2767 +aix4* | aix5*)
16.2768 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16.2769 + test "$enable_shared" = yes && enable_static=no
16.2770 + fi
16.2771 + ;;
16.2772 + darwin* | rhapsody*)
16.2773 + if test "$GCC" = yes; then
16.2774 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.2775 + case "$host_os" in
16.2776 + rhapsody* | darwin1.[[012]])
16.2777 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
16.2778 + ;;
16.2779 + *) # Darwin 1.3 on
16.2780 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16.2781 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
16.2782 + else
16.2783 + case ${MACOSX_DEPLOYMENT_TARGET} in
16.2784 + 10.[[012]])
16.2785 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
16.2786 + ;;
16.2787 + 10.*)
16.2788 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
16.2789 + ;;
16.2790 + esac
16.2791 + fi
16.2792 + ;;
16.2793 + esac
16.2794 + output_verbose_link_cmd='echo'
16.2795 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
16.2796 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16.2797 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16.2798 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.2799 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.2800 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.2801 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
16.2802 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
16.2803 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
16.2804 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.2805 + else
16.2806 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.2807 + fi
16.2808 + ;;
16.2809 +esac
16.2810 +AC_MSG_RESULT([$enable_shared])
16.2811 +
16.2812 +AC_MSG_CHECKING([whether to build static libraries])
16.2813 +# Make sure either enable_shared or enable_static is yes.
16.2814 +test "$enable_shared" = yes || enable_static=yes
16.2815 +AC_MSG_RESULT([$enable_static])
16.2816 +
16.2817 +AC_LIBTOOL_CONFIG($1)
16.2818 +
16.2819 +AC_LANG_POP
16.2820 +CC="$lt_save_CC"
16.2821 +])
16.2822 +m4trace:m4/libtool.m4:2617: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
16.2823 +m4trace:m4/libtool.m4:2618: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++)
16.2824 +AC_REQUIRE([AC_PROG_CXX])
16.2825 +AC_REQUIRE([AC_PROG_CXXCPP])
16.2826 +
16.2827 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.2828 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
16.2829 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
16.2830 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
16.2831 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
16.2832 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
16.2833 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
16.2834 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
16.2835 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16.2836 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
16.2837 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
16.2838 +_LT_AC_TAGVAR(module_cmds, $1)=
16.2839 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
16.2840 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
16.2841 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
16.2842 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
16.2843 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16.2844 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
16.2845 +
16.2846 +# Dependencies to place before and after the object being linked:
16.2847 +_LT_AC_TAGVAR(predep_objects, $1)=
16.2848 +_LT_AC_TAGVAR(postdep_objects, $1)=
16.2849 +_LT_AC_TAGVAR(predeps, $1)=
16.2850 +_LT_AC_TAGVAR(postdeps, $1)=
16.2851 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
16.2852 +
16.2853 +# Source file extension for C++ test sources.
16.2854 +ac_ext=cc
16.2855 +
16.2856 +# Object file extension for compiled C++ test sources.
16.2857 +objext=o
16.2858 +_LT_AC_TAGVAR(objext, $1)=$objext
16.2859 +
16.2860 +# Code to be used in simple compile tests
16.2861 +lt_simple_compile_test_code="int some_variable = 0;\n"
16.2862 +
16.2863 +# Code to be used in simple link tests
16.2864 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
16.2865 +
16.2866 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16.2867 +_LT_AC_SYS_COMPILER
16.2868 +
16.2869 +# Allow CC to be a program name with arguments.
16.2870 +lt_save_CC=$CC
16.2871 +lt_save_LD=$LD
16.2872 +lt_save_GCC=$GCC
16.2873 +GCC=$GXX
16.2874 +lt_save_with_gnu_ld=$with_gnu_ld
16.2875 +lt_save_path_LD=$lt_cv_path_LD
16.2876 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16.2877 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16.2878 +else
16.2879 + unset lt_cv_prog_gnu_ld
16.2880 +fi
16.2881 +if test -n "${lt_cv_path_LDCXX+set}"; then
16.2882 + lt_cv_path_LD=$lt_cv_path_LDCXX
16.2883 +else
16.2884 + unset lt_cv_path_LD
16.2885 +fi
16.2886 +test -z "${LDCXX+set}" || LD=$LDCXX
16.2887 +CC=${CXX-"c++"}
16.2888 +compiler=$CC
16.2889 +_LT_AC_TAGVAR(compiler, $1)=$CC
16.2890 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16.2891 +
16.2892 +# We don't want -fno-exception wen compiling C++ code, so set the
16.2893 +# no_builtin_flag separately
16.2894 +if test "$GXX" = yes; then
16.2895 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
16.2896 +else
16.2897 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
16.2898 +fi
16.2899 +
16.2900 +if test "$GXX" = yes; then
16.2901 + # Set up default GNU C++ configuration
16.2902 +
16.2903 + AC_PROG_LD
16.2904 +
16.2905 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
16.2906 + # archiving commands below assume that GNU ld is being used.
16.2907 + if test "$with_gnu_ld" = yes; then
16.2908 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.2909 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16.2910 +
16.2911 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
16.2912 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
16.2913 +
16.2914 + # If archive_cmds runs LD, not CC, wlarc should be empty
16.2915 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16.2916 + # investigate it a little bit more. (MM)
16.2917 + wlarc='${wl}'
16.2918 +
16.2919 + # ancient GNU ld didn't support --whole-archive et. al.
16.2920 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16.2921 + grep 'no-whole-archive' > /dev/null; then
16.2922 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16.2923 + else
16.2924 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16.2925 + fi
16.2926 + else
16.2927 + with_gnu_ld=no
16.2928 + wlarc=
16.2929 +
16.2930 + # A generic and very simple default shared library creation
16.2931 + # command for GNU C++ for the case where it uses the native
16.2932 + # linker, instead of GNU ld. If possible, this setting should
16.2933 + # overridden to take advantage of the native linker features on
16.2934 + # the platform it is being used on.
16.2935 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16.2936 + fi
16.2937 +
16.2938 + # Commands to make compiler produce verbose output that lists
16.2939 + # what "hidden" libraries, object files and flags are used when
16.2940 + # linking a shared library.
16.2941 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16.2942 +
16.2943 +else
16.2944 + GXX=no
16.2945 + with_gnu_ld=no
16.2946 + wlarc=
16.2947 +fi
16.2948 +
16.2949 +# PORTME: fill in a description of your system's C++ link characteristics
16.2950 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
16.2951 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
16.2952 +case $host_os in
16.2953 + aix3*)
16.2954 + # FIXME: insert proper C++ library support
16.2955 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.2956 + ;;
16.2957 + aix4* | aix5*)
16.2958 + if test "$host_cpu" = ia64; then
16.2959 + # On IA64, the linker does run time linking by default, so we don't
16.2960 + # have to do anything special.
16.2961 + aix_use_runtimelinking=no
16.2962 + exp_sym_flag='-Bexport'
16.2963 + no_entry_flag=""
16.2964 + else
16.2965 + aix_use_runtimelinking=no
16.2966 +
16.2967 + # Test if we are trying to use run time linking or normal
16.2968 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16.2969 + # need to do runtime linking.
16.2970 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
16.2971 + for ld_flag in $LDFLAGS; do
16.2972 + case $ld_flag in
16.2973 + *-brtl*)
16.2974 + aix_use_runtimelinking=yes
16.2975 + break
16.2976 + ;;
16.2977 + esac
16.2978 + done
16.2979 + esac
16.2980 +
16.2981 + exp_sym_flag='-bexport'
16.2982 + no_entry_flag='-bnoentry'
16.2983 + fi
16.2984 +
16.2985 + # When large executables or shared objects are built, AIX ld can
16.2986 + # have problems creating the table of contents. If linking a library
16.2987 + # or program results in "error TOC overflow" add -mminimal-toc to
16.2988 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16.2989 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16.2990 +
16.2991 + _LT_AC_TAGVAR(archive_cmds, $1)=''
16.2992 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.2993 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
16.2994 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.2995 +
16.2996 + if test "$GXX" = yes; then
16.2997 + case $host_os in aix4.[012]|aix4.[012].*)
16.2998 + # We only want to do this on AIX 4.2 and lower, the check
16.2999 + # below for broken collect2 doesn't work under 4.3+
16.3000 + collect2name=`${CC} -print-prog-name=collect2`
16.3001 + if test -f "$collect2name" && \
16.3002 + strings "$collect2name" | grep resolve_lib_name >/dev/null
16.3003 + then
16.3004 + # We have reworked collect2
16.3005 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.3006 + else
16.3007 + # We have old collect2
16.3008 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
16.3009 + # It fails to find uninstalled libraries when the uninstalled
16.3010 + # path is not listed in the libpath. Setting hardcode_minus_L
16.3011 + # to unsupported forces relinking
16.3012 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.3013 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.3014 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16.3015 + fi
16.3016 + esac
16.3017 + shared_flag='-shared'
16.3018 + else
16.3019 + # not using gcc
16.3020 + if test "$host_cpu" = ia64; then
16.3021 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16.3022 + # chokes on -Wl,-G. The following line is correct:
16.3023 + shared_flag='-G'
16.3024 + else
16.3025 + if test "$aix_use_runtimelinking" = yes; then
16.3026 + shared_flag='${wl}-G'
16.3027 + else
16.3028 + shared_flag='${wl}-bM:SRE'
16.3029 + fi
16.3030 + fi
16.3031 + fi
16.3032 +
16.3033 + # It seems that -bexpall does not export symbols beginning with
16.3034 + # underscore (_), so it is better to generate a list of symbols to export.
16.3035 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16.3036 + if test "$aix_use_runtimelinking" = yes; then
16.3037 + # Warning - without using the other runtime loading flags (-brtl),
16.3038 + # -berok will link without error, but may produce a broken library.
16.3039 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
16.3040 + # Determine the default libpath from the value encoded in an empty executable.
16.3041 + _LT_AC_SYS_LIBPATH_AIX
16.3042 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
16.3043 +
16.3044 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16.3045 + else
16.3046 + if test "$host_cpu" = ia64; then
16.3047 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
16.3048 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
16.3049 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16.3050 + else
16.3051 + # Determine the default libpath from the value encoded in an empty executable.
16.3052 + _LT_AC_SYS_LIBPATH_AIX
16.3053 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
16.3054 + # Warning - without using the other run time loading flags,
16.3055 + # -berok will link without error, but may produce a broken library.
16.3056 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
16.3057 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
16.3058 + # -bexpall does not export symbols beginning with underscore (_)
16.3059 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16.3060 + # Exported symbols can be pulled into shared objects from archives
16.3061 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
16.3062 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16.3063 + # This is similar to how AIX traditionally builds it's shared libraries.
16.3064 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16.3065 + fi
16.3066 + fi
16.3067 + ;;
16.3068 + chorus*)
16.3069 + case $cc_basename in
16.3070 + *)
16.3071 + # FIXME: insert proper C++ library support
16.3072 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3073 + ;;
16.3074 + esac
16.3075 + ;;
16.3076 +
16.3077 + cygwin* | mingw* | pw32*)
16.3078 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
16.3079 + # as there is no search path for DLLs.
16.3080 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.3081 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16.3082 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
16.3083 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
16.3084 +
16.3085 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16.3086 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16.3087 + # If the export-symbols file already is a .def file (1st line
16.3088 + # is EXPORTS), use it as is; otherwise, prepend...
16.3089 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16.3090 + cp $export_symbols $output_objdir/$soname.def;
16.3091 + else
16.3092 + echo EXPORTS > $output_objdir/$soname.def;
16.3093 + cat $export_symbols >> $output_objdir/$soname.def;
16.3094 + fi~
16.3095 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16.3096 + else
16.3097 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3098 + fi
16.3099 + ;;
16.3100 +
16.3101 + darwin* | rhapsody*)
16.3102 + if test "$GXX" = yes; then
16.3103 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3104 + case "$host_os" in
16.3105 + rhapsody* | darwin1.[[012]])
16.3106 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
16.3107 + ;;
16.3108 + *) # Darwin 1.3 on
16.3109 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16.3110 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
16.3111 + else
16.3112 + case ${MACOSX_DEPLOYMENT_TARGET} in
16.3113 + 10.[[012]])
16.3114 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
16.3115 + ;;
16.3116 + 10.*)
16.3117 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
16.3118 + ;;
16.3119 + esac
16.3120 + fi
16.3121 + ;;
16.3122 + esac
16.3123 + lt_int_apple_cc_single_mod=no
16.3124 + output_verbose_link_cmd='echo'
16.3125 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16.3126 + lt_int_apple_cc_single_mod=yes
16.3127 + fi
16.3128 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16.3129 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16.3130 + else
16.3131 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16.3132 + fi
16.3133 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16.3134 +
16.3135 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16.3136 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16.3137 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.3138 + else
16.3139 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.3140 + fi
16.3141 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.3142 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.3143 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
16.3144 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
16.3145 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
16.3146 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.3147 + else
16.3148 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3149 + fi
16.3150 + ;;
16.3151 +
16.3152 + dgux*)
16.3153 + case $cc_basename in
16.3154 + ec++)
16.3155 + # FIXME: insert proper C++ library support
16.3156 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3157 + ;;
16.3158 + ghcx)
16.3159 + # Green Hills C++ Compiler
16.3160 + # FIXME: insert proper C++ library support
16.3161 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3162 + ;;
16.3163 + *)
16.3164 + # FIXME: insert proper C++ library support
16.3165 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3166 + ;;
16.3167 + esac
16.3168 + ;;
16.3169 + freebsd[12]*)
16.3170 + # C++ shared libraries reported to be fairly broken before switch to ELF
16.3171 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3172 + ;;
16.3173 + freebsd-elf*)
16.3174 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3175 + ;;
16.3176 + freebsd* | kfreebsd*-gnu)
16.3177 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16.3178 + # conventions
16.3179 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
16.3180 + ;;
16.3181 + gnu*)
16.3182 + ;;
16.3183 + hpux9*)
16.3184 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16.3185 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3186 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16.3187 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.3188 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
16.3189 + # but as the default
16.3190 + # location of the library.
16.3191 +
16.3192 + case $cc_basename in
16.3193 + CC)
16.3194 + # FIXME: insert proper C++ library support
16.3195 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3196 + ;;
16.3197 + aCC)
16.3198 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16.3199 + # Commands to make compiler produce verbose output that lists
16.3200 + # what "hidden" libraries, object files and flags are used when
16.3201 + # linking a shared library.
16.3202 + #
16.3203 + # There doesn't appear to be a way to prevent this compiler from
16.3204 + # explicitly linking system object files so we need to strip them
16.3205 + # from the output so that they don't get included in the library
16.3206 + # dependencies.
16.3207 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3208 + ;;
16.3209 + *)
16.3210 + if test "$GXX" = yes; then
16.3211 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16.3212 + else
16.3213 + # FIXME: insert proper C++ library support
16.3214 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3215 + fi
16.3216 + ;;
16.3217 + esac
16.3218 + ;;
16.3219 + hpux10*|hpux11*)
16.3220 + if test $with_gnu_ld = no; then
16.3221 + case "$host_cpu" in
16.3222 + hppa*64*)
16.3223 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16.3224 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
16.3225 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3226 + ;;
16.3227 + ia64*)
16.3228 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.3229 + ;;
16.3230 + *)
16.3231 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16.3232 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3233 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16.3234 + ;;
16.3235 + esac
16.3236 + fi
16.3237 + case "$host_cpu" in
16.3238 + hppa*64*)
16.3239 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.3240 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.3241 + ;;
16.3242 + ia64*)
16.3243 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.3244 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.3245 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
16.3246 + # but as the default
16.3247 + # location of the library.
16.3248 + ;;
16.3249 + *)
16.3250 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.3251 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
16.3252 + # but as the default
16.3253 + # location of the library.
16.3254 + ;;
16.3255 + esac
16.3256 +
16.3257 + case $cc_basename in
16.3258 + CC)
16.3259 + # FIXME: insert proper C++ library support
16.3260 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3261 + ;;
16.3262 + aCC)
16.3263 + case "$host_cpu" in
16.3264 + hppa*64*|ia64*)
16.3265 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16.3266 + ;;
16.3267 + *)
16.3268 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16.3269 + ;;
16.3270 + esac
16.3271 + # Commands to make compiler produce verbose output that lists
16.3272 + # what "hidden" libraries, object files and flags are used when
16.3273 + # linking a shared library.
16.3274 + #
16.3275 + # There doesn't appear to be a way to prevent this compiler from
16.3276 + # explicitly linking system object files so we need to strip them
16.3277 + # from the output so that they don't get included in the library
16.3278 + # dependencies.
16.3279 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3280 + ;;
16.3281 + *)
16.3282 + if test "$GXX" = yes; then
16.3283 + if test $with_gnu_ld = no; then
16.3284 + case "$host_cpu" in
16.3285 + ia64*|hppa*64*)
16.3286 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16.3287 + ;;
16.3288 + *)
16.3289 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16.3290 + ;;
16.3291 + esac
16.3292 + fi
16.3293 + else
16.3294 + # FIXME: insert proper C++ library support
16.3295 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3296 + fi
16.3297 + ;;
16.3298 + esac
16.3299 + ;;
16.3300 + irix5* | irix6*)
16.3301 + case $cc_basename in
16.3302 + CC)
16.3303 + # SGI C++
16.3304 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
16.3305 +
16.3306 + # Archives containing C++ object files must be created using
16.3307 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16.3308 + # necessary to make sure instantiated templates are included
16.3309 + # in the archive.
16.3310 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
16.3311 + ;;
16.3312 + *)
16.3313 + if test "$GXX" = yes; then
16.3314 + if test "$with_gnu_ld" = no; then
16.3315 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
16.3316 + else
16.3317 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
16.3318 + fi
16.3319 + fi
16.3320 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.3321 + ;;
16.3322 + esac
16.3323 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.3324 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3325 + ;;
16.3326 + linux*)
16.3327 + case $cc_basename in
16.3328 + KCC)
16.3329 + # Kuck and Associates, Inc. (KAI) C++ Compiler
16.3330 +
16.3331 + # KCC will only create a shared library if the output file
16.3332 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
16.3333 + # to its proper name (with version) after linking.
16.3334 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16.3335 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
16.3336 + # Commands to make compiler produce verbose output that lists
16.3337 + # what "hidden" libraries, object files and flags are used when
16.3338 + # linking a shared library.
16.3339 + #
16.3340 + # There doesn't appear to be a way to prevent this compiler from
16.3341 + # explicitly linking system object files so we need to strip them
16.3342 + # from the output so that they don't get included in the library
16.3343 + # dependencies.
16.3344 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3345 +
16.3346 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
16.3347 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
16.3348 +
16.3349 + # Archives containing C++ object files must be created using
16.3350 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16.3351 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
16.3352 + ;;
16.3353 + icpc)
16.3354 + # Intel C++
16.3355 + with_gnu_ld=yes
16.3356 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3357 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.3358 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16.3359 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16.3360 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
16.3361 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16.3362 + ;;
16.3363 + cxx)
16.3364 + # Compaq C++
16.3365 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.3366 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
16.3367 +
16.3368 + runpath_var=LD_RUN_PATH
16.3369 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
16.3370 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3371 +
16.3372 + # Commands to make compiler produce verbose output that lists
16.3373 + # what "hidden" libraries, object files and flags are used when
16.3374 + # linking a shared library.
16.3375 + #
16.3376 + # There doesn't appear to be a way to prevent this compiler from
16.3377 + # explicitly linking system object files so we need to strip them
16.3378 + # from the output so that they don't get included in the library
16.3379 + # dependencies.
16.3380 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3381 + ;;
16.3382 + esac
16.3383 + ;;
16.3384 + lynxos*)
16.3385 + # FIXME: insert proper C++ library support
16.3386 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3387 + ;;
16.3388 + m88k*)
16.3389 + # FIXME: insert proper C++ library support
16.3390 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3391 + ;;
16.3392 + mvs*)
16.3393 + case $cc_basename in
16.3394 + cxx)
16.3395 + # FIXME: insert proper C++ library support
16.3396 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3397 + ;;
16.3398 + *)
16.3399 + # FIXME: insert proper C++ library support
16.3400 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3401 + ;;
16.3402 + esac
16.3403 + ;;
16.3404 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16.3405 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16.3406 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16.3407 + wlarc=
16.3408 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.3409 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.3410 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.3411 + fi
16.3412 + # Workaround some broken pre-1.5 toolchains
16.3413 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16.3414 + ;;
16.3415 + osf3*)
16.3416 + case $cc_basename in
16.3417 + KCC)
16.3418 + # Kuck and Associates, Inc. (KAI) C++ Compiler
16.3419 +
16.3420 + # KCC will only create a shared library if the output file
16.3421 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
16.3422 + # to its proper name (with version) after linking.
16.3423 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16.3424 +
16.3425 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16.3426 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3427 +
16.3428 + # Archives containing C++ object files must be created using
16.3429 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16.3430 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
16.3431 +
16.3432 + ;;
16.3433 + RCC)
16.3434 + # Rational C++ 2.4.1
16.3435 + # FIXME: insert proper C++ library support
16.3436 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3437 + ;;
16.3438 + cxx)
16.3439 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16.3440 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
16.3441 +
16.3442 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.3443 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3444 +
16.3445 + # Commands to make compiler produce verbose output that lists
16.3446 + # what "hidden" libraries, object files and flags are used when
16.3447 + # linking a shared library.
16.3448 + #
16.3449 + # There doesn't appear to be a way to prevent this compiler from
16.3450 + # explicitly linking system object files so we need to strip them
16.3451 + # from the output so that they don't get included in the library
16.3452 + # dependencies.
16.3453 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3454 + ;;
16.3455 + *)
16.3456 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16.3457 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16.3458 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
16.3459 +
16.3460 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.3461 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3462 +
16.3463 + # Commands to make compiler produce verbose output that lists
16.3464 + # what "hidden" libraries, object files and flags are used when
16.3465 + # linking a shared library.
16.3466 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16.3467 +
16.3468 + else
16.3469 + # FIXME: insert proper C++ library support
16.3470 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3471 + fi
16.3472 + ;;
16.3473 + esac
16.3474 + ;;
16.3475 + osf4* | osf5*)
16.3476 + case $cc_basename in
16.3477 + KCC)
16.3478 + # Kuck and Associates, Inc. (KAI) C++ Compiler
16.3479 +
16.3480 + # KCC will only create a shared library if the output file
16.3481 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
16.3482 + # to its proper name (with version) after linking.
16.3483 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16.3484 +
16.3485 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16.3486 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3487 +
16.3488 + # Archives containing C++ object files must be created using
16.3489 + # the KAI C++ compiler.
16.3490 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
16.3491 + ;;
16.3492 + RCC)
16.3493 + # Rational C++ 2.4.1
16.3494 + # FIXME: insert proper C++ library support
16.3495 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3496 + ;;
16.3497 + cxx)
16.3498 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
16.3499 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
16.3500 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16.3501 + echo "-hidden">> $lib.exp~
16.3502 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
16.3503 + $rm $lib.exp'
16.3504 +
16.3505 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
16.3506 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3507 +
16.3508 + # Commands to make compiler produce verbose output that lists
16.3509 + # what "hidden" libraries, object files and flags are used when
16.3510 + # linking a shared library.
16.3511 + #
16.3512 + # There doesn't appear to be a way to prevent this compiler from
16.3513 + # explicitly linking system object files so we need to strip them
16.3514 + # from the output so that they don't get included in the library
16.3515 + # dependencies.
16.3516 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3517 + ;;
16.3518 + *)
16.3519 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16.3520 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16.3521 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
16.3522 +
16.3523 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.3524 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.3525 +
16.3526 + # Commands to make compiler produce verbose output that lists
16.3527 + # what "hidden" libraries, object files and flags are used when
16.3528 + # linking a shared library.
16.3529 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16.3530 +
16.3531 + else
16.3532 + # FIXME: insert proper C++ library support
16.3533 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3534 + fi
16.3535 + ;;
16.3536 + esac
16.3537 + ;;
16.3538 + psos*)
16.3539 + # FIXME: insert proper C++ library support
16.3540 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3541 + ;;
16.3542 + sco*)
16.3543 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3544 + case $cc_basename in
16.3545 + CC)
16.3546 + # FIXME: insert proper C++ library support
16.3547 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3548 + ;;
16.3549 + *)
16.3550 + # FIXME: insert proper C++ library support
16.3551 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3552 + ;;
16.3553 + esac
16.3554 + ;;
16.3555 + sunos4*)
16.3556 + case $cc_basename in
16.3557 + CC)
16.3558 + # Sun C++ 4.x
16.3559 + # FIXME: insert proper C++ library support
16.3560 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3561 + ;;
16.3562 + lcc)
16.3563 + # Lucid
16.3564 + # FIXME: insert proper C++ library support
16.3565 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3566 + ;;
16.3567 + *)
16.3568 + # FIXME: insert proper C++ library support
16.3569 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3570 + ;;
16.3571 + esac
16.3572 + ;;
16.3573 + solaris*)
16.3574 + case $cc_basename in
16.3575 + CC)
16.3576 + # Sun C++ 4.2, 5.x and Centerline C++
16.3577 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
16.3578 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16.3579 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16.3580 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16.3581 +
16.3582 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.3583 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.3584 + case $host_os in
16.3585 + solaris2.[0-5] | solaris2.[0-5].*) ;;
16.3586 + *)
16.3587 + # The C++ compiler is used as linker so we must use $wl
16.3588 + # flag to pass the commands to the underlying system
16.3589 + # linker.
16.3590 + # Supported since Solaris 2.6 (maybe 2.5.1?)
16.3591 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16.3592 + ;;
16.3593 + esac
16.3594 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.3595 +
16.3596 + # Commands to make compiler produce verbose output that lists
16.3597 + # what "hidden" libraries, object files and flags are used when
16.3598 + # linking a shared library.
16.3599 + #
16.3600 + # There doesn't appear to be a way to prevent this compiler from
16.3601 + # explicitly linking system object files so we need to strip them
16.3602 + # from the output so that they don't get included in the library
16.3603 + # dependencies.
16.3604 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16.3605 +
16.3606 + # Archives containing C++ object files must be created using
16.3607 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
16.3608 + # necessary to make sure instantiated templates are included
16.3609 + # in the archive.
16.3610 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
16.3611 + ;;
16.3612 + gcx)
16.3613 + # Green Hills C++ Compiler
16.3614 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16.3615 +
16.3616 + # The C++ compiler must be used to create the archive.
16.3617 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16.3618 + ;;
16.3619 + *)
16.3620 + # GNU C++ compiler with Solaris linker
16.3621 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16.3622 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
16.3623 + if $CC --version | grep -v '^2\.7' > /dev/null; then
16.3624 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16.3625 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16.3626 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16.3627 +
16.3628 + # Commands to make compiler produce verbose output that lists
16.3629 + # what "hidden" libraries, object files and flags are used when
16.3630 + # linking a shared library.
16.3631 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16.3632 + else
16.3633 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
16.3634 + # platform.
16.3635 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16.3636 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16.3637 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16.3638 +
16.3639 + # Commands to make compiler produce verbose output that lists
16.3640 + # what "hidden" libraries, object files and flags are used when
16.3641 + # linking a shared library.
16.3642 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16.3643 + fi
16.3644 +
16.3645 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
16.3646 + fi
16.3647 + ;;
16.3648 + esac
16.3649 + ;;
16.3650 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
16.3651 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3652 + ;;
16.3653 + tandem*)
16.3654 + case $cc_basename in
16.3655 + NCC)
16.3656 + # NonStop-UX NCC 3.20
16.3657 + # FIXME: insert proper C++ library support
16.3658 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3659 + ;;
16.3660 + *)
16.3661 + # FIXME: insert proper C++ library support
16.3662 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3663 + ;;
16.3664 + esac
16.3665 + ;;
16.3666 + vxworks*)
16.3667 + # FIXME: insert proper C++ library support
16.3668 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3669 + ;;
16.3670 + *)
16.3671 + # FIXME: insert proper C++ library support
16.3672 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.3673 + ;;
16.3674 +esac
16.3675 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
16.3676 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
16.3677 +
16.3678 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
16.3679 +_LT_AC_TAGVAR(LD, $1)="$LD"
16.3680 +
16.3681 +## CAVEAT EMPTOR:
16.3682 +## There is no encapsulation within the following macros, do not change
16.3683 +## the running order or otherwise move them around unless you know exactly
16.3684 +## what you are doing...
16.3685 +AC_LIBTOOL_POSTDEP_PREDEP($1)
16.3686 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
16.3687 +AC_LIBTOOL_PROG_CC_C_O($1)
16.3688 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
16.3689 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
16.3690 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
16.3691 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
16.3692 +AC_LIBTOOL_SYS_LIB_STRIP
16.3693 +AC_LIBTOOL_DLOPEN_SELF($1)
16.3694 +
16.3695 +AC_LIBTOOL_CONFIG($1)
16.3696 +
16.3697 +AC_LANG_POP
16.3698 +CC=$lt_save_CC
16.3699 +LDCXX=$LD
16.3700 +LD=$lt_save_LD
16.3701 +GCC=$lt_save_GCC
16.3702 +with_gnu_ldcxx=$with_gnu_ld
16.3703 +with_gnu_ld=$lt_save_with_gnu_ld
16.3704 +lt_cv_path_LDCXX=$lt_cv_path_LD
16.3705 +lt_cv_path_LD=$lt_save_path_LD
16.3706 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16.3707 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16.3708 +])
16.3709 +m4trace:m4/libtool.m4:3512: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], [
16.3710 +dnl we can't use the lt_simple_compile_test_code here,
16.3711 +dnl because it contains code intended for an executable,
16.3712 +dnl not a library. It's possible we should let each
16.3713 +dnl tag define a new lt_????_link_test_code variable,
16.3714 +dnl but it's only used here...
16.3715 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
16.3716 +int a;
16.3717 +void foo (void) { a = 0; }
16.3718 +EOF
16.3719 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
16.3720 +class Foo
16.3721 +{
16.3722 +public:
16.3723 + Foo (void) { a = 0; }
16.3724 +private:
16.3725 + int a;
16.3726 +};
16.3727 +EOF
16.3728 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
16.3729 + subroutine foo
16.3730 + implicit none
16.3731 + integer*4 a
16.3732 + a=0
16.3733 + return
16.3734 + end
16.3735 +EOF
16.3736 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
16.3737 +public class foo {
16.3738 + private int a;
16.3739 + public void bar (void) {
16.3740 + a = 0;
16.3741 + }
16.3742 +};
16.3743 +EOF
16.3744 +])
16.3745 +dnl Parse the compiler output and extract the necessary
16.3746 +dnl objects, libraries and library flags.
16.3747 +if AC_TRY_EVAL(ac_compile); then
16.3748 + # Parse the compiler output and extract the necessary
16.3749 + # objects, libraries and library flags.
16.3750 +
16.3751 + # Sentinel used to keep track of whether or not we are before
16.3752 + # the conftest object file.
16.3753 + pre_test_object_deps_done=no
16.3754 +
16.3755 + # The `*' in the case matches for architectures that use `case' in
16.3756 + # $output_verbose_cmd can trigger glob expansion during the loop
16.3757 + # eval without this substitution.
16.3758 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
16.3759 +
16.3760 + for p in `eval $output_verbose_link_cmd`; do
16.3761 + case $p in
16.3762 +
16.3763 + -L* | -R* | -l*)
16.3764 + # Some compilers place space between "-{L,R}" and the path.
16.3765 + # Remove the space.
16.3766 + if test $p = "-L" \
16.3767 + || test $p = "-R"; then
16.3768 + prev=$p
16.3769 + continue
16.3770 + else
16.3771 + prev=
16.3772 + fi
16.3773 +
16.3774 + if test "$pre_test_object_deps_done" = no; then
16.3775 + case $p in
16.3776 + -L* | -R*)
16.3777 + # Internal compiler library paths should come after those
16.3778 + # provided the user. The postdeps already come after the
16.3779 + # user supplied libs so there is no need to process them.
16.3780 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
16.3781 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
16.3782 + else
16.3783 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
16.3784 + fi
16.3785 + ;;
16.3786 + # The "-l" case would never come before the object being
16.3787 + # linked, so don't bother handling this case.
16.3788 + esac
16.3789 + else
16.3790 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
16.3791 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
16.3792 + else
16.3793 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
16.3794 + fi
16.3795 + fi
16.3796 + ;;
16.3797 +
16.3798 + *.$objext)
16.3799 + # This assumes that the test object file only shows up
16.3800 + # once in the compiler output.
16.3801 + if test "$p" = "conftest.$objext"; then
16.3802 + pre_test_object_deps_done=yes
16.3803 + continue
16.3804 + fi
16.3805 +
16.3806 + if test "$pre_test_object_deps_done" = no; then
16.3807 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
16.3808 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
16.3809 + else
16.3810 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
16.3811 + fi
16.3812 + else
16.3813 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
16.3814 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
16.3815 + else
16.3816 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
16.3817 + fi
16.3818 + fi
16.3819 + ;;
16.3820 +
16.3821 + *) ;; # Ignore the rest.
16.3822 +
16.3823 + esac
16.3824 + done
16.3825 +
16.3826 + # Clean up.
16.3827 + rm -f a.out a.exe
16.3828 +else
16.3829 + echo "libtool.m4: error: problem compiling $1 test program"
16.3830 +fi
16.3831 +
16.3832 +$rm -f confest.$objext
16.3833 +
16.3834 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
16.3835 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
16.3836 +esac
16.3837 +])
16.3838 +m4trace:m4/libtool.m4:3647: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
16.3839 +m4trace:m4/libtool.m4:3648: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG], [AC_REQUIRE([AC_PROG_F77])
16.3840 +AC_LANG_PUSH(Fortran 77)
16.3841 +
16.3842 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3843 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
16.3844 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
16.3845 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
16.3846 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
16.3847 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
16.3848 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
16.3849 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
16.3850 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16.3851 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
16.3852 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
16.3853 +_LT_AC_TAGVAR(module_cmds, $1)=
16.3854 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
16.3855 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
16.3856 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
16.3857 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
16.3858 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16.3859 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
16.3860 +
16.3861 +# Source file extension for f77 test sources.
16.3862 +ac_ext=f
16.3863 +
16.3864 +# Object file extension for compiled f77 test sources.
16.3865 +objext=o
16.3866 +_LT_AC_TAGVAR(objext, $1)=$objext
16.3867 +
16.3868 +# Code to be used in simple compile tests
16.3869 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
16.3870 +
16.3871 +# Code to be used in simple link tests
16.3872 +lt_simple_link_test_code=" program t\n end\n"
16.3873 +
16.3874 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16.3875 +_LT_AC_SYS_COMPILER
16.3876 +
16.3877 +# Allow CC to be a program name with arguments.
16.3878 +lt_save_CC="$CC"
16.3879 +CC=${F77-"f77"}
16.3880 +compiler=$CC
16.3881 +_LT_AC_TAGVAR(compiler, $1)=$CC
16.3882 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16.3883 +
16.3884 +AC_MSG_CHECKING([if libtool supports shared libraries])
16.3885 +AC_MSG_RESULT([$can_build_shared])
16.3886 +
16.3887 +AC_MSG_CHECKING([whether to build shared libraries])
16.3888 +test "$can_build_shared" = "no" && enable_shared=no
16.3889 +
16.3890 +# On AIX, shared libraries and static libraries use the same namespace, and
16.3891 +# are all built from PIC.
16.3892 +case "$host_os" in
16.3893 +aix3*)
16.3894 + test "$enable_shared" = yes && enable_static=no
16.3895 + if test -n "$RANLIB"; then
16.3896 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
16.3897 + postinstall_cmds='$RANLIB $lib'
16.3898 + fi
16.3899 + ;;
16.3900 +aix4* | aix5*)
16.3901 + test "$enable_shared" = yes && enable_static=no
16.3902 + ;;
16.3903 +esac
16.3904 +AC_MSG_RESULT([$enable_shared])
16.3905 +
16.3906 +AC_MSG_CHECKING([whether to build static libraries])
16.3907 +# Make sure either enable_shared or enable_static is yes.
16.3908 +test "$enable_shared" = yes || enable_static=yes
16.3909 +AC_MSG_RESULT([$enable_static])
16.3910 +
16.3911 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
16.3912 +
16.3913 +_LT_AC_TAGVAR(GCC, $1)="$G77"
16.3914 +_LT_AC_TAGVAR(LD, $1)="$LD"
16.3915 +
16.3916 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
16.3917 +AC_LIBTOOL_PROG_CC_C_O($1)
16.3918 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
16.3919 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
16.3920 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
16.3921 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
16.3922 +AC_LIBTOOL_SYS_LIB_STRIP
16.3923 +
16.3924 +
16.3925 +AC_LIBTOOL_CONFIG($1)
16.3926 +
16.3927 +AC_LANG_POP
16.3928 +CC="$lt_save_CC"
16.3929 +])
16.3930 +m4trace:m4/libtool.m4:3747: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
16.3931 +m4trace:m4/libtool.m4:3748: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], [AC_LANG_SAVE
16.3932 +
16.3933 +# Source file extension for Java test sources.
16.3934 +ac_ext=java
16.3935 +
16.3936 +# Object file extension for compiled Java test sources.
16.3937 +objext=o
16.3938 +_LT_AC_TAGVAR(objext, $1)=$objext
16.3939 +
16.3940 +# Code to be used in simple compile tests
16.3941 +lt_simple_compile_test_code="class foo {}\n"
16.3942 +
16.3943 +# Code to be used in simple link tests
16.3944 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16.3945 +
16.3946 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16.3947 +_LT_AC_SYS_COMPILER
16.3948 +
16.3949 +# Allow CC to be a program name with arguments.
16.3950 +lt_save_CC="$CC"
16.3951 +CC=${GCJ-"gcj"}
16.3952 +compiler=$CC
16.3953 +_LT_AC_TAGVAR(compiler, $1)=$CC
16.3954 +
16.3955 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
16.3956 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.3957 +
16.3958 +## CAVEAT EMPTOR:
16.3959 +## There is no encapsulation within the following macros, do not change
16.3960 +## the running order or otherwise move them around unless you know exactly
16.3961 +## what you are doing...
16.3962 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
16.3963 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
16.3964 +AC_LIBTOOL_PROG_CC_C_O($1)
16.3965 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
16.3966 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
16.3967 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
16.3968 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
16.3969 +AC_LIBTOOL_SYS_LIB_STRIP
16.3970 +AC_LIBTOOL_DLOPEN_SELF($1)
16.3971 +
16.3972 +AC_LIBTOOL_CONFIG($1)
16.3973 +
16.3974 +AC_LANG_RESTORE
16.3975 +CC="$lt_save_CC"
16.3976 +])
16.3977 +m4trace:m4/libtool.m4:3802: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
16.3978 +m4trace:m4/libtool.m4:3803: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG], [AC_LANG_SAVE
16.3979 +
16.3980 +# Source file extension for RC test sources.
16.3981 +ac_ext=rc
16.3982 +
16.3983 +# Object file extension for compiled RC test sources.
16.3984 +objext=o
16.3985 +_LT_AC_TAGVAR(objext, $1)=$objext
16.3986 +
16.3987 +# Code to be used in simple compile tests
16.3988 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
16.3989 +
16.3990 +# Code to be used in simple link tests
16.3991 +lt_simple_link_test_code="$lt_simple_compile_test_code"
16.3992 +
16.3993 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16.3994 +_LT_AC_SYS_COMPILER
16.3995 +
16.3996 +# Allow CC to be a program name with arguments.
16.3997 +lt_save_CC="$CC"
16.3998 +CC=${RC-"windres"}
16.3999 +compiler=$CC
16.4000 +_LT_AC_TAGVAR(compiler, $1)=$CC
16.4001 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
16.4002 +
16.4003 +AC_LIBTOOL_CONFIG($1)
16.4004 +
16.4005 +AC_LANG_RESTORE
16.4006 +CC="$lt_save_CC"
16.4007 +])
16.4008 +m4trace:m4/libtool.m4:3842: -1- AC_DEFUN([AC_LIBTOOL_CONFIG], [# The else clause should only fire when bootstrapping the
16.4009 +# libtool distribution, otherwise you forgot to ship ltmain.sh
16.4010 +# with your package, and you will get complaints that there are
16.4011 +# no rules to generate ltmain.sh.
16.4012 +if test -f "$ltmain"; then
16.4013 + # See if we are running on zsh, and set the options which allow our commands through
16.4014 + # without removal of \ escapes.
16.4015 + if test -n "${ZSH_VERSION+set}" ; then
16.4016 + setopt NO_GLOB_SUBST
16.4017 + fi
16.4018 + # Now quote all the things that may contain metacharacters while being
16.4019 + # careful not to overquote the AC_SUBSTed values. We take copies of the
16.4020 + # variables and quote the copies for generation of the libtool script.
16.4021 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16.4022 + SED SHELL STRIP \
16.4023 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16.4024 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16.4025 + deplibs_check_method reload_flag reload_cmds need_locks \
16.4026 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16.4027 + lt_cv_sys_global_symbol_to_c_name_address \
16.4028 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16.4029 + old_postinstall_cmds old_postuninstall_cmds \
16.4030 + _LT_AC_TAGVAR(compiler, $1) \
16.4031 + _LT_AC_TAGVAR(CC, $1) \
16.4032 + _LT_AC_TAGVAR(LD, $1) \
16.4033 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
16.4034 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
16.4035 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
16.4036 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
16.4037 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
16.4038 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
16.4039 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
16.4040 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
16.4041 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
16.4042 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
16.4043 + _LT_AC_TAGVAR(predep_objects, $1) \
16.4044 + _LT_AC_TAGVAR(postdep_objects, $1) \
16.4045 + _LT_AC_TAGVAR(predeps, $1) \
16.4046 + _LT_AC_TAGVAR(postdeps, $1) \
16.4047 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
16.4048 + _LT_AC_TAGVAR(archive_cmds, $1) \
16.4049 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
16.4050 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
16.4051 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
16.4052 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
16.4053 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
16.4054 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
16.4055 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
16.4056 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
16.4057 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
16.4058 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
16.4059 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
16.4060 + _LT_AC_TAGVAR(module_cmds, $1) \
16.4061 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
16.4062 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
16.4063 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
16.4064 + _LT_AC_TAGVAR(include_expsyms, $1); do
16.4065 +
16.4066 + case $var in
16.4067 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
16.4068 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
16.4069 + _LT_AC_TAGVAR(archive_cmds, $1) | \
16.4070 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
16.4071 + _LT_AC_TAGVAR(module_cmds, $1) | \
16.4072 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
16.4073 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
16.4074 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
16.4075 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
16.4076 + postinstall_cmds | postuninstall_cmds | \
16.4077 + old_postinstall_cmds | old_postuninstall_cmds | \
16.4078 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16.4079 + # Double-quote double-evaled strings.
16.4080 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16.4081 + ;;
16.4082 + *)
16.4083 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16.4084 + ;;
16.4085 + esac
16.4086 + done
16.4087 +
16.4088 + case $lt_echo in
16.4089 + *'\[$]0 --fallback-echo"')
16.4090 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
16.4091 + ;;
16.4092 + esac
16.4093 +
16.4094 +ifelse([$1], [],
16.4095 + [cfgfile="${ofile}T"
16.4096 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
16.4097 + $rm -f "$cfgfile"
16.4098 + AC_MSG_NOTICE([creating $ofile])],
16.4099 + [cfgfile="$ofile"])
16.4100 +
16.4101 + cat <<__EOF__ >> "$cfgfile"
16.4102 +ifelse([$1], [],
16.4103 +[#! $SHELL
16.4104 +
16.4105 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16.4106 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
16.4107 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16.4108 +#
16.4109 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
16.4110 +# Free Software Foundation, Inc.
16.4111 +#
16.4112 +# This file is part of GNU Libtool:
16.4113 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16.4114 +#
16.4115 +# This program is free software; you can redistribute it and/or modify
16.4116 +# it under the terms of the GNU General Public License as published by
16.4117 +# the Free Software Foundation; either version 2 of the License, or
16.4118 +# (at your option) any later version.
16.4119 +#
16.4120 +# This program is distributed in the hope that it will be useful, but
16.4121 +# WITHOUT ANY WARRANTY; without even the implied warranty of
16.4122 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16.4123 +# General Public License for more details.
16.4124 +#
16.4125 +# You should have received a copy of the GNU General Public License
16.4126 +# along with this program; if not, write to the Free Software
16.4127 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16.4128 +#
16.4129 +# As a special exception to the GNU General Public License, if you
16.4130 +# distribute this file as part of a program that contains a
16.4131 +# configuration script generated by Autoconf, you may include it under
16.4132 +# the same distribution terms that you use for the rest of that program.
16.4133 +
16.4134 +# A sed program that does not truncate output.
16.4135 +SED=$lt_SED
16.4136 +
16.4137 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16.4138 +Xsed="$SED -e s/^X//"
16.4139 +
16.4140 +# The HP-UX ksh and POSIX shell print the target directory to stdout
16.4141 +# if CDPATH is set.
16.4142 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
16.4143 +
16.4144 +# The names of the tagged configurations supported by this script.
16.4145 +available_tags=
16.4146 +
16.4147 +# ### BEGIN LIBTOOL CONFIG],
16.4148 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
16.4149 +
16.4150 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16.4151 +
16.4152 +# Shell to use when invoking shell scripts.
16.4153 +SHELL=$lt_SHELL
16.4154 +
16.4155 +# Whether or not to build shared libraries.
16.4156 +build_libtool_libs=$enable_shared
16.4157 +
16.4158 +# Whether or not to build static libraries.
16.4159 +build_old_libs=$enable_static
16.4160 +
16.4161 +# Whether or not to add -lc for building shared libraries.
16.4162 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
16.4163 +
16.4164 +# Whether or not to disallow shared libs when runtime libs are static
16.4165 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
16.4166 +
16.4167 +# Whether or not to optimize for fast installation.
16.4168 +fast_install=$enable_fast_install
16.4169 +
16.4170 +# The host system.
16.4171 +host_alias=$host_alias
16.4172 +host=$host
16.4173 +
16.4174 +# An echo program that does not interpret backslashes.
16.4175 +echo=$lt_echo
16.4176 +
16.4177 +# The archiver.
16.4178 +AR=$lt_AR
16.4179 +AR_FLAGS=$lt_AR_FLAGS
16.4180 +
16.4181 +# A C compiler.
16.4182 +LTCC=$lt_LTCC
16.4183 +
16.4184 +# A language-specific compiler.
16.4185 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
16.4186 +
16.4187 +# Is the compiler the GNU C compiler?
16.4188 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
16.4189 +
16.4190 +# An ERE matcher.
16.4191 +EGREP=$lt_EGREP
16.4192 +
16.4193 +# The linker used to build libraries.
16.4194 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
16.4195 +
16.4196 +# Whether we need hard or soft links.
16.4197 +LN_S=$lt_LN_S
16.4198 +
16.4199 +# A BSD-compatible nm program.
16.4200 +NM=$lt_NM
16.4201 +
16.4202 +# A symbol stripping program
16.4203 +STRIP=$lt_STRIP
16.4204 +
16.4205 +# Used to examine libraries when file_magic_cmd begins "file"
16.4206 +MAGIC_CMD=$MAGIC_CMD
16.4207 +
16.4208 +# Used on cygwin: DLL creation program.
16.4209 +DLLTOOL="$DLLTOOL"
16.4210 +
16.4211 +# Used on cygwin: object dumper.
16.4212 +OBJDUMP="$OBJDUMP"
16.4213 +
16.4214 +# Used on cygwin: assembler.
16.4215 +AS="$AS"
16.4216 +
16.4217 +# The name of the directory that contains temporary libtool files.
16.4218 +objdir=$objdir
16.4219 +
16.4220 +# How to create reloadable object files.
16.4221 +reload_flag=$lt_reload_flag
16.4222 +reload_cmds=$lt_reload_cmds
16.4223 +
16.4224 +# How to pass a linker flag through the compiler.
16.4225 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
16.4226 +
16.4227 +# Object file suffix (normally "o").
16.4228 +objext="$ac_objext"
16.4229 +
16.4230 +# Old archive suffix (normally "a").
16.4231 +libext="$libext"
16.4232 +
16.4233 +# Shared library suffix (normally ".so").
16.4234 +shrext_cmds='$shrext_cmds'
16.4235 +
16.4236 +# Executable file suffix (normally "").
16.4237 +exeext="$exeext"
16.4238 +
16.4239 +# Additional compiler flags for building library objects.
16.4240 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
16.4241 +pic_mode=$pic_mode
16.4242 +
16.4243 +# What is the maximum length of a command?
16.4244 +max_cmd_len=$lt_cv_sys_max_cmd_len
16.4245 +
16.4246 +# Does compiler simultaneously support -c and -o options?
16.4247 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
16.4248 +
16.4249 +# Must we lock files when doing compilation ?
16.4250 +need_locks=$lt_need_locks
16.4251 +
16.4252 +# Do we need the lib prefix for modules?
16.4253 +need_lib_prefix=$need_lib_prefix
16.4254 +
16.4255 +# Do we need a version for libraries?
16.4256 +need_version=$need_version
16.4257 +
16.4258 +# Whether dlopen is supported.
16.4259 +dlopen_support=$enable_dlopen
16.4260 +
16.4261 +# Whether dlopen of programs is supported.
16.4262 +dlopen_self=$enable_dlopen_self
16.4263 +
16.4264 +# Whether dlopen of statically linked programs is supported.
16.4265 +dlopen_self_static=$enable_dlopen_self_static
16.4266 +
16.4267 +# Compiler flag to prevent dynamic linking.
16.4268 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
16.4269 +
16.4270 +# Compiler flag to turn off builtin functions.
16.4271 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
16.4272 +
16.4273 +# Compiler flag to allow reflexive dlopens.
16.4274 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
16.4275 +
16.4276 +# Compiler flag to generate shared objects directly from archives.
16.4277 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
16.4278 +
16.4279 +# Compiler flag to generate thread-safe objects.
16.4280 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
16.4281 +
16.4282 +# Library versioning type.
16.4283 +version_type=$version_type
16.4284 +
16.4285 +# Format of library name prefix.
16.4286 +libname_spec=$lt_libname_spec
16.4287 +
16.4288 +# List of archive names. First name is the real one, the rest are links.
16.4289 +# The last name is the one that the linker finds with -lNAME.
16.4290 +library_names_spec=$lt_library_names_spec
16.4291 +
16.4292 +# The coded name of the library, if different from the real name.
16.4293 +soname_spec=$lt_soname_spec
16.4294 +
16.4295 +# Commands used to build and install an old-style archive.
16.4296 +RANLIB=$lt_RANLIB
16.4297 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
16.4298 +old_postinstall_cmds=$lt_old_postinstall_cmds
16.4299 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
16.4300 +
16.4301 +# Create an old-style archive from a shared archive.
16.4302 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
16.4303 +
16.4304 +# Create a temporary old-style archive to link instead of a shared archive.
16.4305 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
16.4306 +
16.4307 +# Commands used to build and install a shared archive.
16.4308 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
16.4309 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
16.4310 +postinstall_cmds=$lt_postinstall_cmds
16.4311 +postuninstall_cmds=$lt_postuninstall_cmds
16.4312 +
16.4313 +# Commands used to build a loadable module (assumed same as above if empty)
16.4314 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
16.4315 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
16.4316 +
16.4317 +# Commands to strip libraries.
16.4318 +old_striplib=$lt_old_striplib
16.4319 +striplib=$lt_striplib
16.4320 +
16.4321 +# Dependencies to place before the objects being linked to create a
16.4322 +# shared library.
16.4323 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
16.4324 +
16.4325 +# Dependencies to place after the objects being linked to create a
16.4326 +# shared library.
16.4327 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
16.4328 +
16.4329 +# Dependencies to place before the objects being linked to create a
16.4330 +# shared library.
16.4331 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
16.4332 +
16.4333 +# Dependencies to place after the objects being linked to create a
16.4334 +# shared library.
16.4335 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
16.4336 +
16.4337 +# The library search path used internally by the compiler when linking
16.4338 +# a shared library.
16.4339 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
16.4340 +
16.4341 +# Method to check whether dependent libraries are shared objects.
16.4342 +deplibs_check_method=$lt_deplibs_check_method
16.4343 +
16.4344 +# Command to use when deplibs_check_method == file_magic.
16.4345 +file_magic_cmd=$lt_file_magic_cmd
16.4346 +
16.4347 +# Flag that allows shared libraries with undefined symbols to be built.
16.4348 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
16.4349 +
16.4350 +# Flag that forces no undefined symbols.
16.4351 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
16.4352 +
16.4353 +# Commands used to finish a libtool library installation in a directory.
16.4354 +finish_cmds=$lt_finish_cmds
16.4355 +
16.4356 +# Same as above, but a single script fragment to be evaled but not shown.
16.4357 +finish_eval=$lt_finish_eval
16.4358 +
16.4359 +# Take the output of nm and produce a listing of raw symbols and C names.
16.4360 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16.4361 +
16.4362 +# Transform the output of nm in a proper C declaration
16.4363 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16.4364 +
16.4365 +# Transform the output of nm in a C name address pair
16.4366 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16.4367 +
16.4368 +# This is the shared library runtime path variable.
16.4369 +runpath_var=$runpath_var
16.4370 +
16.4371 +# This is the shared library path variable.
16.4372 +shlibpath_var=$shlibpath_var
16.4373 +
16.4374 +# Is shlibpath searched before the hard-coded library search path?
16.4375 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16.4376 +
16.4377 +# How to hardcode a shared library path into an executable.
16.4378 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
16.4379 +
16.4380 +# Whether we should hardcode library paths into libraries.
16.4381 +hardcode_into_libs=$hardcode_into_libs
16.4382 +
16.4383 +# Flag to hardcode \$libdir into a binary during linking.
16.4384 +# This must work even if \$libdir does not exist.
16.4385 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
16.4386 +
16.4387 +# If ld is used when linking, flag to hardcode \$libdir into
16.4388 +# a binary during linking. This must work even if \$libdir does
16.4389 +# not exist.
16.4390 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
16.4391 +
16.4392 +# Whether we need a single -rpath flag with a separated argument.
16.4393 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
16.4394 +
16.4395 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16.4396 +# resulting binary.
16.4397 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
16.4398 +
16.4399 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16.4400 +# resulting binary.
16.4401 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
16.4402 +
16.4403 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16.4404 +# the resulting binary.
16.4405 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
16.4406 +
16.4407 +# Set to yes if building a shared library automatically hardcodes DIR into the library
16.4408 +# and all subsequent libraries and executables linked against it.
16.4409 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
16.4410 +
16.4411 +# Variables whose values should be saved in libtool wrapper scripts and
16.4412 +# restored at relink time.
16.4413 +variables_saved_for_relink="$variables_saved_for_relink"
16.4414 +
16.4415 +# Whether libtool must link a program against all its dependency libraries.
16.4416 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
16.4417 +
16.4418 +# Compile-time system search path for libraries
16.4419 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16.4420 +
16.4421 +# Run-time system search path for libraries
16.4422 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16.4423 +
16.4424 +# Fix the shell variable \$srcfile for the compiler.
16.4425 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
16.4426 +
16.4427 +# Set to yes if exported symbols are required.
16.4428 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
16.4429 +
16.4430 +# The commands to list exported symbols.
16.4431 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
16.4432 +
16.4433 +# The commands to extract the exported symbol list from a shared archive.
16.4434 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
16.4435 +
16.4436 +# Symbols that should not be listed in the preloaded symbols.
16.4437 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
16.4438 +
16.4439 +# Symbols that must always be exported.
16.4440 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
16.4441 +
16.4442 +ifelse([$1],[],
16.4443 +[# ### END LIBTOOL CONFIG],
16.4444 +[# ### END LIBTOOL TAG CONFIG: $tagname])
16.4445 +
16.4446 +__EOF__
16.4447 +
16.4448 +ifelse([$1],[], [
16.4449 + case $host_os in
16.4450 + aix3*)
16.4451 + cat <<\EOF >> "$cfgfile"
16.4452 +
16.4453 +# AIX sometimes has problems with the GCC collect2 program. For some
16.4454 +# reason, if we set the COLLECT_NAMES environment variable, the problems
16.4455 +# vanish in a puff of smoke.
16.4456 +if test "X${COLLECT_NAMES+set}" != Xset; then
16.4457 + COLLECT_NAMES=
16.4458 + export COLLECT_NAMES
16.4459 +fi
16.4460 +EOF
16.4461 + ;;
16.4462 + esac
16.4463 +
16.4464 + # We use sed instead of cat because bash on DJGPP gets confused if
16.4465 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
16.4466 + # text mode, it properly converts lines to CR/LF. This bash problem
16.4467 + # is reportedly fixed, but why not run on old versions too?
16.4468 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
16.4469 +
16.4470 + mv -f "$cfgfile" "$ofile" || \
16.4471 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16.4472 + chmod +x "$ofile"
16.4473 +])
16.4474 +else
16.4475 + # If there is no Makefile yet, we rely on a make rule to execute
16.4476 + # `config.status --recheck' to rerun these tests and create the
16.4477 + # libtool script then.
16.4478 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16.4479 + if test -f "$ltmain_in"; then
16.4480 + test -f Makefile && make "$ltmain"
16.4481 + fi
16.4482 +fi
16.4483 +])
16.4484 +m4trace:m4/libtool.m4:4323: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16.4485 +
16.4486 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
16.4487 +
16.4488 +if test "$GCC" = yes; then
16.4489 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
16.4490 +
16.4491 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
16.4492 + lt_cv_prog_compiler_rtti_exceptions,
16.4493 + [-fno-rtti -fno-exceptions], [],
16.4494 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
16.4495 +fi
16.4496 +])
16.4497 +m4trace:m4/libtool.m4:4341: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST])
16.4498 +AC_REQUIRE([AC_PROG_NM])
16.4499 +AC_REQUIRE([AC_OBJEXT])
16.4500 +# Check for command to grab the raw symbol name followed by C symbol from nm.
16.4501 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
16.4502 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
16.4503 +[
16.4504 +# These are sane defaults that work on at least a few old systems.
16.4505 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
16.4506 +
16.4507 +# Character class describing NM global symbol codes.
16.4508 +symcode='[[BCDEGRST]]'
16.4509 +
16.4510 +# Regexp to match symbols that can be accessed directly from C.
16.4511 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
16.4512 +
16.4513 +# Transform the above into a raw symbol and a C symbol.
16.4514 +symxfrm='\1 \2\3 \3'
16.4515 +
16.4516 +# Transform an extracted symbol line into a proper C declaration
16.4517 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
16.4518 +
16.4519 +# Transform an extracted symbol line into symbol name and symbol address
16.4520 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16.4521 +
16.4522 +# Define system-specific variables.
16.4523 +case $host_os in
16.4524 +aix*)
16.4525 + symcode='[[BCDT]]'
16.4526 + ;;
16.4527 +cygwin* | mingw* | pw32*)
16.4528 + symcode='[[ABCDGISTW]]'
16.4529 + ;;
16.4530 +hpux*) # Its linker distinguishes data from code symbols
16.4531 + if test "$host_cpu" = ia64; then
16.4532 + symcode='[[ABCDEGRST]]'
16.4533 + fi
16.4534 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16.4535 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16.4536 + ;;
16.4537 +irix* | nonstopux*)
16.4538 + symcode='[[BCDEGRST]]'
16.4539 + ;;
16.4540 +osf*)
16.4541 + symcode='[[BCDEGQRST]]'
16.4542 + ;;
16.4543 +solaris* | sysv5*)
16.4544 + symcode='[[BDRT]]'
16.4545 + ;;
16.4546 +sysv4)
16.4547 + symcode='[[DFNSTU]]'
16.4548 + ;;
16.4549 +esac
16.4550 +
16.4551 +# Handle CRLF in mingw tool chain
16.4552 +opt_cr=
16.4553 +case $build_os in
16.4554 +mingw*)
16.4555 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
16.4556 + ;;
16.4557 +esac
16.4558 +
16.4559 +# If we're using GNU nm, then use its standard symbol codes.
16.4560 +case `$NM -V 2>&1` in
16.4561 +*GNU* | *'with BFD'*)
16.4562 + symcode='[[ABCDGIRSTW]]' ;;
16.4563 +esac
16.4564 +
16.4565 +# Try without a prefix undercore, then with it.
16.4566 +for ac_symprfx in "" "_"; do
16.4567 +
16.4568 + # Write the raw and C identifiers.
16.4569 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
16.4570 +
16.4571 + # Check to see that the pipe works correctly.
16.4572 + pipe_works=no
16.4573 +
16.4574 + rm -f conftest*
16.4575 + cat > conftest.$ac_ext <<EOF
16.4576 +#ifdef __cplusplus
16.4577 +extern "C" {
16.4578 +#endif
16.4579 +char nm_test_var;
16.4580 +void nm_test_func(){}
16.4581 +#ifdef __cplusplus
16.4582 +}
16.4583 +#endif
16.4584 +int main(){nm_test_var='a';nm_test_func();return(0);}
16.4585 +EOF
16.4586 +
16.4587 + if AC_TRY_EVAL(ac_compile); then
16.4588 + # Now try to grab the symbols.
16.4589 + nlist=conftest.nm
16.4590 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
16.4591 + # Try sorting and uniquifying the output.
16.4592 + if sort "$nlist" | uniq > "$nlist"T; then
16.4593 + mv -f "$nlist"T "$nlist"
16.4594 + else
16.4595 + rm -f "$nlist"T
16.4596 + fi
16.4597 +
16.4598 + # Make sure that we snagged all the symbols we need.
16.4599 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
16.4600 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
16.4601 + cat <<EOF > conftest.$ac_ext
16.4602 +#ifdef __cplusplus
16.4603 +extern "C" {
16.4604 +#endif
16.4605 +
16.4606 +EOF
16.4607 + # Now generate the symbol file.
16.4608 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
16.4609 +
16.4610 + cat <<EOF >> conftest.$ac_ext
16.4611 +#if defined (__STDC__) && __STDC__
16.4612 +# define lt_ptr_t void *
16.4613 +#else
16.4614 +# define lt_ptr_t char *
16.4615 +# define const
16.4616 +#endif
16.4617 +
16.4618 +/* The mapping between symbol names and symbols. */
16.4619 +const struct {
16.4620 + const char *name;
16.4621 + lt_ptr_t address;
16.4622 +}
16.4623 +lt_preloaded_symbols[[]] =
16.4624 +{
16.4625 +EOF
16.4626 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
16.4627 + cat <<\EOF >> conftest.$ac_ext
16.4628 + {0, (lt_ptr_t) 0}
16.4629 +};
16.4630 +
16.4631 +#ifdef __cplusplus
16.4632 +}
16.4633 +#endif
16.4634 +EOF
16.4635 + # Now try linking the two files.
16.4636 + mv conftest.$ac_objext conftstm.$ac_objext
16.4637 + lt_save_LIBS="$LIBS"
16.4638 + lt_save_CFLAGS="$CFLAGS"
16.4639 + LIBS="conftstm.$ac_objext"
16.4640 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
16.4641 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
16.4642 + pipe_works=yes
16.4643 + fi
16.4644 + LIBS="$lt_save_LIBS"
16.4645 + CFLAGS="$lt_save_CFLAGS"
16.4646 + else
16.4647 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
16.4648 + fi
16.4649 + else
16.4650 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
16.4651 + fi
16.4652 + else
16.4653 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
16.4654 + fi
16.4655 + else
16.4656 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
16.4657 + cat conftest.$ac_ext >&5
16.4658 + fi
16.4659 + rm -f conftest* conftst*
16.4660 +
16.4661 + # Do not use the global_symbol_pipe unless it works.
16.4662 + if test "$pipe_works" = yes; then
16.4663 + break
16.4664 + else
16.4665 + lt_cv_sys_global_symbol_pipe=
16.4666 + fi
16.4667 +done
16.4668 +])
16.4669 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
16.4670 + lt_cv_sys_global_symbol_to_cdecl=
16.4671 +fi
16.4672 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
16.4673 + AC_MSG_RESULT(failed)
16.4674 +else
16.4675 + AC_MSG_RESULT(ok)
16.4676 +fi
16.4677 +])
16.4678 +m4trace:m4/libtool.m4:4527: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
16.4679 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
16.4680 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
16.4681 +
16.4682 +AC_MSG_CHECKING([for $compiler option to produce PIC])
16.4683 + ifelse([$1],[CXX],[
16.4684 + # C++ specific cases for pic, static, wl, etc.
16.4685 + if test "$GXX" = yes; then
16.4686 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4687 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
16.4688 +
16.4689 + case $host_os in
16.4690 + aix*)
16.4691 + # All AIX code is PIC.
16.4692 + if test "$host_cpu" = ia64; then
16.4693 + # AIX 5 now supports IA64 processor
16.4694 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.4695 + fi
16.4696 + ;;
16.4697 + amigaos*)
16.4698 + # FIXME: we need at least 68020 code to build shared libraries, but
16.4699 + # adding the `-m68020' flag to GCC prevents building anything better,
16.4700 + # like `-m68040'.
16.4701 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
16.4702 + ;;
16.4703 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16.4704 + # PIC is the default for these OSes.
16.4705 + ;;
16.4706 + mingw* | os2* | pw32*)
16.4707 + # This hack is so that the source file can tell whether it is being
16.4708 + # built for inclusion in a dll (and should export symbols for example).
16.4709 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
16.4710 + ;;
16.4711 + darwin* | rhapsody*)
16.4712 + # PIC is the default on this platform
16.4713 + # Common symbols not allowed in MH_DYLIB files
16.4714 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
16.4715 + ;;
16.4716 + *djgpp*)
16.4717 + # DJGPP does not support shared libraries at all
16.4718 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
16.4719 + ;;
16.4720 + sysv4*MP*)
16.4721 + if test -d /usr/nec; then
16.4722 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
16.4723 + fi
16.4724 + ;;
16.4725 + hpux*)
16.4726 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16.4727 + # not for PA HP-UX.
16.4728 + case "$host_cpu" in
16.4729 + hppa*64*|ia64*)
16.4730 + ;;
16.4731 + *)
16.4732 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16.4733 + ;;
16.4734 + esac
16.4735 + ;;
16.4736 + *)
16.4737 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16.4738 + ;;
16.4739 + esac
16.4740 + else
16.4741 + case $host_os in
16.4742 + aix4* | aix5*)
16.4743 + # All AIX code is PIC.
16.4744 + if test "$host_cpu" = ia64; then
16.4745 + # AIX 5 now supports IA64 processor
16.4746 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.4747 + else
16.4748 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
16.4749 + fi
16.4750 + ;;
16.4751 + chorus*)
16.4752 + case $cc_basename in
16.4753 + cxch68)
16.4754 + # Green Hills C++ Compiler
16.4755 + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16.4756 + ;;
16.4757 + esac
16.4758 + ;;
16.4759 + dgux*)
16.4760 + case $cc_basename in
16.4761 + ec++)
16.4762 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.4763 + ;;
16.4764 + ghcx)
16.4765 + # Green Hills C++ Compiler
16.4766 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
16.4767 + ;;
16.4768 + *)
16.4769 + ;;
16.4770 + esac
16.4771 + ;;
16.4772 + freebsd* | kfreebsd*-gnu)
16.4773 + # FreeBSD uses GNU C++
16.4774 + ;;
16.4775 + hpux9* | hpux10* | hpux11*)
16.4776 + case $cc_basename in
16.4777 + CC)
16.4778 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4779 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16.4780 + if test "$host_cpu" != ia64; then
16.4781 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
16.4782 + fi
16.4783 + ;;
16.4784 + aCC)
16.4785 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4786 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16.4787 + case "$host_cpu" in
16.4788 + hppa*64*|ia64*)
16.4789 + # +Z the default
16.4790 + ;;
16.4791 + *)
16.4792 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
16.4793 + ;;
16.4794 + esac
16.4795 + ;;
16.4796 + *)
16.4797 + ;;
16.4798 + esac
16.4799 + ;;
16.4800 + irix5* | irix6* | nonstopux*)
16.4801 + case $cc_basename in
16.4802 + CC)
16.4803 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4804 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16.4805 + # CC pic flag -KPIC is the default.
16.4806 + ;;
16.4807 + *)
16.4808 + ;;
16.4809 + esac
16.4810 + ;;
16.4811 + linux*)
16.4812 + case $cc_basename in
16.4813 + KCC)
16.4814 + # KAI C++ Compiler
16.4815 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
16.4816 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16.4817 + ;;
16.4818 + icpc)
16.4819 + # Intel C++
16.4820 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4821 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.4822 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
16.4823 + ;;
16.4824 + cxx)
16.4825 + # Compaq C++
16.4826 + # Make sure the PIC flag is empty. It appears that all Alpha
16.4827 + # Linux and Compaq Tru64 Unix objects are PIC.
16.4828 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
16.4829 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16.4830 + ;;
16.4831 + *)
16.4832 + ;;
16.4833 + esac
16.4834 + ;;
16.4835 + lynxos*)
16.4836 + ;;
16.4837 + m88k*)
16.4838 + ;;
16.4839 + mvs*)
16.4840 + case $cc_basename in
16.4841 + cxx)
16.4842 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
16.4843 + ;;
16.4844 + *)
16.4845 + ;;
16.4846 + esac
16.4847 + ;;
16.4848 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16.4849 + ;;
16.4850 + osf3* | osf4* | osf5*)
16.4851 + case $cc_basename in
16.4852 + KCC)
16.4853 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
16.4854 + ;;
16.4855 + RCC)
16.4856 + # Rational C++ 2.4.1
16.4857 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
16.4858 + ;;
16.4859 + cxx)
16.4860 + # Digital/Compaq C++
16.4861 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4862 + # Make sure the PIC flag is empty. It appears that all Alpha
16.4863 + # Linux and Compaq Tru64 Unix objects are PIC.
16.4864 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
16.4865 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16.4866 + ;;
16.4867 + *)
16.4868 + ;;
16.4869 + esac
16.4870 + ;;
16.4871 + psos*)
16.4872 + ;;
16.4873 + sco*)
16.4874 + case $cc_basename in
16.4875 + CC)
16.4876 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16.4877 + ;;
16.4878 + *)
16.4879 + ;;
16.4880 + esac
16.4881 + ;;
16.4882 + solaris*)
16.4883 + case $cc_basename in
16.4884 + CC)
16.4885 + # Sun C++ 4.2, 5.x and Centerline C++
16.4886 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.4887 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.4888 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
16.4889 + ;;
16.4890 + gcx)
16.4891 + # Green Hills C++ Compiler
16.4892 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
16.4893 + ;;
16.4894 + *)
16.4895 + ;;
16.4896 + esac
16.4897 + ;;
16.4898 + sunos4*)
16.4899 + case $cc_basename in
16.4900 + CC)
16.4901 + # Sun C++ 4.x
16.4902 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
16.4903 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.4904 + ;;
16.4905 + lcc)
16.4906 + # Lucid
16.4907 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
16.4908 + ;;
16.4909 + *)
16.4910 + ;;
16.4911 + esac
16.4912 + ;;
16.4913 + tandem*)
16.4914 + case $cc_basename in
16.4915 + NCC)
16.4916 + # NonStop-UX NCC 3.20
16.4917 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.4918 + ;;
16.4919 + *)
16.4920 + ;;
16.4921 + esac
16.4922 + ;;
16.4923 + unixware*)
16.4924 + ;;
16.4925 + vxworks*)
16.4926 + ;;
16.4927 + *)
16.4928 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
16.4929 + ;;
16.4930 + esac
16.4931 + fi
16.4932 +],
16.4933 +[
16.4934 + if test "$GCC" = yes; then
16.4935 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.4936 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
16.4937 +
16.4938 + case $host_os in
16.4939 + aix*)
16.4940 + # All AIX code is PIC.
16.4941 + if test "$host_cpu" = ia64; then
16.4942 + # AIX 5 now supports IA64 processor
16.4943 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.4944 + fi
16.4945 + ;;
16.4946 +
16.4947 + amigaos*)
16.4948 + # FIXME: we need at least 68020 code to build shared libraries, but
16.4949 + # adding the `-m68020' flag to GCC prevents building anything better,
16.4950 + # like `-m68040'.
16.4951 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
16.4952 + ;;
16.4953 +
16.4954 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16.4955 + # PIC is the default for these OSes.
16.4956 + ;;
16.4957 +
16.4958 + mingw* | pw32* | os2*)
16.4959 + # This hack is so that the source file can tell whether it is being
16.4960 + # built for inclusion in a dll (and should export symbols for example).
16.4961 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
16.4962 + ;;
16.4963 +
16.4964 + darwin* | rhapsody*)
16.4965 + # PIC is the default on this platform
16.4966 + # Common symbols not allowed in MH_DYLIB files
16.4967 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
16.4968 + ;;
16.4969 +
16.4970 + msdosdjgpp*)
16.4971 + # Just because we use GCC doesn't mean we suddenly get shared libraries
16.4972 + # on systems that don't support them.
16.4973 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
16.4974 + enable_shared=no
16.4975 + ;;
16.4976 +
16.4977 + sysv4*MP*)
16.4978 + if test -d /usr/nec; then
16.4979 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
16.4980 + fi
16.4981 + ;;
16.4982 +
16.4983 + hpux*)
16.4984 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16.4985 + # not for PA HP-UX.
16.4986 + case "$host_cpu" in
16.4987 + hppa*64*|ia64*)
16.4988 + # +Z the default
16.4989 + ;;
16.4990 + *)
16.4991 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16.4992 + ;;
16.4993 + esac
16.4994 + ;;
16.4995 +
16.4996 + *)
16.4997 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16.4998 + ;;
16.4999 + esac
16.5000 + else
16.5001 + # PORTME Check for flag to pass linker flags through the system compiler.
16.5002 + case $host_os in
16.5003 + aix*)
16.5004 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5005 + if test "$host_cpu" = ia64; then
16.5006 + # AIX 5 now supports IA64 processor
16.5007 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5008 + else
16.5009 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
16.5010 + fi
16.5011 + ;;
16.5012 +
16.5013 + mingw* | pw32* | os2*)
16.5014 + # This hack is so that the source file can tell whether it is being
16.5015 + # built for inclusion in a dll (and should export symbols for example).
16.5016 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
16.5017 + ;;
16.5018 +
16.5019 + hpux9* | hpux10* | hpux11*)
16.5020 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5021 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16.5022 + # not for PA HP-UX.
16.5023 + case "$host_cpu" in
16.5024 + hppa*64*|ia64*)
16.5025 + # +Z the default
16.5026 + ;;
16.5027 + *)
16.5028 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
16.5029 + ;;
16.5030 + esac
16.5031 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
16.5032 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
16.5033 + ;;
16.5034 +
16.5035 + irix5* | irix6* | nonstopux*)
16.5036 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5037 + # PIC (with -KPIC) is the default.
16.5038 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16.5039 + ;;
16.5040 +
16.5041 + newsos6)
16.5042 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.5043 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5044 + ;;
16.5045 +
16.5046 + linux*)
16.5047 + case $CC in
16.5048 + icc* | ecc*)
16.5049 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5050 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.5051 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
16.5052 + ;;
16.5053 + ccc*)
16.5054 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5055 + # All Alpha code is PIC.
16.5056 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16.5057 + ;;
16.5058 + esac
16.5059 + ;;
16.5060 +
16.5061 + osf3* | osf4* | osf5*)
16.5062 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5063 + # All OSF/1 code is PIC.
16.5064 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16.5065 + ;;
16.5066 +
16.5067 + sco3.2v5*)
16.5068 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
16.5069 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
16.5070 + ;;
16.5071 +
16.5072 + solaris*)
16.5073 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5074 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.5075 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5076 + ;;
16.5077 +
16.5078 + sunos4*)
16.5079 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
16.5080 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
16.5081 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5082 + ;;
16.5083 +
16.5084 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16.5085 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16.5086 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16.5087 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5088 + ;;
16.5089 +
16.5090 + sysv4*MP*)
16.5091 + if test -d /usr/nec ;then
16.5092 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
16.5093 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5094 + fi
16.5095 + ;;
16.5096 +
16.5097 + uts4*)
16.5098 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
16.5099 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16.5100 + ;;
16.5101 +
16.5102 + *)
16.5103 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
16.5104 + ;;
16.5105 + esac
16.5106 + fi
16.5107 +])
16.5108 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
16.5109 +
16.5110 +#
16.5111 +# Check to make sure the PIC flag actually works.
16.5112 +#
16.5113 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
16.5114 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
16.5115 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
16.5116 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
16.5117 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
16.5118 + "" | " "*) ;;
16.5119 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
16.5120 + esac],
16.5121 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
16.5122 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
16.5123 +fi
16.5124 +case "$host_os" in
16.5125 + # For platforms which do not support PIC, -DPIC is meaningless:
16.5126 + *djgpp*)
16.5127 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
16.5128 + ;;
16.5129 + *)
16.5130 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
16.5131 + ;;
16.5132 +esac
16.5133 +])
16.5134 +m4trace:m4/libtool.m4:4989: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
16.5135 +ifelse([$1],[CXX],[
16.5136 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16.5137 + case $host_os in
16.5138 + aix4* | aix5*)
16.5139 + # If we're using GNU nm, then we don't want the "-C" option.
16.5140 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
16.5141 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16.5142 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
16.5143 + else
16.5144 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
16.5145 + fi
16.5146 + ;;
16.5147 + pw32*)
16.5148 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
16.5149 + ;;
16.5150 + cygwin* | mingw*)
16.5151 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
16.5152 + ;;
16.5153 + linux*)
16.5154 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
16.5155 + ;;
16.5156 + *)
16.5157 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16.5158 + ;;
16.5159 + esac
16.5160 +],[
16.5161 + runpath_var=
16.5162 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
16.5163 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
16.5164 + _LT_AC_TAGVAR(archive_cmds, $1)=
16.5165 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
16.5166 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
16.5167 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
16.5168 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
16.5169 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16.5170 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
16.5171 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
16.5172 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
16.5173 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16.5174 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.5175 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
16.5176 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
16.5177 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
16.5178 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
16.5179 + _LT_AC_TAGVAR(module_cmds, $1)=
16.5180 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
16.5181 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
16.5182 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16.5183 + # include_expsyms should be a list of space-separated symbols to be *always*
16.5184 + # included in the symbol list
16.5185 + _LT_AC_TAGVAR(include_expsyms, $1)=
16.5186 + # exclude_expsyms can be an extended regexp of symbols to exclude
16.5187 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
16.5188 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16.5189 + # as well as any symbol that contains `d'.
16.5190 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
16.5191 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16.5192 + # platforms (ab)use it in PIC code, but their linkers get confused if
16.5193 + # the symbol is explicitly referenced. Since portable code cannot
16.5194 + # rely on this symbol name, it's probably fine to never include it in
16.5195 + # preloaded symbol tables.
16.5196 + extract_expsyms_cmds=
16.5197 +
16.5198 + case $host_os in
16.5199 + cygwin* | mingw* | pw32*)
16.5200 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
16.5201 + # When not using gcc, we currently assume that we are using
16.5202 + # Microsoft Visual C++.
16.5203 + if test "$GCC" != yes; then
16.5204 + with_gnu_ld=no
16.5205 + fi
16.5206 + ;;
16.5207 + openbsd*)
16.5208 + with_gnu_ld=no
16.5209 + ;;
16.5210 + esac
16.5211 +
16.5212 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
16.5213 + if test "$with_gnu_ld" = yes; then
16.5214 + # If archive_cmds runs LD, not CC, wlarc should be empty
16.5215 + wlarc='${wl}'
16.5216 +
16.5217 + # See if GNU ld supports shared libraries.
16.5218 + case $host_os in
16.5219 + aix3* | aix4* | aix5*)
16.5220 + # On AIX/PPC, the GNU linker is very broken
16.5221 + if test "$host_cpu" != ia64; then
16.5222 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5223 + cat <<EOF 1>&2
16.5224 +
16.5225 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16.5226 +*** to be unable to reliably create shared libraries on AIX.
16.5227 +*** Therefore, libtool is disabling shared libraries support. If you
16.5228 +*** really care for shared libraries, you may want to modify your PATH
16.5229 +*** so that a non-GNU linker is found, and then restart.
16.5230 +
16.5231 +EOF
16.5232 + fi
16.5233 + ;;
16.5234 +
16.5235 + amigaos*)
16.5236 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16.5237 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5238 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5239 +
16.5240 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16.5241 + # that the semantics of dynamic libraries on AmigaOS, at least up
16.5242 + # to version 4, is to share data among multiple programs linked
16.5243 + # with the same dynamic library. Since this doesn't match the
16.5244 + # behavior of shared libraries on other platforms, we can't use
16.5245 + # them.
16.5246 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5247 + ;;
16.5248 +
16.5249 + beos*)
16.5250 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16.5251 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16.5252 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16.5253 + # support --undefined. This deserves some investigation. FIXME
16.5254 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.5255 + else
16.5256 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5257 + fi
16.5258 + ;;
16.5259 +
16.5260 + cygwin* | mingw* | pw32*)
16.5261 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
16.5262 + # as there is no search path for DLLs.
16.5263 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5264 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16.5265 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
16.5266 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
16.5267 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
16.5268 +
16.5269 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16.5270 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16.5271 + # If the export-symbols file already is a .def file (1st line
16.5272 + # is EXPORTS), use it as is; otherwise, prepend...
16.5273 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16.5274 + cp $export_symbols $output_objdir/$soname.def;
16.5275 + else
16.5276 + echo EXPORTS > $output_objdir/$soname.def;
16.5277 + cat $export_symbols >> $output_objdir/$soname.def;
16.5278 + fi~
16.5279 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16.5280 + else
16.5281 + ld_shlibs=no
16.5282 + fi
16.5283 + ;;
16.5284 +
16.5285 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16.5286 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16.5287 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16.5288 + wlarc=
16.5289 + else
16.5290 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.5291 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16.5292 + fi
16.5293 + ;;
16.5294 +
16.5295 + solaris* | sysv5*)
16.5296 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16.5297 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5298 + cat <<EOF 1>&2
16.5299 +
16.5300 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16.5301 +*** create shared libraries on Solaris systems. Therefore, libtool
16.5302 +*** is disabling shared libraries support. We urge you to upgrade GNU
16.5303 +*** binutils to release 2.9.1 or newer. Another option is to modify
16.5304 +*** your PATH or compiler configuration so that the native linker is
16.5305 +*** used, and then restart.
16.5306 +
16.5307 +EOF
16.5308 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16.5309 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.5310 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16.5311 + else
16.5312 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5313 + fi
16.5314 + ;;
16.5315 +
16.5316 + sunos4*)
16.5317 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16.5318 + wlarc=
16.5319 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5320 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5321 + ;;
16.5322 +
16.5323 + linux*)
16.5324 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16.5325 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.5326 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
16.5327 + supports_anon_versioning=no
16.5328 + case `$LD -v 2>/dev/null` in
16.5329 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
16.5330 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16.5331 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16.5332 + *\ 2.11.*) ;; # other 2.11 versions
16.5333 + *) supports_anon_versioning=yes ;;
16.5334 + esac
16.5335 + if test $supports_anon_versioning = yes; then
16.5336 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
16.5337 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16.5338 +$echo "local: *; };" >> $output_objdir/$libname.ver~
16.5339 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16.5340 + else
16.5341 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
16.5342 + fi
16.5343 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
16.5344 + else
16.5345 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5346 + fi
16.5347 + ;;
16.5348 +
16.5349 + *)
16.5350 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16.5351 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16.5352 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16.5353 + else
16.5354 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5355 + fi
16.5356 + ;;
16.5357 + esac
16.5358 +
16.5359 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
16.5360 + runpath_var=LD_RUN_PATH
16.5361 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
16.5362 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
16.5363 + # ancient GNU ld didn't support --whole-archive et. al.
16.5364 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16.5365 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16.5366 + else
16.5367 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16.5368 + fi
16.5369 + fi
16.5370 + else
16.5371 + # PORTME fill in a description of your system's linker (not GNU ld)
16.5372 + case $host_os in
16.5373 + aix3*)
16.5374 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16.5375 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16.5376 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16.5377 + # Note: this linker hardcodes the directories in LIBPATH if there
16.5378 + # are no directories specified by -L.
16.5379 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5380 + if test "$GCC" = yes && test -z "$link_static_flag"; then
16.5381 + # Neither direct hardcoding nor static linking is supported with a
16.5382 + # broken collect2.
16.5383 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
16.5384 + fi
16.5385 + ;;
16.5386 +
16.5387 + aix4* | aix5*)
16.5388 + if test "$host_cpu" = ia64; then
16.5389 + # On IA64, the linker does run time linking by default, so we don't
16.5390 + # have to do anything special.
16.5391 + aix_use_runtimelinking=no
16.5392 + exp_sym_flag='-Bexport'
16.5393 + no_entry_flag=""
16.5394 + else
16.5395 + # If we're using GNU nm, then we don't want the "-C" option.
16.5396 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
16.5397 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16.5398 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
16.5399 + else
16.5400 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
16.5401 + fi
16.5402 + aix_use_runtimelinking=no
16.5403 +
16.5404 + # Test if we are trying to use run time linking or normal
16.5405 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16.5406 + # need to do runtime linking.
16.5407 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
16.5408 + for ld_flag in $LDFLAGS; do
16.5409 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16.5410 + aix_use_runtimelinking=yes
16.5411 + break
16.5412 + fi
16.5413 + done
16.5414 + esac
16.5415 +
16.5416 + exp_sym_flag='-bexport'
16.5417 + no_entry_flag='-bnoentry'
16.5418 + fi
16.5419 +
16.5420 + # When large executables or shared objects are built, AIX ld can
16.5421 + # have problems creating the table of contents. If linking a library
16.5422 + # or program results in "error TOC overflow" add -mminimal-toc to
16.5423 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16.5424 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16.5425 +
16.5426 + _LT_AC_TAGVAR(archive_cmds, $1)=''
16.5427 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5428 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
16.5429 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.5430 +
16.5431 + if test "$GCC" = yes; then
16.5432 + case $host_os in aix4.[012]|aix4.[012].*)
16.5433 + # We only want to do this on AIX 4.2 and lower, the check
16.5434 + # below for broken collect2 doesn't work under 4.3+
16.5435 + collect2name=`${CC} -print-prog-name=collect2`
16.5436 + if test -f "$collect2name" && \
16.5437 + strings "$collect2name" | grep resolve_lib_name >/dev/null
16.5438 + then
16.5439 + # We have reworked collect2
16.5440 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5441 + else
16.5442 + # We have old collect2
16.5443 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
16.5444 + # It fails to find uninstalled libraries when the uninstalled
16.5445 + # path is not listed in the libpath. Setting hardcode_minus_L
16.5446 + # to unsupported forces relinking
16.5447 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5448 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5449 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16.5450 + fi
16.5451 + esac
16.5452 + shared_flag='-shared'
16.5453 + else
16.5454 + # not using gcc
16.5455 + if test "$host_cpu" = ia64; then
16.5456 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16.5457 + # chokes on -Wl,-G. The following line is correct:
16.5458 + shared_flag='-G'
16.5459 + else
16.5460 + if test "$aix_use_runtimelinking" = yes; then
16.5461 + shared_flag='${wl}-G'
16.5462 + else
16.5463 + shared_flag='${wl}-bM:SRE'
16.5464 + fi
16.5465 + fi
16.5466 + fi
16.5467 +
16.5468 + # It seems that -bexpall does not export symbols beginning with
16.5469 + # underscore (_), so it is better to generate a list of symbols to export.
16.5470 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16.5471 + if test "$aix_use_runtimelinking" = yes; then
16.5472 + # Warning - without using the other runtime loading flags (-brtl),
16.5473 + # -berok will link without error, but may produce a broken library.
16.5474 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
16.5475 + # Determine the default libpath from the value encoded in an empty executable.
16.5476 + _LT_AC_SYS_LIBPATH_AIX
16.5477 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
16.5478 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16.5479 + else
16.5480 + if test "$host_cpu" = ia64; then
16.5481 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
16.5482 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
16.5483 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16.5484 + else
16.5485 + # Determine the default libpath from the value encoded in an empty executable.
16.5486 + _LT_AC_SYS_LIBPATH_AIX
16.5487 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
16.5488 + # Warning - without using the other run time loading flags,
16.5489 + # -berok will link without error, but may produce a broken library.
16.5490 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
16.5491 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
16.5492 + # -bexpall does not export symbols beginning with underscore (_)
16.5493 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16.5494 + # Exported symbols can be pulled into shared objects from archives
16.5495 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
16.5496 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16.5497 + # This is similar to how AIX traditionally builds it's shared libraries.
16.5498 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16.5499 + fi
16.5500 + fi
16.5501 + ;;
16.5502 +
16.5503 + amigaos*)
16.5504 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16.5505 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5506 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5507 + # see comment about different semantics on the GNU ld section
16.5508 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5509 + ;;
16.5510 +
16.5511 + bsdi4*)
16.5512 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
16.5513 + ;;
16.5514 +
16.5515 + cygwin* | mingw* | pw32*)
16.5516 + # When not using gcc, we currently assume that we are using
16.5517 + # Microsoft Visual C++.
16.5518 + # hardcode_libdir_flag_spec is actually meaningless, as there is
16.5519 + # no search path for DLLs.
16.5520 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
16.5521 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16.5522 + # Tell ltmain to make .lib files, not .a files.
16.5523 + libext=lib
16.5524 + # Tell ltmain to make .dll files, not .so files.
16.5525 + shrext_cmds=".dll"
16.5526 + # FIXME: Setting linknames here is a bad hack.
16.5527 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16.5528 + # The linker will automatically build a .lib file if we build a DLL.
16.5529 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
16.5530 + # FIXME: Should let the user specify the lib program.
16.5531 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
16.5532 + fix_srcfile_path='`cygpath -w "$srcfile"`'
16.5533 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
16.5534 + ;;
16.5535 +
16.5536 + darwin* | rhapsody*)
16.5537 + if test "$GXX" = yes ; then
16.5538 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.5539 + case "$host_os" in
16.5540 + rhapsody* | darwin1.[[012]])
16.5541 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
16.5542 + ;;
16.5543 + *) # Darwin 1.3 on
16.5544 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16.5545 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
16.5546 + else
16.5547 + case ${MACOSX_DEPLOYMENT_TARGET} in
16.5548 + 10.[[012]])
16.5549 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
16.5550 + ;;
16.5551 + 10.*)
16.5552 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
16.5553 + ;;
16.5554 + esac
16.5555 + fi
16.5556 + ;;
16.5557 + esac
16.5558 + lt_int_apple_cc_single_mod=no
16.5559 + output_verbose_link_cmd='echo'
16.5560 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16.5561 + lt_int_apple_cc_single_mod=yes
16.5562 + fi
16.5563 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16.5564 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16.5565 + else
16.5566 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16.5567 + fi
16.5568 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16.5569 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16.5570 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16.5571 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.5572 + else
16.5573 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.5574 + fi
16.5575 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16.5576 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.5577 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
16.5578 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
16.5579 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
16.5580 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.5581 + else
16.5582 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5583 + fi
16.5584 + ;;
16.5585 +
16.5586 + dgux*)
16.5587 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5588 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5589 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5590 + ;;
16.5591 +
16.5592 + freebsd1*)
16.5593 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5594 + ;;
16.5595 +
16.5596 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16.5597 + # support. Future versions do this automatically, but an explicit c++rt0.o
16.5598 + # does not break anything, and helps significantly (at the cost of a little
16.5599 + # extra space).
16.5600 + freebsd2.2*)
16.5601 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16.5602 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.5603 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5604 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5605 + ;;
16.5606 +
16.5607 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16.5608 + freebsd2*)
16.5609 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16.5610 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5611 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5612 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5613 + ;;
16.5614 +
16.5615 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16.5616 + freebsd* | kfreebsd*-gnu)
16.5617 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16.5618 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.5619 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5620 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5621 + ;;
16.5622 +
16.5623 + hpux9*)
16.5624 + if test "$GCC" = yes; then
16.5625 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16.5626 + else
16.5627 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16.5628 + fi
16.5629 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16.5630 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5631 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5632 +
16.5633 + # hardcode_minus_L: Not really in the search PATH,
16.5634 + # but as the default location of the library.
16.5635 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5636 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16.5637 + ;;
16.5638 +
16.5639 + hpux10* | hpux11*)
16.5640 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16.5641 + case "$host_cpu" in
16.5642 + hppa*64*|ia64*)
16.5643 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16.5644 + ;;
16.5645 + *)
16.5646 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16.5647 + ;;
16.5648 + esac
16.5649 + else
16.5650 + case "$host_cpu" in
16.5651 + hppa*64*|ia64*)
16.5652 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5653 + ;;
16.5654 + *)
16.5655 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16.5656 + ;;
16.5657 + esac
16.5658 + fi
16.5659 + if test "$with_gnu_ld" = no; then
16.5660 + case "$host_cpu" in
16.5661 + hppa*64*)
16.5662 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16.5663 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
16.5664 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5665 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.5666 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5667 + ;;
16.5668 + ia64*)
16.5669 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5670 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.5671 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5672 +
16.5673 + # hardcode_minus_L: Not really in the search PATH,
16.5674 + # but as the default location of the library.
16.5675 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5676 + ;;
16.5677 + *)
16.5678 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16.5679 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5680 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5681 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16.5682 +
16.5683 + # hardcode_minus_L: Not really in the search PATH,
16.5684 + # but as the default location of the library.
16.5685 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5686 + ;;
16.5687 + esac
16.5688 + fi
16.5689 + ;;
16.5690 +
16.5691 + irix5* | irix6* | nonstopux*)
16.5692 + if test "$GCC" = yes; then
16.5693 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16.5694 + else
16.5695 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16.5696 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
16.5697 + fi
16.5698 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.5699 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5700 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.5701 + ;;
16.5702 +
16.5703 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16.5704 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16.5705 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16.5706 + else
16.5707 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16.5708 + fi
16.5709 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.5710 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5711 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5712 + ;;
16.5713 +
16.5714 + newsos6)
16.5715 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5716 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5717 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.5718 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5719 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5720 + ;;
16.5721 +
16.5722 + openbsd*)
16.5723 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5724 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5725 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16.5726 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16.5727 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16.5728 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16.5729 + else
16.5730 + case $host_os in
16.5731 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
16.5732 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16.5733 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.5734 + ;;
16.5735 + *)
16.5736 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16.5737 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16.5738 + ;;
16.5739 + esac
16.5740 + fi
16.5741 + ;;
16.5742 +
16.5743 + os2*)
16.5744 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5745 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5746 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16.5747 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16.5748 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16.5749 + ;;
16.5750 +
16.5751 + osf3*)
16.5752 + if test "$GCC" = yes; then
16.5753 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16.5754 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16.5755 + else
16.5756 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
16.5757 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16.5758 + fi
16.5759 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.5760 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5761 + ;;
16.5762 +
16.5763 + osf4* | osf5*) # as osf3* with the addition of -msym flag
16.5764 + if test "$GCC" = yes; then
16.5765 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16.5766 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16.5767 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16.5768 + else
16.5769 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
16.5770 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16.5771 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16.5772 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16.5773 +
16.5774 + # Both c and cxx compiler support -rpath directly
16.5775 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
16.5776 + fi
16.5777 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16.5778 + ;;
16.5779 +
16.5780 + sco3.2v5*)
16.5781 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5782 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5783 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
16.5784 + runpath_var=LD_RUN_PATH
16.5785 + hardcode_runpath_var=yes
16.5786 + ;;
16.5787 +
16.5788 + solaris*)
16.5789 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
16.5790 + if test "$GCC" = yes; then
16.5791 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16.5792 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16.5793 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16.5794 + else
16.5795 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5796 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16.5797 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16.5798 + fi
16.5799 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16.5800 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5801 + case $host_os in
16.5802 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
16.5803 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16.5804 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
16.5805 + esac
16.5806 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16.5807 + ;;
16.5808 +
16.5809 + sunos4*)
16.5810 + if test "x$host_vendor" = xsequent; then
16.5811 + # Use $CC to link under sequent, because it throws in some extra .o
16.5812 + # files that make .init and .fini sections work.
16.5813 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16.5814 + else
16.5815 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16.5816 + fi
16.5817 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5818 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5819 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16.5820 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5821 + ;;
16.5822 +
16.5823 + sysv4)
16.5824 + case $host_vendor in
16.5825 + sni)
16.5826 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5827 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
16.5828 + ;;
16.5829 + siemens)
16.5830 + ## LD is ld it makes a PLAMLIB
16.5831 + ## CC just makes a GrossModule.
16.5832 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16.5833 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
16.5834 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
16.5835 + ;;
16.5836 + motorola)
16.5837 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5838 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
16.5839 + ;;
16.5840 + esac
16.5841 + runpath_var='LD_RUN_PATH'
16.5842 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5843 + ;;
16.5844 +
16.5845 + sysv4.3*)
16.5846 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5847 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5848 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
16.5849 + ;;
16.5850 +
16.5851 + sysv4*MP*)
16.5852 + if test -d /usr/nec; then
16.5853 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5854 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5855 + runpath_var=LD_RUN_PATH
16.5856 + hardcode_runpath_var=yes
16.5857 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
16.5858 + fi
16.5859 + ;;
16.5860 +
16.5861 + sysv4.2uw2*)
16.5862 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16.5863 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16.5864 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
16.5865 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5866 + hardcode_runpath_var=yes
16.5867 + runpath_var=LD_RUN_PATH
16.5868 + ;;
16.5869 +
16.5870 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
16.5871 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
16.5872 + if test "$GCC" = yes; then
16.5873 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16.5874 + else
16.5875 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16.5876 + fi
16.5877 + runpath_var='LD_RUN_PATH'
16.5878 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5879 + ;;
16.5880 +
16.5881 + sysv5*)
16.5882 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
16.5883 + # $CC -shared without GNU ld will not create a library from C++
16.5884 + # object files and a static libstdc++, better avoid it by now
16.5885 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5886 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16.5887 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16.5888 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
16.5889 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5890 + runpath_var='LD_RUN_PATH'
16.5891 + ;;
16.5892 +
16.5893 + uts4*)
16.5894 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16.5895 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16.5896 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16.5897 + ;;
16.5898 +
16.5899 + *)
16.5900 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
16.5901 + ;;
16.5902 + esac
16.5903 + fi
16.5904 +])
16.5905 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
16.5906 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
16.5907 +
16.5908 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16.5909 +if test "$GCC" = yes; then
16.5910 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16.5911 +fi
16.5912 +
16.5913 +#
16.5914 +# Do we need to explicitly link libc?
16.5915 +#
16.5916 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
16.5917 +x|xyes)
16.5918 + # Assume -lc should be added
16.5919 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16.5920 +
16.5921 + if test "$enable_shared" = yes && test "$GCC" = yes; then
16.5922 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
16.5923 + *'~'*)
16.5924 + # FIXME: we may have to deal with multi-command sequences.
16.5925 + ;;
16.5926 + '$CC '*)
16.5927 + # Test whether the compiler implicitly links with -lc since on some
16.5928 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
16.5929 + # to ld, don't add -lc before -lgcc.
16.5930 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
16.5931 + $rm conftest*
16.5932 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16.5933 +
16.5934 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
16.5935 + soname=conftest
16.5936 + lib=conftest
16.5937 + libobjs=conftest.$ac_objext
16.5938 + deplibs=
16.5939 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
16.5940 + compiler_flags=-v
16.5941 + linker_flags=-v
16.5942 + verstring=
16.5943 + output_objdir=.
16.5944 + libname=conftest
16.5945 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
16.5946 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
16.5947 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
16.5948 + then
16.5949 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16.5950 + else
16.5951 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16.5952 + fi
16.5953 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
16.5954 + else
16.5955 + cat conftest.err 1>&5
16.5956 + fi
16.5957 + $rm conftest*
16.5958 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
16.5959 + ;;
16.5960 + esac
16.5961 + fi
16.5962 + ;;
16.5963 +esac
16.5964 +])
16.5965 +m4trace:m4/libtool.m4:5826: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
16.5966 +# /* ltdll.c starts here */
16.5967 +# #define WIN32_LEAN_AND_MEAN
16.5968 +# #include <windows.h>
16.5969 +# #undef WIN32_LEAN_AND_MEAN
16.5970 +# #include <stdio.h>
16.5971 +#
16.5972 +# #ifndef __CYGWIN__
16.5973 +# # ifdef __CYGWIN32__
16.5974 +# # define __CYGWIN__ __CYGWIN32__
16.5975 +# # endif
16.5976 +# #endif
16.5977 +#
16.5978 +# #ifdef __cplusplus
16.5979 +# extern "C" {
16.5980 +# #endif
16.5981 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
16.5982 +# #ifdef __cplusplus
16.5983 +# }
16.5984 +# #endif
16.5985 +#
16.5986 +# #ifdef __CYGWIN__
16.5987 +# #include <cygwin/cygwin_dll.h>
16.5988 +# DECLARE_CYGWIN_DLL( DllMain );
16.5989 +# #endif
16.5990 +# HINSTANCE __hDllInstance_base;
16.5991 +#
16.5992 +# BOOL APIENTRY
16.5993 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
16.5994 +# {
16.5995 +# __hDllInstance_base = hInst;
16.5996 +# return TRUE;
16.5997 +# }
16.5998 +# /* ltdll.c ends here */
16.5999 +])
16.6000 +m4trace:m4/libtool.m4:5865: -1- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
16.6001 +m4trace:m4/libtool.m4:5869: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
16.6002 +m4trace:m4/libtool.m4:5870: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
16.6003 +m4trace:m4/libtool.m4:5871: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
16.6004 +m4trace:m4/libtool.m4:5872: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
16.6005 +m4trace:m4/libtool.m4:5873: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
16.6006 +m4trace:m4/libtool.m4:5874: -1- AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
16.6007 +m4trace:m4/libtool.m4:5875: -1- AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
16.6008 +m4trace:m4/libtool.m4:5880: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no)
16.6009 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
16.6010 + AC_SUBST(GCJFLAGS)
16.6011 +])
16.6012 +m4trace:m4/libtool.m4:5886: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no)
16.6013 +])
16.6014 +m4trace:m4/libtool.m4:5900: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output])
16.6015 +AC_CACHE_VAL(lt_cv_path_SED,
16.6016 +[# Loop through the user's path and test for sed and gsed.
16.6017 +# Then use that list of sed's as ones to test for truncation.
16.6018 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16.6019 +for as_dir in $PATH
16.6020 +do
16.6021 + IFS=$as_save_IFS
16.6022 + test -z "$as_dir" && as_dir=.
16.6023 + for lt_ac_prog in sed gsed; do
16.6024 + for ac_exec_ext in '' $ac_executable_extensions; do
16.6025 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
16.6026 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
16.6027 + fi
16.6028 + done
16.6029 + done
16.6030 +done
16.6031 +lt_ac_max=0
16.6032 +lt_ac_count=0
16.6033 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
16.6034 +# along with /bin/sed that truncates output.
16.6035 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
16.6036 + test ! -f $lt_ac_sed && break
16.6037 + cat /dev/null > conftest.in
16.6038 + lt_ac_count=0
16.6039 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
16.6040 + # Check for GNU sed and select it if it is found.
16.6041 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
16.6042 + lt_cv_path_SED=$lt_ac_sed
16.6043 + break
16.6044 + fi
16.6045 + while true; do
16.6046 + cat conftest.in conftest.in >conftest.tmp
16.6047 + mv conftest.tmp conftest.in
16.6048 + cp conftest.in conftest.nl
16.6049 + echo >>conftest.nl
16.6050 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
16.6051 + cmp -s conftest.out conftest.nl || break
16.6052 + # 10000 chars as input seems more than enough
16.6053 + test $lt_ac_count -gt 10 && break
16.6054 + lt_ac_count=`expr $lt_ac_count + 1`
16.6055 + if test $lt_ac_count -gt $lt_ac_max; then
16.6056 + lt_ac_max=$lt_ac_count
16.6057 + lt_cv_path_SED=$lt_ac_sed
16.6058 + fi
16.6059 + done
16.6060 +done
16.6061 +SED=$lt_cv_path_SED
16.6062 +])
16.6063 +AC_MSG_RESULT([$SED])
16.6064 +])
16.6065 +m4trace:m4/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
16.6066 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
16.6067 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
16.6068 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16.6069 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
16.6070 +fi
16.6071 +if test -n "$PKG_CONFIG"; then
16.6072 + _pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
16.6073 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
16.6074 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16.6075 + AC_MSG_RESULT([yes])
16.6076 + else
16.6077 + AC_MSG_RESULT([no])
16.6078 + PKG_CONFIG=""
16.6079 + fi
16.6080 +
16.6081 +fi[]dnl
16.6082 +])
16.6083 +m4trace:m4/pkg.m4:72: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
16.6084 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
16.6085 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
16.6086 +
16.6087 +pkg_failed=no
16.6088 +AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
16.6089 + [_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])])
16.6090 +AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
16.6091 + [_PKG_CONFIG([$1][_LIBS], [libs], [$2])])
16.6092 +
16.6093 +if test $pkg_failed = yes; then
16.6094 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
16.6095 + # Put the nasty error message in config.log where it belongs
16.6096 + echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
16.6097 +
16.6098 + ifelse([$4], , [AC_MSG_ERROR(dnl
16.6099 +[Package requirements ($2) were not met.
16.6100 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
16.6101 +installed software in a non-standard prefix.
16.6102 +
16.6103 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
16.6104 +to avoid the need to call pkg-config. See the pkg-config man page for
16.6105 +more details.])],
16.6106 + [$4])
16.6107 +elif test $pkg_failed = untried; then
16.6108 + ifelse([$4], , [AC_MSG_FAILURE(dnl
16.6109 +[The pkg-config script could not be found or is too old. Make sure it
16.6110 +is in your PATH or set the PKG_CONFIG environment variable to the full
16.6111 +path to pkg-config.
16.6112 +
16.6113 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
16.6114 +to avoid the need to call pkg-config. See the pkg-config man page for
16.6115 +more details.
16.6116 +
16.6117 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
16.6118 + [$4])
16.6119 +else
16.6120 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
16.6121 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
16.6122 + ifelse([$3], , :, [$3])
16.6123 +fi[]dnl
16.6124 +])
16.6125 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
16.6126 +m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
16.6127 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
16.6128 +m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
16.6129 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
16.6130 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
16.6131 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
16.6132 +m4trace:configure.ac:3: -1- m4_pattern_allow([^SHELL$])
16.6133 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PATH_SEPARATOR$])
16.6134 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
16.6135 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
16.6136 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
16.6137 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
16.6138 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
16.6139 +m4trace:configure.ac:3: -1- m4_pattern_allow([^exec_prefix$])
16.6140 +m4trace:configure.ac:3: -1- m4_pattern_allow([^prefix$])
16.6141 +m4trace:configure.ac:3: -1- m4_pattern_allow([^program_transform_name$])
16.6142 +m4trace:configure.ac:3: -1- m4_pattern_allow([^bindir$])
16.6143 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sbindir$])
16.6144 +m4trace:configure.ac:3: -1- m4_pattern_allow([^libexecdir$])
16.6145 +m4trace:configure.ac:3: -1- m4_pattern_allow([^datarootdir$])
16.6146 +m4trace:configure.ac:3: -1- m4_pattern_allow([^datadir$])
16.6147 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sysconfdir$])
16.6148 +m4trace:configure.ac:3: -1- m4_pattern_allow([^sharedstatedir$])
16.6149 +m4trace:configure.ac:3: -1- m4_pattern_allow([^localstatedir$])
16.6150 +m4trace:configure.ac:3: -1- m4_pattern_allow([^includedir$])
16.6151 +m4trace:configure.ac:3: -1- m4_pattern_allow([^oldincludedir$])
16.6152 +m4trace:configure.ac:3: -1- m4_pattern_allow([^docdir$])
16.6153 +m4trace:configure.ac:3: -1- m4_pattern_allow([^infodir$])
16.6154 +m4trace:configure.ac:3: -1- m4_pattern_allow([^htmldir$])
16.6155 +m4trace:configure.ac:3: -1- m4_pattern_allow([^dvidir$])
16.6156 +m4trace:configure.ac:3: -1- m4_pattern_allow([^pdfdir$])
16.6157 +m4trace:configure.ac:3: -1- m4_pattern_allow([^psdir$])
16.6158 +m4trace:configure.ac:3: -1- m4_pattern_allow([^libdir$])
16.6159 +m4trace:configure.ac:3: -1- m4_pattern_allow([^localedir$])
16.6160 +m4trace:configure.ac:3: -1- m4_pattern_allow([^mandir$])
16.6161 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
16.6162 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
16.6163 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
16.6164 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
16.6165 +m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
16.6166 +m4trace:configure.ac:3: -1- m4_pattern_allow([^DEFS$])
16.6167 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_C$])
16.6168 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_N$])
16.6169 +m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_T$])
16.6170 +m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
16.6171 +m4trace:configure.ac:3: -1- m4_pattern_allow([^build_alias$])
16.6172 +m4trace:configure.ac:3: -1- m4_pattern_allow([^host_alias$])
16.6173 +m4trace:configure.ac:3: -1- m4_pattern_allow([^target_alias$])
16.6174 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build$])
16.6175 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_cpu$])
16.6176 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_vendor$])
16.6177 +m4trace:configure.ac:4: -1- m4_pattern_allow([^build_os$])
16.6178 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host$])
16.6179 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_cpu$])
16.6180 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_vendor$])
16.6181 +m4trace:configure.ac:4: -1- m4_pattern_allow([^host_os$])
16.6182 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target$])
16.6183 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_cpu$])
16.6184 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_vendor$])
16.6185 +m4trace:configure.ac:4: -1- m4_pattern_allow([^target_os$])
16.6186 +m4trace:configure.ac:10: -1- AM_DISABLE_STATIC
16.6187 +m4trace:configure.ac:10: -1- AC_DISABLE_STATIC([])
16.6188 +m4trace:configure.ac:10: -1- AC_ENABLE_STATIC([no])
16.6189 +m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.6190 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.6191 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
16.6192 +m4/libtool.m4:1799: AC_ENABLE_STATIC is expanded from...
16.6193 +m4/libtool.m4:1828: AC_DISABLE_STATIC is expanded from...
16.6194 +m4/libtool.m4:5873: AM_DISABLE_STATIC is expanded from...
16.6195 +configure.ac:10: the top level])
16.6196 +m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
16.6197 +m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
16.6198 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
16.6199 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
16.6200 +m4trace:configure.ac:13: -1- m4_pattern_allow([^MAINT$])
16.6201 +m4trace:configure.ac:17: -1- AS_VERSION([gst-indt-plugins], [GST_PLUGINS_VERSION], [0], [10], [0], [1], [GST_CVS="no"], [GST_CVS="yes"])
16.6202 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION$])
16.6203 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION$])
16.6204 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_RELEASE$])
16.6205 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_RELEASE$])
16.6206 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MAJOR$])
16.6207 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MINOR$])
16.6208 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_MICRO$])
16.6209 +m4trace:configure.ac:17: -1- m4_pattern_allow([^GST_PLUGINS_VERSION_NANO$])
16.6210 +m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$])
16.6211 +m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$])
16.6212 +m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$])
16.6213 +m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$])
16.6214 +m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
16.6215 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
16.6216 +m4trace:configure.ac:19: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
16.6217 +m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.9.6])
16.6218 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
16.6219 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
16.6220 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_DATA$])
16.6221 +m4trace:configure.ac:19: -1- m4_pattern_allow([^CYGPATH_W$])
16.6222 +m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
16.6223 +m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
16.6224 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
16.6225 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
16.6226 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-define])
16.6227 +m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
16.6228 +m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
16.6229 +m4trace:configure.ac:19: -1- AM_SANITY_CHECK
16.6230 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
16.6231 +m4trace:configure.ac:19: -1- AM_MISSING_HAS_RUN
16.6232 +m4trace:configure.ac:19: -1- AM_AUX_DIR_EXPAND
16.6233 +m4trace:configure.ac:19: -1- m4_pattern_allow([^ACLOCAL$])
16.6234 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
16.6235 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOCONF$])
16.6236 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
16.6237 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOMAKE$])
16.6238 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
16.6239 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOHEADER$])
16.6240 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
16.6241 +m4trace:configure.ac:19: -1- m4_pattern_allow([^MAKEINFO$])
16.6242 +m4trace:configure.ac:19: -1- AM_PROG_INSTALL_SH
16.6243 +m4trace:configure.ac:19: -1- m4_pattern_allow([^install_sh$])
16.6244 +m4trace:configure.ac:19: -1- AM_PROG_INSTALL_STRIP
16.6245 +m4trace:configure.ac:19: -1- m4_pattern_allow([^STRIP$])
16.6246 +m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
16.6247 +m4trace:configure.ac:19: -1- AM_PROG_MKDIR_P
16.6248 +m4trace:configure.ac:19: -1- m4_pattern_allow([^mkdir_p$])
16.6249 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AWK$])
16.6250 +m4trace:configure.ac:19: -1- m4_pattern_allow([^SET_MAKE$])
16.6251 +m4trace:configure.ac:19: -1- AM_SET_LEADING_DOT
16.6252 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__leading_dot$])
16.6253 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
16.6254 + [_AM_PROG_TAR([v7])])])
16.6255 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([tar-ustar])
16.6256 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
16.6257 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([tar-pax])
16.6258 +m4trace:configure.ac:19: -1- _AM_PROG_TAR([v7])
16.6259 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AMTAR], [tar])
16.6260 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AMTAR$])
16.6261 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__tar$])
16.6262 +m4trace:configure.ac:19: -1- m4_pattern_allow([^am__untar$])
16.6263 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
16.6264 + [_AM_DEPENDENCIES(CC)],
16.6265 + [define([AC_PROG_CC],
16.6266 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
16.6267 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
16.6268 + [_AM_DEPENDENCIES(CXX)],
16.6269 + [define([AC_PROG_CXX],
16.6270 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
16.6271 +])
16.6272 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-dependencies])
16.6273 +m4trace:configure.ac:21: -1- AM_PROG_LIBTOOL
16.6274 +m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
16.6275 +m4trace:configure.ac:21: -1- _AC_PROG_LIBTOOL
16.6276 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SETUP
16.6277 +m4trace:configure.ac:21: -1- AC_ENABLE_SHARED
16.6278 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.6279 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.6280 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
16.6281 +m4/libtool.m4:1760: AC_ENABLE_SHARED is expanded from...
16.6282 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.6283 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.6284 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.6285 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.6286 +configure.ac:21: the top level])
16.6287 +m4trace:configure.ac:21: -1- AC_ENABLE_FAST_INSTALL
16.6288 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.6289 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.6290 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
16.6291 +m4/libtool.m4:1838: AC_ENABLE_FAST_INSTALL is expanded from...
16.6292 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.6293 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.6294 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.6295 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.6296 +configure.ac:21: the top level])
16.6297 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
16.6298 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CFLAGS$])
16.6299 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
16.6300 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
16.6301 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
16.6302 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
16.6303 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
16.6304 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
16.6305 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CC$])
16.6306 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CC$])
16.6307 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EXEEXT$])
16.6308 +m4trace:configure.ac:21: -1- m4_pattern_allow([^OBJEXT$])
16.6309 +m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CC])
16.6310 +m4trace:configure.ac:21: -1- AM_SET_DEPDIR
16.6311 +m4trace:configure.ac:21: -1- m4_pattern_allow([^DEPDIR$])
16.6312 +m4trace:configure.ac:21: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
16.6313 +m4trace:configure.ac:21: -1- AM_MAKE_INCLUDE
16.6314 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__include$])
16.6315 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__quote$])
16.6316 +m4trace:configure.ac:21: -1- AM_DEP_TRACK
16.6317 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
16.6318 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_TRUE$])
16.6319 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEP_FALSE$])
16.6320 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
16.6321 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CCDEPMODE$])
16.6322 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
16.6323 + test "x$enable_dependency_tracking" != xno \
16.6324 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
16.6325 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
16.6326 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
16.6327 +m4trace:configure.ac:21: -1- AC_PROG_LD
16.6328 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.6329 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.6330 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
16.6331 +m4/libtool.m4:1979: AC_PROG_LD is expanded from...
16.6332 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.6333 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.6334 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.6335 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.6336 +configure.ac:21: the top level])
16.6337 +m4trace:configure.ac:21: -1- LT_AC_PROG_SED
16.6338 +m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
16.6339 +m4trace:configure.ac:21: -1- AC_PROG_EGREP
16.6340 +m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
16.6341 +m4trace:configure.ac:21: -1- m4_pattern_allow([^GREP$])
16.6342 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
16.6343 +m4trace:configure.ac:21: -1- m4_pattern_allow([^EGREP$])
16.6344 +m4trace:configure.ac:21: -1- AC_PROG_LD_RELOAD_FLAG
16.6345 +m4trace:configure.ac:21: -1- AC_PROG_NM
16.6346 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LN_S$])
16.6347 +m4trace:configure.ac:21: -1- AC_DEPLIBS_CHECK_METHOD
16.6348 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_MAX_CMD_LEN
16.6349 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
16.6350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.6351 +m4trace:configure.ac:21: -1- AC_LIBTOOL_OBJDIR
16.6352 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
16.6353 +m4trace:configure.ac:21: -1- _LT_AC_PROG_ECHO_BACKSLASH
16.6354 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([
16.6355 +# Check that we are running under the correct shell.
16.6356 +SHELL=${CONFIG_SHELL-/bin/sh}
16.6357 +
16.6358 +case X$ECHO in
16.6359 +X*--fallback-echo)
16.6360 + # Remove one level of quotation (which was required for Make).
16.6361 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
16.6362 + ;;
16.6363 +esac
16.6364 +
16.6365 +echo=${ECHO-echo}
16.6366 +if test "X[$]1" = X--no-reexec; then
16.6367 + # Discard the --no-reexec flag, and continue.
16.6368 + shift
16.6369 +elif test "X[$]1" = X--fallback-echo; then
16.6370 + # Avoid inline document here, it may be left over
16.6371 + :
16.6372 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
16.6373 + # Yippee, $echo works!
16.6374 + :
16.6375 +else
16.6376 + # Restart under the correct shell.
16.6377 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
16.6378 +fi
16.6379 +
16.6380 +if test "X[$]1" = X--fallback-echo; then
16.6381 + # used as fallback echo
16.6382 + shift
16.6383 + cat <<EOF
16.6384 +[$]*
16.6385 +EOF
16.6386 + exit 0
16.6387 +fi
16.6388 +
16.6389 +# The HP-UX ksh and POSIX shell print the target directory to stdout
16.6390 +# if CDPATH is set.
16.6391 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
16.6392 +
16.6393 +if test -z "$ECHO"; then
16.6394 +if test "X${echo_test_string+set}" != Xset; then
16.6395 +# find a string as large as possible, as long as the shell can cope with it
16.6396 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
16.6397 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
16.6398 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
16.6399 + echo_test_string="`eval $cmd`" &&
16.6400 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
16.6401 + then
16.6402 + break
16.6403 + fi
16.6404 + done
16.6405 +fi
16.6406 +
16.6407 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
16.6408 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
16.6409 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.6410 + :
16.6411 +else
16.6412 + # The Solaris, AIX, and Digital Unix default echo programs unquote
16.6413 + # backslashes. This makes it impossible to quote backslashes using
16.6414 + # echo "$something" | sed 's/\\/\\\\/g'
16.6415 + #
16.6416 + # So, first we look for a working echo in the user's PATH.
16.6417 +
16.6418 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16.6419 + for dir in $PATH /usr/ucb; do
16.6420 + IFS="$lt_save_ifs"
16.6421 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
16.6422 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
16.6423 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
16.6424 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.6425 + echo="$dir/echo"
16.6426 + break
16.6427 + fi
16.6428 + done
16.6429 + IFS="$lt_save_ifs"
16.6430 +
16.6431 + if test "X$echo" = Xecho; then
16.6432 + # We didn't find a better echo, so look for alternatives.
16.6433 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
16.6434 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
16.6435 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.6436 + # This shell has a builtin print -r that does the trick.
16.6437 + echo='print -r'
16.6438 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
16.6439 + test "X$CONFIG_SHELL" != X/bin/ksh; then
16.6440 + # If we have ksh, try running configure again with it.
16.6441 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16.6442 + export ORIGINAL_CONFIG_SHELL
16.6443 + CONFIG_SHELL=/bin/ksh
16.6444 + export CONFIG_SHELL
16.6445 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
16.6446 + else
16.6447 + # Try using printf.
16.6448 + echo='printf %s\n'
16.6449 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
16.6450 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
16.6451 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.6452 + # Cool, printf works
16.6453 + :
16.6454 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
16.6455 + test "X$echo_testing_string" = 'X\t' &&
16.6456 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
16.6457 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.6458 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
16.6459 + export CONFIG_SHELL
16.6460 + SHELL="$CONFIG_SHELL"
16.6461 + export SHELL
16.6462 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
16.6463 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
16.6464 + test "X$echo_testing_string" = 'X\t' &&
16.6465 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
16.6466 + test "X$echo_testing_string" = "X$echo_test_string"; then
16.6467 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
16.6468 + else
16.6469 + # maybe with a smaller string...
16.6470 + prev=:
16.6471 +
16.6472 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
16.6473 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
16.6474 + then
16.6475 + break
16.6476 + fi
16.6477 + prev="$cmd"
16.6478 + done
16.6479 +
16.6480 + if test "$prev" != 'sed 50q "[$]0"'; then
16.6481 + echo_test_string=`eval $prev`
16.6482 + export echo_test_string
16.6483 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
16.6484 + else
16.6485 + # Oops. We lost completely, so just stick with echo.
16.6486 + echo=echo
16.6487 + fi
16.6488 + fi
16.6489 + fi
16.6490 + fi
16.6491 +fi
16.6492 +fi
16.6493 +
16.6494 +# Copy echo and quote the copy suitably for passing to libtool from
16.6495 +# the Makefile, instead of quoting the original, which is used later.
16.6496 +ECHO=$echo
16.6497 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
16.6498 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
16.6499 +fi
16.6500 +
16.6501 +AC_SUBST(ECHO)
16.6502 +])
16.6503 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO$])
16.6504 +m4trace:configure.ac:21: -1- m4_pattern_allow([^AR$])
16.6505 +m4trace:configure.ac:21: -1- m4_pattern_allow([^RANLIB$])
16.6506 +m4trace:configure.ac:21: -1- m4_pattern_allow([^STRIP$])
16.6507 +m4trace:configure.ac:21: -1- AC_PATH_MAGIC
16.6508 +m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
16.6509 +m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
16.6510 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.6511 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.6512 +../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
16.6513 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.6514 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.6515 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.6516 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.6517 +configure.ac:21: the top level])
16.6518 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.6519 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.6520 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
16.6521 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.6522 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.6523 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.6524 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.6525 +configure.ac:21: the top level])
16.6526 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_C_CONFIG
16.6527 +m4trace:configure.ac:21: -1- _LT_AC_LANG_C_CONFIG
16.6528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [])
16.6529 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
16.6530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
16.6538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_cc_can_build_shared], [])
16.6539 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static_works], [])
16.6540 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6541 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, ) works], [lt_prog_compiler_static_works], [$lt_prog_compiler_static], [], [_LT_AC_TAGVAR(lt_prog_compiler_static, )=])
16.6542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6544 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6545 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([])
16.6546 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.6547 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.6548 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
16.6549 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.6550 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.6551 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([])
16.6552 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
16.6562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
16.6599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6602 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [])
16.6603 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, ) works], [lt_prog_compiler_pic_works], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, )ifelse([],[],[ -DPIC],[ifelse([],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, ) in
16.6604 + "" | " "*) ;;
16.6605 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, )=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, )" ;;
16.6606 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, )=
16.6607 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
16.6608 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6612 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6613 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6614 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6615 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
16.6616 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6617 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6618 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6619 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([])
16.6620 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6621 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6623 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6624 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6625 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6626 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6627 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([])
16.6628 +m4trace:configure.ac:21: -1- _LT_AC_LOCK
16.6629 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
16.6630 +You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
16.6631 +../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
16.6632 +../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
16.6633 +../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
16.6634 +m4/libtool.m4:437: _LT_AC_LOCK is expanded from...
16.6635 +m4/libtool.m4:970: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
16.6636 +m4/libtool.m4:2473: _LT_AC_LANG_C_CONFIG is expanded from...
16.6637 +m4/libtool.m4:2472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
16.6638 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.6639 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.6640 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.6641 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.6642 +configure.ac:21: the top level])
16.6643 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6644 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([])
16.6645 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6646 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
16.6647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6649 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
16.6650 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
16.6651 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6652 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6653 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
16.6654 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6655 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
16.6656 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6657 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6658 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6659 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6660 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6661 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
16.6662 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
16.6663 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
16.6664 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
16.6665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.6666 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
16.6667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
16.6668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
16.6680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
16.6681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.6682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6690 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
16.6709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6711 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.6713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.6714 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6715 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6716 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6717 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6718 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6719 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6720 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6721 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6722 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6723 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
16.6724 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6725 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.6726 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6727 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6728 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6729 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6730 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6731 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.6732 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6733 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
16.6734 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6735 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
16.6736 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6737 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6738 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6739 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6740 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6741 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6742 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6743 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6744 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6745 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6746 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6747 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
16.6748 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
16.6749 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
16.6750 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6751 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6752 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6753 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6754 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6755 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6756 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6757 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
16.6758 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6759 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6760 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
16.6761 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6762 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
16.6763 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6764 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6765 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6766 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6767 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6768 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6769 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6770 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6771 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6772 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6773 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6774 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6775 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6776 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6777 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6778 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6779 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6780 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6781 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6782 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6783 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6784 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6785 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6786 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6787 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6788 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6789 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6790 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6791 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6792 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6793 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6794 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6795 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
16.6796 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6797 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6798 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6799 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6800 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6801 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6802 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6803 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6804 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6805 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6806 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6807 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6808 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6809 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6810 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
16.6811 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6812 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6813 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6814 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6815 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6816 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6817 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6818 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6819 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6820 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6821 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6822 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6823 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6824 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6825 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6826 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6827 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6828 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6829 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6830 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6831 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6832 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6833 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6834 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6835 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6836 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6837 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
16.6838 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6839 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6840 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6841 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6842 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6843 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6844 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6845 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6846 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6847 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6848 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6849 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6850 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6851 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6852 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6853 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6854 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6855 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
16.6856 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6857 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6858 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6859 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6860 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6861 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6862 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6863 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6864 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6865 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6866 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6867 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6868 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6869 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6870 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6871 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6872 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6873 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [])
16.6874 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6875 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6876 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6877 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6878 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6879 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6880 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6881 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6882 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6883 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6884 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6885 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6886 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6887 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6888 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
16.6889 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6890 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6891 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6892 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
16.6893 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6894 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6895 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6896 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6897 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6898 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6899 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6900 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6901 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6902 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6903 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6904 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6905 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6906 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6907 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6908 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6909 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6910 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [])
16.6911 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6912 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6913 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6914 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6915 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6916 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([])
16.6917 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([])
16.6918 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6919 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6920 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var ])
16.6921 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
16.6922 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6923 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.6924 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6925 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6926 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6927 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6928 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6929 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.6930 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
16.6931 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([])
16.6932 +m4trace:configure.ac:21: -1- _LT_AC_CHECK_DLFCN
16.6933 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
16.6934 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
16.6935 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPP$])
16.6936 +m4trace:configure.ac:21: -1- m4_pattern_allow([^STDC_HEADERS$])
16.6937 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
16.6938 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
16.6939 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6940 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6941 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6942 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6943 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6944 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6945 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
16.6946 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6947 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
16.6948 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.6949 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
16.6950 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.6951 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6952 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.6953 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
16.6954 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([])
16.6955 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
16.6956 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [])
16.6957 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
16.6958 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.6959 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.6960 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.6961 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.6962 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.6963 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
16.6964 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.6965 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
16.6966 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
16.6967 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
16.6968 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
16.6969 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
16.6970 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
16.6971 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
16.6972 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
16.6973 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6974 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6975 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [])
16.6976 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [])
16.6977 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
16.6978 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.6979 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
16.6980 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.6981 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.6982 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
16.6983 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.6984 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
16.6985 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
16.6986 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
16.6987 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.6988 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
16.6989 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
16.6990 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
16.6991 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
16.6992 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.6993 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.6994 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
16.6995 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
16.6996 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
16.6997 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.6998 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
16.6999 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
16.7000 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
16.7001 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [])
16.7002 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
16.7003 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
16.7004 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
16.7005 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
16.7006 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
16.7007 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
16.7008 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
16.7009 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
16.7010 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
16.7011 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
16.7012 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
16.7013 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
16.7014 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
16.7015 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
16.7016 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
16.7017 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
16.7018 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
16.7019 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
16.7020 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
16.7021 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
16.7022 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
16.7023 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
16.7024 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
16.7025 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
16.7026 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
16.7027 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
16.7028 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
16.7029 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
16.7030 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
16.7031 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
16.7032 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
16.7033 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
16.7034 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [])
16.7035 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
16.7036 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
16.7037 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
16.7038 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
16.7039 +m4trace:configure.ac:21: -1- _LT_AC_TAGCONFIG
16.7040 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
16.7041 +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
16.7042 +../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
16.7043 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.7044 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.7045 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.7046 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.7047 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.7048 +configure.ac:21: the top level])
16.7049 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.7050 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.7051 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.7052 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.7053 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.7054 +configure.ac:21: the top level])
16.7055 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.7056 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.7057 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.7058 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.7059 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.7060 +configure.ac:21: the top level])
16.7061 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_CXX_CONFIG
16.7062 +m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX_CONFIG([CXX])
16.7063 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXX$])
16.7064 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXFLAGS$])
16.7065 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
16.7066 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
16.7067 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
16.7068 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXX$])
16.7069 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_CXX$])
16.7070 +m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CXX])
16.7071 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXDEPMODE$])
16.7072 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
16.7073 + test "x$enable_dependency_tracking" != xno \
16.7074 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
16.7075 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
16.7076 +m4trace:configure.ac:21: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
16.7077 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXCPP$])
16.7078 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CPPFLAGS$])
16.7079 +m4trace:configure.ac:21: -1- m4_pattern_allow([^CXXCPP$])
16.7080 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7081 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7082 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
16.7083 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7084 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7085 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7086 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7087 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
16.7088 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7089 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7090 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
16.7091 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
16.7092 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
16.7093 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7094 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7095 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
16.7096 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7097 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
16.7098 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7099 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7100 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
16.7101 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7102 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7103 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [CXX])
16.7104 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
16.7105 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
16.7106 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
16.7107 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
16.7108 +m4trace:configure.ac:21: -1- AC_PROG_LD
16.7109 +m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
16.7110 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7111 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7112 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7113 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7114 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7115 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7116 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7117 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7118 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7119 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7120 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7121 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7122 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7123 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7124 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7125 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7126 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7127 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7128 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
16.7129 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7130 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.7131 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7132 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7133 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7134 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7135 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7136 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.7137 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7138 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
16.7139 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7140 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
16.7141 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7142 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7143 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7144 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7145 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7146 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7147 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
16.7148 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
16.7149 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7150 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7151 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7152 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7153 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7154 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7155 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7156 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7157 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7158 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7159 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
16.7160 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7161 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7162 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
16.7163 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7164 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
16.7165 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
16.7166 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7167 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7168 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7169 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7170 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7171 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7172 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7173 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7174 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7175 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7176 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7177 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7178 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7179 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7180 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7181 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7182 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7183 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7184 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7185 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
16.7186 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7187 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7188 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7189 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7190 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7191 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7192 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
16.7193 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7194 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
16.7195 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7196 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7197 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7198 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7199 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7200 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7201 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7202 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7203 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7204 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7205 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7206 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7207 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7208 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7209 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7210 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7211 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7212 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7213 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7214 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7215 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7216 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7217 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7218 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7219 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7220 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7221 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7222 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7223 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7224 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7225 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7226 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7227 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7228 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7229 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7230 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7231 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7232 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7233 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
16.7234 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7235 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7236 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7237 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7238 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7239 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7240 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7241 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7242 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7243 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7244 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7245 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7246 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7247 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7248 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7249 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7250 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7252 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7253 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7254 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7255 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7256 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7257 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7258 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7259 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7260 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7261 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7262 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7263 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7264 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7265 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7266 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7267 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7268 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7269 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7270 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
16.7271 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7272 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7273 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7274 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
16.7275 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7276 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7277 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7278 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7279 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7280 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
16.7281 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7282 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7283 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7284 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7285 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7286 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7287 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7288 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7289 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7290 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7291 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7292 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7293 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7294 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
16.7295 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
16.7296 +m4trace:configure.ac:21: -1- AC_LIBTOOL_POSTDEP_PREDEP([CXX])
16.7297 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7298 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7299 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7300 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7301 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7302 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7303 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7304 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7305 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7306 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7307 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7308 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7309 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7310 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7311 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7312 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7313 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7314 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7315 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([CXX])
16.7316 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7317 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7318 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7319 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7320 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7321 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7322 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7323 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7324 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7325 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7326 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7327 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7328 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7329 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7330 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7331 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7332 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7333 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7334 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7335 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7336 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7337 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7338 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7339 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7340 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7341 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7342 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7343 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7344 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7345 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7346 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7347 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7348 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7349 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7351 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7352 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7353 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7354 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7355 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7356 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7357 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7358 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7359 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7360 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7361 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7362 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7363 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
16.7364 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7365 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7366 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7367 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [CXX])
16.7368 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX) works], [lt_prog_compiler_pic_works_CXX], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)ifelse([CXX],[],[ -DPIC],[ifelse([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX) in
16.7369 + "" | " "*) ;;
16.7370 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
16.7371 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=
16.7372 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
16.7373 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7374 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7375 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7376 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7377 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7378 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7379 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7380 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
16.7381 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7382 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7383 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7384 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([CXX])
16.7385 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7386 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7387 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7388 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7389 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7390 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7391 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7392 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([CXX])
16.7393 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7394 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([CXX])
16.7395 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7396 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7397 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7398 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7399 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7400 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7401 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7402 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7403 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7404 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
16.7405 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7406 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7407 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7408 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7409 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7410 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7411 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7412 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7413 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7414 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7415 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7416 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7417 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([CXX])
16.7418 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([CXX])
16.7419 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7420 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7421 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var CXX])
16.7422 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
16.7423 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7424 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7425 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7426 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7427 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7428 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7429 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7430 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7431 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
16.7432 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([CXX])
16.7433 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
16.7434 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
16.7435 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([CXX])
16.7436 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
16.7437 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [CXX])
16.7438 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
16.7439 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7440 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7441 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7442 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
16.7443 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7444 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
16.7445 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7446 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
16.7447 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7448 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
16.7449 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7450 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7451 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
16.7452 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7453 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7454 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7455 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7456 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [CXX])
16.7457 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [CXX])
16.7458 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
16.7459 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7460 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
16.7461 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7462 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7463 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
16.7464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
16.7466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
16.7467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
16.7468 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7469 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
16.7470 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
16.7471 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7472 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
16.7473 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7474 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7475 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
16.7476 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
16.7477 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
16.7478 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7479 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
16.7480 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
16.7481 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
16.7482 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
16.7483 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
16.7484 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
16.7485 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
16.7486 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
16.7487 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
16.7488 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
16.7489 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
16.7490 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
16.7491 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
16.7492 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
16.7493 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
16.7494 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
16.7495 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
16.7496 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
16.7497 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
16.7498 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
16.7499 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
16.7500 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
16.7501 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
16.7502 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
16.7503 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
16.7504 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
16.7505 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
16.7506 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
16.7507 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
16.7508 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
16.7509 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
16.7510 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
16.7511 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
16.7512 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
16.7513 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
16.7514 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
16.7515 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [CXX])
16.7516 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
16.7517 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
16.7518 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
16.7519 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
16.7520 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_F77_CONFIG
16.7521 +m4trace:configure.ac:21: -1- _LT_AC_LANG_F77_CONFIG([F77])
16.7522 +m4trace:configure.ac:21: -1- m4_pattern_allow([^F77$])
16.7523 +m4trace:configure.ac:21: -1- m4_pattern_allow([^FFLAGS$])
16.7524 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LDFLAGS$])
16.7525 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
16.7526 +m4trace:configure.ac:21: -1- m4_pattern_allow([^F77$])
16.7527 +m4trace:configure.ac:21: -1- m4_pattern_allow([^ac_ct_F77$])
16.7528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
16.7536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
16.7539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
16.7540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
16.7541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
16.7543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7544 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7545 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
16.7546 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [F77])
16.7547 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
16.7548 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
16.7549 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7550 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
16.7551 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
16.7552 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([F77])
16.7553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
16.7563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
16.7600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7602 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7603 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [F77])
16.7604 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77) works], [lt_prog_compiler_pic_works_F77], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)ifelse([F77],[],[ -DPIC],[ifelse([F77],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77) in
16.7605 + "" | " "*) ;;
16.7606 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)" ;;
16.7607 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=
16.7608 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, F77)=no])
16.7609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7612 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7613 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7614 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7615 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7616 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
16.7617 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7618 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7619 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7620 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([F77])
16.7621 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7623 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7624 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7625 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7626 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7627 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7628 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([F77])
16.7629 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7630 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([F77])
16.7631 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7632 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
16.7633 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7634 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7635 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
16.7636 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
16.7637 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7638 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7639 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
16.7640 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7641 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
16.7642 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7643 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7644 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7645 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7646 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
16.7648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
16.7649 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
16.7650 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7651 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.7652 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
16.7653 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
16.7654 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7655 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7656 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7657 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7658 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7659 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7660 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7661 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7662 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7663 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7664 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7666 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
16.7667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.7668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7690 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.7699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.7700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7711 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.7712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7714 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7715 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7716 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7717 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.7718 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7719 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7720 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7721 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7722 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7723 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7724 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7725 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7726 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7727 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7728 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7729 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7730 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7731 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7732 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7733 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
16.7734 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
16.7735 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
16.7736 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7737 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7738 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7739 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7740 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7741 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7742 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7743 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
16.7744 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7745 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7746 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
16.7747 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7748 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
16.7749 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7750 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7751 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7752 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7753 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7754 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7755 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7756 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7757 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7758 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7759 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7760 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7761 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7762 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7763 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7764 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7765 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7766 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7767 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7768 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7769 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7770 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7771 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7772 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7773 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7774 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7775 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7776 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7777 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7778 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7779 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7780 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7781 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
16.7782 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7783 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7784 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7785 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7786 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7787 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7788 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7789 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7790 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7791 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7792 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7793 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7794 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7795 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7796 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
16.7797 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7798 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7799 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7800 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7801 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7802 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7803 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7804 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7805 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7806 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7807 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7808 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7809 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7810 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7811 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7812 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7813 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7814 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7815 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7816 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7817 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7818 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7819 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7820 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7821 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7822 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7823 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
16.7824 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7825 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7826 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7827 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7828 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7829 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7830 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7831 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7832 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7833 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7834 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7835 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7836 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7837 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7838 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7839 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7840 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7841 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7842 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7843 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7844 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7845 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7846 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7847 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7848 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7849 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7850 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7851 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7852 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7853 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7854 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7855 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7856 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7857 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7858 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7859 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [F77])
16.7860 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7861 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7862 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7863 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7864 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7865 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7866 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7867 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7868 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7869 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7870 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7871 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7872 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7873 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7874 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7875 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7876 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7877 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7878 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7879 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7880 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7881 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7882 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7883 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7884 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7885 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7886 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7887 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7888 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7889 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
16.7890 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7891 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7892 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7893 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7894 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7895 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7896 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7897 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7898 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7899 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7900 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7901 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7902 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([F77])
16.7903 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([F77])
16.7904 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7905 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7906 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var F77])
16.7907 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
16.7908 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7909 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7910 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7911 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7912 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7913 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7914 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7915 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7916 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
16.7917 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([F77])
16.7918 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
16.7919 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [F77])
16.7920 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
16.7921 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7922 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7923 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7924 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
16.7925 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7926 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
16.7927 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7928 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
16.7929 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
16.7930 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
16.7931 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
16.7932 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
16.7933 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
16.7934 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
16.7935 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
16.7936 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7937 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7938 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [F77])
16.7939 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [F77])
16.7940 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
16.7941 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7942 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7943 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.7944 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7945 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
16.7946 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7947 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
16.7948 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
16.7949 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
16.7950 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7951 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
16.7952 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
16.7953 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
16.7954 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
16.7955 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7956 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7957 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
16.7958 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
16.7959 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
16.7960 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.7961 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
16.7962 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
16.7963 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
16.7964 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
16.7965 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
16.7966 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
16.7967 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
16.7968 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
16.7969 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
16.7970 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
16.7971 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
16.7972 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
16.7973 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
16.7974 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
16.7975 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
16.7976 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
16.7977 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
16.7978 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
16.7979 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
16.7980 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
16.7981 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
16.7982 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
16.7983 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
16.7984 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
16.7985 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
16.7986 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
16.7987 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
16.7988 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
16.7989 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
16.7990 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
16.7991 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
16.7992 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
16.7993 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
16.7994 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
16.7995 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
16.7996 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
16.7997 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [F77])
16.7998 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
16.7999 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
16.8000 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
16.8001 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
16.8002 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_GCJ_CONFIG
16.8003 +m4trace:configure.ac:21: -1- _LT_AC_LANG_GCJ_CONFIG([GCJ])
16.8004 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
16.8005 +You should run autoupdate.], [../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
16.8006 +m4/libtool.m4:3748: _LT_AC_LANG_GCJ_CONFIG is expanded from...
16.8007 +m4/libtool.m4:3747: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
16.8008 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.8009 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.8010 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.8011 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.8012 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.8013 +configure.ac:21: the top level])
16.8014 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [GCJ])
16.8015 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
16.8016 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
16.8017 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8018 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([GCJ])
16.8019 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
16.8020 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
16.8021 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, GCJ)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, GCJ) -fno-rtti -fno-exceptions"])
16.8022 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
16.8023 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
16.8024 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([GCJ])
16.8025 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8026 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8027 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8028 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8029 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8030 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8031 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8032 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8033 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8034 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
16.8035 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8036 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8037 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8038 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8039 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8040 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8041 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8042 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8043 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8044 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8045 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8046 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8047 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8048 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8049 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8050 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8051 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8052 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8053 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8054 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8055 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8056 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8057 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8058 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8059 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8060 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8061 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8062 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8063 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8064 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8065 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8066 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8067 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8068 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8069 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8070 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8071 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
16.8072 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8073 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8074 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8075 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [GCJ])
16.8076 +m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ) works], [lt_prog_compiler_pic_works_GCJ], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)ifelse([GCJ],[],[ -DPIC],[ifelse([GCJ],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ) in
16.8077 + "" | " "*) ;;
16.8078 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)" ;;
16.8079 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=
16.8080 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, GCJ)=no])
16.8081 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8082 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8083 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8084 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8085 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8086 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8087 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8088 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
16.8089 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8090 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8091 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8092 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([GCJ])
16.8093 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8094 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8095 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8096 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8097 +m4trace:configure.ac:21: -3- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8098 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8099 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8100 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([GCJ])
16.8101 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8102 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([GCJ])
16.8103 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8104 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
16.8105 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8106 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8107 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
16.8108 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
16.8109 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8110 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8111 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
16.8112 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8113 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
16.8114 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8115 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8116 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8117 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8118 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8119 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
16.8120 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
16.8121 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
16.8122 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
16.8123 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8124 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
16.8125 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
16.8126 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8127 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8128 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8129 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8130 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8131 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8132 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8133 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8134 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8135 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8136 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8137 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
16.8138 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
16.8139 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8140 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8141 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8142 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8143 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8144 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8145 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8146 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8147 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8148 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8149 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8150 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8151 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8152 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8153 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8154 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8155 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8156 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8157 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8158 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8159 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8160 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8161 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8162 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8163 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8164 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8165 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8166 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
16.8167 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8168 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8169 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8170 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8171 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8172 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8173 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8174 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8175 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8176 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8177 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8178 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8179 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8180 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8181 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
16.8182 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8183 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.8184 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8185 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8186 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8187 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8188 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8189 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
16.8190 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8191 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
16.8192 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8193 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
16.8194 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8195 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8196 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8197 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8198 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8199 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8200 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8201 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8202 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8203 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8204 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8205 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
16.8206 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
16.8207 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
16.8208 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8209 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8210 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8211 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8212 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8213 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8214 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8215 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
16.8216 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8217 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8218 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
16.8219 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8220 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
16.8221 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8222 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8223 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8224 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8225 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8226 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8227 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8228 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8229 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8230 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8231 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8232 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8233 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8234 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8235 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8236 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8237 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8238 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8239 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8240 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8241 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8242 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8243 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8244 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8245 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8246 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8247 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8248 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8249 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8250 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8252 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8253 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
16.8254 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8255 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8256 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8257 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8258 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8259 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8260 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8261 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8262 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8263 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8264 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8265 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8266 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8267 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8268 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
16.8269 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8270 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8271 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8272 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8273 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8274 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8275 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8276 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8277 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8278 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8279 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8280 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8281 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8282 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8283 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8284 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8285 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8286 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8287 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8288 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8289 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8290 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8291 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8292 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8293 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8294 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8295 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
16.8296 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8297 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8298 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8299 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8300 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8301 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8302 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8303 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8304 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8305 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8306 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8307 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8308 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8309 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8310 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8311 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8312 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8313 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
16.8314 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8315 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8316 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8317 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8318 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8319 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8320 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8321 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8322 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8323 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8324 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8325 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8326 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8327 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8328 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8329 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8330 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8331 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [GCJ])
16.8332 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8333 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8334 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8335 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8336 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8337 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8338 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8339 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8340 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8341 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8342 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8343 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8344 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8345 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8346 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
16.8347 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8348 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8349 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
16.8351 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8352 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8353 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8354 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8355 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8356 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8357 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8358 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8359 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8360 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8361 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
16.8362 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8363 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8364 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8365 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8366 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8367 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8368 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8369 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8370 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8371 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8372 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8373 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8374 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([GCJ])
16.8375 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([GCJ])
16.8376 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8377 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8378 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var GCJ])
16.8379 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
16.8380 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8381 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8382 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8383 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8384 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8385 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8386 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8387 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8388 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
16.8389 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([GCJ])
16.8390 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
16.8391 +m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
16.8392 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([GCJ])
16.8393 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
16.8394 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [GCJ])
16.8395 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
16.8396 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8397 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8398 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8399 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
16.8400 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8401 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
16.8402 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8403 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
16.8404 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
16.8405 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
16.8406 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
16.8407 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
16.8408 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
16.8409 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
16.8410 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
16.8411 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8412 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8413 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [GCJ])
16.8414 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [GCJ])
16.8415 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
16.8416 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8417 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
16.8418 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8419 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8420 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
16.8421 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8422 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
16.8423 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
16.8424 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
16.8425 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8426 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
16.8427 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
16.8428 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
16.8429 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
16.8430 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8431 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8432 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
16.8433 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
16.8434 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
16.8435 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8436 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
16.8437 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
16.8438 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
16.8439 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [GCJ])
16.8440 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
16.8441 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
16.8442 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
16.8443 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
16.8444 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
16.8445 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
16.8446 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
16.8447 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
16.8448 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
16.8449 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
16.8450 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
16.8451 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
16.8452 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
16.8453 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
16.8454 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
16.8455 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
16.8456 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
16.8457 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
16.8458 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
16.8459 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
16.8460 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
16.8461 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
16.8462 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
16.8463 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
16.8464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
16.8465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
16.8466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
16.8467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
16.8468 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
16.8469 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
16.8470 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
16.8471 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
16.8472 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [GCJ])
16.8473 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
16.8474 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
16.8475 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
16.8476 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
16.8477 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
16.8478 +You should run autoupdate.], [../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
16.8479 +m4/libtool.m4:3748: _LT_AC_LANG_GCJ_CONFIG is expanded from...
16.8480 +m4/libtool.m4:3747: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
16.8481 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.8482 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.8483 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.8484 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.8485 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.8486 +configure.ac:21: the top level])
16.8487 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_RC_CONFIG
16.8488 +m4trace:configure.ac:21: -1- _LT_AC_LANG_RC_CONFIG([RC])
16.8489 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
16.8490 +You should run autoupdate.], [../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
16.8491 +m4/libtool.m4:3803: _LT_AC_LANG_RC_CONFIG is expanded from...
16.8492 +m4/libtool.m4:3802: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
16.8493 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.8494 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.8495 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.8496 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.8497 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.8498 +configure.ac:21: the top level])
16.8499 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [RC])
16.8500 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
16.8501 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
16.8502 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
16.8503 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([RC])
16.8504 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
16.8505 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [RC])
16.8506 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
16.8507 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
16.8508 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
16.8509 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
16.8510 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
16.8511 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
16.8512 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
16.8513 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
16.8514 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
16.8515 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
16.8516 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
16.8517 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
16.8518 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
16.8519 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
16.8520 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
16.8521 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
16.8522 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
16.8523 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
16.8524 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [RC])
16.8525 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [RC])
16.8526 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
16.8527 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
16.8528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
16.8529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
16.8530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
16.8531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
16.8532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
16.8533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
16.8534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
16.8535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
16.8536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
16.8537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
16.8538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
16.8539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
16.8540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
16.8541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
16.8542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
16.8543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
16.8544 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
16.8545 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
16.8546 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
16.8547 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [RC])
16.8548 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
16.8549 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
16.8550 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [RC])
16.8551 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
16.8552 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
16.8553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
16.8554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
16.8555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
16.8556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
16.8557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
16.8558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
16.8559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
16.8560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
16.8561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
16.8562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
16.8563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
16.8564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
16.8565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
16.8566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
16.8567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
16.8568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
16.8569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
16.8570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
16.8571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
16.8572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
16.8573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
16.8574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [RC])
16.8575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
16.8576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
16.8577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
16.8578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [RC])
16.8579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [RC])
16.8580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [RC])
16.8581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
16.8582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [RC])
16.8583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [RC])
16.8584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [RC])
16.8585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
16.8586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
16.8587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
16.8588 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
16.8589 +You should run autoupdate.], [../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
16.8590 +m4/libtool.m4:3803: _LT_AC_LANG_RC_CONFIG is expanded from...
16.8591 +m4/libtool.m4:3802: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
16.8592 +m4/libtool.m4:1643: _LT_AC_TAGCONFIG is expanded from...
16.8593 +m4/libtool.m4:96: AC_LIBTOOL_SETUP is expanded from...
16.8594 +m4/libtool.m4:76: _AC_PROG_LIBTOOL is expanded from...
16.8595 +m4/libtool.m4:41: AC_PROG_LIBTOOL is expanded from...
16.8596 +m4/libtool.m4:5869: AM_PROG_LIBTOOL is expanded from...
16.8597 +configure.ac:21: the top level])
16.8598 +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBTOOL$])
16.8599 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CXX
16.8600 +m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX
16.8601 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
16.8602 +m4trace:configure.ac:21: -1- AC_LIBTOOL_F77
16.8603 +m4trace:configure.ac:21: -1- _LT_AC_LANG_F77
16.8604 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
16.8605 +m4trace:configure.ac:23: -1- AM_CONFIG_HEADER([config.h])
16.8606 +m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
16.8607 +You should run autoupdate.], [/usr/share/aclocal-1.9/header.m4:12: AM_CONFIG_HEADER is expanded from...
16.8608 +configure.ac:23: the top level])
16.8609 +m4trace:configure.ac:26: -1- m4_pattern_allow([^ACLOCAL_AMFLAGS$])
16.8610 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
16.8611 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CFLAGS$])
16.8612 +m4trace:configure.ac:29: -1- m4_pattern_allow([^LDFLAGS$])
16.8613 +m4trace:configure.ac:29: -1- m4_pattern_allow([^LIBS$])
16.8614 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CPPFLAGS$])
16.8615 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
16.8616 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
16.8617 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
16.8618 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$])
16.8619 +m4trace:configure.ac:29: -1- m4_pattern_allow([^ac_ct_CC$])
16.8620 +m4trace:configure.ac:29: -1- _AM_DEPENDENCIES([CC])
16.8621 +m4trace:configure.ac:29: -1- m4_pattern_allow([^CCDEPMODE$])
16.8622 +m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
16.8623 + test "x$enable_dependency_tracking" != xno \
16.8624 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
16.8625 +m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
16.8626 +m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
16.8627 +m4trace:configure.ac:31: -1- AM_PROG_AS
16.8628 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCAS$])
16.8629 +m4trace:configure.ac:31: -1- m4_pattern_allow([^CCASFLAGS$])
16.8630 +m4trace:configure.ac:34: -1- AS_COMPILER_FLAG([-Wall], [GST_WALL="yes"], [GST_WALL="no"])
16.8631 +m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
16.8632 +You should run autoupdate.], [../../lib/autoconf/general.m4:2367: AC_TRY_COMPILE is expanded from...
16.8633 +m4/as-compiler-flag.m4:14: AS_COMPILER_FLAG is expanded from...
16.8634 +configure.ac:34: the top level])
16.8635 +m4trace:configure.ac:40: -1- AS_COMPILER_FLAG([-Werror], [ERROR_CFLAGS="$ERROR_CFLAGS -Werror"], [ERROR_CFLAGS="$ERROR_CFLAGS"])
16.8636 +m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
16.8637 +You should run autoupdate.], [../../lib/autoconf/general.m4:2367: AC_TRY_COMPILE is expanded from...
16.8638 +m4/as-compiler-flag.m4:14: AS_COMPILER_FLAG is expanded from...
16.8639 +configure.ac:40: the top level])
16.8640 +m4trace:configure.ac:44: -1- m4_pattern_allow([^ERROR_CFLAGS$])
16.8641 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXX$])
16.8642 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXXFLAGS$])
16.8643 +m4trace:configure.ac:47: -1- m4_pattern_allow([^LDFLAGS$])
16.8644 +m4trace:configure.ac:47: -1- m4_pattern_allow([^LIBS$])
16.8645 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CPPFLAGS$])
16.8646 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXX$])
16.8647 +m4trace:configure.ac:47: -1- m4_pattern_allow([^ac_ct_CXX$])
16.8648 +m4trace:configure.ac:47: -1- _AM_DEPENDENCIES([CXX])
16.8649 +m4trace:configure.ac:47: -1- m4_pattern_allow([^CXXDEPMODE$])
16.8650 +m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
16.8651 + test "x$enable_dependency_tracking" != xno \
16.8652 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
16.8653 +m4trace:configure.ac:47: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
16.8654 +m4trace:configure.ac:47: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
16.8655 +m4trace:configure.ac:49: -1- m4_pattern_allow([^HAVE_CXX$])
16.8656 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXCPP$])
16.8657 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CPPFLAGS$])
16.8658 +m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXCPP$])
16.8659 +m4trace:configure.ac:54: -1- m4_pattern_allow([^STDC_HEADERS$])
16.8660 +m4trace:configure.ac:58: -1- m4_pattern_allow([^HAVE_PKGCONFIG$])
16.8661 +m4trace:configure.ac:71: -1- PKG_CHECK_MODULES([GST], [\
16.8662 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST=yes], [HAVE_GST=no])
16.8663 +m4trace:configure.ac:71: -1- PKG_PROG_PKG_CONFIG
16.8664 +m4trace:configure.ac:71: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
16.8665 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
16.8666 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG$])
16.8667 +m4trace:configure.ac:71: -1- m4_pattern_allow([^PKG_CONFIG$])
16.8668 +m4trace:configure.ac:71: -1- m4_pattern_allow([^GST_CFLAGS$])
16.8669 +m4trace:configure.ac:71: -1- m4_pattern_allow([^GST_LIBS$])
16.8670 +m4trace:configure.ac:88: -1- m4_pattern_allow([^GST_CFLAGS$])
16.8671 +m4trace:configure.ac:89: -1- m4_pattern_allow([^GST_LIBS$])
16.8672 +m4trace:configure.ac:92: -1- m4_pattern_allow([^GST_MAJORMINOR$])
16.8673 +m4trace:configure.ac:95: -1- PKG_CHECK_MODULES([GST_BASE], [gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_BASE="yes"], [HAVE_GST_BASE="no"])
16.8674 +m4trace:configure.ac:95: -1- m4_pattern_allow([^GST_BASE_CFLAGS$])
16.8675 +m4trace:configure.ac:95: -1- m4_pattern_allow([^GST_BASE_LIBS$])
16.8676 +m4trace:configure.ac:102: -1- m4_pattern_allow([^GST_BASE_LIBS$])
16.8677 +m4trace:configure.ac:103: -1- m4_pattern_allow([^GST_BASE_CFLAGS$])
16.8678 +m4trace:configure.ac:106: -1- PKG_CHECK_MODULES([GST_PLUGINS_BASE], [gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_PLUGINS="yes"], [HAVE_GST_PLUGINS="no"])
16.8679 +m4trace:configure.ac:106: -1- m4_pattern_allow([^GST_PLUGINS_BASE_CFLAGS$])
16.8680 +m4trace:configure.ac:106: -1- m4_pattern_allow([^GST_PLUGINS_BASE_LIBS$])
16.8681 +m4trace:configure.ac:113: -1- m4_pattern_allow([^GST_PLUGINS_BASE_LIBS$])
16.8682 +m4trace:configure.ac:114: -1- m4_pattern_allow([^GST_PLUGINS_BASE_CFLAGS$])
16.8683 +m4trace:configure.ac:118: -1- m4_pattern_allow([^plugindir$])
16.8684 +m4trace:configure.ac:122: -1- m4_pattern_allow([^GST_PLUGIN_LDFLAGS$])
16.8685 +m4trace:configure.ac:124: -1- m4_pattern_allow([^GST_LICENSE$])
16.8686 +m4trace:configure.ac:125: -1- m4_pattern_allow([^GST_PACKAGE_NAME$])
16.8687 +m4trace:configure.ac:126: -1- m4_pattern_allow([^GST_PACKAGE_ORIGIN$])
16.8688 +m4trace:configure.ac:128: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
16.8689 +You should run autoupdate.], [])
16.8690 +m4trace:configure.ac:128: -1- m4_pattern_allow([^LIB@&t@OBJS$])
16.8691 +m4trace:configure.ac:128: -1- m4_pattern_allow([^LTLIBOBJS$])
16.8692 +m4trace:configure.ac:128: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
16.8693 +m4trace:configure.ac:128: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/gst-gpac/compile Thu Feb 21 17:44:16 2008 +0000
17.3 @@ -0,0 +1,142 @@
17.4 +#! /bin/sh
17.5 +# Wrapper for compilers which do not understand `-c -o'.
17.6 +
17.7 +scriptversion=2005-05-14.22
17.8 +
17.9 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
17.10 +# Written by Tom Tromey <tromey@cygnus.com>.
17.11 +#
17.12 +# This program is free software; you can redistribute it and/or modify
17.13 +# it under the terms of the GNU General Public License as published by
17.14 +# the Free Software Foundation; either version 2, or (at your option)
17.15 +# any later version.
17.16 +#
17.17 +# This program is distributed in the hope that it will be useful,
17.18 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
17.19 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17.20 +# GNU General Public License for more details.
17.21 +#
17.22 +# You should have received a copy of the GNU General Public License
17.23 +# along with this program; if not, write to the Free Software
17.24 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17.25 +
17.26 +# As a special exception to the GNU General Public License, if you
17.27 +# distribute this file as part of a program that contains a
17.28 +# configuration script generated by Autoconf, you may include it under
17.29 +# the same distribution terms that you use for the rest of that program.
17.30 +
17.31 +# This file is maintained in Automake, please report
17.32 +# bugs to <bug-automake@gnu.org> or send patches to
17.33 +# <automake-patches@gnu.org>.
17.34 +
17.35 +case $1 in
17.36 + '')
17.37 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
17.38 + exit 1;
17.39 + ;;
17.40 + -h | --h*)
17.41 + cat <<\EOF
17.42 +Usage: compile [--help] [--version] PROGRAM [ARGS]
17.43 +
17.44 +Wrapper for compilers which do not understand `-c -o'.
17.45 +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
17.46 +arguments, and rename the output as expected.
17.47 +
17.48 +If you are trying to build a whole package this is not the
17.49 +right script to run: please start by reading the file `INSTALL'.
17.50 +
17.51 +Report bugs to <bug-automake@gnu.org>.
17.52 +EOF
17.53 + exit $?
17.54 + ;;
17.55 + -v | --v*)
17.56 + echo "compile $scriptversion"
17.57 + exit $?
17.58 + ;;
17.59 +esac
17.60 +
17.61 +ofile=
17.62 +cfile=
17.63 +eat=
17.64 +
17.65 +for arg
17.66 +do
17.67 + if test -n "$eat"; then
17.68 + eat=
17.69 + else
17.70 + case $1 in
17.71 + -o)
17.72 + # configure might choose to run compile as `compile cc -o foo foo.c'.
17.73 + # So we strip `-o arg' only if arg is an object.
17.74 + eat=1
17.75 + case $2 in
17.76 + *.o | *.obj)
17.77 + ofile=$2
17.78 + ;;
17.79 + *)
17.80 + set x "$@" -o "$2"
17.81 + shift
17.82 + ;;
17.83 + esac
17.84 + ;;
17.85 + *.c)
17.86 + cfile=$1
17.87 + set x "$@" "$1"
17.88 + shift
17.89 + ;;
17.90 + *)
17.91 + set x "$@" "$1"
17.92 + shift
17.93 + ;;
17.94 + esac
17.95 + fi
17.96 + shift
17.97 +done
17.98 +
17.99 +if test -z "$ofile" || test -z "$cfile"; then
17.100 + # If no `-o' option was seen then we might have been invoked from a
17.101 + # pattern rule where we don't need one. That is ok -- this is a
17.102 + # normal compilation that the losing compiler can handle. If no
17.103 + # `.c' file was seen then we are probably linking. That is also
17.104 + # ok.
17.105 + exec "$@"
17.106 +fi
17.107 +
17.108 +# Name of file we expect compiler to create.
17.109 +cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
17.110 +
17.111 +# Create the lock directory.
17.112 +# Note: use `[/.-]' here to ensure that we don't use the same name
17.113 +# that we are using for the .o file. Also, base the name on the expected
17.114 +# object file name, since that is what matters with a parallel build.
17.115 +lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
17.116 +while true; do
17.117 + if mkdir "$lockdir" >/dev/null 2>&1; then
17.118 + break
17.119 + fi
17.120 + sleep 1
17.121 +done
17.122 +# FIXME: race condition here if user kills between mkdir and trap.
17.123 +trap "rmdir '$lockdir'; exit 1" 1 2 15
17.124 +
17.125 +# Run the compile.
17.126 +"$@"
17.127 +ret=$?
17.128 +
17.129 +if test -f "$cofile"; then
17.130 + mv "$cofile" "$ofile"
17.131 +elif test -f "${cofile}bj"; then
17.132 + mv "${cofile}bj" "$ofile"
17.133 +fi
17.134 +
17.135 +rmdir "$lockdir"
17.136 +exit $ret
17.137 +
17.138 +# Local Variables:
17.139 +# mode: shell-script
17.140 +# sh-indentation: 2
17.141 +# eval: (add-hook 'write-file-hooks 'time-stamp)
17.142 +# time-stamp-start: "scriptversion="
17.143 +# time-stamp-format: "%:y-%02m-%02d.%02H"
17.144 +# time-stamp-end: "$"
17.145 +# End:
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
18.2 +++ b/gst-gpac/config.guess Thu Feb 21 17:44:16 2008 +0000
18.3 @@ -0,0 +1,1516 @@
18.4 +#! /bin/sh
18.5 +# Attempt to guess a canonical system name.
18.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
18.7 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
18.8 +# Inc.
18.9 +
18.10 +timestamp='2007-03-06'
18.11 +
18.12 +# This file is free software; you can redistribute it and/or modify it
18.13 +# under the terms of the GNU General Public License as published by
18.14 +# the Free Software Foundation; either version 2 of the License, or
18.15 +# (at your option) any later version.
18.16 +#
18.17 +# This program is distributed in the hope that it will be useful, but
18.18 +# WITHOUT ANY WARRANTY; without even the implied warranty of
18.19 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18.20 +# General Public License for more details.
18.21 +#
18.22 +# You should have received a copy of the GNU General Public License
18.23 +# along with this program; if not, write to the Free Software
18.24 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
18.25 +# 02110-1301, USA.
18.26 +#
18.27 +# As a special exception to the GNU General Public License, if you
18.28 +# distribute this file as part of a program that contains a
18.29 +# configuration script generated by Autoconf, you may include it under
18.30 +# the same distribution terms that you use for the rest of that program.
18.31 +
18.32 +
18.33 +# Originally written by Per Bothner <per@bothner.com>.
18.34 +# Please send patches to <config-patches@gnu.org>. Submit a context
18.35 +# diff and a properly formatted ChangeLog entry.
18.36 +#
18.37 +# This script attempts to guess a canonical system name similar to
18.38 +# config.sub. If it succeeds, it prints the system name on stdout, and
18.39 +# exits with 0. Otherwise, it exits with 1.
18.40 +#
18.41 +# The plan is that this can be called by configure scripts if you
18.42 +# don't specify an explicit build system type.
18.43 +
18.44 +me=`echo "$0" | sed -e 's,.*/,,'`
18.45 +
18.46 +usage="\
18.47 +Usage: $0 [OPTION]
18.48 +
18.49 +Output the configuration name of the system \`$me' is run on.
18.50 +
18.51 +Operation modes:
18.52 + -h, --help print this help, then exit
18.53 + -t, --time-stamp print date of last modification, then exit
18.54 + -v, --version print version number, then exit
18.55 +
18.56 +Report bugs and patches to <config-patches@gnu.org>."
18.57 +
18.58 +version="\
18.59 +GNU config.guess ($timestamp)
18.60 +
18.61 +Originally written by Per Bothner.
18.62 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
18.63 +Free Software Foundation, Inc.
18.64 +
18.65 +This is free software; see the source for copying conditions. There is NO
18.66 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
18.67 +
18.68 +help="
18.69 +Try \`$me --help' for more information."
18.70 +
18.71 +# Parse command line
18.72 +while test $# -gt 0 ; do
18.73 + case $1 in
18.74 + --time-stamp | --time* | -t )
18.75 + echo "$timestamp" ; exit ;;
18.76 + --version | -v )
18.77 + echo "$version" ; exit ;;
18.78 + --help | --h* | -h )
18.79 + echo "$usage"; exit ;;
18.80 + -- ) # Stop option processing
18.81 + shift; break ;;
18.82 + - ) # Use stdin as input.
18.83 + break ;;
18.84 + -* )
18.85 + echo "$me: invalid option $1$help" >&2
18.86 + exit 1 ;;
18.87 + * )
18.88 + break ;;
18.89 + esac
18.90 +done
18.91 +
18.92 +if test $# != 0; then
18.93 + echo "$me: too many arguments$help" >&2
18.94 + exit 1
18.95 +fi
18.96 +
18.97 +trap 'exit 1' 1 2 15
18.98 +
18.99 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
18.100 +# compiler to aid in system detection is discouraged as it requires
18.101 +# temporary files to be created and, as you can see below, it is a
18.102 +# headache to deal with in a portable fashion.
18.103 +
18.104 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
18.105 +# use `HOST_CC' if defined, but it is deprecated.
18.106 +
18.107 +# Portable tmp directory creation inspired by the Autoconf team.
18.108 +
18.109 +set_cc_for_build='
18.110 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
18.111 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
18.112 +: ${TMPDIR=/tmp} ;
18.113 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
18.114 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
18.115 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
18.116 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
18.117 +dummy=$tmp/dummy ;
18.118 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
18.119 +case $CC_FOR_BUILD,$HOST_CC,$CC in
18.120 + ,,) echo "int x;" > $dummy.c ;
18.121 + for c in cc gcc c89 c99 ; do
18.122 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
18.123 + CC_FOR_BUILD="$c"; break ;
18.124 + fi ;
18.125 + done ;
18.126 + if test x"$CC_FOR_BUILD" = x ; then
18.127 + CC_FOR_BUILD=no_compiler_found ;
18.128 + fi
18.129 + ;;
18.130 + ,,*) CC_FOR_BUILD=$CC ;;
18.131 + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
18.132 +esac ; set_cc_for_build= ;'
18.133 +
18.134 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
18.135 +# (ghazi@noc.rutgers.edu 1994-08-24)
18.136 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
18.137 + PATH=$PATH:/.attbin ; export PATH
18.138 +fi
18.139 +
18.140 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
18.141 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
18.142 +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
18.143 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
18.144 +
18.145 +# Note: order is significant - the case branches are not exclusive.
18.146 +
18.147 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
18.148 + *:NetBSD:*:*)
18.149 + # NetBSD (nbsd) targets should (where applicable) match one or
18.150 + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
18.151 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
18.152 + # switched to ELF, *-*-netbsd* would select the old
18.153 + # object file format. This provides both forward
18.154 + # compatibility and a consistent mechanism for selecting the
18.155 + # object file format.
18.156 + #
18.157 + # Note: NetBSD doesn't particularly care about the vendor
18.158 + # portion of the name. We always set it to "unknown".
18.159 + sysctl="sysctl -n hw.machine_arch"
18.160 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
18.161 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
18.162 + case "${UNAME_MACHINE_ARCH}" in
18.163 + armeb) machine=armeb-unknown ;;
18.164 + arm*) machine=arm-unknown ;;
18.165 + sh3el) machine=shl-unknown ;;
18.166 + sh3eb) machine=sh-unknown ;;
18.167 + sh5el) machine=sh5le-unknown ;;
18.168 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
18.169 + esac
18.170 + # The Operating System including object format, if it has switched
18.171 + # to ELF recently, or will in the future.
18.172 + case "${UNAME_MACHINE_ARCH}" in
18.173 + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
18.174 + eval $set_cc_for_build
18.175 + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
18.176 + | grep __ELF__ >/dev/null
18.177 + then
18.178 + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
18.179 + # Return netbsd for either. FIX?
18.180 + os=netbsd
18.181 + else
18.182 + os=netbsdelf
18.183 + fi
18.184 + ;;
18.185 + *)
18.186 + os=netbsd
18.187 + ;;
18.188 + esac
18.189 + # The OS release
18.190 + # Debian GNU/NetBSD machines have a different userland, and
18.191 + # thus, need a distinct triplet. However, they do not need
18.192 + # kernel version information, so it can be replaced with a
18.193 + # suitable tag, in the style of linux-gnu.
18.194 + case "${UNAME_VERSION}" in
18.195 + Debian*)
18.196 + release='-gnu'
18.197 + ;;
18.198 + *)
18.199 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
18.200 + ;;
18.201 + esac
18.202 + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
18.203 + # contains redundant information, the shorter form:
18.204 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
18.205 + echo "${machine}-${os}${release}"
18.206 + exit ;;
18.207 + *:OpenBSD:*:*)
18.208 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
18.209 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
18.210 + exit ;;
18.211 + *:ekkoBSD:*:*)
18.212 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
18.213 + exit ;;
18.214 + *:SolidBSD:*:*)
18.215 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
18.216 + exit ;;
18.217 + macppc:MirBSD:*:*)
18.218 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
18.219 + exit ;;
18.220 + *:MirBSD:*:*)
18.221 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
18.222 + exit ;;
18.223 + alpha:OSF1:*:*)
18.224 + case $UNAME_RELEASE in
18.225 + *4.0)
18.226 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
18.227 + ;;
18.228 + *5.*)
18.229 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
18.230 + ;;
18.231 + esac
18.232 + # According to Compaq, /usr/sbin/psrinfo has been available on
18.233 + # OSF/1 and Tru64 systems produced since 1995. I hope that
18.234 + # covers most systems running today. This code pipes the CPU
18.235 + # types through head -n 1, so we only detect the type of CPU 0.
18.236 + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
18.237 + case "$ALPHA_CPU_TYPE" in
18.238 + "EV4 (21064)")
18.239 + UNAME_MACHINE="alpha" ;;
18.240 + "EV4.5 (21064)")
18.241 + UNAME_MACHINE="alpha" ;;
18.242 + "LCA4 (21066/21068)")
18.243 + UNAME_MACHINE="alpha" ;;
18.244 + "EV5 (21164)")
18.245 + UNAME_MACHINE="alphaev5" ;;
18.246 + "EV5.6 (21164A)")
18.247 + UNAME_MACHINE="alphaev56" ;;
18.248 + "EV5.6 (21164PC)")
18.249 + UNAME_MACHINE="alphapca56" ;;
18.250 + "EV5.7 (21164PC)")
18.251 + UNAME_MACHINE="alphapca57" ;;
18.252 + "EV6 (21264)")
18.253 + UNAME_MACHINE="alphaev6" ;;
18.254 + "EV6.7 (21264A)")
18.255 + UNAME_MACHINE="alphaev67" ;;
18.256 + "EV6.8CB (21264C)")
18.257 + UNAME_MACHINE="alphaev68" ;;
18.258 + "EV6.8AL (21264B)")
18.259 + UNAME_MACHINE="alphaev68" ;;
18.260 + "EV6.8CX (21264D)")
18.261 + UNAME_MACHINE="alphaev68" ;;
18.262 + "EV6.9A (21264/EV69A)")
18.263 + UNAME_MACHINE="alphaev69" ;;
18.264 + "EV7 (21364)")
18.265 + UNAME_MACHINE="alphaev7" ;;
18.266 + "EV7.9 (21364A)")
18.267 + UNAME_MACHINE="alphaev79" ;;
18.268 + esac
18.269 + # A Pn.n version is a patched version.
18.270 + # A Vn.n version is a released version.
18.271 + # A Tn.n version is a released field test version.
18.272 + # A Xn.n version is an unreleased experimental baselevel.
18.273 + # 1.2 uses "1.2" for uname -r.
18.274 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
18.275 + exit ;;
18.276 + Alpha\ *:Windows_NT*:*)
18.277 + # How do we know it's Interix rather than the generic POSIX subsystem?
18.278 + # Should we change UNAME_MACHINE based on the output of uname instead
18.279 + # of the specific Alpha model?
18.280 + echo alpha-pc-interix
18.281 + exit ;;
18.282 + 21064:Windows_NT:50:3)
18.283 + echo alpha-dec-winnt3.5
18.284 + exit ;;
18.285 + Amiga*:UNIX_System_V:4.0:*)
18.286 + echo m68k-unknown-sysv4
18.287 + exit ;;
18.288 + *:[Aa]miga[Oo][Ss]:*:*)
18.289 + echo ${UNAME_MACHINE}-unknown-amigaos
18.290 + exit ;;
18.291 + *:[Mm]orph[Oo][Ss]:*:*)
18.292 + echo ${UNAME_MACHINE}-unknown-morphos
18.293 + exit ;;
18.294 + *:OS/390:*:*)
18.295 + echo i370-ibm-openedition
18.296 + exit ;;
18.297 + *:z/VM:*:*)
18.298 + echo s390-ibm-zvmoe
18.299 + exit ;;
18.300 + *:OS400:*:*)
18.301 + echo powerpc-ibm-os400
18.302 + exit ;;
18.303 + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
18.304 + echo arm-acorn-riscix${UNAME_RELEASE}
18.305 + exit ;;
18.306 + arm:riscos:*:*|arm:RISCOS:*:*)
18.307 + echo arm-unknown-riscos
18.308 + exit ;;
18.309 + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
18.310 + echo hppa1.1-hitachi-hiuxmpp
18.311 + exit ;;
18.312 + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
18.313 + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
18.314 + if test "`(/bin/universe) 2>/dev/null`" = att ; then
18.315 + echo pyramid-pyramid-sysv3
18.316 + else
18.317 + echo pyramid-pyramid-bsd
18.318 + fi
18.319 + exit ;;
18.320 + NILE*:*:*:dcosx)
18.321 + echo pyramid-pyramid-svr4
18.322 + exit ;;
18.323 + DRS?6000:unix:4.0:6*)
18.324 + echo sparc-icl-nx6
18.325 + exit ;;
18.326 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
18.327 + case `/usr/bin/uname -p` in
18.328 + sparc) echo sparc-icl-nx7; exit ;;
18.329 + esac ;;
18.330 + sun4H:SunOS:5.*:*)
18.331 + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
18.332 + exit ;;
18.333 + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
18.334 + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
18.335 + exit ;;
18.336 + i86pc:SunOS:5.*:*)
18.337 + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
18.338 + exit ;;
18.339 + sun4*:SunOS:6*:*)
18.340 + # According to config.sub, this is the proper way to canonicalize
18.341 + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
18.342 + # it's likely to be more like Solaris than SunOS4.
18.343 + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
18.344 + exit ;;
18.345 + sun4*:SunOS:*:*)
18.346 + case "`/usr/bin/arch -k`" in
18.347 + Series*|S4*)
18.348 + UNAME_RELEASE=`uname -v`
18.349 + ;;
18.350 + esac
18.351 + # Japanese Language versions have a version number like `4.1.3-JL'.
18.352 + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
18.353 + exit ;;
18.354 + sun3*:SunOS:*:*)
18.355 + echo m68k-sun-sunos${UNAME_RELEASE}
18.356 + exit ;;
18.357 + sun*:*:4.2BSD:*)
18.358 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
18.359 + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
18.360 + case "`/bin/arch`" in
18.361 + sun3)
18.362 + echo m68k-sun-sunos${UNAME_RELEASE}
18.363 + ;;
18.364 + sun4)
18.365 + echo sparc-sun-sunos${UNAME_RELEASE}
18.366 + ;;
18.367 + esac
18.368 + exit ;;
18.369 + aushp:SunOS:*:*)
18.370 + echo sparc-auspex-sunos${UNAME_RELEASE}
18.371 + exit ;;
18.372 + # The situation for MiNT is a little confusing. The machine name
18.373 + # can be virtually everything (everything which is not
18.374 + # "atarist" or "atariste" at least should have a processor
18.375 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
18.376 + # to the lowercase version "mint" (or "freemint"). Finally
18.377 + # the system name "TOS" denotes a system which is actually not
18.378 + # MiNT. But MiNT is downward compatible to TOS, so this should
18.379 + # be no problem.
18.380 + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
18.381 + echo m68k-atari-mint${UNAME_RELEASE}
18.382 + exit ;;
18.383 + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
18.384 + echo m68k-atari-mint${UNAME_RELEASE}
18.385 + exit ;;
18.386 + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
18.387 + echo m68k-atari-mint${UNAME_RELEASE}
18.388 + exit ;;
18.389 + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
18.390 + echo m68k-milan-mint${UNAME_RELEASE}
18.391 + exit ;;
18.392 + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
18.393 + echo m68k-hades-mint${UNAME_RELEASE}
18.394 + exit ;;
18.395 + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
18.396 + echo m68k-unknown-mint${UNAME_RELEASE}
18.397 + exit ;;
18.398 + m68k:machten:*:*)
18.399 + echo m68k-apple-machten${UNAME_RELEASE}
18.400 + exit ;;
18.401 + powerpc:machten:*:*)
18.402 + echo powerpc-apple-machten${UNAME_RELEASE}
18.403 + exit ;;
18.404 + RISC*:Mach:*:*)
18.405 + echo mips-dec-mach_bsd4.3
18.406 + exit ;;
18.407 + RISC*:ULTRIX:*:*)
18.408 + echo mips-dec-ultrix${UNAME_RELEASE}
18.409 + exit ;;
18.410 + VAX*:ULTRIX*:*:*)
18.411 + echo vax-dec-ultrix${UNAME_RELEASE}
18.412 + exit ;;
18.413 + 2020:CLIX:*:* | 2430:CLIX:*:*)
18.414 + echo clipper-intergraph-clix${UNAME_RELEASE}
18.415 + exit ;;
18.416 + mips:*:*:UMIPS | mips:*:*:RISCos)
18.417 + eval $set_cc_for_build
18.418 + sed 's/^ //' << EOF >$dummy.c
18.419 +#ifdef __cplusplus
18.420 +#include <stdio.h> /* for printf() prototype */
18.421 + int main (int argc, char *argv[]) {
18.422 +#else
18.423 + int main (argc, argv) int argc; char *argv[]; {
18.424 +#endif
18.425 + #if defined (host_mips) && defined (MIPSEB)
18.426 + #if defined (SYSTYPE_SYSV)
18.427 + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
18.428 + #endif
18.429 + #if defined (SYSTYPE_SVR4)
18.430 + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
18.431 + #endif
18.432 + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
18.433 + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
18.434 + #endif
18.435 + #endif
18.436 + exit (-1);
18.437 + }
18.438 +EOF
18.439 + $CC_FOR_BUILD -o $dummy $dummy.c &&
18.440 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
18.441 + SYSTEM_NAME=`$dummy $dummyarg` &&
18.442 + { echo "$SYSTEM_NAME"; exit; }
18.443 + echo mips-mips-riscos${UNAME_RELEASE}
18.444 + exit ;;
18.445 + Motorola:PowerMAX_OS:*:*)
18.446 + echo powerpc-motorola-powermax
18.447 + exit ;;
18.448 + Motorola:*:4.3:PL8-*)
18.449 + echo powerpc-harris-powermax
18.450 + exit ;;
18.451 + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
18.452 + echo powerpc-harris-powermax
18.453 + exit ;;
18.454 + Night_Hawk:Power_UNIX:*:*)
18.455 + echo powerpc-harris-powerunix
18.456 + exit ;;
18.457 + m88k:CX/UX:7*:*)
18.458 + echo m88k-harris-cxux7
18.459 + exit ;;
18.460 + m88k:*:4*:R4*)
18.461 + echo m88k-motorola-sysv4
18.462 + exit ;;
18.463 + m88k:*:3*:R3*)
18.464 + echo m88k-motorola-sysv3
18.465 + exit ;;
18.466 + AViiON:dgux:*:*)
18.467 + # DG/UX returns AViiON for all architectures
18.468 + UNAME_PROCESSOR=`/usr/bin/uname -p`
18.469 + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
18.470 + then
18.471 + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
18.472 + [ ${TARGET_BINARY_INTERFACE}x = x ]
18.473 + then
18.474 + echo m88k-dg-dgux${UNAME_RELEASE}
18.475 + else
18.476 + echo m88k-dg-dguxbcs${UNAME_RELEASE}
18.477 + fi
18.478 + else
18.479 + echo i586-dg-dgux${UNAME_RELEASE}
18.480 + fi
18.481 + exit ;;
18.482 + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
18.483 + echo m88k-dolphin-sysv3
18.484 + exit ;;
18.485 + M88*:*:R3*:*)
18.486 + # Delta 88k system running SVR3
18.487 + echo m88k-motorola-sysv3
18.488 + exit ;;
18.489 + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
18.490 + echo m88k-tektronix-sysv3
18.491 + exit ;;
18.492 + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
18.493 + echo m68k-tektronix-bsd
18.494 + exit ;;
18.495 + *:IRIX*:*:*)
18.496 + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
18.497 + exit ;;
18.498 + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
18.499 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
18.500 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
18.501 + i*86:AIX:*:*)
18.502 + echo i386-ibm-aix
18.503 + exit ;;
18.504 + ia64:AIX:*:*)
18.505 + if [ -x /usr/bin/oslevel ] ; then
18.506 + IBM_REV=`/usr/bin/oslevel`
18.507 + else
18.508 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
18.509 + fi
18.510 + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
18.511 + exit ;;
18.512 + *:AIX:2:3)
18.513 + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
18.514 + eval $set_cc_for_build
18.515 + sed 's/^ //' << EOF >$dummy.c
18.516 + #include <sys/systemcfg.h>
18.517 +
18.518 + main()
18.519 + {
18.520 + if (!__power_pc())
18.521 + exit(1);
18.522 + puts("powerpc-ibm-aix3.2.5");
18.523 + exit(0);
18.524 + }
18.525 +EOF
18.526 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
18.527 + then
18.528 + echo "$SYSTEM_NAME"
18.529 + else
18.530 + echo rs6000-ibm-aix3.2.5
18.531 + fi
18.532 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
18.533 + echo rs6000-ibm-aix3.2.4
18.534 + else
18.535 + echo rs6000-ibm-aix3.2
18.536 + fi
18.537 + exit ;;
18.538 + *:AIX:*:[45])
18.539 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
18.540 + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
18.541 + IBM_ARCH=rs6000
18.542 + else
18.543 + IBM_ARCH=powerpc
18.544 + fi
18.545 + if [ -x /usr/bin/oslevel ] ; then
18.546 + IBM_REV=`/usr/bin/oslevel`
18.547 + else
18.548 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
18.549 + fi
18.550 + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
18.551 + exit ;;
18.552 + *:AIX:*:*)
18.553 + echo rs6000-ibm-aix
18.554 + exit ;;
18.555 + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
18.556 + echo romp-ibm-bsd4.4
18.557 + exit ;;
18.558 + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
18.559 + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
18.560 + exit ;; # report: romp-ibm BSD 4.3
18.561 + *:BOSX:*:*)
18.562 + echo rs6000-bull-bosx
18.563 + exit ;;
18.564 + DPX/2?00:B.O.S.:*:*)
18.565 + echo m68k-bull-sysv3
18.566 + exit ;;
18.567 + 9000/[34]??:4.3bsd:1.*:*)
18.568 + echo m68k-hp-bsd
18.569 + exit ;;
18.570 + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
18.571 + echo m68k-hp-bsd4.4
18.572 + exit ;;
18.573 + 9000/[34678]??:HP-UX:*:*)
18.574 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
18.575 + case "${UNAME_MACHINE}" in
18.576 + 9000/31? ) HP_ARCH=m68000 ;;
18.577 + 9000/[34]?? ) HP_ARCH=m68k ;;
18.578 + 9000/[678][0-9][0-9])
18.579 + if [ -x /usr/bin/getconf ]; then
18.580 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
18.581 + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
18.582 + case "${sc_cpu_version}" in
18.583 + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
18.584 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
18.585 + 532) # CPU_PA_RISC2_0
18.586 + case "${sc_kernel_bits}" in
18.587 + 32) HP_ARCH="hppa2.0n" ;;
18.588 + 64) HP_ARCH="hppa2.0w" ;;
18.589 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
18.590 + esac ;;
18.591 + esac
18.592 + fi
18.593 + if [ "${HP_ARCH}" = "" ]; then
18.594 + eval $set_cc_for_build
18.595 + sed 's/^ //' << EOF >$dummy.c
18.596 +
18.597 + #define _HPUX_SOURCE
18.598 + #include <stdlib.h>
18.599 + #include <unistd.h>
18.600 +
18.601 + int main ()
18.602 + {
18.603 + #if defined(_SC_KERNEL_BITS)
18.604 + long bits = sysconf(_SC_KERNEL_BITS);
18.605 + #endif
18.606 + long cpu = sysconf (_SC_CPU_VERSION);
18.607 +
18.608 + switch (cpu)
18.609 + {
18.610 + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
18.611 + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
18.612 + case CPU_PA_RISC2_0:
18.613 + #if defined(_SC_KERNEL_BITS)
18.614 + switch (bits)
18.615 + {
18.616 + case 64: puts ("hppa2.0w"); break;
18.617 + case 32: puts ("hppa2.0n"); break;
18.618 + default: puts ("hppa2.0"); break;
18.619 + } break;
18.620 + #else /* !defined(_SC_KERNEL_BITS) */
18.621 + puts ("hppa2.0"); break;
18.622 + #endif
18.623 + default: puts ("hppa1.0"); break;
18.624 + }
18.625 + exit (0);
18.626 + }
18.627 +EOF
18.628 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
18.629 + test -z "$HP_ARCH" && HP_ARCH=hppa
18.630 + fi ;;
18.631 + esac
18.632 + if [ ${HP_ARCH} = "hppa2.0w" ]
18.633 + then
18.634 + eval $set_cc_for_build
18.635 +
18.636 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
18.637 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
18.638 + # generating 64-bit code. GNU and HP use different nomenclature:
18.639 + #
18.640 + # $ CC_FOR_BUILD=cc ./config.guess
18.641 + # => hppa2.0w-hp-hpux11.23
18.642 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
18.643 + # => hppa64-hp-hpux11.23
18.644 +
18.645 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
18.646 + grep __LP64__ >/dev/null
18.647 + then
18.648 + HP_ARCH="hppa2.0w"
18.649 + else
18.650 + HP_ARCH="hppa64"
18.651 + fi
18.652 + fi
18.653 + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
18.654 + exit ;;
18.655 + ia64:HP-UX:*:*)
18.656 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
18.657 + echo ia64-hp-hpux${HPUX_REV}
18.658 + exit ;;
18.659 + 3050*:HI-UX:*:*)
18.660 + eval $set_cc_for_build
18.661 + sed 's/^ //' << EOF >$dummy.c
18.662 + #include <unistd.h>
18.663 + int
18.664 + main ()
18.665 + {
18.666 + long cpu = sysconf (_SC_CPU_VERSION);
18.667 + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
18.668 + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
18.669 + results, however. */
18.670 + if (CPU_IS_PA_RISC (cpu))
18.671 + {
18.672 + switch (cpu)
18.673 + {
18.674 + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
18.675 + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
18.676 + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
18.677 + default: puts ("hppa-hitachi-hiuxwe2"); break;
18.678 + }
18.679 + }
18.680 + else if (CPU_IS_HP_MC68K (cpu))
18.681 + puts ("m68k-hitachi-hiuxwe2");
18.682 + else puts ("unknown-hitachi-hiuxwe2");
18.683 + exit (0);
18.684 + }
18.685 +EOF
18.686 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
18.687 + { echo "$SYSTEM_NAME"; exit; }
18.688 + echo unknown-hitachi-hiuxwe2
18.689 + exit ;;
18.690 + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
18.691 + echo hppa1.1-hp-bsd
18.692 + exit ;;
18.693 + 9000/8??:4.3bsd:*:*)
18.694 + echo hppa1.0-hp-bsd
18.695 + exit ;;
18.696 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
18.697 + echo hppa1.0-hp-mpeix
18.698 + exit ;;
18.699 + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
18.700 + echo hppa1.1-hp-osf
18.701 + exit ;;
18.702 + hp8??:OSF1:*:*)
18.703 + echo hppa1.0-hp-osf
18.704 + exit ;;
18.705 + i*86:OSF1:*:*)
18.706 + if [ -x /usr/sbin/sysversion ] ; then
18.707 + echo ${UNAME_MACHINE}-unknown-osf1mk
18.708 + else
18.709 + echo ${UNAME_MACHINE}-unknown-osf1
18.710 + fi
18.711 + exit ;;
18.712 + parisc*:Lites*:*:*)
18.713 + echo hppa1.1-hp-lites
18.714 + exit ;;
18.715 + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
18.716 + echo c1-convex-bsd
18.717 + exit ;;
18.718 + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
18.719 + if getsysinfo -f scalar_acc
18.720 + then echo c32-convex-bsd
18.721 + else echo c2-convex-bsd
18.722 + fi
18.723 + exit ;;
18.724 + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
18.725 + echo c34-convex-bsd
18.726 + exit ;;
18.727 + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
18.728 + echo c38-convex-bsd
18.729 + exit ;;
18.730 + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
18.731 + echo c4-convex-bsd
18.732 + exit ;;
18.733 + CRAY*Y-MP:*:*:*)
18.734 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
18.735 + exit ;;
18.736 + CRAY*[A-Z]90:*:*:*)
18.737 + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
18.738 + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
18.739 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
18.740 + -e 's/\.[^.]*$/.X/'
18.741 + exit ;;
18.742 + CRAY*TS:*:*:*)
18.743 + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
18.744 + exit ;;
18.745 + CRAY*T3E:*:*:*)
18.746 + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
18.747 + exit ;;
18.748 + CRAY*SV1:*:*:*)
18.749 + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
18.750 + exit ;;
18.751 + *:UNICOS/mp:*:*)
18.752 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
18.753 + exit ;;
18.754 + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
18.755 + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
18.756 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
18.757 + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
18.758 + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
18.759 + exit ;;
18.760 + 5000:UNIX_System_V:4.*:*)
18.761 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
18.762 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
18.763 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
18.764 + exit ;;
18.765 + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
18.766 + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
18.767 + exit ;;
18.768 + sparc*:BSD/OS:*:*)
18.769 + echo sparc-unknown-bsdi${UNAME_RELEASE}
18.770 + exit ;;
18.771 + *:BSD/OS:*:*)
18.772 + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
18.773 + exit ;;
18.774 + *:FreeBSD:*:*)
18.775 + case ${UNAME_MACHINE} in
18.776 + pc98)
18.777 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
18.778 + amd64)
18.779 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
18.780 + *)
18.781 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
18.782 + esac
18.783 + exit ;;
18.784 + i*:CYGWIN*:*)
18.785 + echo ${UNAME_MACHINE}-pc-cygwin
18.786 + exit ;;
18.787 + *:MINGW*:*)
18.788 + echo ${UNAME_MACHINE}-pc-mingw32
18.789 + exit ;;
18.790 + i*:windows32*:*)
18.791 + # uname -m includes "-pc" on this system.
18.792 + echo ${UNAME_MACHINE}-mingw32
18.793 + exit ;;
18.794 + i*:PW*:*)
18.795 + echo ${UNAME_MACHINE}-pc-pw32
18.796 + exit ;;
18.797 + *:Interix*:[3456]*)
18.798 + case ${UNAME_MACHINE} in
18.799 + x86)
18.800 + echo i586-pc-interix${UNAME_RELEASE}
18.801 + exit ;;
18.802 + EM64T | authenticamd)
18.803 + echo x86_64-unknown-interix${UNAME_RELEASE}
18.804 + exit ;;
18.805 + esac ;;
18.806 + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
18.807 + echo i${UNAME_MACHINE}-pc-mks
18.808 + exit ;;
18.809 + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
18.810 + # How do we know it's Interix rather than the generic POSIX subsystem?
18.811 + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
18.812 + # UNAME_MACHINE based on the output of uname instead of i386?
18.813 + echo i586-pc-interix
18.814 + exit ;;
18.815 + i*:UWIN*:*)
18.816 + echo ${UNAME_MACHINE}-pc-uwin
18.817 + exit ;;
18.818 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
18.819 + echo x86_64-unknown-cygwin
18.820 + exit ;;
18.821 + p*:CYGWIN*:*)
18.822 + echo powerpcle-unknown-cygwin
18.823 + exit ;;
18.824 + prep*:SunOS:5.*:*)
18.825 + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
18.826 + exit ;;
18.827 + *:GNU:*:*)
18.828 + # the GNU system
18.829 + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
18.830 + exit ;;
18.831 + *:GNU/*:*:*)
18.832 + # other systems with GNU libc and userland
18.833 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
18.834 + exit ;;
18.835 + i*86:Minix:*:*)
18.836 + echo ${UNAME_MACHINE}-pc-minix
18.837 + exit ;;
18.838 + arm*:Linux:*:*)
18.839 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.840 + exit ;;
18.841 + avr32*:Linux:*:*)
18.842 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.843 + exit ;;
18.844 + cris:Linux:*:*)
18.845 + echo cris-axis-linux-gnu
18.846 + exit ;;
18.847 + crisv32:Linux:*:*)
18.848 + echo crisv32-axis-linux-gnu
18.849 + exit ;;
18.850 + frv:Linux:*:*)
18.851 + echo frv-unknown-linux-gnu
18.852 + exit ;;
18.853 + ia64:Linux:*:*)
18.854 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.855 + exit ;;
18.856 + m32r*:Linux:*:*)
18.857 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.858 + exit ;;
18.859 + m68*:Linux:*:*)
18.860 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.861 + exit ;;
18.862 + mips:Linux:*:*)
18.863 + eval $set_cc_for_build
18.864 + sed 's/^ //' << EOF >$dummy.c
18.865 + #undef CPU
18.866 + #undef mips
18.867 + #undef mipsel
18.868 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
18.869 + CPU=mipsel
18.870 + #else
18.871 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
18.872 + CPU=mips
18.873 + #else
18.874 + CPU=
18.875 + #endif
18.876 + #endif
18.877 +EOF
18.878 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
18.879 + /^CPU/{
18.880 + s: ::g
18.881 + p
18.882 + }'`"
18.883 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
18.884 + ;;
18.885 + mips64:Linux:*:*)
18.886 + eval $set_cc_for_build
18.887 + sed 's/^ //' << EOF >$dummy.c
18.888 + #undef CPU
18.889 + #undef mips64
18.890 + #undef mips64el
18.891 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
18.892 + CPU=mips64el
18.893 + #else
18.894 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
18.895 + CPU=mips64
18.896 + #else
18.897 + CPU=
18.898 + #endif
18.899 + #endif
18.900 +EOF
18.901 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
18.902 + /^CPU/{
18.903 + s: ::g
18.904 + p
18.905 + }'`"
18.906 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
18.907 + ;;
18.908 + or32:Linux:*:*)
18.909 + echo or32-unknown-linux-gnu
18.910 + exit ;;
18.911 + ppc:Linux:*:*)
18.912 + echo powerpc-unknown-linux-gnu
18.913 + exit ;;
18.914 + ppc64:Linux:*:*)
18.915 + echo powerpc64-unknown-linux-gnu
18.916 + exit ;;
18.917 + alpha:Linux:*:*)
18.918 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
18.919 + EV5) UNAME_MACHINE=alphaev5 ;;
18.920 + EV56) UNAME_MACHINE=alphaev56 ;;
18.921 + PCA56) UNAME_MACHINE=alphapca56 ;;
18.922 + PCA57) UNAME_MACHINE=alphapca56 ;;
18.923 + EV6) UNAME_MACHINE=alphaev6 ;;
18.924 + EV67) UNAME_MACHINE=alphaev67 ;;
18.925 + EV68*) UNAME_MACHINE=alphaev68 ;;
18.926 + esac
18.927 + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
18.928 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
18.929 + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
18.930 + exit ;;
18.931 + parisc:Linux:*:* | hppa:Linux:*:*)
18.932 + # Look for CPU level
18.933 + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
18.934 + PA7*) echo hppa1.1-unknown-linux-gnu ;;
18.935 + PA8*) echo hppa2.0-unknown-linux-gnu ;;
18.936 + *) echo hppa-unknown-linux-gnu ;;
18.937 + esac
18.938 + exit ;;
18.939 + parisc64:Linux:*:* | hppa64:Linux:*:*)
18.940 + echo hppa64-unknown-linux-gnu
18.941 + exit ;;
18.942 + s390:Linux:*:* | s390x:Linux:*:*)
18.943 + echo ${UNAME_MACHINE}-ibm-linux
18.944 + exit ;;
18.945 + sh64*:Linux:*:*)
18.946 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.947 + exit ;;
18.948 + sh*:Linux:*:*)
18.949 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.950 + exit ;;
18.951 + sparc:Linux:*:* | sparc64:Linux:*:*)
18.952 + echo ${UNAME_MACHINE}-unknown-linux-gnu
18.953 + exit ;;
18.954 + vax:Linux:*:*)
18.955 + echo ${UNAME_MACHINE}-dec-linux-gnu
18.956 + exit ;;
18.957 + x86_64:Linux:*:*)
18.958 + echo x86_64-unknown-linux-gnu
18.959 + exit ;;
18.960 + xtensa:Linux:*:*)
18.961 + echo xtensa-unknown-linux-gnu
18.962 + exit ;;
18.963 + i*86:Linux:*:*)
18.964 + # The BFD linker knows what the default object file format is, so
18.965 + # first see if it will tell us. cd to the root directory to prevent
18.966 + # problems with other programs or directories called `ld' in the path.
18.967 + # Set LC_ALL=C to ensure ld outputs messages in English.
18.968 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
18.969 + | sed -ne '/supported targets:/!d
18.970 + s/[ ][ ]*/ /g
18.971 + s/.*supported targets: *//
18.972 + s/ .*//
18.973 + p'`
18.974 + case "$ld_supported_targets" in
18.975 + elf32-i386)
18.976 + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
18.977 + ;;
18.978 + a.out-i386-linux)
18.979 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
18.980 + exit ;;
18.981 + coff-i386)
18.982 + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
18.983 + exit ;;
18.984 + "")
18.985 + # Either a pre-BFD a.out linker (linux-gnuoldld) or
18.986 + # one that does not give us useful --help.
18.987 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
18.988 + exit ;;
18.989 + esac
18.990 + # Determine whether the default compiler is a.out or elf
18.991 + eval $set_cc_for_build
18.992 + sed 's/^ //' << EOF >$dummy.c
18.993 + #include <features.h>
18.994 + #ifdef __ELF__
18.995 + # ifdef __GLIBC__
18.996 + # if __GLIBC__ >= 2
18.997 + LIBC=gnu
18.998 + # else
18.999 + LIBC=gnulibc1
18.1000 + # endif
18.1001 + # else
18.1002 + LIBC=gnulibc1
18.1003 + # endif
18.1004 + #else
18.1005 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
18.1006 + LIBC=gnu
18.1007 + #else
18.1008 + LIBC=gnuaout
18.1009 + #endif
18.1010 + #endif
18.1011 + #ifdef __dietlibc__
18.1012 + LIBC=dietlibc
18.1013 + #endif
18.1014 +EOF
18.1015 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
18.1016 + /^LIBC/{
18.1017 + s: ::g
18.1018 + p
18.1019 + }'`"
18.1020 + test x"${LIBC}" != x && {
18.1021 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
18.1022 + exit
18.1023 + }
18.1024 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
18.1025 + ;;
18.1026 + i*86:DYNIX/ptx:4*:*)
18.1027 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
18.1028 + # earlier versions are messed up and put the nodename in both
18.1029 + # sysname and nodename.
18.1030 + echo i386-sequent-sysv4
18.1031 + exit ;;
18.1032 + i*86:UNIX_SV:4.2MP:2.*)
18.1033 + # Unixware is an offshoot of SVR4, but it has its own version
18.1034 + # number series starting with 2...
18.1035 + # I am not positive that other SVR4 systems won't match this,
18.1036 + # I just have to hope. -- rms.
18.1037 + # Use sysv4.2uw... so that sysv4* matches it.
18.1038 + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
18.1039 + exit ;;
18.1040 + i*86:OS/2:*:*)
18.1041 + # If we were able to find `uname', then EMX Unix compatibility
18.1042 + # is probably installed.
18.1043 + echo ${UNAME_MACHINE}-pc-os2-emx
18.1044 + exit ;;
18.1045 + i*86:XTS-300:*:STOP)
18.1046 + echo ${UNAME_MACHINE}-unknown-stop
18.1047 + exit ;;
18.1048 + i*86:atheos:*:*)
18.1049 + echo ${UNAME_MACHINE}-unknown-atheos
18.1050 + exit ;;
18.1051 + i*86:syllable:*:*)
18.1052 + echo ${UNAME_MACHINE}-pc-syllable
18.1053 + exit ;;
18.1054 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
18.1055 + echo i386-unknown-lynxos${UNAME_RELEASE}
18.1056 + exit ;;
18.1057 + i*86:*DOS:*:*)
18.1058 + echo ${UNAME_MACHINE}-pc-msdosdjgpp
18.1059 + exit ;;
18.1060 + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
18.1061 + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
18.1062 + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
18.1063 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
18.1064 + else
18.1065 + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
18.1066 + fi
18.1067 + exit ;;
18.1068 + i*86:*:5:[678]*)
18.1069 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
18.1070 + case `/bin/uname -X | grep "^Machine"` in
18.1071 + *486*) UNAME_MACHINE=i486 ;;
18.1072 + *Pentium) UNAME_MACHINE=i586 ;;
18.1073 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
18.1074 + esac
18.1075 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
18.1076 + exit ;;
18.1077 + i*86:*:3.2:*)
18.1078 + if test -f /usr/options/cb.name; then
18.1079 + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
18.1080 + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
18.1081 + elif /bin/uname -X 2>/dev/null >/dev/null ; then
18.1082 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
18.1083 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
18.1084 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
18.1085 + && UNAME_MACHINE=i586
18.1086 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
18.1087 + && UNAME_MACHINE=i686
18.1088 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
18.1089 + && UNAME_MACHINE=i686
18.1090 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
18.1091 + else
18.1092 + echo ${UNAME_MACHINE}-pc-sysv32
18.1093 + fi
18.1094 + exit ;;
18.1095 + pc:*:*:*)
18.1096 + # Left here for compatibility:
18.1097 + # uname -m prints for DJGPP always 'pc', but it prints nothing about
18.1098 + # the processor, so we play safe by assuming i386.
18.1099 + echo i386-pc-msdosdjgpp
18.1100 + exit ;;
18.1101 + Intel:Mach:3*:*)
18.1102 + echo i386-pc-mach3
18.1103 + exit ;;
18.1104 + paragon:*:*:*)
18.1105 + echo i860-intel-osf1
18.1106 + exit ;;
18.1107 + i860:*:4.*:*) # i860-SVR4
18.1108 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
18.1109 + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
18.1110 + else # Add other i860-SVR4 vendors below as they are discovered.
18.1111 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
18.1112 + fi
18.1113 + exit ;;
18.1114 + mini*:CTIX:SYS*5:*)
18.1115 + # "miniframe"
18.1116 + echo m68010-convergent-sysv
18.1117 + exit ;;
18.1118 + mc68k:UNIX:SYSTEM5:3.51m)
18.1119 + echo m68k-convergent-sysv
18.1120 + exit ;;
18.1121 + M680?0:D-NIX:5.3:*)
18.1122 + echo m68k-diab-dnix
18.1123 + exit ;;
18.1124 + M68*:*:R3V[5678]*:*)
18.1125 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
18.1126 + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
18.1127 + OS_REL=''
18.1128 + test -r /etc/.relid \
18.1129 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
18.1130 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
18.1131 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
18.1132 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
18.1133 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
18.1134 + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
18.1135 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
18.1136 + && { echo i486-ncr-sysv4; exit; } ;;
18.1137 + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
18.1138 + echo m68k-unknown-lynxos${UNAME_RELEASE}
18.1139 + exit ;;
18.1140 + mc68030:UNIX_System_V:4.*:*)
18.1141 + echo m68k-atari-sysv4
18.1142 + exit ;;
18.1143 + TSUNAMI:LynxOS:2.*:*)
18.1144 + echo sparc-unknown-lynxos${UNAME_RELEASE}
18.1145 + exit ;;
18.1146 + rs6000:LynxOS:2.*:*)
18.1147 + echo rs6000-unknown-lynxos${UNAME_RELEASE}
18.1148 + exit ;;
18.1149 + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
18.1150 + echo powerpc-unknown-lynxos${UNAME_RELEASE}
18.1151 + exit ;;
18.1152 + SM[BE]S:UNIX_SV:*:*)
18.1153 + echo mips-dde-sysv${UNAME_RELEASE}
18.1154 + exit ;;
18.1155 + RM*:ReliantUNIX-*:*:*)
18.1156 + echo mips-sni-sysv4
18.1157 + exit ;;
18.1158 + RM*:SINIX-*:*:*)
18.1159 + echo mips-sni-sysv4
18.1160 + exit ;;
18.1161 + *:SINIX-*:*:*)
18.1162 + if uname -p 2>/dev/null >/dev/null ; then
18.1163 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
18.1164 + echo ${UNAME_MACHINE}-sni-sysv4
18.1165 + else
18.1166 + echo ns32k-sni-sysv
18.1167 + fi
18.1168 + exit ;;
18.1169 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
18.1170 + # says <Richard.M.Bartel@ccMail.Census.GOV>
18.1171 + echo i586-unisys-sysv4
18.1172 + exit ;;
18.1173 + *:UNIX_System_V:4*:FTX*)
18.1174 + # From Gerald Hewes <hewes@openmarket.com>.
18.1175 + # How about differentiating between stratus architectures? -djm
18.1176 + echo hppa1.1-stratus-sysv4
18.1177 + exit ;;
18.1178 + *:*:*:FTX*)
18.1179 + # From seanf@swdc.stratus.com.
18.1180 + echo i860-stratus-sysv4
18.1181 + exit ;;
18.1182 + i*86:VOS:*:*)
18.1183 + # From Paul.Green@stratus.com.
18.1184 + echo ${UNAME_MACHINE}-stratus-vos
18.1185 + exit ;;
18.1186 + *:VOS:*:*)
18.1187 + # From Paul.Green@stratus.com.
18.1188 + echo hppa1.1-stratus-vos
18.1189 + exit ;;
18.1190 + mc68*:A/UX:*:*)
18.1191 + echo m68k-apple-aux${UNAME_RELEASE}
18.1192 + exit ;;
18.1193 + news*:NEWS-OS:6*:*)
18.1194 + echo mips-sony-newsos6
18.1195 + exit ;;
18.1196 + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
18.1197 + if [ -d /usr/nec ]; then
18.1198 + echo mips-nec-sysv${UNAME_RELEASE}
18.1199 + else
18.1200 + echo mips-unknown-sysv${UNAME_RELEASE}
18.1201 + fi
18.1202 + exit ;;
18.1203 + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
18.1204 + echo powerpc-be-beos
18.1205 + exit ;;
18.1206 + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
18.1207 + echo powerpc-apple-beos
18.1208 + exit ;;
18.1209 + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
18.1210 + echo i586-pc-beos
18.1211 + exit ;;
18.1212 + SX-4:SUPER-UX:*:*)
18.1213 + echo sx4-nec-superux${UNAME_RELEASE}
18.1214 + exit ;;
18.1215 + SX-5:SUPER-UX:*:*)
18.1216 + echo sx5-nec-superux${UNAME_RELEASE}
18.1217 + exit ;;
18.1218 + SX-6:SUPER-UX:*:*)
18.1219 + echo sx6-nec-superux${UNAME_RELEASE}
18.1220 + exit ;;
18.1221 + SX-7:SUPER-UX:*:*)
18.1222 + echo sx7-nec-superux${UNAME_RELEASE}
18.1223 + exit ;;
18.1224 + SX-8:SUPER-UX:*:*)
18.1225 + echo sx8-nec-superux${UNAME_RELEASE}
18.1226 + exit ;;
18.1227 + SX-8R:SUPER-UX:*:*)
18.1228 + echo sx8r-nec-superux${UNAME_RELEASE}
18.1229 + exit ;;
18.1230 + Power*:Rhapsody:*:*)
18.1231 + echo powerpc-apple-rhapsody${UNAME_RELEASE}
18.1232 + exit ;;
18.1233 + *:Rhapsody:*:*)
18.1234 + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
18.1235 + exit ;;
18.1236 + *:Darwin:*:*)
18.1237 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
18.1238 + case $UNAME_PROCESSOR in
18.1239 + unknown) UNAME_PROCESSOR=powerpc ;;
18.1240 + esac
18.1241 + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
18.1242 + exit ;;
18.1243 + *:procnto*:*:* | *:QNX:[0123456789]*:*)
18.1244 + UNAME_PROCESSOR=`uname -p`
18.1245 + if test "$UNAME_PROCESSOR" = "x86"; then
18.1246 + UNAME_PROCESSOR=i386
18.1247 + UNAME_MACHINE=pc
18.1248 + fi
18.1249 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
18.1250 + exit ;;
18.1251 + *:QNX:*:4*)
18.1252 + echo i386-pc-qnx
18.1253 + exit ;;
18.1254 + NSE-?:NONSTOP_KERNEL:*:*)
18.1255 + echo nse-tandem-nsk${UNAME_RELEASE}
18.1256 + exit ;;
18.1257 + NSR-?:NONSTOP_KERNEL:*:*)
18.1258 + echo nsr-tandem-nsk${UNAME_RELEASE}
18.1259 + exit ;;
18.1260 + *:NonStop-UX:*:*)
18.1261 + echo mips-compaq-nonstopux
18.1262 + exit ;;
18.1263 + BS2000:POSIX*:*:*)
18.1264 + echo bs2000-siemens-sysv
18.1265 + exit ;;
18.1266 + DS/*:UNIX_System_V:*:*)
18.1267 + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
18.1268 + exit ;;
18.1269 + *:Plan9:*:*)
18.1270 + # "uname -m" is not consistent, so use $cputype instead. 386
18.1271 + # is converted to i386 for consistency with other x86
18.1272 + # operating systems.
18.1273 + if test "$cputype" = "386"; then
18.1274 + UNAME_MACHINE=i386
18.1275 + else
18.1276 + UNAME_MACHINE="$cputype"
18.1277 + fi
18.1278 + echo ${UNAME_MACHINE}-unknown-plan9
18.1279 + exit ;;
18.1280 + *:TOPS-10:*:*)
18.1281 + echo pdp10-unknown-tops10
18.1282 + exit ;;
18.1283 + *:TENEX:*:*)
18.1284 + echo pdp10-unknown-tenex
18.1285 + exit ;;
18.1286 + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
18.1287 + echo pdp10-dec-tops20
18.1288 + exit ;;
18.1289 + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
18.1290 + echo pdp10-xkl-tops20
18.1291 + exit ;;
18.1292 + *:TOPS-20:*:*)
18.1293 + echo pdp10-unknown-tops20
18.1294 + exit ;;
18.1295 + *:ITS:*:*)
18.1296 + echo pdp10-unknown-its
18.1297 + exit ;;
18.1298 + SEI:*:*:SEIUX)
18.1299 + echo mips-sei-seiux${UNAME_RELEASE}
18.1300 + exit ;;
18.1301 + *:DragonFly:*:*)
18.1302 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
18.1303 + exit ;;
18.1304 + *:*VMS:*:*)
18.1305 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
18.1306 + case "${UNAME_MACHINE}" in
18.1307 + A*) echo alpha-dec-vms ; exit ;;
18.1308 + I*) echo ia64-dec-vms ; exit ;;
18.1309 + V*) echo vax-dec-vms ; exit ;;
18.1310 + esac ;;
18.1311 + *:XENIX:*:SysV)
18.1312 + echo i386-pc-xenix
18.1313 + exit ;;
18.1314 + i*86:skyos:*:*)
18.1315 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
18.1316 + exit ;;
18.1317 + i*86:rdos:*:*)
18.1318 + echo ${UNAME_MACHINE}-pc-rdos
18.1319 + exit ;;
18.1320 +esac
18.1321 +
18.1322 +#echo '(No uname command or uname output not recognized.)' 1>&2
18.1323 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
18.1324 +
18.1325 +eval $set_cc_for_build
18.1326 +cat >$dummy.c <<EOF
18.1327 +#ifdef _SEQUENT_
18.1328 +# include <sys/types.h>
18.1329 +# include <sys/utsname.h>
18.1330 +#endif
18.1331 +main ()
18.1332 +{
18.1333 +#if defined (sony)
18.1334 +#if defined (MIPSEB)
18.1335 + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
18.1336 + I don't know.... */
18.1337 + printf ("mips-sony-bsd\n"); exit (0);
18.1338 +#else
18.1339 +#include <sys/param.h>
18.1340 + printf ("m68k-sony-newsos%s\n",
18.1341 +#ifdef NEWSOS4
18.1342 + "4"
18.1343 +#else
18.1344 + ""
18.1345 +#endif
18.1346 + ); exit (0);
18.1347 +#endif
18.1348 +#endif
18.1349 +
18.1350 +#if defined (__arm) && defined (__acorn) && defined (__unix)
18.1351 + printf ("arm-acorn-riscix\n"); exit (0);
18.1352 +#endif
18.1353 +
18.1354 +#if defined (hp300) && !defined (hpux)
18.1355 + printf ("m68k-hp-bsd\n"); exit (0);
18.1356 +#endif
18.1357 +
18.1358 +#if defined (NeXT)
18.1359 +#if !defined (__ARCHITECTURE__)
18.1360 +#define __ARCHITECTURE__ "m68k"
18.1361 +#endif
18.1362 + int version;
18.1363 + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
18.1364 + if (version < 4)
18.1365 + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
18.1366 + else
18.1367 + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
18.1368 + exit (0);
18.1369 +#endif
18.1370 +
18.1371 +#if defined (MULTIMAX) || defined (n16)
18.1372 +#if defined (UMAXV)
18.1373 + printf ("ns32k-encore-sysv\n"); exit (0);
18.1374 +#else
18.1375 +#if defined (CMU)
18.1376 + printf ("ns32k-encore-mach\n"); exit (0);
18.1377 +#else
18.1378 + printf ("ns32k-encore-bsd\n"); exit (0);
18.1379 +#endif
18.1380 +#endif
18.1381 +#endif
18.1382 +
18.1383 +#if defined (__386BSD__)
18.1384 + printf ("i386-pc-bsd\n"); exit (0);
18.1385 +#endif
18.1386 +
18.1387 +#if defined (sequent)
18.1388 +#if defined (i386)
18.1389 + printf ("i386-sequent-dynix\n"); exit (0);
18.1390 +#endif
18.1391 +#if defined (ns32000)
18.1392 + printf ("ns32k-sequent-dynix\n"); exit (0);
18.1393 +#endif
18.1394 +#endif
18.1395 +
18.1396 +#if defined (_SEQUENT_)
18.1397 + struct utsname un;
18.1398 +
18.1399 + uname(&un);
18.1400 +
18.1401 + if (strncmp(un.version, "V2", 2) == 0) {
18.1402 + printf ("i386-sequent-ptx2\n"); exit (0);
18.1403 + }
18.1404 + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
18.1405 + printf ("i386-sequent-ptx1\n"); exit (0);
18.1406 + }
18.1407 + printf ("i386-sequent-ptx\n"); exit (0);
18.1408 +
18.1409 +#endif
18.1410 +
18.1411 +#if defined (vax)
18.1412 +# if !defined (ultrix)
18.1413 +# include <sys/param.h>
18.1414 +# if defined (BSD)
18.1415 +# if BSD == 43
18.1416 + printf ("vax-dec-bsd4.3\n"); exit (0);
18.1417 +# else
18.1418 +# if BSD == 199006
18.1419 + printf ("vax-dec-bsd4.3reno\n"); exit (0);
18.1420 +# else
18.1421 + printf ("vax-dec-bsd\n"); exit (0);
18.1422 +# endif
18.1423 +# endif
18.1424 +# else
18.1425 + printf ("vax-dec-bsd\n"); exit (0);
18.1426 +# endif
18.1427 +# else
18.1428 + printf ("vax-dec-ultrix\n"); exit (0);
18.1429 +# endif
18.1430 +#endif
18.1431 +
18.1432 +#if defined (alliant) && defined (i860)
18.1433 + printf ("i860-alliant-bsd\n"); exit (0);
18.1434 +#endif
18.1435 +
18.1436 + exit (1);
18.1437 +}
18.1438 +EOF
18.1439 +
18.1440 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
18.1441 + { echo "$SYSTEM_NAME"; exit; }
18.1442 +
18.1443 +# Apollos put the system type in the environment.
18.1444 +
18.1445 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
18.1446 +
18.1447 +# Convex versions that predate uname can use getsysinfo(1)
18.1448 +
18.1449 +if [ -x /usr/convex/getsysinfo ]
18.1450 +then
18.1451 + case `getsysinfo -f cpu_type` in
18.1452 + c1*)
18.1453 + echo c1-convex-bsd
18.1454 + exit ;;
18.1455 + c2*)
18.1456 + if getsysinfo -f scalar_acc
18.1457 + then echo c32-convex-bsd
18.1458 + else echo c2-convex-bsd
18.1459 + fi
18.1460 + exit ;;
18.1461 + c34*)
18.1462 + echo c34-convex-bsd
18.1463 + exit ;;
18.1464 + c38*)
18.1465 + echo c38-convex-bsd
18.1466 + exit ;;
18.1467 + c4*)
18.1468 + echo c4-convex-bsd
18.1469 + exit ;;
18.1470 + esac
18.1471 +fi
18.1472 +
18.1473 +cat >&2 <<EOF
18.1474 +$0: unable to guess system type
18.1475 +
18.1476 +This script, last modified $timestamp, has failed to recognize
18.1477 +the operating system you are using. It is advised that you
18.1478 +download the most up to date version of the config scripts from
18.1479 +
18.1480 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
18.1481 +and
18.1482 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
18.1483 +
18.1484 +If the version you run ($0) is already up to date, please
18.1485 +send the following data and any information you think might be
18.1486 +pertinent to <config-patches@gnu.org> in order to provide the needed
18.1487 +information to handle your system.
18.1488 +
18.1489 +config.guess timestamp = $timestamp
18.1490 +
18.1491 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
18.1492 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
18.1493 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
18.1494 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
18.1495 +
18.1496 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
18.1497 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
18.1498 +
18.1499 +hostinfo = `(hostinfo) 2>/dev/null`
18.1500 +/bin/universe = `(/bin/universe) 2>/dev/null`
18.1501 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
18.1502 +/bin/arch = `(/bin/arch) 2>/dev/null`
18.1503 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
18.1504 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
18.1505 +
18.1506 +UNAME_MACHINE = ${UNAME_MACHINE}
18.1507 +UNAME_RELEASE = ${UNAME_RELEASE}
18.1508 +UNAME_SYSTEM = ${UNAME_SYSTEM}
18.1509 +UNAME_VERSION = ${UNAME_VERSION}
18.1510 +EOF
18.1511 +
18.1512 +exit 1
18.1513 +
18.1514 +# Local variables:
18.1515 +# eval: (add-hook 'write-file-hooks 'time-stamp)
18.1516 +# time-stamp-start: "timestamp='"
18.1517 +# time-stamp-format: "%:y-%02m-%02d"
18.1518 +# time-stamp-end: "'"
18.1519 +# End:
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
19.2 +++ b/gst-gpac/config.h.in Thu Feb 21 17:44:16 2008 +0000
19.3 @@ -0,0 +1,76 @@
19.4 +/* config.h.in. Generated from configure.ac by autoheader. */
19.5 +
19.6 +/* License for Distribution */
19.7 +#undef GST_LICENSE
19.8 +
19.9 +/* package name */
19.10 +#undef GST_PACKAGE_NAME
19.11 +
19.12 +/* Origin of this package */
19.13 +#undef GST_PACKAGE_ORIGIN
19.14 +
19.15 +/* Define the version */
19.16 +#undef GST_PLUGINS_VERSION
19.17 +
19.18 +/* Define the release version */
19.19 +#undef GST_PLUGINS_VERSION_RELEASE
19.20 +
19.21 +/* Define to 1 if you have the <dlfcn.h> header file. */
19.22 +#undef HAVE_DLFCN_H
19.23 +
19.24 +/* Define to 1 if you have the <inttypes.h> header file. */
19.25 +#undef HAVE_INTTYPES_H
19.26 +
19.27 +/* Define to 1 if you have the <memory.h> header file. */
19.28 +#undef HAVE_MEMORY_H
19.29 +
19.30 +/* Define to 1 if you have the <stdint.h> header file. */
19.31 +#undef HAVE_STDINT_H
19.32 +
19.33 +/* Define to 1 if you have the <stdlib.h> header file. */
19.34 +#undef HAVE_STDLIB_H
19.35 +
19.36 +/* Define to 1 if you have the <strings.h> header file. */
19.37 +#undef HAVE_STRINGS_H
19.38 +
19.39 +/* Define to 1 if you have the <string.h> header file. */
19.40 +#undef HAVE_STRING_H
19.41 +
19.42 +/* Define to 1 if you have the <sys/stat.h> header file. */
19.43 +#undef HAVE_SYS_STAT_H
19.44 +
19.45 +/* Define to 1 if you have the <sys/types.h> header file. */
19.46 +#undef HAVE_SYS_TYPES_H
19.47 +
19.48 +/* Define to 1 if you have the <unistd.h> header file. */
19.49 +#undef HAVE_UNISTD_H
19.50 +
19.51 +/* Name of package */
19.52 +#undef PACKAGE
19.53 +
19.54 +/* Define to the address where bug reports for this package should be sent. */
19.55 +#undef PACKAGE_BUGREPORT
19.56 +
19.57 +/* Define to the full name of this package. */
19.58 +#undef PACKAGE_NAME
19.59 +
19.60 +/* Define to the full name and version of this package. */
19.61 +#undef PACKAGE_STRING
19.62 +
19.63 +/* Define to the one symbol short name of this package. */
19.64 +#undef PACKAGE_TARNAME
19.65 +
19.66 +/* Define to the version of this package. */
19.67 +#undef PACKAGE_VERSION
19.68 +
19.69 +/* Define to 1 if you have the ANSI C header files. */
19.70 +#undef STDC_HEADERS
19.71 +
19.72 +/* Version number of package */
19.73 +#undef VERSION
19.74 +
19.75 +/* Define to `__inline__' or `__inline' if that's what the C compiler
19.76 + calls it, or to nothing if 'inline' is not supported under any name. */
19.77 +#ifndef __cplusplus
19.78 +#undef inline
19.79 +#endif
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
20.2 +++ b/gst-gpac/config.sub Thu Feb 21 17:44:16 2008 +0000
20.3 @@ -0,0 +1,1622 @@
20.4 +#! /bin/sh
20.5 +# Configuration validation subroutine script.
20.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
20.7 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
20.8 +# Inc.
20.9 +
20.10 +timestamp='2007-01-18'
20.11 +
20.12 +# This file is (in principle) common to ALL GNU software.
20.13 +# The presence of a machine in this file suggests that SOME GNU software
20.14 +# can handle that machine. It does not imply ALL GNU software can.
20.15 +#
20.16 +# This file is free software; you can redistribute it and/or modify
20.17 +# it under the terms of the GNU General Public License as published by
20.18 +# the Free Software Foundation; either version 2 of the License, or
20.19 +# (at your option) any later version.
20.20 +#
20.21 +# This program is distributed in the hope that it will be useful,
20.22 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
20.23 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20.24 +# GNU General Public License for more details.
20.25 +#
20.26 +# You should have received a copy of the GNU General Public License
20.27 +# along with this program; if not, write to the Free Software
20.28 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
20.29 +# 02110-1301, USA.
20.30 +#
20.31 +# As a special exception to the GNU General Public License, if you
20.32 +# distribute this file as part of a program that contains a
20.33 +# configuration script generated by Autoconf, you may include it under
20.34 +# the same distribution terms that you use for the rest of that program.
20.35 +
20.36 +
20.37 +# Please send patches to <config-patches@gnu.org>. Submit a context
20.38 +# diff and a properly formatted ChangeLog entry.
20.39 +#
20.40 +# Configuration subroutine to validate and canonicalize a configuration type.
20.41 +# Supply the specified configuration type as an argument.
20.42 +# If it is invalid, we print an error message on stderr and exit with code 1.
20.43 +# Otherwise, we print the canonical config type on stdout and succeed.
20.44 +
20.45 +# This file is supposed to be the same for all GNU packages
20.46 +# and recognize all the CPU types, system types and aliases
20.47 +# that are meaningful with *any* GNU software.
20.48 +# Each package is responsible for reporting which valid configurations
20.49 +# it does not support. The user should be able to distinguish
20.50 +# a failure to support a valid configuration from a meaningless
20.51 +# configuration.
20.52 +
20.53 +# The goal of this file is to map all the various variations of a given
20.54 +# machine specification into a single specification in the form:
20.55 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
20.56 +# or in some cases, the newer four-part form:
20.57 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
20.58 +# It is wrong to echo any other type of specification.
20.59 +
20.60 +me=`echo "$0" | sed -e 's,.*/,,'`
20.61 +
20.62 +usage="\
20.63 +Usage: $0 [OPTION] CPU-MFR-OPSYS
20.64 + $0 [OPTION] ALIAS
20.65 +
20.66 +Canonicalize a configuration name.
20.67 +
20.68 +Operation modes:
20.69 + -h, --help print this help, then exit
20.70 + -t, --time-stamp print date of last modification, then exit
20.71 + -v, --version print version number, then exit
20.72 +
20.73 +Report bugs and patches to <config-patches@gnu.org>."
20.74 +
20.75 +version="\
20.76 +GNU config.sub ($timestamp)
20.77 +
20.78 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
20.79 +Free Software Foundation, Inc.
20.80 +
20.81 +This is free software; see the source for copying conditions. There is NO
20.82 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
20.83 +
20.84 +help="
20.85 +Try \`$me --help' for more information."
20.86 +
20.87 +# Parse command line
20.88 +while test $# -gt 0 ; do
20.89 + case $1 in
20.90 + --time-stamp | --time* | -t )
20.91 + echo "$timestamp" ; exit ;;
20.92 + --version | -v )
20.93 + echo "$version" ; exit ;;
20.94 + --help | --h* | -h )
20.95 + echo "$usage"; exit ;;
20.96 + -- ) # Stop option processing
20.97 + shift; break ;;
20.98 + - ) # Use stdin as input.
20.99 + break ;;
20.100 + -* )
20.101 + echo "$me: invalid option $1$help"
20.102 + exit 1 ;;
20.103 +
20.104 + *local*)
20.105 + # First pass through any local machine types.
20.106 + echo $1
20.107 + exit ;;
20.108 +
20.109 + * )
20.110 + break ;;
20.111 + esac
20.112 +done
20.113 +
20.114 +case $# in
20.115 + 0) echo "$me: missing argument$help" >&2
20.116 + exit 1;;
20.117 + 1) ;;
20.118 + *) echo "$me: too many arguments$help" >&2
20.119 + exit 1;;
20.120 +esac
20.121 +
20.122 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
20.123 +# Here we must recognize all the valid KERNEL-OS combinations.
20.124 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
20.125 +case $maybe_os in
20.126 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
20.127 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
20.128 + storm-chaos* | os2-emx* | rtmk-nova*)
20.129 + os=-$maybe_os
20.130 + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
20.131 + ;;
20.132 + *)
20.133 + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
20.134 + if [ $basic_machine != $1 ]
20.135 + then os=`echo $1 | sed 's/.*-/-/'`
20.136 + else os=; fi
20.137 + ;;
20.138 +esac
20.139 +
20.140 +### Let's recognize common machines as not being operating systems so
20.141 +### that things like config.sub decstation-3100 work. We also
20.142 +### recognize some manufacturers as not being operating systems, so we
20.143 +### can provide default operating systems below.
20.144 +case $os in
20.145 + -sun*os*)
20.146 + # Prevent following clause from handling this invalid input.
20.147 + ;;
20.148 + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
20.149 + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
20.150 + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
20.151 + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
20.152 + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
20.153 + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
20.154 + -apple | -axis | -knuth | -cray)
20.155 + os=
20.156 + basic_machine=$1
20.157 + ;;
20.158 + -sim | -cisco | -oki | -wec | -winbond)
20.159 + os=
20.160 + basic_machine=$1
20.161 + ;;
20.162 + -scout)
20.163 + ;;
20.164 + -wrs)
20.165 + os=-vxworks
20.166 + basic_machine=$1
20.167 + ;;
20.168 + -chorusos*)
20.169 + os=-chorusos
20.170 + basic_machine=$1
20.171 + ;;
20.172 + -chorusrdb)
20.173 + os=-chorusrdb
20.174 + basic_machine=$1
20.175 + ;;
20.176 + -hiux*)
20.177 + os=-hiuxwe2
20.178 + ;;
20.179 + -sco6)
20.180 + os=-sco5v6
20.181 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.182 + ;;
20.183 + -sco5)
20.184 + os=-sco3.2v5
20.185 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.186 + ;;
20.187 + -sco4)
20.188 + os=-sco3.2v4
20.189 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.190 + ;;
20.191 + -sco3.2.[4-9]*)
20.192 + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
20.193 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.194 + ;;
20.195 + -sco3.2v[4-9]*)
20.196 + # Don't forget version if it is 3.2v4 or newer.
20.197 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.198 + ;;
20.199 + -sco5v6*)
20.200 + # Don't forget version if it is 3.2v4 or newer.
20.201 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.202 + ;;
20.203 + -sco*)
20.204 + os=-sco3.2v2
20.205 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.206 + ;;
20.207 + -udk*)
20.208 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.209 + ;;
20.210 + -isc)
20.211 + os=-isc2.2
20.212 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.213 + ;;
20.214 + -clix*)
20.215 + basic_machine=clipper-intergraph
20.216 + ;;
20.217 + -isc*)
20.218 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
20.219 + ;;
20.220 + -lynx*)
20.221 + os=-lynxos
20.222 + ;;
20.223 + -ptx*)
20.224 + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
20.225 + ;;
20.226 + -windowsnt*)
20.227 + os=`echo $os | sed -e 's/windowsnt/winnt/'`
20.228 + ;;
20.229 + -psos*)
20.230 + os=-psos
20.231 + ;;
20.232 + -mint | -mint[0-9]*)
20.233 + basic_machine=m68k-atari
20.234 + os=-mint
20.235 + ;;
20.236 +esac
20.237 +
20.238 +# Decode aliases for certain CPU-COMPANY combinations.
20.239 +case $basic_machine in
20.240 + # Recognize the basic CPU types without company name.
20.241 + # Some are omitted here because they have special meanings below.
20.242 + 1750a | 580 \
20.243 + | a29k \
20.244 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
20.245 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
20.246 + | am33_2.0 \
20.247 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
20.248 + | bfin \
20.249 + | c4x | clipper \
20.250 + | d10v | d30v | dlx | dsp16xx \
20.251 + | fido | fr30 | frv \
20.252 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
20.253 + | i370 | i860 | i960 | ia64 \
20.254 + | ip2k | iq2000 \
20.255 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
20.256 + | maxq | mb | microblaze | mcore | mep \
20.257 + | mips | mipsbe | mipseb | mipsel | mipsle \
20.258 + | mips16 \
20.259 + | mips64 | mips64el \
20.260 + | mips64vr | mips64vrel \
20.261 + | mips64orion | mips64orionel \
20.262 + | mips64vr4100 | mips64vr4100el \
20.263 + | mips64vr4300 | mips64vr4300el \
20.264 + | mips64vr5000 | mips64vr5000el \
20.265 + | mips64vr5900 | mips64vr5900el \
20.266 + | mipsisa32 | mipsisa32el \
20.267 + | mipsisa32r2 | mipsisa32r2el \
20.268 + | mipsisa64 | mipsisa64el \
20.269 + | mipsisa64r2 | mipsisa64r2el \
20.270 + | mipsisa64sb1 | mipsisa64sb1el \
20.271 + | mipsisa64sr71k | mipsisa64sr71kel \
20.272 + | mipstx39 | mipstx39el \
20.273 + | mn10200 | mn10300 \
20.274 + | mt \
20.275 + | msp430 \
20.276 + | nios | nios2 \
20.277 + | ns16k | ns32k \
20.278 + | or32 \
20.279 + | pdp10 | pdp11 | pj | pjl \
20.280 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
20.281 + | pyramid \
20.282 + | score \
20.283 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
20.284 + | sh64 | sh64le \
20.285 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
20.286 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
20.287 + | spu | strongarm \
20.288 + | tahoe | thumb | tic4x | tic80 | tron \
20.289 + | v850 | v850e \
20.290 + | we32k \
20.291 + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
20.292 + | z8k)
20.293 + basic_machine=$basic_machine-unknown
20.294 + ;;
20.295 + m6811 | m68hc11 | m6812 | m68hc12)
20.296 + # Motorola 68HC11/12.
20.297 + basic_machine=$basic_machine-unknown
20.298 + os=-none
20.299 + ;;
20.300 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
20.301 + ;;
20.302 + ms1)
20.303 + basic_machine=mt-unknown
20.304 + ;;
20.305 +
20.306 + # We use `pc' rather than `unknown'
20.307 + # because (1) that's what they normally are, and
20.308 + # (2) the word "unknown" tends to confuse beginning users.
20.309 + i*86 | x86_64)
20.310 + basic_machine=$basic_machine-pc
20.311 + ;;
20.312 + # Object if more than one company name word.
20.313 + *-*-*)
20.314 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
20.315 + exit 1
20.316 + ;;
20.317 + # Recognize the basic CPU types with company name.
20.318 + 580-* \
20.319 + | a29k-* \
20.320 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
20.321 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
20.322 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
20.323 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
20.324 + | avr-* | avr32-* \
20.325 + | bfin-* | bs2000-* \
20.326 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
20.327 + | clipper-* | craynv-* | cydra-* \
20.328 + | d10v-* | d30v-* | dlx-* \
20.329 + | elxsi-* \
20.330 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
20.331 + | h8300-* | h8500-* \
20.332 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
20.333 + | i*86-* | i860-* | i960-* | ia64-* \
20.334 + | ip2k-* | iq2000-* \
20.335 + | m32c-* | m32r-* | m32rle-* \
20.336 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
20.337 + | m88110-* | m88k-* | maxq-* | mcore-* \
20.338 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
20.339 + | mips16-* \
20.340 + | mips64-* | mips64el-* \
20.341 + | mips64vr-* | mips64vrel-* \
20.342 + | mips64orion-* | mips64orionel-* \
20.343 + | mips64vr4100-* | mips64vr4100el-* \
20.344 + | mips64vr4300-* | mips64vr4300el-* \
20.345 + | mips64vr5000-* | mips64vr5000el-* \
20.346 + | mips64vr5900-* | mips64vr5900el-* \
20.347 + | mipsisa32-* | mipsisa32el-* \
20.348 + | mipsisa32r2-* | mipsisa32r2el-* \
20.349 + | mipsisa64-* | mipsisa64el-* \
20.350 + | mipsisa64r2-* | mipsisa64r2el-* \
20.351 + | mipsisa64sb1-* | mipsisa64sb1el-* \
20.352 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
20.353 + | mipstx39-* | mipstx39el-* \
20.354 + | mmix-* \
20.355 + | mt-* \
20.356 + | msp430-* \
20.357 + | nios-* | nios2-* \
20.358 + | none-* | np1-* | ns16k-* | ns32k-* \
20.359 + | orion-* \
20.360 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
20.361 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
20.362 + | pyramid-* \
20.363 + | romp-* | rs6000-* \
20.364 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
20.365 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
20.366 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
20.367 + | sparclite-* \
20.368 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
20.369 + | tahoe-* | thumb-* \
20.370 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
20.371 + | tron-* \
20.372 + | v850-* | v850e-* | vax-* \
20.373 + | we32k-* \
20.374 + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
20.375 + | xstormy16-* | xtensa-* \
20.376 + | ymp-* \
20.377 + | z8k-*)
20.378 + ;;
20.379 + # Recognize the various machine names and aliases which stand
20.380 + # for a CPU type and a company and sometimes even an OS.
20.381 + 386bsd)
20.382 + basic_machine=i386-unknown
20.383 + os=-bsd
20.384 + ;;
20.385 + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
20.386 + basic_machine=m68000-att
20.387 + ;;
20.388 + 3b*)
20.389 + basic_machine=we32k-att
20.390 + ;;
20.391 + a29khif)
20.392 + basic_machine=a29k-amd
20.393 + os=-udi
20.394 + ;;
20.395 + abacus)
20.396 + basic_machine=abacus-unknown
20.397 + ;;
20.398 + adobe68k)
20.399 + basic_machine=m68010-adobe
20.400 + os=-scout
20.401 + ;;
20.402 + alliant | fx80)
20.403 + basic_machine=fx80-alliant
20.404 + ;;
20.405 + altos | altos3068)
20.406 + basic_machine=m68k-altos
20.407 + ;;
20.408 + am29k)
20.409 + basic_machine=a29k-none
20.410 + os=-bsd
20.411 + ;;
20.412 + amd64)
20.413 + basic_machine=x86_64-pc
20.414 + ;;
20.415 + amd64-*)
20.416 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
20.417 + ;;
20.418 + amdahl)
20.419 + basic_machine=580-amdahl
20.420 + os=-sysv
20.421 + ;;
20.422 + amiga | amiga-*)
20.423 + basic_machine=m68k-unknown
20.424 + ;;
20.425 + amigaos | amigados)
20.426 + basic_machine=m68k-unknown
20.427 + os=-amigaos
20.428 + ;;
20.429 + amigaunix | amix)
20.430 + basic_machine=m68k-unknown
20.431 + os=-sysv4
20.432 + ;;
20.433 + apollo68)
20.434 + basic_machine=m68k-apollo
20.435 + os=-sysv
20.436 + ;;
20.437 + apollo68bsd)
20.438 + basic_machine=m68k-apollo
20.439 + os=-bsd
20.440 + ;;
20.441 + aux)
20.442 + basic_machine=m68k-apple
20.443 + os=-aux
20.444 + ;;
20.445 + balance)
20.446 + basic_machine=ns32k-sequent
20.447 + os=-dynix
20.448 + ;;
20.449 + c90)
20.450 + basic_machine=c90-cray
20.451 + os=-unicos
20.452 + ;;
20.453 + convex-c1)
20.454 + basic_machine=c1-convex
20.455 + os=-bsd
20.456 + ;;
20.457 + convex-c2)
20.458 + basic_machine=c2-convex
20.459 + os=-bsd
20.460 + ;;
20.461 + convex-c32)
20.462 + basic_machine=c32-convex
20.463 + os=-bsd
20.464 + ;;
20.465 + convex-c34)
20.466 + basic_machine=c34-convex
20.467 + os=-bsd
20.468 + ;;
20.469 + convex-c38)
20.470 + basic_machine=c38-convex
20.471 + os=-bsd
20.472 + ;;
20.473 + cray | j90)
20.474 + basic_machine=j90-cray
20.475 + os=-unicos
20.476 + ;;
20.477 + craynv)
20.478 + basic_machine=craynv-cray
20.479 + os=-unicosmp
20.480 + ;;
20.481 + cr16c)
20.482 + basic_machine=cr16c-unknown
20.483 + os=-elf
20.484 + ;;
20.485 + crds | unos)
20.486 + basic_machine=m68k-crds
20.487 + ;;
20.488 + crisv32 | crisv32-* | etraxfs*)
20.489 + basic_machine=crisv32-axis
20.490 + ;;
20.491 + cris | cris-* | etrax*)
20.492 + basic_machine=cris-axis
20.493 + ;;
20.494 + crx)
20.495 + basic_machine=crx-unknown
20.496 + os=-elf
20.497 + ;;
20.498 + da30 | da30-*)
20.499 + basic_machine=m68k-da30
20.500 + ;;
20.501 + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
20.502 + basic_machine=mips-dec
20.503 + ;;
20.504 + decsystem10* | dec10*)
20.505 + basic_machine=pdp10-dec
20.506 + os=-tops10
20.507 + ;;
20.508 + decsystem20* | dec20*)
20.509 + basic_machine=pdp10-dec
20.510 + os=-tops20
20.511 + ;;
20.512 + delta | 3300 | motorola-3300 | motorola-delta \
20.513 + | 3300-motorola | delta-motorola)
20.514 + basic_machine=m68k-motorola
20.515 + ;;
20.516 + delta88)
20.517 + basic_machine=m88k-motorola
20.518 + os=-sysv3
20.519 + ;;
20.520 + djgpp)
20.521 + basic_machine=i586-pc
20.522 + os=-msdosdjgpp
20.523 + ;;
20.524 + dpx20 | dpx20-*)
20.525 + basic_machine=rs6000-bull
20.526 + os=-bosx
20.527 + ;;
20.528 + dpx2* | dpx2*-bull)
20.529 + basic_machine=m68k-bull
20.530 + os=-sysv3
20.531 + ;;
20.532 + ebmon29k)
20.533 + basic_machine=a29k-amd
20.534 + os=-ebmon
20.535 + ;;
20.536 + elxsi)
20.537 + basic_machine=elxsi-elxsi
20.538 + os=-bsd
20.539 + ;;
20.540 + encore | umax | mmax)
20.541 + basic_machine=ns32k-encore
20.542 + ;;
20.543 + es1800 | OSE68k | ose68k | ose | OSE)
20.544 + basic_machine=m68k-ericsson
20.545 + os=-ose
20.546 + ;;
20.547 + fx2800)
20.548 + basic_machine=i860-alliant
20.549 + ;;
20.550 + genix)
20.551 + basic_machine=ns32k-ns
20.552 + ;;
20.553 + gmicro)
20.554 + basic_machine=tron-gmicro
20.555 + os=-sysv
20.556 + ;;
20.557 + go32)
20.558 + basic_machine=i386-pc
20.559 + os=-go32
20.560 + ;;
20.561 + h3050r* | hiux*)
20.562 + basic_machine=hppa1.1-hitachi
20.563 + os=-hiuxwe2
20.564 + ;;
20.565 + h8300hms)
20.566 + basic_machine=h8300-hitachi
20.567 + os=-hms
20.568 + ;;
20.569 + h8300xray)
20.570 + basic_machine=h8300-hitachi
20.571 + os=-xray
20.572 + ;;
20.573 + h8500hms)
20.574 + basic_machine=h8500-hitachi
20.575 + os=-hms
20.576 + ;;
20.577 + harris)
20.578 + basic_machine=m88k-harris
20.579 + os=-sysv3
20.580 + ;;
20.581 + hp300-*)
20.582 + basic_machine=m68k-hp
20.583 + ;;
20.584 + hp300bsd)
20.585 + basic_machine=m68k-hp
20.586 + os=-bsd
20.587 + ;;
20.588 + hp300hpux)
20.589 + basic_machine=m68k-hp
20.590 + os=-hpux
20.591 + ;;
20.592 + hp3k9[0-9][0-9] | hp9[0-9][0-9])
20.593 + basic_machine=hppa1.0-hp
20.594 + ;;
20.595 + hp9k2[0-9][0-9] | hp9k31[0-9])
20.596 + basic_machine=m68000-hp
20.597 + ;;
20.598 + hp9k3[2-9][0-9])
20.599 + basic_machine=m68k-hp
20.600 + ;;
20.601 + hp9k6[0-9][0-9] | hp6[0-9][0-9])
20.602 + basic_machine=hppa1.0-hp
20.603 + ;;
20.604 + hp9k7[0-79][0-9] | hp7[0-79][0-9])
20.605 + basic_machine=hppa1.1-hp
20.606 + ;;
20.607 + hp9k78[0-9] | hp78[0-9])
20.608 + # FIXME: really hppa2.0-hp
20.609 + basic_machine=hppa1.1-hp
20.610 + ;;
20.611 + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
20.612 + # FIXME: really hppa2.0-hp
20.613 + basic_machine=hppa1.1-hp
20.614 + ;;
20.615 + hp9k8[0-9][13679] | hp8[0-9][13679])
20.616 + basic_machine=hppa1.1-hp
20.617 + ;;
20.618 + hp9k8[0-9][0-9] | hp8[0-9][0-9])
20.619 + basic_machine=hppa1.0-hp
20.620 + ;;
20.621 + hppa-next)
20.622 + os=-nextstep3
20.623 + ;;
20.624 + hppaosf)
20.625 + basic_machine=hppa1.1-hp
20.626 + os=-osf
20.627 + ;;
20.628 + hppro)
20.629 + basic_machine=hppa1.1-hp
20.630 + os=-proelf
20.631 + ;;
20.632 + i370-ibm* | ibm*)
20.633 + basic_machine=i370-ibm
20.634 + ;;
20.635 +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
20.636 + i*86v32)
20.637 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
20.638 + os=-sysv32
20.639 + ;;
20.640 + i*86v4*)
20.641 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
20.642 + os=-sysv4
20.643 + ;;
20.644 + i*86v)
20.645 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
20.646 + os=-sysv
20.647 + ;;
20.648 + i*86sol2)
20.649 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
20.650 + os=-solaris2
20.651 + ;;
20.652 + i386mach)
20.653 + basic_machine=i386-mach
20.654 + os=-mach
20.655 + ;;
20.656 + i386-vsta | vsta)
20.657 + basic_machine=i386-unknown
20.658 + os=-vsta
20.659 + ;;
20.660 + iris | iris4d)
20.661 + basic_machine=mips-sgi
20.662 + case $os in
20.663 + -irix*)
20.664 + ;;
20.665 + *)
20.666 + os=-irix4
20.667 + ;;
20.668 + esac
20.669 + ;;
20.670 + isi68 | isi)
20.671 + basic_machine=m68k-isi
20.672 + os=-sysv
20.673 + ;;
20.674 + m88k-omron*)
20.675 + basic_machine=m88k-omron
20.676 + ;;
20.677 + magnum | m3230)
20.678 + basic_machine=mips-mips
20.679 + os=-sysv
20.680 + ;;
20.681 + merlin)
20.682 + basic_machine=ns32k-utek
20.683 + os=-sysv
20.684 + ;;
20.685 + mingw32)
20.686 + basic_machine=i386-pc
20.687 + os=-mingw32
20.688 + ;;
20.689 + miniframe)
20.690 + basic_machine=m68000-convergent
20.691 + ;;
20.692 + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
20.693 + basic_machine=m68k-atari
20.694 + os=-mint
20.695 + ;;
20.696 + mips3*-*)
20.697 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
20.698 + ;;
20.699 + mips3*)
20.700 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
20.701 + ;;
20.702 + monitor)
20.703 + basic_machine=m68k-rom68k
20.704 + os=-coff
20.705 + ;;
20.706 + morphos)
20.707 + basic_machine=powerpc-unknown
20.708 + os=-morphos
20.709 + ;;
20.710 + msdos)
20.711 + basic_machine=i386-pc
20.712 + os=-msdos
20.713 + ;;
20.714 + ms1-*)
20.715 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
20.716 + ;;
20.717 + mvs)
20.718 + basic_machine=i370-ibm
20.719 + os=-mvs
20.720 + ;;
20.721 + ncr3000)
20.722 + basic_machine=i486-ncr
20.723 + os=-sysv4
20.724 + ;;
20.725 + netbsd386)
20.726 + basic_machine=i386-unknown
20.727 + os=-netbsd
20.728 + ;;
20.729 + netwinder)
20.730 + basic_machine=armv4l-rebel
20.731 + os=-linux
20.732 + ;;
20.733 + news | news700 | news800 | news900)
20.734 + basic_machine=m68k-sony
20.735 + os=-newsos
20.736 + ;;
20.737 + news1000)
20.738 + basic_machine=m68030-sony
20.739 + os=-newsos
20.740 + ;;
20.741 + news-3600 | risc-news)
20.742 + basic_machine=mips-sony
20.743 + os=-newsos
20.744 + ;;
20.745 + necv70)
20.746 + basic_machine=v70-nec
20.747 + os=-sysv
20.748 + ;;
20.749 + next | m*-next )
20.750 + basic_machine=m68k-next
20.751 + case $os in
20.752 + -nextstep* )
20.753 + ;;
20.754 + -ns2*)
20.755 + os=-nextstep2
20.756 + ;;
20.757 + *)
20.758 + os=-nextstep3
20.759 + ;;
20.760 + esac
20.761 + ;;
20.762 + nh3000)
20.763 + basic_machine=m68k-harris
20.764 + os=-cxux
20.765 + ;;
20.766 + nh[45]000)
20.767 + basic_machine=m88k-harris
20.768 + os=-cxux
20.769 + ;;
20.770 + nindy960)
20.771 + basic_machine=i960-intel
20.772 + os=-nindy
20.773 + ;;
20.774 + mon960)
20.775 + basic_machine=i960-intel
20.776 + os=-mon960
20.777 + ;;
20.778 + nonstopux)
20.779 + basic_machine=mips-compaq
20.780 + os=-nonstopux
20.781 + ;;
20.782 + np1)
20.783 + basic_machine=np1-gould
20.784 + ;;
20.785 + nsr-tandem)
20.786 + basic_machine=nsr-tandem
20.787 + ;;
20.788 + op50n-* | op60c-*)
20.789 + basic_machine=hppa1.1-oki
20.790 + os=-proelf
20.791 + ;;
20.792 + openrisc | openrisc-*)
20.793 + basic_machine=or32-unknown
20.794 + ;;
20.795 + os400)
20.796 + basic_machine=powerpc-ibm
20.797 + os=-os400
20.798 + ;;
20.799 + OSE68000 | ose68000)
20.800 + basic_machine=m68000-ericsson
20.801 + os=-ose
20.802 + ;;
20.803 + os68k)
20.804 + basic_machine=m68k-none
20.805 + os=-os68k
20.806 + ;;
20.807 + pa-hitachi)
20.808 + basic_machine=hppa1.1-hitachi
20.809 + os=-hiuxwe2
20.810 + ;;
20.811 + paragon)
20.812 + basic_machine=i860-intel
20.813 + os=-osf
20.814 + ;;
20.815 + pbd)
20.816 + basic_machine=sparc-tti
20.817 + ;;
20.818 + pbb)
20.819 + basic_machine=m68k-tti
20.820 + ;;
20.821 + pc532 | pc532-*)
20.822 + basic_machine=ns32k-pc532
20.823 + ;;
20.824 + pc98)
20.825 + basic_machine=i386-pc
20.826 + ;;
20.827 + pc98-*)
20.828 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
20.829 + ;;
20.830 + pentium | p5 | k5 | k6 | nexgen | viac3)
20.831 + basic_machine=i586-pc
20.832 + ;;
20.833 + pentiumpro | p6 | 6x86 | athlon | athlon_*)
20.834 + basic_machine=i686-pc
20.835 + ;;
20.836 + pentiumii | pentium2 | pentiumiii | pentium3)
20.837 + basic_machine=i686-pc
20.838 + ;;
20.839 + pentium4)
20.840 + basic_machine=i786-pc
20.841 + ;;
20.842 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
20.843 + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
20.844 + ;;
20.845 + pentiumpro-* | p6-* | 6x86-* | athlon-*)
20.846 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
20.847 + ;;
20.848 + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
20.849 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
20.850 + ;;
20.851 + pentium4-*)
20.852 + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
20.853 + ;;
20.854 + pn)
20.855 + basic_machine=pn-gould
20.856 + ;;
20.857 + power) basic_machine=power-ibm
20.858 + ;;
20.859 + ppc) basic_machine=powerpc-unknown
20.860 + ;;
20.861 + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
20.862 + ;;
20.863 + ppcle | powerpclittle | ppc-le | powerpc-little)
20.864 + basic_machine=powerpcle-unknown
20.865 + ;;
20.866 + ppcle-* | powerpclittle-*)
20.867 + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
20.868 + ;;
20.869 + ppc64) basic_machine=powerpc64-unknown
20.870 + ;;
20.871 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
20.872 + ;;
20.873 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
20.874 + basic_machine=powerpc64le-unknown
20.875 + ;;
20.876 + ppc64le-* | powerpc64little-*)
20.877 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
20.878 + ;;
20.879 + ps2)
20.880 + basic_machine=i386-ibm
20.881 + ;;
20.882 + pw32)
20.883 + basic_machine=i586-unknown
20.884 + os=-pw32
20.885 + ;;
20.886 + rdos)
20.887 + basic_machine=i386-pc
20.888 + os=-rdos
20.889 + ;;
20.890 + rom68k)
20.891 + basic_machine=m68k-rom68k
20.892 + os=-coff
20.893 + ;;
20.894 + rm[46]00)
20.895 + basic_machine=mips-siemens
20.896 + ;;
20.897 + rtpc | rtpc-*)
20.898 + basic_machine=romp-ibm
20.899 + ;;
20.900 + s390 | s390-*)
20.901 + basic_machine=s390-ibm
20.902 + ;;
20.903 + s390x | s390x-*)
20.904 + basic_machine=s390x-ibm
20.905 + ;;
20.906 + sa29200)
20.907 + basic_machine=a29k-amd
20.908 + os=-udi
20.909 + ;;
20.910 + sb1)
20.911 + basic_machine=mipsisa64sb1-unknown
20.912 + ;;
20.913 + sb1el)
20.914 + basic_machine=mipsisa64sb1el-unknown
20.915 + ;;
20.916 + sde)
20.917 + basic_machine=mipsisa32-sde
20.918 + os=-elf
20.919 + ;;
20.920 + sei)
20.921 + basic_machine=mips-sei
20.922 + os=-seiux
20.923 + ;;
20.924 + sequent)
20.925 + basic_machine=i386-sequent
20.926 + ;;
20.927 + sh)
20.928 + basic_machine=sh-hitachi
20.929 + os=-hms
20.930 + ;;
20.931 + sh5el)
20.932 + basic_machine=sh5le-unknown
20.933 + ;;
20.934 + sh64)
20.935 + basic_machine=sh64-unknown
20.936 + ;;
20.937 + sparclite-wrs | simso-wrs)
20.938 + basic_machine=sparclite-wrs
20.939 + os=-vxworks
20.940 + ;;
20.941 + sps7)
20.942 + basic_machine=m68k-bull
20.943 + os=-sysv2
20.944 + ;;
20.945 + spur)
20.946 + basic_machine=spur-unknown
20.947 + ;;
20.948 + st2000)
20.949 + basic_machine=m68k-tandem
20.950 + ;;
20.951 + stratus)
20.952 + basic_machine=i860-stratus
20.953 + os=-sysv4
20.954 + ;;
20.955 + sun2)
20.956 + basic_machine=m68000-sun
20.957 + ;;
20.958 + sun2os3)
20.959 + basic_machine=m68000-sun
20.960 + os=-sunos3
20.961 + ;;
20.962 + sun2os4)
20.963 + basic_machine=m68000-sun
20.964 + os=-sunos4
20.965 + ;;
20.966 + sun3os3)
20.967 + basic_machine=m68k-sun
20.968 + os=-sunos3
20.969 + ;;
20.970 + sun3os4)
20.971 + basic_machine=m68k-sun
20.972 + os=-sunos4
20.973 + ;;
20.974 + sun4os3)
20.975 + basic_machine=sparc-sun
20.976 + os=-sunos3
20.977 + ;;
20.978 + sun4os4)
20.979 + basic_machine=sparc-sun
20.980 + os=-sunos4
20.981 + ;;
20.982 + sun4sol2)
20.983 + basic_machine=sparc-sun
20.984 + os=-solaris2
20.985 + ;;
20.986 + sun3 | sun3-*)
20.987 + basic_machine=m68k-sun
20.988 + ;;
20.989 + sun4)
20.990 + basic_machine=sparc-sun
20.991 + ;;
20.992 + sun386 | sun386i | roadrunner)
20.993 + basic_machine=i386-sun
20.994 + ;;
20.995 + sv1)
20.996 + basic_machine=sv1-cray
20.997 + os=-unicos
20.998 + ;;
20.999 + symmetry)
20.1000 + basic_machine=i386-sequent
20.1001 + os=-dynix
20.1002 + ;;
20.1003 + t3e)
20.1004 + basic_machine=alphaev5-cray
20.1005 + os=-unicos
20.1006 + ;;
20.1007 + t90)
20.1008 + basic_machine=t90-cray
20.1009 + os=-unicos
20.1010 + ;;
20.1011 + tic54x | c54x*)
20.1012 + basic_machine=tic54x-unknown
20.1013 + os=-coff
20.1014 + ;;
20.1015 + tic55x | c55x*)
20.1016 + basic_machine=tic55x-unknown
20.1017 + os=-coff
20.1018 + ;;
20.1019 + tic6x | c6x*)
20.1020 + basic_machine=tic6x-unknown
20.1021 + os=-coff
20.1022 + ;;
20.1023 + tx39)
20.1024 + basic_machine=mipstx39-unknown
20.1025 + ;;
20.1026 + tx39el)
20.1027 + basic_machine=mipstx39el-unknown
20.1028 + ;;
20.1029 + toad1)
20.1030 + basic_machine=pdp10-xkl
20.1031 + os=-tops20
20.1032 + ;;
20.1033 + tower | tower-32)
20.1034 + basic_machine=m68k-ncr
20.1035 + ;;
20.1036 + tpf)
20.1037 + basic_machine=s390x-ibm
20.1038 + os=-tpf
20.1039 + ;;
20.1040 + udi29k)
20.1041 + basic_machine=a29k-amd
20.1042 + os=-udi
20.1043 + ;;
20.1044 + ultra3)
20.1045 + basic_machine=a29k-nyu
20.1046 + os=-sym1
20.1047 + ;;
20.1048 + v810 | necv810)
20.1049 + basic_machine=v810-nec
20.1050 + os=-none
20.1051 + ;;
20.1052 + vaxv)
20.1053 + basic_machine=vax-dec
20.1054 + os=-sysv
20.1055 + ;;
20.1056 + vms)
20.1057 + basic_machine=vax-dec
20.1058 + os=-vms
20.1059 + ;;
20.1060 + vpp*|vx|vx-*)
20.1061 + basic_machine=f301-fujitsu
20.1062 + ;;
20.1063 + vxworks960)
20.1064 + basic_machine=i960-wrs
20.1065 + os=-vxworks
20.1066 + ;;
20.1067 + vxworks68)
20.1068 + basic_machine=m68k-wrs
20.1069 + os=-vxworks
20.1070 + ;;
20.1071 + vxworks29k)
20.1072 + basic_machine=a29k-wrs
20.1073 + os=-vxworks
20.1074 + ;;
20.1075 + w65*)
20.1076 + basic_machine=w65-wdc
20.1077 + os=-none
20.1078 + ;;
20.1079 + w89k-*)
20.1080 + basic_machine=hppa1.1-winbond
20.1081 + os=-proelf
20.1082 + ;;
20.1083 + xbox)
20.1084 + basic_machine=i686-pc
20.1085 + os=-mingw32
20.1086 + ;;
20.1087 + xps | xps100)
20.1088 + basic_machine=xps100-honeywell
20.1089 + ;;
20.1090 + ymp)
20.1091 + basic_machine=ymp-cray
20.1092 + os=-unicos
20.1093 + ;;
20.1094 + z8k-*-coff)
20.1095 + basic_machine=z8k-unknown
20.1096 + os=-sim
20.1097 + ;;
20.1098 + none)
20.1099 + basic_machine=none-none
20.1100 + os=-none
20.1101 + ;;
20.1102 +
20.1103 +# Here we handle the default manufacturer of certain CPU types. It is in
20.1104 +# some cases the only manufacturer, in others, it is the most popular.
20.1105 + w89k)
20.1106 + basic_machine=hppa1.1-winbond
20.1107 + ;;
20.1108 + op50n)
20.1109 + basic_machine=hppa1.1-oki
20.1110 + ;;
20.1111 + op60c)
20.1112 + basic_machine=hppa1.1-oki
20.1113 + ;;
20.1114 + romp)
20.1115 + basic_machine=romp-ibm
20.1116 + ;;
20.1117 + mmix)
20.1118 + basic_machine=mmix-knuth
20.1119 + ;;
20.1120 + rs6000)
20.1121 + basic_machine=rs6000-ibm
20.1122 + ;;
20.1123 + vax)
20.1124 + basic_machine=vax-dec
20.1125 + ;;
20.1126 + pdp10)
20.1127 + # there are many clones, so DEC is not a safe bet
20.1128 + basic_machine=pdp10-unknown
20.1129 + ;;
20.1130 + pdp11)
20.1131 + basic_machine=pdp11-dec
20.1132 + ;;
20.1133 + we32k)
20.1134 + basic_machine=we32k-att
20.1135 + ;;
20.1136 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
20.1137 + basic_machine=sh-unknown
20.1138 + ;;
20.1139 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
20.1140 + basic_machine=sparc-sun
20.1141 + ;;
20.1142 + cydra)
20.1143 + basic_machine=cydra-cydrome
20.1144 + ;;
20.1145 + orion)
20.1146 + basic_machine=orion-highlevel
20.1147 + ;;
20.1148 + orion105)
20.1149 + basic_machine=clipper-highlevel
20.1150 + ;;
20.1151 + mac | mpw | mac-mpw)
20.1152 + basic_machine=m68k-apple
20.1153 + ;;
20.1154 + pmac | pmac-mpw)
20.1155 + basic_machine=powerpc-apple
20.1156 + ;;
20.1157 + *-unknown)
20.1158 + # Make sure to match an already-canonicalized machine name.
20.1159 + ;;
20.1160 + *)
20.1161 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
20.1162 + exit 1
20.1163 + ;;
20.1164 +esac
20.1165 +
20.1166 +# Here we canonicalize certain aliases for manufacturers.
20.1167 +case $basic_machine in
20.1168 + *-digital*)
20.1169 + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
20.1170 + ;;
20.1171 + *-commodore*)
20.1172 + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
20.1173 + ;;
20.1174 + *)
20.1175 + ;;
20.1176 +esac
20.1177 +
20.1178 +# Decode manufacturer-specific aliases for certain operating systems.
20.1179 +
20.1180 +if [ x"$os" != x"" ]
20.1181 +then
20.1182 +case $os in
20.1183 + # First match some system type aliases
20.1184 + # that might get confused with valid system types.
20.1185 + # -solaris* is a basic system type, with this one exception.
20.1186 + -solaris1 | -solaris1.*)
20.1187 + os=`echo $os | sed -e 's|solaris1|sunos4|'`
20.1188 + ;;
20.1189 + -solaris)
20.1190 + os=-solaris2
20.1191 + ;;
20.1192 + -svr4*)
20.1193 + os=-sysv4
20.1194 + ;;
20.1195 + -unixware*)
20.1196 + os=-sysv4.2uw
20.1197 + ;;
20.1198 + -gnu/linux*)
20.1199 + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
20.1200 + ;;
20.1201 + # First accept the basic system types.
20.1202 + # The portable systems comes first.
20.1203 + # Each alternative MUST END IN A *, to match a version number.
20.1204 + # -sysv* is not here because it comes later, after sysvr4.
20.1205 + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
20.1206 + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
20.1207 + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
20.1208 + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
20.1209 + | -aos* \
20.1210 + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
20.1211 + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
20.1212 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
20.1213 + | -openbsd* | -solidbsd* \
20.1214 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
20.1215 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
20.1216 + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
20.1217 + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
20.1218 + | -chorusos* | -chorusrdb* \
20.1219 + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
20.1220 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
20.1221 + | -uxpv* | -beos* | -mpeix* | -udk* \
20.1222 + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
20.1223 + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
20.1224 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
20.1225 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
20.1226 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
20.1227 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
20.1228 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
20.1229 + # Remember, each alternative MUST END IN *, to match a version number.
20.1230 + ;;
20.1231 + -qnx*)
20.1232 + case $basic_machine in
20.1233 + x86-* | i*86-*)
20.1234 + ;;
20.1235 + *)
20.1236 + os=-nto$os
20.1237 + ;;
20.1238 + esac
20.1239 + ;;
20.1240 + -nto-qnx*)
20.1241 + ;;
20.1242 + -nto*)
20.1243 + os=`echo $os | sed -e 's|nto|nto-qnx|'`
20.1244 + ;;
20.1245 + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
20.1246 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
20.1247 + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
20.1248 + ;;
20.1249 + -mac*)
20.1250 + os=`echo $os | sed -e 's|mac|macos|'`
20.1251 + ;;
20.1252 + -linux-dietlibc)
20.1253 + os=-linux-dietlibc
20.1254 + ;;
20.1255 + -linux*)
20.1256 + os=`echo $os | sed -e 's|linux|linux-gnu|'`
20.1257 + ;;
20.1258 + -sunos5*)
20.1259 + os=`echo $os | sed -e 's|sunos5|solaris2|'`
20.1260 + ;;
20.1261 + -sunos6*)
20.1262 + os=`echo $os | sed -e 's|sunos6|solaris3|'`
20.1263 + ;;
20.1264 + -opened*)
20.1265 + os=-openedition
20.1266 + ;;
20.1267 + -os400*)
20.1268 + os=-os400
20.1269 + ;;
20.1270 + -wince*)
20.1271 + os=-wince
20.1272 + ;;
20.1273 + -osfrose*)
20.1274 + os=-osfrose
20.1275 + ;;
20.1276 + -osf*)
20.1277 + os=-osf
20.1278 + ;;
20.1279 + -utek*)
20.1280 + os=-bsd
20.1281 + ;;
20.1282 + -dynix*)
20.1283 + os=-bsd
20.1284 + ;;
20.1285 + -acis*)
20.1286 + os=-aos
20.1287 + ;;
20.1288 + -atheos*)
20.1289 + os=-atheos
20.1290 + ;;
20.1291 + -syllable*)
20.1292 + os=-syllable
20.1293 + ;;
20.1294 + -386bsd)
20.1295 + os=-bsd
20.1296 + ;;
20.1297 + -ctix* | -uts*)
20.1298 + os=-sysv
20.1299 + ;;
20.1300 + -nova*)
20.1301 + os=-rtmk-nova
20.1302 + ;;
20.1303 + -ns2 )
20.1304 + os=-nextstep2
20.1305 + ;;
20.1306 + -nsk*)
20.1307 + os=-nsk
20.1308 + ;;
20.1309 + # Preserve the version number of sinix5.
20.1310 + -sinix5.*)
20.1311 + os=`echo $os | sed -e 's|sinix|sysv|'`
20.1312 + ;;
20.1313 + -sinix*)
20.1314 + os=-sysv4
20.1315 + ;;
20.1316 + -tpf*)
20.1317 + os=-tpf
20.1318 + ;;
20.1319 + -triton*)
20.1320 + os=-sysv3
20.1321 + ;;
20.1322 + -oss*)
20.1323 + os=-sysv3
20.1324 + ;;
20.1325 + -svr4)
20.1326 + os=-sysv4
20.1327 + ;;
20.1328 + -svr3)
20.1329 + os=-sysv3
20.1330 + ;;
20.1331 + -sysvr4)
20.1332 + os=-sysv4
20.1333 + ;;
20.1334 + # This must come after -sysvr4.
20.1335 + -sysv*)
20.1336 + ;;
20.1337 + -ose*)
20.1338 + os=-ose
20.1339 + ;;
20.1340 + -es1800*)
20.1341 + os=-ose
20.1342 + ;;
20.1343 + -xenix)
20.1344 + os=-xenix
20.1345 + ;;
20.1346 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
20.1347 + os=-mint
20.1348 + ;;
20.1349 + -aros*)
20.1350 + os=-aros
20.1351 + ;;
20.1352 + -kaos*)
20.1353 + os=-kaos
20.1354 + ;;
20.1355 + -zvmoe)
20.1356 + os=-zvmoe
20.1357 + ;;
20.1358 + -none)
20.1359 + ;;
20.1360 + *)
20.1361 + # Get rid of the `-' at the beginning of $os.
20.1362 + os=`echo $os | sed 's/[^-]*-//'`
20.1363 + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
20.1364 + exit 1
20.1365 + ;;
20.1366 +esac
20.1367 +else
20.1368 +
20.1369 +# Here we handle the default operating systems that come with various machines.
20.1370 +# The value should be what the vendor currently ships out the door with their
20.1371 +# machine or put another way, the most popular os provided with the machine.
20.1372 +
20.1373 +# Note that if you're going to try to match "-MANUFACTURER" here (say,
20.1374 +# "-sun"), then you have to tell the case statement up towards the top
20.1375 +# that MANUFACTURER isn't an operating system. Otherwise, code above
20.1376 +# will signal an error saying that MANUFACTURER isn't an operating
20.1377 +# system, and we'll never get to this point.
20.1378 +
20.1379 +case $basic_machine in
20.1380 + score-*)
20.1381 + os=-elf
20.1382 + ;;
20.1383 + spu-*)
20.1384 + os=-elf
20.1385 + ;;
20.1386 + *-acorn)
20.1387 + os=-riscix1.2
20.1388 + ;;
20.1389 + arm*-rebel)
20.1390 + os=-linux
20.1391 + ;;
20.1392 + arm*-semi)
20.1393 + os=-aout
20.1394 + ;;
20.1395 + c4x-* | tic4x-*)
20.1396 + os=-coff
20.1397 + ;;
20.1398 + # This must come before the *-dec entry.
20.1399 + pdp10-*)
20.1400 + os=-tops20
20.1401 + ;;
20.1402 + pdp11-*)
20.1403 + os=-none
20.1404 + ;;
20.1405 + *-dec | vax-*)
20.1406 + os=-ultrix4.2
20.1407 + ;;
20.1408 + m68*-apollo)
20.1409 + os=-domain
20.1410 + ;;
20.1411 + i386-sun)
20.1412 + os=-sunos4.0.2
20.1413 + ;;
20.1414 + m68000-sun)
20.1415 + os=-sunos3
20.1416 + # This also exists in the configure program, but was not the
20.1417 + # default.
20.1418 + # os=-sunos4
20.1419 + ;;
20.1420 + m68*-cisco)
20.1421 + os=-aout
20.1422 + ;;
20.1423 + mep-*)
20.1424 + os=-elf
20.1425 + ;;
20.1426 + mips*-cisco)
20.1427 + os=-elf
20.1428 + ;;
20.1429 + mips*-*)
20.1430 + os=-elf
20.1431 + ;;
20.1432 + or32-*)
20.1433 + os=-coff
20.1434 + ;;
20.1435 + *-tti) # must be before sparc entry or we get the wrong os.
20.1436 + os=-sysv3
20.1437 + ;;
20.1438 + sparc-* | *-sun)
20.1439 + os=-sunos4.1.1
20.1440 + ;;
20.1441 + *-be)
20.1442 + os=-beos
20.1443 + ;;
20.1444 + *-haiku)
20.1445 + os=-haiku
20.1446 + ;;
20.1447 + *-ibm)
20.1448 + os=-aix
20.1449 + ;;
20.1450 + *-knuth)
20.1451 + os=-mmixware
20.1452 + ;;
20.1453 + *-wec)
20.1454 + os=-proelf
20.1455 + ;;
20.1456 + *-winbond)
20.1457 + os=-proelf
20.1458 + ;;
20.1459 + *-oki)
20.1460 + os=-proelf
20.1461 + ;;
20.1462 + *-hp)
20.1463 + os=-hpux
20.1464 + ;;
20.1465 + *-hitachi)
20.1466 + os=-hiux
20.1467 + ;;
20.1468 + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
20.1469 + os=-sysv
20.1470 + ;;
20.1471 + *-cbm)
20.1472 + os=-amigaos
20.1473 + ;;
20.1474 + *-dg)
20.1475 + os=-dgux
20.1476 + ;;
20.1477 + *-dolphin)
20.1478 + os=-sysv3
20.1479 + ;;
20.1480 + m68k-ccur)
20.1481 + os=-rtu
20.1482 + ;;
20.1483 + m88k-omron*)
20.1484 + os=-luna
20.1485 + ;;
20.1486 + *-next )
20.1487 + os=-nextstep
20.1488 + ;;
20.1489 + *-sequent)
20.1490 + os=-ptx
20.1491 + ;;
20.1492 + *-crds)
20.1493 + os=-unos
20.1494 + ;;
20.1495 + *-ns)
20.1496 + os=-genix
20.1497 + ;;
20.1498 + i370-*)
20.1499 + os=-mvs
20.1500 + ;;
20.1501 + *-next)
20.1502 + os=-nextstep3
20.1503 + ;;
20.1504 + *-gould)
20.1505 + os=-sysv
20.1506 + ;;
20.1507 + *-highlevel)
20.1508 + os=-bsd
20.1509 + ;;
20.1510 + *-encore)
20.1511 + os=-bsd
20.1512 + ;;
20.1513 + *-sgi)
20.1514 + os=-irix
20.1515 + ;;
20.1516 + *-siemens)
20.1517 + os=-sysv4
20.1518 + ;;
20.1519 + *-masscomp)
20.1520 + os=-rtu
20.1521 + ;;
20.1522 + f30[01]-fujitsu | f700-fujitsu)
20.1523 + os=-uxpv
20.1524 + ;;
20.1525 + *-rom68k)
20.1526 + os=-coff
20.1527 + ;;
20.1528 + *-*bug)
20.1529 + os=-coff
20.1530 + ;;
20.1531 + *-apple)
20.1532 + os=-macos
20.1533 + ;;
20.1534 + *-atari*)
20.1535 + os=-mint
20.1536 + ;;
20.1537 + *)
20.1538 + os=-none
20.1539 + ;;
20.1540 +esac
20.1541 +fi
20.1542 +
20.1543 +# Here we handle the case where we know the os, and the CPU type, but not the
20.1544 +# manufacturer. We pick the logical manufacturer.
20.1545 +vendor=unknown
20.1546 +case $basic_machine in
20.1547 + *-unknown)
20.1548 + case $os in
20.1549 + -riscix*)
20.1550 + vendor=acorn
20.1551 + ;;
20.1552 + -sunos*)
20.1553 + vendor=sun
20.1554 + ;;
20.1555 + -aix*)
20.1556 + vendor=ibm
20.1557 + ;;
20.1558 + -beos*)
20.1559 + vendor=be
20.1560 + ;;
20.1561 + -hpux*)
20.1562 + vendor=hp
20.1563 + ;;
20.1564 + -mpeix*)
20.1565 + vendor=hp
20.1566 + ;;
20.1567 + -hiux*)
20.1568 + vendor=hitachi
20.1569 + ;;
20.1570 + -unos*)
20.1571 + vendor=crds
20.1572 + ;;
20.1573 + -dgux*)
20.1574 + vendor=dg
20.1575 + ;;
20.1576 + -luna*)
20.1577 + vendor=omron
20.1578 + ;;
20.1579 + -genix*)
20.1580 + vendor=ns
20.1581 + ;;
20.1582 + -mvs* | -opened*)
20.1583 + vendor=ibm
20.1584 + ;;
20.1585 + -os400*)
20.1586 + vendor=ibm
20.1587 + ;;
20.1588 + -ptx*)
20.1589 + vendor=sequent
20.1590 + ;;
20.1591 + -tpf*)
20.1592 + vendor=ibm
20.1593 + ;;
20.1594 + -vxsim* | -vxworks* | -windiss*)
20.1595 + vendor=wrs
20.1596 + ;;
20.1597 + -aux*)
20.1598 + vendor=apple
20.1599 + ;;
20.1600 + -hms*)
20.1601 + vendor=hitachi
20.1602 + ;;
20.1603 + -mpw* | -macos*)
20.1604 + vendor=apple
20.1605 + ;;
20.1606 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
20.1607 + vendor=atari
20.1608 + ;;
20.1609 + -vos*)
20.1610 + vendor=stratus
20.1611 + ;;
20.1612 + esac
20.1613 + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
20.1614 + ;;
20.1615 +esac
20.1616 +
20.1617 +echo $basic_machine$os
20.1618 +exit
20.1619 +
20.1620 +# Local variables:
20.1621 +# eval: (add-hook 'write-file-hooks 'time-stamp)
20.1622 +# time-stamp-start: "timestamp='"
20.1623 +# time-stamp-format: "%:y-%02m-%02d"
20.1624 +# time-stamp-end: "'"
20.1625 +# End:
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
21.2 +++ b/gst-gpac/configure.ac Thu Feb 21 17:44:16 2008 +0000
21.3 @@ -0,0 +1,132 @@
21.4 +dnl fill in your package name and version here
21.5 +dnl autoconf configuration files for gst-plugins-dspbin
21.6 +AC_INIT
21.7 +AC_CANONICAL_TARGET
21.8 +
21.9 +AC_CONFIG_MACRO_DIR([m4])
21.10 +dnl We disable static building for development, for time savings
21.11 +dnl this goes before AS_LIBTOOL to appease autoconf
21.12 +dnl *NOTE*: dnl this line before release, so release does static too
21.13 +AM_DISABLE_STATIC
21.14 +
21.15 +dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
21.16 +AM_MAINTAINER_MODE
21.17 +
21.18 +dnl when going to/from release please set the nano (fourth number) right !
21.19 +dnl releases only do Wall, cvs and prerelease does Werror too
21.20 +AS_VERSION(gst-indt-plugins, GST_PLUGINS_VERSION, 0, 10, 0, 1, GST_CVS="no", GST_CVS="yes")
21.21 +
21.22 +AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
21.23 +
21.24 +AM_PROG_LIBTOOL
21.25 +
21.26 +AM_CONFIG_HEADER(config.h)
21.27 +
21.28 +dnl make aclocal work in maintainer mode
21.29 +AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
21.30 +
21.31 +dnl check for tools
21.32 +AC_PROG_CC
21.33 +AC_PROG_CC_STDC
21.34 +AM_PROG_AS
21.35 +
21.36 +dnl decide on error flags
21.37 +AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
21.38 +
21.39 +if test "x$GST_WALL" = "xyes"; then
21.40 + ERROR_CFLAGS="$GST_ERROR -Wall"
21.41 +
21.42 + if test "x$GST_CVS" = "xyes"; then
21.43 + AS_COMPILER_FLAG(-Werror,ERROR_CFLAGS="$ERROR_CFLAGS -Werror",ERROR_CFLAGS="$ERROR_CFLAGS")
21.44 + fi
21.45 +fi
21.46 +
21.47 +AC_SUBST(ERROR_CFLAGS)
21.48 +
21.49 +dnl determine c++ compiler
21.50 +AC_PROG_CXX
21.51 +dnl determine if c++ is available on this system
21.52 +AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
21.53 +dnl determine c++ preprocessor
21.54 +AC_PROG_CXXCPP
21.55 +AC_ISC_POSIX
21.56 +
21.57 +AC_HEADER_STDC([])
21.58 +AC_C_INLINE
21.59 +
21.60 +dnl Check for pkgconfig first
21.61 +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
21.62 +
21.63 +dnl Give error and exit if we don't have pkgconfig
21.64 +if test "x$HAVE_PKGCONFIG" = "xno"; then
21.65 + AC_MSG_ERROR(you need to have pkgconfig installed !)
21.66 +fi
21.67 +
21.68 +dnl Now we're ready to ask for gstreamer libs and cflags
21.69 +dnl And we can also ask for the right version of gstreamer
21.70 +
21.71 +GST_REQUIRED=0.10.14
21.72 +GST_MAJORMINOR=0.10
21.73 +
21.74 +PKG_CHECK_MODULES(GST, \
21.75 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED,
21.76 + HAVE_GST=yes,HAVE_GST=no)
21.77 +
21.78 +dnl Give error and exit if we don't have gstreamer
21.79 +if test "x$HAVE_GST" = "xno"; then
21.80 + AC_MSG_ERROR(you need gstreamer development packages installed !)
21.81 +fi
21.82 +
21.83 +if test "x$USE_DEBUG" = xyes; then
21.84 + GST_CFLAGS="$GST_CFLAGS -g"
21.85 +fi
21.86 +
21.87 +dnl added because of the i18n headers
21.88 +GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
21.89 +
21.90 +dnl make GST_CFLAGS and GST_LIBS available
21.91 +AC_SUBST(GST_CFLAGS)
21.92 +AC_SUBST(GST_LIBS)
21.93 +
21.94 +dnl make GST_MAJORMINOR available in Makefile.am
21.95 +AC_SUBST(GST_MAJORMINOR)
21.96 +
21.97 +dnl check for gstreamer-base; uninstalled is selected preferentially
21.98 +PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED,
21.99 + HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
21.100 +
21.101 +if test "x$HAVE_GST_BASE" = "xno"; then
21.102 + AC_MSG_ERROR(no GStreamer Base Libs found)
21.103 +fi
21.104 +
21.105 +AC_SUBST(GST_BASE_LIBS)
21.106 +AC_SUBST(GST_BASE_CFLAGS)
21.107 +
21.108 +dnl check for gstreamer-libs; uinstalled is selected preferentially
21.109 +PKG_CHECK_MODULES(GST_PLUGINS_BASE, gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED,
21.110 + HAVE_GST_PLUGINS="yes", HAVE_GST_PLUGINS="no")
21.111 +
21.112 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
21.113 + AC_MSG_ERROR(no GStreamer Plugins Libs found)
21.114 +fi
21.115 +
21.116 +AC_SUBST(GST_PLUGINS_BASE_LIBS)
21.117 +AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
21.118 +
21.119 +dnl set the plugindir where plugins should be installed
21.120 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
21.121 +AC_SUBST(plugindir)
21.122 +
21.123 +dnl set proper LDFLAGS for plugins
21.124 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*'
21.125 +AC_SUBST(GST_PLUGIN_LDFLAGS)
21.126 +
21.127 +AC_DEFINE(GST_LICENSE, "LGPL", [License for Distribution])
21.128 +AC_DEFINE(GST_PACKAGE_NAME, "INdT plugins to Gstreamer ", [package name])
21.129 +AC_DEFINE(GST_PACKAGE_ORIGIN, "https://svn.sourceforge.net/svnroot/gmyth/gst-gpac", [Origin of this package] )
21.130 +
21.131 +AC_OUTPUT( \
21.132 + Makefile \
21.133 + src/Makefile
21.134 +)
21.135 +
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22.2 +++ b/gst-gpac/depcomp Thu Feb 21 17:44:16 2008 +0000
22.3 @@ -0,0 +1,530 @@
22.4 +#! /bin/sh
22.5 +# depcomp - compile a program generating dependencies as side-effects
22.6 +
22.7 +scriptversion=2005-07-09.11
22.8 +
22.9 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
22.10 +
22.11 +# This program is free software; you can redistribute it and/or modify
22.12 +# it under the terms of the GNU General Public License as published by
22.13 +# the Free Software Foundation; either version 2, or (at your option)
22.14 +# any later version.
22.15 +
22.16 +# This program is distributed in the hope that it will be useful,
22.17 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
22.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22.19 +# GNU General Public License for more details.
22.20 +
22.21 +# You should have received a copy of the GNU General Public License
22.22 +# along with this program; if not, write to the Free Software
22.23 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22.24 +# 02110-1301, USA.
22.25 +
22.26 +# As a special exception to the GNU General Public License, if you
22.27 +# distribute this file as part of a program that contains a
22.28 +# configuration script generated by Autoconf, you may include it under
22.29 +# the same distribution terms that you use for the rest of that program.
22.30 +
22.31 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
22.32 +
22.33 +case $1 in
22.34 + '')
22.35 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
22.36 + exit 1;
22.37 + ;;
22.38 + -h | --h*)
22.39 + cat <<\EOF
22.40 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
22.41 +
22.42 +Run PROGRAMS ARGS to compile a file, generating dependencies
22.43 +as side-effects.
22.44 +
22.45 +Environment variables:
22.46 + depmode Dependency tracking mode.
22.47 + source Source file read by `PROGRAMS ARGS'.
22.48 + object Object file output by `PROGRAMS ARGS'.
22.49 + DEPDIR directory where to store dependencies.
22.50 + depfile Dependency file to output.
22.51 + tmpdepfile Temporary file to use when outputing dependencies.
22.52 + libtool Whether libtool is used (yes/no).
22.53 +
22.54 +Report bugs to <bug-automake@gnu.org>.
22.55 +EOF
22.56 + exit $?
22.57 + ;;
22.58 + -v | --v*)
22.59 + echo "depcomp $scriptversion"
22.60 + exit $?
22.61 + ;;
22.62 +esac
22.63 +
22.64 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
22.65 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
22.66 + exit 1
22.67 +fi
22.68 +
22.69 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
22.70 +depfile=${depfile-`echo "$object" |
22.71 + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
22.72 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
22.73 +
22.74 +rm -f "$tmpdepfile"
22.75 +
22.76 +# Some modes work just like other modes, but use different flags. We
22.77 +# parameterize here, but still list the modes in the big case below,
22.78 +# to make depend.m4 easier to write. Note that we *cannot* use a case
22.79 +# here, because this file can only contain one case statement.
22.80 +if test "$depmode" = hp; then
22.81 + # HP compiler uses -M and no extra arg.
22.82 + gccflag=-M
22.83 + depmode=gcc
22.84 +fi
22.85 +
22.86 +if test "$depmode" = dashXmstdout; then
22.87 + # This is just like dashmstdout with a different argument.
22.88 + dashmflag=-xM
22.89 + depmode=dashmstdout
22.90 +fi
22.91 +
22.92 +case "$depmode" in
22.93 +gcc3)
22.94 +## gcc 3 implements dependency tracking that does exactly what
22.95 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
22.96 +## it if -MD -MP comes after the -MF stuff. Hmm.
22.97 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
22.98 + stat=$?
22.99 + if test $stat -eq 0; then :
22.100 + else
22.101 + rm -f "$tmpdepfile"
22.102 + exit $stat
22.103 + fi
22.104 + mv "$tmpdepfile" "$depfile"
22.105 + ;;
22.106 +
22.107 +gcc)
22.108 +## There are various ways to get dependency output from gcc. Here's
22.109 +## why we pick this rather obscure method:
22.110 +## - Don't want to use -MD because we'd like the dependencies to end
22.111 +## up in a subdir. Having to rename by hand is ugly.
22.112 +## (We might end up doing this anyway to support other compilers.)
22.113 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
22.114 +## -MM, not -M (despite what the docs say).
22.115 +## - Using -M directly means running the compiler twice (even worse
22.116 +## than renaming).
22.117 + if test -z "$gccflag"; then
22.118 + gccflag=-MD,
22.119 + fi
22.120 + "$@" -Wp,"$gccflag$tmpdepfile"
22.121 + stat=$?
22.122 + if test $stat -eq 0; then :
22.123 + else
22.124 + rm -f "$tmpdepfile"
22.125 + exit $stat
22.126 + fi
22.127 + rm -f "$depfile"
22.128 + echo "$object : \\" > "$depfile"
22.129 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
22.130 +## The second -e expression handles DOS-style file names with drive letters.
22.131 + sed -e 's/^[^:]*: / /' \
22.132 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
22.133 +## This next piece of magic avoids the `deleted header file' problem.
22.134 +## The problem is that when a header file which appears in a .P file
22.135 +## is deleted, the dependency causes make to die (because there is
22.136 +## typically no way to rebuild the header). We avoid this by adding
22.137 +## dummy dependencies for each header file. Too bad gcc doesn't do
22.138 +## this for us directly.
22.139 + tr ' ' '
22.140 +' < "$tmpdepfile" |
22.141 +## Some versions of gcc put a space before the `:'. On the theory
22.142 +## that the space means something, we add a space to the output as
22.143 +## well.
22.144 +## Some versions of the HPUX 10.20 sed can't process this invocation
22.145 +## correctly. Breaking it into two sed invocations is a workaround.
22.146 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
22.147 + rm -f "$tmpdepfile"
22.148 + ;;
22.149 +
22.150 +hp)
22.151 + # This case exists only to let depend.m4 do its work. It works by
22.152 + # looking at the text of this script. This case will never be run,
22.153 + # since it is checked for above.
22.154 + exit 1
22.155 + ;;
22.156 +
22.157 +sgi)
22.158 + if test "$libtool" = yes; then
22.159 + "$@" "-Wp,-MDupdate,$tmpdepfile"
22.160 + else
22.161 + "$@" -MDupdate "$tmpdepfile"
22.162 + fi
22.163 + stat=$?
22.164 + if test $stat -eq 0; then :
22.165 + else
22.166 + rm -f "$tmpdepfile"
22.167 + exit $stat
22.168 + fi
22.169 + rm -f "$depfile"
22.170 +
22.171 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
22.172 + echo "$object : \\" > "$depfile"
22.173 +
22.174 + # Clip off the initial element (the dependent). Don't try to be
22.175 + # clever and replace this with sed code, as IRIX sed won't handle
22.176 + # lines with more than a fixed number of characters (4096 in
22.177 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
22.178 + # the IRIX cc adds comments like `#:fec' to the end of the
22.179 + # dependency line.
22.180 + tr ' ' '
22.181 +' < "$tmpdepfile" \
22.182 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
22.183 + tr '
22.184 +' ' ' >> $depfile
22.185 + echo >> $depfile
22.186 +
22.187 + # The second pass generates a dummy entry for each header file.
22.188 + tr ' ' '
22.189 +' < "$tmpdepfile" \
22.190 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
22.191 + >> $depfile
22.192 + else
22.193 + # The sourcefile does not contain any dependencies, so just
22.194 + # store a dummy comment line, to avoid errors with the Makefile
22.195 + # "include basename.Plo" scheme.
22.196 + echo "#dummy" > "$depfile"
22.197 + fi
22.198 + rm -f "$tmpdepfile"
22.199 + ;;
22.200 +
22.201 +aix)
22.202 + # The C for AIX Compiler uses -M and outputs the dependencies
22.203 + # in a .u file. In older versions, this file always lives in the
22.204 + # current directory. Also, the AIX compiler puts `$object:' at the
22.205 + # start of each line; $object doesn't have directory information.
22.206 + # Version 6 uses the directory in both cases.
22.207 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
22.208 + tmpdepfile="$stripped.u"
22.209 + if test "$libtool" = yes; then
22.210 + "$@" -Wc,-M
22.211 + else
22.212 + "$@" -M
22.213 + fi
22.214 + stat=$?
22.215 +
22.216 + if test -f "$tmpdepfile"; then :
22.217 + else
22.218 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
22.219 + tmpdepfile="$stripped.u"
22.220 + fi
22.221 +
22.222 + if test $stat -eq 0; then :
22.223 + else
22.224 + rm -f "$tmpdepfile"
22.225 + exit $stat
22.226 + fi
22.227 +
22.228 + if test -f "$tmpdepfile"; then
22.229 + outname="$stripped.o"
22.230 + # Each line is of the form `foo.o: dependent.h'.
22.231 + # Do two passes, one to just change these to
22.232 + # `$object: dependent.h' and one to simply `dependent.h:'.
22.233 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
22.234 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
22.235 + else
22.236 + # The sourcefile does not contain any dependencies, so just
22.237 + # store a dummy comment line, to avoid errors with the Makefile
22.238 + # "include basename.Plo" scheme.
22.239 + echo "#dummy" > "$depfile"
22.240 + fi
22.241 + rm -f "$tmpdepfile"
22.242 + ;;
22.243 +
22.244 +icc)
22.245 + # Intel's C compiler understands `-MD -MF file'. However on
22.246 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
22.247 + # ICC 7.0 will fill foo.d with something like
22.248 + # foo.o: sub/foo.c
22.249 + # foo.o: sub/foo.h
22.250 + # which is wrong. We want:
22.251 + # sub/foo.o: sub/foo.c
22.252 + # sub/foo.o: sub/foo.h
22.253 + # sub/foo.c:
22.254 + # sub/foo.h:
22.255 + # ICC 7.1 will output
22.256 + # foo.o: sub/foo.c sub/foo.h
22.257 + # and will wrap long lines using \ :
22.258 + # foo.o: sub/foo.c ... \
22.259 + # sub/foo.h ... \
22.260 + # ...
22.261 +
22.262 + "$@" -MD -MF "$tmpdepfile"
22.263 + stat=$?
22.264 + if test $stat -eq 0; then :
22.265 + else
22.266 + rm -f "$tmpdepfile"
22.267 + exit $stat
22.268 + fi
22.269 + rm -f "$depfile"
22.270 + # Each line is of the form `foo.o: dependent.h',
22.271 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
22.272 + # Do two passes, one to just change these to
22.273 + # `$object: dependent.h' and one to simply `dependent.h:'.
22.274 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
22.275 + # Some versions of the HPUX 10.20 sed can't process this invocation
22.276 + # correctly. Breaking it into two sed invocations is a workaround.
22.277 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
22.278 + sed -e 's/$/ :/' >> "$depfile"
22.279 + rm -f "$tmpdepfile"
22.280 + ;;
22.281 +
22.282 +tru64)
22.283 + # The Tru64 compiler uses -MD to generate dependencies as a side
22.284 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
22.285 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
22.286 + # dependencies in `foo.d' instead, so we check for that too.
22.287 + # Subdirectories are respected.
22.288 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
22.289 + test "x$dir" = "x$object" && dir=
22.290 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
22.291 +
22.292 + if test "$libtool" = yes; then
22.293 + # With Tru64 cc, shared objects can also be used to make a
22.294 + # static library. This mecanism is used in libtool 1.4 series to
22.295 + # handle both shared and static libraries in a single compilation.
22.296 + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
22.297 + #
22.298 + # With libtool 1.5 this exception was removed, and libtool now
22.299 + # generates 2 separate objects for the 2 libraries. These two
22.300 + # compilations output dependencies in in $dir.libs/$base.o.d and
22.301 + # in $dir$base.o.d. We have to check for both files, because
22.302 + # one of the two compilations can be disabled. We should prefer
22.303 + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
22.304 + # automatically cleaned when .libs/ is deleted, while ignoring
22.305 + # the former would cause a distcleancheck panic.
22.306 + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
22.307 + tmpdepfile2=$dir$base.o.d # libtool 1.5
22.308 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
22.309 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
22.310 + "$@" -Wc,-MD
22.311 + else
22.312 + tmpdepfile1=$dir$base.o.d
22.313 + tmpdepfile2=$dir$base.d
22.314 + tmpdepfile3=$dir$base.d
22.315 + tmpdepfile4=$dir$base.d
22.316 + "$@" -MD
22.317 + fi
22.318 +
22.319 + stat=$?
22.320 + if test $stat -eq 0; then :
22.321 + else
22.322 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
22.323 + exit $stat
22.324 + fi
22.325 +
22.326 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
22.327 + do
22.328 + test -f "$tmpdepfile" && break
22.329 + done
22.330 + if test -f "$tmpdepfile"; then
22.331 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
22.332 + # That's a tab and a space in the [].
22.333 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
22.334 + else
22.335 + echo "#dummy" > "$depfile"
22.336 + fi
22.337 + rm -f "$tmpdepfile"
22.338 + ;;
22.339 +
22.340 +#nosideeffect)
22.341 + # This comment above is used by automake to tell side-effect
22.342 + # dependency tracking mechanisms from slower ones.
22.343 +
22.344 +dashmstdout)
22.345 + # Important note: in order to support this mode, a compiler *must*
22.346 + # always write the preprocessed file to stdout, regardless of -o.
22.347 + "$@" || exit $?
22.348 +
22.349 + # Remove the call to Libtool.
22.350 + if test "$libtool" = yes; then
22.351 + while test $1 != '--mode=compile'; do
22.352 + shift
22.353 + done
22.354 + shift
22.355 + fi
22.356 +
22.357 + # Remove `-o $object'.
22.358 + IFS=" "
22.359 + for arg
22.360 + do
22.361 + case $arg in
22.362 + -o)
22.363 + shift
22.364 + ;;
22.365 + $object)
22.366 + shift
22.367 + ;;
22.368 + *)
22.369 + set fnord "$@" "$arg"
22.370 + shift # fnord
22.371 + shift # $arg
22.372 + ;;
22.373 + esac
22.374 + done
22.375 +
22.376 + test -z "$dashmflag" && dashmflag=-M
22.377 + # Require at least two characters before searching for `:'
22.378 + # in the target name. This is to cope with DOS-style filenames:
22.379 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
22.380 + "$@" $dashmflag |
22.381 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
22.382 + rm -f "$depfile"
22.383 + cat < "$tmpdepfile" > "$depfile"
22.384 + tr ' ' '
22.385 +' < "$tmpdepfile" | \
22.386 +## Some versions of the HPUX 10.20 sed can't process this invocation
22.387 +## correctly. Breaking it into two sed invocations is a workaround.
22.388 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
22.389 + rm -f "$tmpdepfile"
22.390 + ;;
22.391 +
22.392 +dashXmstdout)
22.393 + # This case only exists to satisfy depend.m4. It is never actually
22.394 + # run, as this mode is specially recognized in the preamble.
22.395 + exit 1
22.396 + ;;
22.397 +
22.398 +makedepend)
22.399 + "$@" || exit $?
22.400 + # Remove any Libtool call
22.401 + if test "$libtool" = yes; then
22.402 + while test $1 != '--mode=compile'; do
22.403 + shift
22.404 + done
22.405 + shift
22.406 + fi
22.407 + # X makedepend
22.408 + shift
22.409 + cleared=no
22.410 + for arg in "$@"; do
22.411 + case $cleared in
22.412 + no)
22.413 + set ""; shift
22.414 + cleared=yes ;;
22.415 + esac
22.416 + case "$arg" in
22.417 + -D*|-I*)
22.418 + set fnord "$@" "$arg"; shift ;;
22.419 + # Strip any option that makedepend may not understand. Remove
22.420 + # the object too, otherwise makedepend will parse it as a source file.
22.421 + -*|$object)
22.422 + ;;
22.423 + *)
22.424 + set fnord "$@" "$arg"; shift ;;
22.425 + esac
22.426 + done
22.427 + obj_suffix="`echo $object | sed 's/^.*\././'`"
22.428 + touch "$tmpdepfile"
22.429 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
22.430 + rm -f "$depfile"
22.431 + cat < "$tmpdepfile" > "$depfile"
22.432 + sed '1,2d' "$tmpdepfile" | tr ' ' '
22.433 +' | \
22.434 +## Some versions of the HPUX 10.20 sed can't process this invocation
22.435 +## correctly. Breaking it into two sed invocations is a workaround.
22.436 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
22.437 + rm -f "$tmpdepfile" "$tmpdepfile".bak
22.438 + ;;
22.439 +
22.440 +cpp)
22.441 + # Important note: in order to support this mode, a compiler *must*
22.442 + # always write the preprocessed file to stdout.
22.443 + "$@" || exit $?
22.444 +
22.445 + # Remove the call to Libtool.
22.446 + if test "$libtool" = yes; then
22.447 + while test $1 != '--mode=compile'; do
22.448 + shift
22.449 + done
22.450 + shift
22.451 + fi
22.452 +
22.453 + # Remove `-o $object'.
22.454 + IFS=" "
22.455 + for arg
22.456 + do
22.457 + case $arg in
22.458 + -o)
22.459 + shift
22.460 + ;;
22.461 + $object)
22.462 + shift
22.463 + ;;
22.464 + *)
22.465 + set fnord "$@" "$arg"
22.466 + shift # fnord
22.467 + shift # $arg
22.468 + ;;
22.469 + esac
22.470 + done
22.471 +
22.472 + "$@" -E |
22.473 + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
22.474 + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
22.475 + sed '$ s: \\$::' > "$tmpdepfile"
22.476 + rm -f "$depfile"
22.477 + echo "$object : \\" > "$depfile"
22.478 + cat < "$tmpdepfile" >> "$depfile"
22.479 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
22.480 + rm -f "$tmpdepfile"
22.481 + ;;
22.482 +
22.483 +msvisualcpp)
22.484 + # Important note: in order to support this mode, a compiler *must*
22.485 + # always write the preprocessed file to stdout, regardless of -o,
22.486 + # because we must use -o when running libtool.
22.487 + "$@" || exit $?
22.488 + IFS=" "
22.489 + for arg
22.490 + do
22.491 + case "$arg" in
22.492 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
22.493 + set fnord "$@"
22.494 + shift
22.495 + shift
22.496 + ;;
22.497 + *)
22.498 + set fnord "$@" "$arg"
22.499 + shift
22.500 + shift
22.501 + ;;
22.502 + esac
22.503 + done
22.504 + "$@" -E |
22.505 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
22.506 + rm -f "$depfile"
22.507 + echo "$object : \\" > "$depfile"
22.508 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
22.509 + echo " " >> "$depfile"
22.510 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
22.511 + rm -f "$tmpdepfile"
22.512 + ;;
22.513 +
22.514 +none)
22.515 + exec "$@"
22.516 + ;;
22.517 +
22.518 +*)
22.519 + echo "Unknown depmode $depmode" 1>&2
22.520 + exit 1
22.521 + ;;
22.522 +esac
22.523 +
22.524 +exit 0
22.525 +
22.526 +# Local Variables:
22.527 +# mode: shell-script
22.528 +# sh-indentation: 2
22.529 +# eval: (add-hook 'write-file-hooks 'time-stamp)
22.530 +# time-stamp-start: "scriptversion="
22.531 +# time-stamp-format: "%:y-%02m-%02d.%02H"
22.532 +# time-stamp-end: "$"
22.533 +# End:
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
23.2 +++ b/gst-gpac/install-sh Thu Feb 21 17:44:16 2008 +0000
23.3 @@ -0,0 +1,323 @@
23.4 +#!/bin/sh
23.5 +# install - install a program, script, or datafile
23.6 +
23.7 +scriptversion=2005-05-14.22
23.8 +
23.9 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
23.10 +# later released in X11R6 (xc/config/util/install.sh) with the
23.11 +# following copyright and license.
23.12 +#
23.13 +# Copyright (C) 1994 X Consortium
23.14 +#
23.15 +# Permission is hereby granted, free of charge, to any person obtaining a copy
23.16 +# of this software and associated documentation files (the "Software"), to
23.17 +# deal in the Software without restriction, including without limitation the
23.18 +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
23.19 +# sell copies of the Software, and to permit persons to whom the Software is
23.20 +# furnished to do so, subject to the following conditions:
23.21 +#
23.22 +# The above copyright notice and this permission notice shall be included in
23.23 +# all copies or substantial portions of the Software.
23.24 +#
23.25 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23.26 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23.27 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23.28 +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23.29 +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
23.30 +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23.31 +#
23.32 +# Except as contained in this notice, the name of the X Consortium shall not
23.33 +# be used in advertising or otherwise to promote the sale, use or other deal-
23.34 +# ings in this Software without prior written authorization from the X Consor-
23.35 +# tium.
23.36 +#
23.37 +#
23.38 +# FSF changes to this file are in the public domain.
23.39 +#
23.40 +# Calling this script install-sh is preferred over install.sh, to prevent
23.41 +# `make' implicit rules from creating a file called install from it
23.42 +# when there is no Makefile.
23.43 +#
23.44 +# This script is compatible with the BSD install script, but was written
23.45 +# from scratch. It can only install one file at a time, a restriction
23.46 +# shared with many OS's install programs.
23.47 +
23.48 +# set DOITPROG to echo to test this script
23.49 +
23.50 +# Don't use :- since 4.3BSD and earlier shells don't like it.
23.51 +doit="${DOITPROG-}"
23.52 +
23.53 +# put in absolute paths if you don't have them in your path; or use env. vars.
23.54 +
23.55 +mvprog="${MVPROG-mv}"
23.56 +cpprog="${CPPROG-cp}"
23.57 +chmodprog="${CHMODPROG-chmod}"
23.58 +chownprog="${CHOWNPROG-chown}"
23.59 +chgrpprog="${CHGRPPROG-chgrp}"
23.60 +stripprog="${STRIPPROG-strip}"
23.61 +rmprog="${RMPROG-rm}"
23.62 +mkdirprog="${MKDIRPROG-mkdir}"
23.63 +
23.64 +chmodcmd="$chmodprog 0755"
23.65 +chowncmd=
23.66 +chgrpcmd=
23.67 +stripcmd=
23.68 +rmcmd="$rmprog -f"
23.69 +mvcmd="$mvprog"
23.70 +src=
23.71 +dst=
23.72 +dir_arg=
23.73 +dstarg=
23.74 +no_target_directory=
23.75 +
23.76 +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
23.77 + or: $0 [OPTION]... SRCFILES... DIRECTORY
23.78 + or: $0 [OPTION]... -t DIRECTORY SRCFILES...
23.79 + or: $0 [OPTION]... -d DIRECTORIES...
23.80 +
23.81 +In the 1st form, copy SRCFILE to DSTFILE.
23.82 +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
23.83 +In the 4th, create DIRECTORIES.
23.84 +
23.85 +Options:
23.86 +-c (ignored)
23.87 +-d create directories instead of installing files.
23.88 +-g GROUP $chgrpprog installed files to GROUP.
23.89 +-m MODE $chmodprog installed files to MODE.
23.90 +-o USER $chownprog installed files to USER.
23.91 +-s $stripprog installed files.
23.92 +-t DIRECTORY install into DIRECTORY.
23.93 +-T report an error if DSTFILE is a directory.
23.94 +--help display this help and exit.
23.95 +--version display version info and exit.
23.96 +
23.97 +Environment variables override the default commands:
23.98 + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
23.99 +"
23.100 +
23.101 +while test -n "$1"; do
23.102 + case $1 in
23.103 + -c) shift
23.104 + continue;;
23.105 +
23.106 + -d) dir_arg=true
23.107 + shift
23.108 + continue;;
23.109 +
23.110 + -g) chgrpcmd="$chgrpprog $2"
23.111 + shift
23.112 + shift
23.113 + continue;;
23.114 +
23.115 + --help) echo "$usage"; exit $?;;
23.116 +
23.117 + -m) chmodcmd="$chmodprog $2"
23.118 + shift
23.119 + shift
23.120 + continue;;
23.121 +
23.122 + -o) chowncmd="$chownprog $2"
23.123 + shift
23.124 + shift
23.125 + continue;;
23.126 +
23.127 + -s) stripcmd=$stripprog
23.128 + shift
23.129 + continue;;
23.130 +
23.131 + -t) dstarg=$2
23.132 + shift
23.133 + shift
23.134 + continue;;
23.135 +
23.136 + -T) no_target_directory=true
23.137 + shift
23.138 + continue;;
23.139 +
23.140 + --version) echo "$0 $scriptversion"; exit $?;;
23.141 +
23.142 + *) # When -d is used, all remaining arguments are directories to create.
23.143 + # When -t is used, the destination is already specified.
23.144 + test -n "$dir_arg$dstarg" && break
23.145 + # Otherwise, the last argument is the destination. Remove it from $@.
23.146 + for arg
23.147 + do
23.148 + if test -n "$dstarg"; then
23.149 + # $@ is not empty: it contains at least $arg.
23.150 + set fnord "$@" "$dstarg"
23.151 + shift # fnord
23.152 + fi
23.153 + shift # arg
23.154 + dstarg=$arg
23.155 + done
23.156 + break;;
23.157 + esac
23.158 +done
23.159 +
23.160 +if test -z "$1"; then
23.161 + if test -z "$dir_arg"; then
23.162 + echo "$0: no input file specified." >&2
23.163 + exit 1
23.164 + fi
23.165 + # It's OK to call `install-sh -d' without argument.
23.166 + # This can happen when creating conditional directories.
23.167 + exit 0
23.168 +fi
23.169 +
23.170 +for src
23.171 +do
23.172 + # Protect names starting with `-'.
23.173 + case $src in
23.174 + -*) src=./$src ;;
23.175 + esac
23.176 +
23.177 + if test -n "$dir_arg"; then
23.178 + dst=$src
23.179 + src=
23.180 +
23.181 + if test -d "$dst"; then
23.182 + mkdircmd=:
23.183 + chmodcmd=
23.184 + else
23.185 + mkdircmd=$mkdirprog
23.186 + fi
23.187 + else
23.188 + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
23.189 + # might cause directories to be created, which would be especially bad
23.190 + # if $src (and thus $dsttmp) contains '*'.
23.191 + if test ! -f "$src" && test ! -d "$src"; then
23.192 + echo "$0: $src does not exist." >&2
23.193 + exit 1
23.194 + fi
23.195 +
23.196 + if test -z "$dstarg"; then
23.197 + echo "$0: no destination specified." >&2
23.198 + exit 1
23.199 + fi
23.200 +
23.201 + dst=$dstarg
23.202 + # Protect names starting with `-'.
23.203 + case $dst in
23.204 + -*) dst=./$dst ;;
23.205 + esac
23.206 +
23.207 + # If destination is a directory, append the input filename; won't work
23.208 + # if double slashes aren't ignored.
23.209 + if test -d "$dst"; then
23.210 + if test -n "$no_target_directory"; then
23.211 + echo "$0: $dstarg: Is a directory" >&2
23.212 + exit 1
23.213 + fi
23.214 + dst=$dst/`basename "$src"`
23.215 + fi
23.216 + fi
23.217 +
23.218 + # This sed command emulates the dirname command.
23.219 + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
23.220 +
23.221 + # Make sure that the destination directory exists.
23.222 +
23.223 + # Skip lots of stat calls in the usual case.
23.224 + if test ! -d "$dstdir"; then
23.225 + defaultIFS='
23.226 + '
23.227 + IFS="${IFS-$defaultIFS}"
23.228 +
23.229 + oIFS=$IFS
23.230 + # Some sh's can't handle IFS=/ for some reason.
23.231 + IFS='%'
23.232 + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
23.233 + shift
23.234 + IFS=$oIFS
23.235 +
23.236 + pathcomp=
23.237 +
23.238 + while test $# -ne 0 ; do
23.239 + pathcomp=$pathcomp$1
23.240 + shift
23.241 + if test ! -d "$pathcomp"; then
23.242 + $mkdirprog "$pathcomp"
23.243 + # mkdir can fail with a `File exist' error in case several
23.244 + # install-sh are creating the directory concurrently. This
23.245 + # is OK.
23.246 + test -d "$pathcomp" || exit
23.247 + fi
23.248 + pathcomp=$pathcomp/
23.249 + done
23.250 + fi
23.251 +
23.252 + if test -n "$dir_arg"; then
23.253 + $doit $mkdircmd "$dst" \
23.254 + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
23.255 + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
23.256 + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
23.257 + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
23.258 +
23.259 + else
23.260 + dstfile=`basename "$dst"`
23.261 +
23.262 + # Make a couple of temp file names in the proper directory.
23.263 + dsttmp=$dstdir/_inst.$$_
23.264 + rmtmp=$dstdir/_rm.$$_
23.265 +
23.266 + # Trap to clean up those temp files at exit.
23.267 + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
23.268 + trap '(exit $?); exit' 1 2 13 15
23.269 +
23.270 + # Copy the file name to the temp name.
23.271 + $doit $cpprog "$src" "$dsttmp" &&
23.272 +
23.273 + # and set any options; do chmod last to preserve setuid bits.
23.274 + #
23.275 + # If any of these fail, we abort the whole thing. If we want to
23.276 + # ignore errors from any of these, just make sure not to ignore
23.277 + # errors from the above "$doit $cpprog $src $dsttmp" command.
23.278 + #
23.279 + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
23.280 + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
23.281 + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
23.282 + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
23.283 +
23.284 + # Now rename the file to the real destination.
23.285 + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
23.286 + || {
23.287 + # The rename failed, perhaps because mv can't rename something else
23.288 + # to itself, or perhaps because mv is so ancient that it does not
23.289 + # support -f.
23.290 +
23.291 + # Now remove or move aside any old file at destination location.
23.292 + # We try this two ways since rm can't unlink itself on some
23.293 + # systems and the destination file might be busy for other
23.294 + # reasons. In this case, the final cleanup might fail but the new
23.295 + # file should still install successfully.
23.296 + {
23.297 + if test -f "$dstdir/$dstfile"; then
23.298 + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
23.299 + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
23.300 + || {
23.301 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
23.302 + (exit 1); exit 1
23.303 + }
23.304 + else
23.305 + :
23.306 + fi
23.307 + } &&
23.308 +
23.309 + # Now rename the file to the real destination.
23.310 + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
23.311 + }
23.312 + }
23.313 + fi || { (exit 1); exit 1; }
23.314 +done
23.315 +
23.316 +# The final little trick to "correctly" pass the exit status to the exit trap.
23.317 +{
23.318 + (exit 0); exit 0
23.319 +}
23.320 +
23.321 +# Local variables:
23.322 +# eval: (add-hook 'write-file-hooks 'time-stamp)
23.323 +# time-stamp-start: "scriptversion="
23.324 +# time-stamp-format: "%:y-%02m-%02d.%02H"
23.325 +# time-stamp-end: "$"
23.326 +# End:
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
24.2 +++ b/gst-gpac/ltmain.sh Thu Feb 21 17:44:16 2008 +0000
24.3 @@ -0,0 +1,6938 @@
24.4 +# ltmain.sh - Provide generalized library-building support services.
24.5 +# NOTE: Changing this file will not affect anything until you rerun configure.
24.6 +#
24.7 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
24.8 +# 2007 Free Software Foundation, Inc.
24.9 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
24.10 +#
24.11 +# This program is free software; you can redistribute it and/or modify
24.12 +# it under the terms of the GNU General Public License as published by
24.13 +# the Free Software Foundation; either version 2 of the License, or
24.14 +# (at your option) any later version.
24.15 +#
24.16 +# This program is distributed in the hope that it will be useful, but
24.17 +# WITHOUT ANY WARRANTY; without even the implied warranty of
24.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24.19 +# General Public License for more details.
24.20 +#
24.21 +# You should have received a copy of the GNU General Public License
24.22 +# along with this program; if not, write to the Free Software
24.23 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24.24 +#
24.25 +# As a special exception to the GNU General Public License, if you
24.26 +# distribute this file as part of a program that contains a
24.27 +# configuration script generated by Autoconf, you may include it under
24.28 +# the same distribution terms that you use for the rest of that program.
24.29 +
24.30 +basename="s,^.*/,,g"
24.31 +
24.32 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
24.33 +# is ksh but when the shell is invoked as "sh" and the current value of
24.34 +# the _XPG environment variable is not equal to 1 (one), the special
24.35 +# positional parameter $0, within a function call, is the name of the
24.36 +# function.
24.37 +progpath="$0"
24.38 +
24.39 +# The name of this program:
24.40 +progname=`echo "$progpath" | $SED $basename`
24.41 +modename="$progname"
24.42 +
24.43 +# Global variables:
24.44 +EXIT_SUCCESS=0
24.45 +EXIT_FAILURE=1
24.46 +
24.47 +PROGRAM=ltmain.sh
24.48 +PACKAGE=libtool
24.49 +VERSION="1.5.24 Debian 1.5.24-1ubuntu1"
24.50 +TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)"
24.51 +
24.52 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
24.53 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24.54 + emulate sh
24.55 + NULLCMD=:
24.56 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24.57 + # is contrary to our usage. Disable this feature.
24.58 + alias -g '${1+"$@"}'='"$@"'
24.59 + setopt NO_GLOB_SUBST
24.60 +else
24.61 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24.62 +fi
24.63 +BIN_SH=xpg4; export BIN_SH # for Tru64
24.64 +DUALCASE=1; export DUALCASE # for MKS sh
24.65 +
24.66 +# Check that we have a working $echo.
24.67 +if test "X$1" = X--no-reexec; then
24.68 + # Discard the --no-reexec flag, and continue.
24.69 + shift
24.70 +elif test "X$1" = X--fallback-echo; then
24.71 + # Avoid inline document here, it may be left over
24.72 + :
24.73 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
24.74 + # Yippee, $echo works!
24.75 + :
24.76 +else
24.77 + # Restart under the correct shell, and then maybe $echo will work.
24.78 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
24.79 +fi
24.80 +
24.81 +if test "X$1" = X--fallback-echo; then
24.82 + # used as fallback echo
24.83 + shift
24.84 + cat <<EOF
24.85 +$*
24.86 +EOF
24.87 + exit $EXIT_SUCCESS
24.88 +fi
24.89 +
24.90 +default_mode=
24.91 +help="Try \`$progname --help' for more information."
24.92 +magic="%%%MAGIC variable%%%"
24.93 +mkdir="mkdir"
24.94 +mv="mv -f"
24.95 +rm="rm -f"
24.96 +
24.97 +# Sed substitution that helps us do robust quoting. It backslashifies
24.98 +# metacharacters that are still active within double-quoted strings.
24.99 +Xsed="${SED}"' -e 1s/^X//'
24.100 +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
24.101 +# test EBCDIC or ASCII
24.102 +case `echo X|tr X '\101'` in
24.103 + A) # ASCII based system
24.104 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
24.105 + SP2NL='tr \040 \012'
24.106 + NL2SP='tr \015\012 \040\040'
24.107 + ;;
24.108 + *) # EBCDIC based system
24.109 + SP2NL='tr \100 \n'
24.110 + NL2SP='tr \r\n \100\100'
24.111 + ;;
24.112 +esac
24.113 +
24.114 +# NLS nuisances.
24.115 +# Only set LANG and LC_ALL to C if already set.
24.116 +# These must not be set unconditionally because not all systems understand
24.117 +# e.g. LANG=C (notably SCO).
24.118 +# We save the old values to restore during execute mode.
24.119 +for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
24.120 +do
24.121 + eval "if test \"\${$lt_var+set}\" = set; then
24.122 + save_$lt_var=\$$lt_var
24.123 + $lt_var=C
24.124 + export $lt_var
24.125 + fi"
24.126 +done
24.127 +
24.128 +# Make sure IFS has a sensible default
24.129 +lt_nl='
24.130 +'
24.131 +IFS=" $lt_nl"
24.132 +
24.133 +if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
24.134 + $echo "$modename: not configured to build any kind of library" 1>&2
24.135 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
24.136 + exit $EXIT_FAILURE
24.137 +fi
24.138 +
24.139 +# Global variables.
24.140 +mode=$default_mode
24.141 +nonopt=
24.142 +prev=
24.143 +prevopt=
24.144 +run=
24.145 +show="$echo"
24.146 +show_help=
24.147 +execute_dlfiles=
24.148 +duplicate_deps=no
24.149 +preserve_args=
24.150 +lo2o="s/\\.lo\$/.${objext}/"
24.151 +o2lo="s/\\.${objext}\$/.lo/"
24.152 +extracted_archives=
24.153 +extracted_serial=0
24.154 +
24.155 +#####################################
24.156 +# Shell function definitions:
24.157 +# This seems to be the best place for them
24.158 +
24.159 +# func_mktempdir [string]
24.160 +# Make a temporary directory that won't clash with other running
24.161 +# libtool processes, and avoids race conditions if possible. If
24.162 +# given, STRING is the basename for that directory.
24.163 +func_mktempdir ()
24.164 +{
24.165 + my_template="${TMPDIR-/tmp}/${1-$progname}"
24.166 +
24.167 + if test "$run" = ":"; then
24.168 + # Return a directory name, but don't create it in dry-run mode
24.169 + my_tmpdir="${my_template}-$$"
24.170 + else
24.171 +
24.172 + # If mktemp works, use that first and foremost
24.173 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
24.174 +
24.175 + if test ! -d "$my_tmpdir"; then
24.176 + # Failing that, at least try and use $RANDOM to avoid a race
24.177 + my_tmpdir="${my_template}-${RANDOM-0}$$"
24.178 +
24.179 + save_mktempdir_umask=`umask`
24.180 + umask 0077
24.181 + $mkdir "$my_tmpdir"
24.182 + umask $save_mktempdir_umask
24.183 + fi
24.184 +
24.185 + # If we're not in dry-run mode, bomb out on failure
24.186 + test -d "$my_tmpdir" || {
24.187 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
24.188 + exit $EXIT_FAILURE
24.189 + }
24.190 + fi
24.191 +
24.192 + $echo "X$my_tmpdir" | $Xsed
24.193 +}
24.194 +
24.195 +
24.196 +# func_win32_libid arg
24.197 +# return the library type of file 'arg'
24.198 +#
24.199 +# Need a lot of goo to handle *both* DLLs and import libs
24.200 +# Has to be a shell function in order to 'eat' the argument
24.201 +# that is supplied when $file_magic_command is called.
24.202 +func_win32_libid ()
24.203 +{
24.204 + win32_libid_type="unknown"
24.205 + win32_fileres=`file -L $1 2>/dev/null`
24.206 + case $win32_fileres in
24.207 + *ar\ archive\ import\ library*) # definitely import
24.208 + win32_libid_type="x86 archive import"
24.209 + ;;
24.210 + *ar\ archive*) # could be an import, or static
24.211 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
24.212 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
24.213 + win32_nmres=`eval $NM -f posix -A $1 | \
24.214 + $SED -n -e '1,100{
24.215 + / I /{
24.216 + s,.*,import,
24.217 + p
24.218 + q
24.219 + }
24.220 + }'`
24.221 + case $win32_nmres in
24.222 + import*) win32_libid_type="x86 archive import";;
24.223 + *) win32_libid_type="x86 archive static";;
24.224 + esac
24.225 + fi
24.226 + ;;
24.227 + *DLL*)
24.228 + win32_libid_type="x86 DLL"
24.229 + ;;
24.230 + *executable*) # but shell scripts are "executable" too...
24.231 + case $win32_fileres in
24.232 + *MS\ Windows\ PE\ Intel*)
24.233 + win32_libid_type="x86 DLL"
24.234 + ;;
24.235 + esac
24.236 + ;;
24.237 + esac
24.238 + $echo $win32_libid_type
24.239 +}
24.240 +
24.241 +
24.242 +# func_infer_tag arg
24.243 +# Infer tagged configuration to use if any are available and
24.244 +# if one wasn't chosen via the "--tag" command line option.
24.245 +# Only attempt this if the compiler in the base compile
24.246 +# command doesn't match the default compiler.
24.247 +# arg is usually of the form 'gcc ...'
24.248 +func_infer_tag ()
24.249 +{
24.250 + if test -n "$available_tags" && test -z "$tagname"; then
24.251 + CC_quoted=
24.252 + for arg in $CC; do
24.253 + case $arg in
24.254 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.255 + arg="\"$arg\""
24.256 + ;;
24.257 + esac
24.258 + CC_quoted="$CC_quoted $arg"
24.259 + done
24.260 + case $@ in
24.261 + # Blanks in the command may have been stripped by the calling shell,
24.262 + # but not from the CC environment variable when configure was run.
24.263 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
24.264 + # Blanks at the start of $base_compile will cause this to fail
24.265 + # if we don't check for them as well.
24.266 + *)
24.267 + for z in $available_tags; do
24.268 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
24.269 + # Evaluate the configuration.
24.270 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
24.271 + CC_quoted=
24.272 + for arg in $CC; do
24.273 + # Double-quote args containing other shell metacharacters.
24.274 + case $arg in
24.275 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.276 + arg="\"$arg\""
24.277 + ;;
24.278 + esac
24.279 + CC_quoted="$CC_quoted $arg"
24.280 + done
24.281 + case "$@ " in
24.282 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
24.283 + # The compiler in the base compile command matches
24.284 + # the one in the tagged configuration.
24.285 + # Assume this is the tagged configuration we want.
24.286 + tagname=$z
24.287 + break
24.288 + ;;
24.289 + esac
24.290 + fi
24.291 + done
24.292 + # If $tagname still isn't set, then no tagged configuration
24.293 + # was found and let the user know that the "--tag" command
24.294 + # line option must be used.
24.295 + if test -z "$tagname"; then
24.296 + $echo "$modename: unable to infer tagged configuration"
24.297 + $echo "$modename: specify a tag with \`--tag'" 1>&2
24.298 + exit $EXIT_FAILURE
24.299 +# else
24.300 +# $echo "$modename: using $tagname tagged configuration"
24.301 + fi
24.302 + ;;
24.303 + esac
24.304 + fi
24.305 +}
24.306 +
24.307 +
24.308 +# func_extract_an_archive dir oldlib
24.309 +func_extract_an_archive ()
24.310 +{
24.311 + f_ex_an_ar_dir="$1"; shift
24.312 + f_ex_an_ar_oldlib="$1"
24.313 +
24.314 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
24.315 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
24.316 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
24.317 + :
24.318 + else
24.319 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
24.320 + exit $EXIT_FAILURE
24.321 + fi
24.322 +}
24.323 +
24.324 +# func_extract_archives gentop oldlib ...
24.325 +func_extract_archives ()
24.326 +{
24.327 + my_gentop="$1"; shift
24.328 + my_oldlibs=${1+"$@"}
24.329 + my_oldobjs=""
24.330 + my_xlib=""
24.331 + my_xabs=""
24.332 + my_xdir=""
24.333 + my_status=""
24.334 +
24.335 + $show "${rm}r $my_gentop"
24.336 + $run ${rm}r "$my_gentop"
24.337 + $show "$mkdir $my_gentop"
24.338 + $run $mkdir "$my_gentop"
24.339 + my_status=$?
24.340 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
24.341 + exit $my_status
24.342 + fi
24.343 +
24.344 + for my_xlib in $my_oldlibs; do
24.345 + # Extract the objects.
24.346 + case $my_xlib in
24.347 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
24.348 + *) my_xabs=`pwd`"/$my_xlib" ;;
24.349 + esac
24.350 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
24.351 + my_xlib_u=$my_xlib
24.352 + while :; do
24.353 + case " $extracted_archives " in
24.354 + *" $my_xlib_u "*)
24.355 + extracted_serial=`expr $extracted_serial + 1`
24.356 + my_xlib_u=lt$extracted_serial-$my_xlib ;;
24.357 + *) break ;;
24.358 + esac
24.359 + done
24.360 + extracted_archives="$extracted_archives $my_xlib_u"
24.361 + my_xdir="$my_gentop/$my_xlib_u"
24.362 +
24.363 + $show "${rm}r $my_xdir"
24.364 + $run ${rm}r "$my_xdir"
24.365 + $show "$mkdir $my_xdir"
24.366 + $run $mkdir "$my_xdir"
24.367 + exit_status=$?
24.368 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
24.369 + exit $exit_status
24.370 + fi
24.371 + case $host in
24.372 + *-darwin*)
24.373 + $show "Extracting $my_xabs"
24.374 + # Do not bother doing anything if just a dry run
24.375 + if test -z "$run"; then
24.376 + darwin_orig_dir=`pwd`
24.377 + cd $my_xdir || exit $?
24.378 + darwin_archive=$my_xabs
24.379 + darwin_curdir=`pwd`
24.380 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
24.381 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
24.382 + if test -n "$darwin_arches"; then
24.383 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
24.384 + darwin_arch=
24.385 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
24.386 + for darwin_arch in $darwin_arches ; do
24.387 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
24.388 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
24.389 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
24.390 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
24.391 + cd "$darwin_curdir"
24.392 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
24.393 + done # $darwin_arches
24.394 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
24.395 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
24.396 + darwin_file=
24.397 + darwin_files=
24.398 + for darwin_file in $darwin_filelist; do
24.399 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
24.400 + lipo -create -output "$darwin_file" $darwin_files
24.401 + done # $darwin_filelist
24.402 + ${rm}r unfat-$$
24.403 + cd "$darwin_orig_dir"
24.404 + else
24.405 + cd "$darwin_orig_dir"
24.406 + func_extract_an_archive "$my_xdir" "$my_xabs"
24.407 + fi # $darwin_arches
24.408 + fi # $run
24.409 + ;;
24.410 + *)
24.411 + func_extract_an_archive "$my_xdir" "$my_xabs"
24.412 + ;;
24.413 + esac
24.414 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
24.415 + done
24.416 + func_extract_archives_result="$my_oldobjs"
24.417 +}
24.418 +# End of Shell function definitions
24.419 +#####################################
24.420 +
24.421 +# Darwin sucks
24.422 +eval std_shrext=\"$shrext_cmds\"
24.423 +
24.424 +disable_libs=no
24.425 +
24.426 +# Parse our command line options once, thoroughly.
24.427 +while test "$#" -gt 0
24.428 +do
24.429 + arg="$1"
24.430 + shift
24.431 +
24.432 + case $arg in
24.433 + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
24.434 + *) optarg= ;;
24.435 + esac
24.436 +
24.437 + # If the previous option needs an argument, assign it.
24.438 + if test -n "$prev"; then
24.439 + case $prev in
24.440 + execute_dlfiles)
24.441 + execute_dlfiles="$execute_dlfiles $arg"
24.442 + ;;
24.443 + tag)
24.444 + tagname="$arg"
24.445 + preserve_args="${preserve_args}=$arg"
24.446 +
24.447 + # Check whether tagname contains only valid characters
24.448 + case $tagname in
24.449 + *[!-_A-Za-z0-9,/]*)
24.450 + $echo "$progname: invalid tag name: $tagname" 1>&2
24.451 + exit $EXIT_FAILURE
24.452 + ;;
24.453 + esac
24.454 +
24.455 + case $tagname in
24.456 + CC)
24.457 + # Don't test for the "default" C tag, as we know, it's there, but
24.458 + # not specially marked.
24.459 + ;;
24.460 + *)
24.461 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
24.462 + taglist="$taglist $tagname"
24.463 + # Evaluate the configuration.
24.464 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
24.465 + else
24.466 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
24.467 + fi
24.468 + ;;
24.469 + esac
24.470 + ;;
24.471 + *)
24.472 + eval "$prev=\$arg"
24.473 + ;;
24.474 + esac
24.475 +
24.476 + prev=
24.477 + prevopt=
24.478 + continue
24.479 + fi
24.480 +
24.481 + # Have we seen a non-optional argument yet?
24.482 + case $arg in
24.483 + --help)
24.484 + show_help=yes
24.485 + ;;
24.486 +
24.487 + --version)
24.488 + echo "\
24.489 +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
24.490 +
24.491 +Copyright (C) 2007 Free Software Foundation, Inc.
24.492 +This is free software; see the source for copying conditions. There is NO
24.493 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
24.494 + exit $?
24.495 + ;;
24.496 +
24.497 + --config)
24.498 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
24.499 + # Now print the configurations for the tags.
24.500 + for tagname in $taglist; do
24.501 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
24.502 + done
24.503 + exit $?
24.504 + ;;
24.505 +
24.506 + --debug)
24.507 + $echo "$progname: enabling shell trace mode"
24.508 + set -x
24.509 + preserve_args="$preserve_args $arg"
24.510 + ;;
24.511 +
24.512 + --dry-run | -n)
24.513 + run=:
24.514 + ;;
24.515 +
24.516 + --features)
24.517 + $echo "host: $host"
24.518 + if test "$build_libtool_libs" = yes; then
24.519 + $echo "enable shared libraries"
24.520 + else
24.521 + $echo "disable shared libraries"
24.522 + fi
24.523 + if test "$build_old_libs" = yes; then
24.524 + $echo "enable static libraries"
24.525 + else
24.526 + $echo "disable static libraries"
24.527 + fi
24.528 + exit $?
24.529 + ;;
24.530 +
24.531 + --finish) mode="finish" ;;
24.532 +
24.533 + --mode) prevopt="--mode" prev=mode ;;
24.534 + --mode=*) mode="$optarg" ;;
24.535 +
24.536 + --preserve-dup-deps) duplicate_deps="yes" ;;
24.537 +
24.538 + --quiet | --silent)
24.539 + show=:
24.540 + preserve_args="$preserve_args $arg"
24.541 + ;;
24.542 +
24.543 + --tag)
24.544 + prevopt="--tag"
24.545 + prev=tag
24.546 + preserve_args="$preserve_args --tag"
24.547 + ;;
24.548 + --tag=*)
24.549 + set tag "$optarg" ${1+"$@"}
24.550 + shift
24.551 + prev=tag
24.552 + preserve_args="$preserve_args --tag"
24.553 + ;;
24.554 +
24.555 + -dlopen)
24.556 + prevopt="-dlopen"
24.557 + prev=execute_dlfiles
24.558 + ;;
24.559 +
24.560 + -*)
24.561 + $echo "$modename: unrecognized option \`$arg'" 1>&2
24.562 + $echo "$help" 1>&2
24.563 + exit $EXIT_FAILURE
24.564 + ;;
24.565 +
24.566 + *)
24.567 + nonopt="$arg"
24.568 + break
24.569 + ;;
24.570 + esac
24.571 +done
24.572 +
24.573 +if test -n "$prevopt"; then
24.574 + $echo "$modename: option \`$prevopt' requires an argument" 1>&2
24.575 + $echo "$help" 1>&2
24.576 + exit $EXIT_FAILURE
24.577 +fi
24.578 +
24.579 +case $disable_libs in
24.580 +no)
24.581 + ;;
24.582 +shared)
24.583 + build_libtool_libs=no
24.584 + build_old_libs=yes
24.585 + ;;
24.586 +static)
24.587 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
24.588 + ;;
24.589 +esac
24.590 +
24.591 +# If this variable is set in any of the actions, the command in it
24.592 +# will be execed at the end. This prevents here-documents from being
24.593 +# left over by shells.
24.594 +exec_cmd=
24.595 +
24.596 +if test -z "$show_help"; then
24.597 +
24.598 + # Infer the operation mode.
24.599 + if test -z "$mode"; then
24.600 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
24.601 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
24.602 + case $nonopt in
24.603 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
24.604 + mode=link
24.605 + for arg
24.606 + do
24.607 + case $arg in
24.608 + -c)
24.609 + mode=compile
24.610 + break
24.611 + ;;
24.612 + esac
24.613 + done
24.614 + ;;
24.615 + *db | *dbx | *strace | *truss)
24.616 + mode=execute
24.617 + ;;
24.618 + *install*|cp|mv)
24.619 + mode=install
24.620 + ;;
24.621 + *rm)
24.622 + mode=uninstall
24.623 + ;;
24.624 + *)
24.625 + # If we have no mode, but dlfiles were specified, then do execute mode.
24.626 + test -n "$execute_dlfiles" && mode=execute
24.627 +
24.628 + # Just use the default operation mode.
24.629 + if test -z "$mode"; then
24.630 + if test -n "$nonopt"; then
24.631 + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
24.632 + else
24.633 + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
24.634 + fi
24.635 + fi
24.636 + ;;
24.637 + esac
24.638 + fi
24.639 +
24.640 + # Only execute mode is allowed to have -dlopen flags.
24.641 + if test -n "$execute_dlfiles" && test "$mode" != execute; then
24.642 + $echo "$modename: unrecognized option \`-dlopen'" 1>&2
24.643 + $echo "$help" 1>&2
24.644 + exit $EXIT_FAILURE
24.645 + fi
24.646 +
24.647 + # Change the help message to a mode-specific one.
24.648 + generic_help="$help"
24.649 + help="Try \`$modename --help --mode=$mode' for more information."
24.650 +
24.651 + # These modes are in order of execution frequency so that they run quickly.
24.652 + case $mode in
24.653 + # libtool compile mode
24.654 + compile)
24.655 + modename="$modename: compile"
24.656 + # Get the compilation command and the source file.
24.657 + base_compile=
24.658 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
24.659 + suppress_opt=yes
24.660 + suppress_output=
24.661 + arg_mode=normal
24.662 + libobj=
24.663 + later=
24.664 +
24.665 + for arg
24.666 + do
24.667 + case $arg_mode in
24.668 + arg )
24.669 + # do not "continue". Instead, add this to base_compile
24.670 + lastarg="$arg"
24.671 + arg_mode=normal
24.672 + ;;
24.673 +
24.674 + target )
24.675 + libobj="$arg"
24.676 + arg_mode=normal
24.677 + continue
24.678 + ;;
24.679 +
24.680 + normal )
24.681 + # Accept any command-line options.
24.682 + case $arg in
24.683 + -o)
24.684 + if test -n "$libobj" ; then
24.685 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
24.686 + exit $EXIT_FAILURE
24.687 + fi
24.688 + arg_mode=target
24.689 + continue
24.690 + ;;
24.691 +
24.692 + -static | -prefer-pic | -prefer-non-pic)
24.693 + later="$later $arg"
24.694 + continue
24.695 + ;;
24.696 +
24.697 + -no-suppress)
24.698 + suppress_opt=no
24.699 + continue
24.700 + ;;
24.701 +
24.702 + -Xcompiler)
24.703 + arg_mode=arg # the next one goes into the "base_compile" arg list
24.704 + continue # The current "srcfile" will either be retained or
24.705 + ;; # replaced later. I would guess that would be a bug.
24.706 +
24.707 + -Wc,*)
24.708 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
24.709 + lastarg=
24.710 + save_ifs="$IFS"; IFS=','
24.711 + for arg in $args; do
24.712 + IFS="$save_ifs"
24.713 +
24.714 + # Double-quote args containing other shell metacharacters.
24.715 + # Many Bourne shells cannot handle close brackets correctly
24.716 + # in scan sets, so we specify it separately.
24.717 + case $arg in
24.718 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.719 + arg="\"$arg\""
24.720 + ;;
24.721 + esac
24.722 + lastarg="$lastarg $arg"
24.723 + done
24.724 + IFS="$save_ifs"
24.725 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
24.726 +
24.727 + # Add the arguments to base_compile.
24.728 + base_compile="$base_compile $lastarg"
24.729 + continue
24.730 + ;;
24.731 +
24.732 + * )
24.733 + # Accept the current argument as the source file.
24.734 + # The previous "srcfile" becomes the current argument.
24.735 + #
24.736 + lastarg="$srcfile"
24.737 + srcfile="$arg"
24.738 + ;;
24.739 + esac # case $arg
24.740 + ;;
24.741 + esac # case $arg_mode
24.742 +
24.743 + # Aesthetically quote the previous argument.
24.744 + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
24.745 +
24.746 + case $lastarg in
24.747 + # Double-quote args containing other shell metacharacters.
24.748 + # Many Bourne shells cannot handle close brackets correctly
24.749 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
24.750 + # in scan sets (worked around with variable expansion),
24.751 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
24.752 + # at all, so we specify them separately.
24.753 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.754 + lastarg="\"$lastarg\""
24.755 + ;;
24.756 + esac
24.757 +
24.758 + base_compile="$base_compile $lastarg"
24.759 + done # for arg
24.760 +
24.761 + case $arg_mode in
24.762 + arg)
24.763 + $echo "$modename: you must specify an argument for -Xcompile"
24.764 + exit $EXIT_FAILURE
24.765 + ;;
24.766 + target)
24.767 + $echo "$modename: you must specify a target with \`-o'" 1>&2
24.768 + exit $EXIT_FAILURE
24.769 + ;;
24.770 + *)
24.771 + # Get the name of the library object.
24.772 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
24.773 + ;;
24.774 + esac
24.775 +
24.776 + # Recognize several different file suffixes.
24.777 + # If the user specifies -o file.o, it is replaced with file.lo
24.778 + xform='[cCFSifmso]'
24.779 + case $libobj in
24.780 + *.ada) xform=ada ;;
24.781 + *.adb) xform=adb ;;
24.782 + *.ads) xform=ads ;;
24.783 + *.asm) xform=asm ;;
24.784 + *.c++) xform=c++ ;;
24.785 + *.cc) xform=cc ;;
24.786 + *.ii) xform=ii ;;
24.787 + *.class) xform=class ;;
24.788 + *.cpp) xform=cpp ;;
24.789 + *.cxx) xform=cxx ;;
24.790 + *.[fF][09]?) xform=[fF][09]. ;;
24.791 + *.for) xform=for ;;
24.792 + *.java) xform=java ;;
24.793 + *.obj) xform=obj ;;
24.794 + esac
24.795 +
24.796 + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
24.797 +
24.798 + case $libobj in
24.799 + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
24.800 + *)
24.801 + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
24.802 + exit $EXIT_FAILURE
24.803 + ;;
24.804 + esac
24.805 +
24.806 + func_infer_tag $base_compile
24.807 +
24.808 + for arg in $later; do
24.809 + case $arg in
24.810 + -static)
24.811 + build_old_libs=yes
24.812 + continue
24.813 + ;;
24.814 +
24.815 + -prefer-pic)
24.816 + pic_mode=yes
24.817 + continue
24.818 + ;;
24.819 +
24.820 + -prefer-non-pic)
24.821 + pic_mode=no
24.822 + continue
24.823 + ;;
24.824 + esac
24.825 + done
24.826 +
24.827 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
24.828 + case $qlibobj in
24.829 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.830 + qlibobj="\"$qlibobj\"" ;;
24.831 + esac
24.832 + test "X$libobj" != "X$qlibobj" \
24.833 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
24.834 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
24.835 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
24.836 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
24.837 + if test "X$xdir" = "X$obj"; then
24.838 + xdir=
24.839 + else
24.840 + xdir=$xdir/
24.841 + fi
24.842 + lobj=${xdir}$objdir/$objname
24.843 +
24.844 + if test -z "$base_compile"; then
24.845 + $echo "$modename: you must specify a compilation command" 1>&2
24.846 + $echo "$help" 1>&2
24.847 + exit $EXIT_FAILURE
24.848 + fi
24.849 +
24.850 + # Delete any leftover library objects.
24.851 + if test "$build_old_libs" = yes; then
24.852 + removelist="$obj $lobj $libobj ${libobj}T"
24.853 + else
24.854 + removelist="$lobj $libobj ${libobj}T"
24.855 + fi
24.856 +
24.857 + $run $rm $removelist
24.858 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
24.859 +
24.860 + # On Cygwin there's no "real" PIC flag so we must build both object types
24.861 + case $host_os in
24.862 + cygwin* | mingw* | pw32* | os2*)
24.863 + pic_mode=default
24.864 + ;;
24.865 + esac
24.866 + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
24.867 + # non-PIC code in shared libraries is not supported
24.868 + pic_mode=default
24.869 + fi
24.870 +
24.871 + # Calculate the filename of the output object if compiler does
24.872 + # not support -o with -c
24.873 + if test "$compiler_c_o" = no; then
24.874 + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
24.875 + lockfile="$output_obj.lock"
24.876 + removelist="$removelist $output_obj $lockfile"
24.877 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
24.878 + else
24.879 + output_obj=
24.880 + need_locks=no
24.881 + lockfile=
24.882 + fi
24.883 +
24.884 + # Lock this critical section if it is needed
24.885 + # We use this script file to make the link, it avoids creating a new file
24.886 + if test "$need_locks" = yes; then
24.887 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
24.888 + $show "Waiting for $lockfile to be removed"
24.889 + sleep 2
24.890 + done
24.891 + elif test "$need_locks" = warn; then
24.892 + if test -f "$lockfile"; then
24.893 + $echo "\
24.894 +*** ERROR, $lockfile exists and contains:
24.895 +`cat $lockfile 2>/dev/null`
24.896 +
24.897 +This indicates that another process is trying to use the same
24.898 +temporary object file, and libtool could not work around it because
24.899 +your compiler does not support \`-c' and \`-o' together. If you
24.900 +repeat this compilation, it may succeed, by chance, but you had better
24.901 +avoid parallel builds (make -j) in this platform, or get a better
24.902 +compiler."
24.903 +
24.904 + $run $rm $removelist
24.905 + exit $EXIT_FAILURE
24.906 + fi
24.907 + $echo "$srcfile" > "$lockfile"
24.908 + fi
24.909 +
24.910 + if test -n "$fix_srcfile_path"; then
24.911 + eval srcfile=\"$fix_srcfile_path\"
24.912 + fi
24.913 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
24.914 + case $qsrcfile in
24.915 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.916 + qsrcfile="\"$qsrcfile\"" ;;
24.917 + esac
24.918 +
24.919 + $run $rm "$libobj" "${libobj}T"
24.920 +
24.921 + # Create a libtool object file (analogous to a ".la" file),
24.922 + # but don't create it if we're doing a dry run.
24.923 + test -z "$run" && cat > ${libobj}T <<EOF
24.924 +# $libobj - a libtool object file
24.925 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
24.926 +#
24.927 +# Please DO NOT delete this file!
24.928 +# It is necessary for linking the library.
24.929 +
24.930 +# Name of the PIC object.
24.931 +EOF
24.932 +
24.933 + # Only build a PIC object if we are building libtool libraries.
24.934 + if test "$build_libtool_libs" = yes; then
24.935 + # Without this assignment, base_compile gets emptied.
24.936 + fbsd_hideous_sh_bug=$base_compile
24.937 +
24.938 + if test "$pic_mode" != no; then
24.939 + command="$base_compile $qsrcfile $pic_flag"
24.940 + else
24.941 + # Don't build PIC code
24.942 + command="$base_compile $qsrcfile"
24.943 + fi
24.944 +
24.945 + if test ! -d "${xdir}$objdir"; then
24.946 + $show "$mkdir ${xdir}$objdir"
24.947 + $run $mkdir ${xdir}$objdir
24.948 + exit_status=$?
24.949 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
24.950 + exit $exit_status
24.951 + fi
24.952 + fi
24.953 +
24.954 + if test -z "$output_obj"; then
24.955 + # Place PIC objects in $objdir
24.956 + command="$command -o $lobj"
24.957 + fi
24.958 +
24.959 + $run $rm "$lobj" "$output_obj"
24.960 +
24.961 + $show "$command"
24.962 + if $run eval "$command"; then :
24.963 + else
24.964 + test -n "$output_obj" && $run $rm $removelist
24.965 + exit $EXIT_FAILURE
24.966 + fi
24.967 +
24.968 + if test "$need_locks" = warn &&
24.969 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
24.970 + $echo "\
24.971 +*** ERROR, $lockfile contains:
24.972 +`cat $lockfile 2>/dev/null`
24.973 +
24.974 +but it should contain:
24.975 +$srcfile
24.976 +
24.977 +This indicates that another process is trying to use the same
24.978 +temporary object file, and libtool could not work around it because
24.979 +your compiler does not support \`-c' and \`-o' together. If you
24.980 +repeat this compilation, it may succeed, by chance, but you had better
24.981 +avoid parallel builds (make -j) in this platform, or get a better
24.982 +compiler."
24.983 +
24.984 + $run $rm $removelist
24.985 + exit $EXIT_FAILURE
24.986 + fi
24.987 +
24.988 + # Just move the object if needed, then go on to compile the next one
24.989 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
24.990 + $show "$mv $output_obj $lobj"
24.991 + if $run $mv $output_obj $lobj; then :
24.992 + else
24.993 + error=$?
24.994 + $run $rm $removelist
24.995 + exit $error
24.996 + fi
24.997 + fi
24.998 +
24.999 + # Append the name of the PIC object to the libtool object file.
24.1000 + test -z "$run" && cat >> ${libobj}T <<EOF
24.1001 +pic_object='$objdir/$objname'
24.1002 +
24.1003 +EOF
24.1004 +
24.1005 + # Allow error messages only from the first compilation.
24.1006 + if test "$suppress_opt" = yes; then
24.1007 + suppress_output=' >/dev/null 2>&1'
24.1008 + fi
24.1009 + else
24.1010 + # No PIC object so indicate it doesn't exist in the libtool
24.1011 + # object file.
24.1012 + test -z "$run" && cat >> ${libobj}T <<EOF
24.1013 +pic_object=none
24.1014 +
24.1015 +EOF
24.1016 + fi
24.1017 +
24.1018 + # Only build a position-dependent object if we build old libraries.
24.1019 + if test "$build_old_libs" = yes; then
24.1020 + if test "$pic_mode" != yes; then
24.1021 + # Don't build PIC code
24.1022 + command="$base_compile $qsrcfile"
24.1023 + else
24.1024 + command="$base_compile $qsrcfile $pic_flag"
24.1025 + fi
24.1026 + if test "$compiler_c_o" = yes; then
24.1027 + command="$command -o $obj"
24.1028 + fi
24.1029 +
24.1030 + # Suppress compiler output if we already did a PIC compilation.
24.1031 + command="$command$suppress_output"
24.1032 + $run $rm "$obj" "$output_obj"
24.1033 + $show "$command"
24.1034 + if $run eval "$command"; then :
24.1035 + else
24.1036 + $run $rm $removelist
24.1037 + exit $EXIT_FAILURE
24.1038 + fi
24.1039 +
24.1040 + if test "$need_locks" = warn &&
24.1041 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
24.1042 + $echo "\
24.1043 +*** ERROR, $lockfile contains:
24.1044 +`cat $lockfile 2>/dev/null`
24.1045 +
24.1046 +but it should contain:
24.1047 +$srcfile
24.1048 +
24.1049 +This indicates that another process is trying to use the same
24.1050 +temporary object file, and libtool could not work around it because
24.1051 +your compiler does not support \`-c' and \`-o' together. If you
24.1052 +repeat this compilation, it may succeed, by chance, but you had better
24.1053 +avoid parallel builds (make -j) in this platform, or get a better
24.1054 +compiler."
24.1055 +
24.1056 + $run $rm $removelist
24.1057 + exit $EXIT_FAILURE
24.1058 + fi
24.1059 +
24.1060 + # Just move the object if needed
24.1061 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
24.1062 + $show "$mv $output_obj $obj"
24.1063 + if $run $mv $output_obj $obj; then :
24.1064 + else
24.1065 + error=$?
24.1066 + $run $rm $removelist
24.1067 + exit $error
24.1068 + fi
24.1069 + fi
24.1070 +
24.1071 + # Append the name of the non-PIC object the libtool object file.
24.1072 + # Only append if the libtool object file exists.
24.1073 + test -z "$run" && cat >> ${libobj}T <<EOF
24.1074 +# Name of the non-PIC object.
24.1075 +non_pic_object='$objname'
24.1076 +
24.1077 +EOF
24.1078 + else
24.1079 + # Append the name of the non-PIC object the libtool object file.
24.1080 + # Only append if the libtool object file exists.
24.1081 + test -z "$run" && cat >> ${libobj}T <<EOF
24.1082 +# Name of the non-PIC object.
24.1083 +non_pic_object=none
24.1084 +
24.1085 +EOF
24.1086 + fi
24.1087 +
24.1088 + $run $mv "${libobj}T" "${libobj}"
24.1089 +
24.1090 + # Unlock the critical section if it was locked
24.1091 + if test "$need_locks" != no; then
24.1092 + $run $rm "$lockfile"
24.1093 + fi
24.1094 +
24.1095 + exit $EXIT_SUCCESS
24.1096 + ;;
24.1097 +
24.1098 + # libtool link mode
24.1099 + link | relink)
24.1100 + modename="$modename: link"
24.1101 + case $host in
24.1102 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
24.1103 + # It is impossible to link a dll without this setting, and
24.1104 + # we shouldn't force the makefile maintainer to figure out
24.1105 + # which system we are compiling for in order to pass an extra
24.1106 + # flag for every libtool invocation.
24.1107 + # allow_undefined=no
24.1108 +
24.1109 + # FIXME: Unfortunately, there are problems with the above when trying
24.1110 + # to make a dll which has undefined symbols, in which case not
24.1111 + # even a static library is built. For now, we need to specify
24.1112 + # -no-undefined on the libtool link line when we can be certain
24.1113 + # that all symbols are satisfied, otherwise we get a static library.
24.1114 + allow_undefined=yes
24.1115 + ;;
24.1116 + *)
24.1117 + allow_undefined=yes
24.1118 + ;;
24.1119 + esac
24.1120 + libtool_args="$nonopt"
24.1121 + base_compile="$nonopt $@"
24.1122 + compile_command="$nonopt"
24.1123 + finalize_command="$nonopt"
24.1124 +
24.1125 + compile_rpath=
24.1126 + finalize_rpath=
24.1127 + compile_shlibpath=
24.1128 + finalize_shlibpath=
24.1129 + convenience=
24.1130 + old_convenience=
24.1131 + deplibs=
24.1132 + old_deplibs=
24.1133 + compiler_flags=
24.1134 + linker_flags=
24.1135 + dllsearchpath=
24.1136 + lib_search_path=`pwd`
24.1137 + inst_prefix_dir=
24.1138 +
24.1139 + avoid_version=no
24.1140 + dlfiles=
24.1141 + dlprefiles=
24.1142 + dlself=no
24.1143 + export_dynamic=no
24.1144 + export_symbols=
24.1145 + export_symbols_regex=
24.1146 + generated=
24.1147 + libobjs=
24.1148 + ltlibs=
24.1149 + module=no
24.1150 + no_install=no
24.1151 + objs=
24.1152 + non_pic_objects=
24.1153 + notinst_path= # paths that contain not-installed libtool libraries
24.1154 + precious_files_regex=
24.1155 + prefer_static_libs=no
24.1156 + preload=no
24.1157 + prev=
24.1158 + prevarg=
24.1159 + release=
24.1160 + rpath=
24.1161 + xrpath=
24.1162 + perm_rpath=
24.1163 + temp_rpath=
24.1164 + thread_safe=no
24.1165 + vinfo=
24.1166 + vinfo_number=no
24.1167 +
24.1168 + func_infer_tag $base_compile
24.1169 +
24.1170 + # We need to know -static, to get the right output filenames.
24.1171 + for arg
24.1172 + do
24.1173 + case $arg in
24.1174 + -all-static | -static | -static-libtool-libs)
24.1175 + case $arg in
24.1176 + -all-static)
24.1177 + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
24.1178 + $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
24.1179 + fi
24.1180 + if test -n "$link_static_flag"; then
24.1181 + dlopen_self=$dlopen_self_static
24.1182 + fi
24.1183 + prefer_static_libs=yes
24.1184 + ;;
24.1185 + -static)
24.1186 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
24.1187 + dlopen_self=$dlopen_self_static
24.1188 + fi
24.1189 + prefer_static_libs=built
24.1190 + ;;
24.1191 + -static-libtool-libs)
24.1192 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
24.1193 + dlopen_self=$dlopen_self_static
24.1194 + fi
24.1195 + prefer_static_libs=yes
24.1196 + ;;
24.1197 + esac
24.1198 + build_libtool_libs=no
24.1199 + build_old_libs=yes
24.1200 + break
24.1201 + ;;
24.1202 + esac
24.1203 + done
24.1204 +
24.1205 + # See if our shared archives depend on static archives.
24.1206 + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
24.1207 +
24.1208 + # Go through the arguments, transforming them on the way.
24.1209 + while test "$#" -gt 0; do
24.1210 + arg="$1"
24.1211 + shift
24.1212 + case $arg in
24.1213 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.1214 + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
24.1215 + ;;
24.1216 + *) qarg=$arg ;;
24.1217 + esac
24.1218 + libtool_args="$libtool_args $qarg"
24.1219 +
24.1220 + # If the previous option needs an argument, assign it.
24.1221 + if test -n "$prev"; then
24.1222 + case $prev in
24.1223 + output)
24.1224 + compile_command="$compile_command @OUTPUT@"
24.1225 + finalize_command="$finalize_command @OUTPUT@"
24.1226 + ;;
24.1227 + esac
24.1228 +
24.1229 + case $prev in
24.1230 + dlfiles|dlprefiles)
24.1231 + if test "$preload" = no; then
24.1232 + # Add the symbol object into the linking commands.
24.1233 + compile_command="$compile_command @SYMFILE@"
24.1234 + finalize_command="$finalize_command @SYMFILE@"
24.1235 + preload=yes
24.1236 + fi
24.1237 + case $arg in
24.1238 + *.la | *.lo) ;; # We handle these cases below.
24.1239 + force)
24.1240 + if test "$dlself" = no; then
24.1241 + dlself=needless
24.1242 + export_dynamic=yes
24.1243 + fi
24.1244 + prev=
24.1245 + continue
24.1246 + ;;
24.1247 + self)
24.1248 + if test "$prev" = dlprefiles; then
24.1249 + dlself=yes
24.1250 + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
24.1251 + dlself=yes
24.1252 + else
24.1253 + dlself=needless
24.1254 + export_dynamic=yes
24.1255 + fi
24.1256 + prev=
24.1257 + continue
24.1258 + ;;
24.1259 + *)
24.1260 + if test "$prev" = dlfiles; then
24.1261 + dlfiles="$dlfiles $arg"
24.1262 + else
24.1263 + dlprefiles="$dlprefiles $arg"
24.1264 + fi
24.1265 + prev=
24.1266 + continue
24.1267 + ;;
24.1268 + esac
24.1269 + ;;
24.1270 + expsyms)
24.1271 + export_symbols="$arg"
24.1272 + if test ! -f "$arg"; then
24.1273 + $echo "$modename: symbol file \`$arg' does not exist"
24.1274 + exit $EXIT_FAILURE
24.1275 + fi
24.1276 + prev=
24.1277 + continue
24.1278 + ;;
24.1279 + expsyms_regex)
24.1280 + export_symbols_regex="$arg"
24.1281 + prev=
24.1282 + continue
24.1283 + ;;
24.1284 + inst_prefix)
24.1285 + inst_prefix_dir="$arg"
24.1286 + prev=
24.1287 + continue
24.1288 + ;;
24.1289 + precious_regex)
24.1290 + precious_files_regex="$arg"
24.1291 + prev=
24.1292 + continue
24.1293 + ;;
24.1294 + release)
24.1295 + release="-$arg"
24.1296 + prev=
24.1297 + continue
24.1298 + ;;
24.1299 + objectlist)
24.1300 + if test -f "$arg"; then
24.1301 + save_arg=$arg
24.1302 + moreargs=
24.1303 + for fil in `cat $save_arg`
24.1304 + do
24.1305 +# moreargs="$moreargs $fil"
24.1306 + arg=$fil
24.1307 + # A libtool-controlled object.
24.1308 +
24.1309 + # Check to see that this really is a libtool object.
24.1310 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.1311 + pic_object=
24.1312 + non_pic_object=
24.1313 +
24.1314 + # Read the .lo file
24.1315 + # If there is no directory component, then add one.
24.1316 + case $arg in
24.1317 + */* | *\\*) . $arg ;;
24.1318 + *) . ./$arg ;;
24.1319 + esac
24.1320 +
24.1321 + if test -z "$pic_object" || \
24.1322 + test -z "$non_pic_object" ||
24.1323 + test "$pic_object" = none && \
24.1324 + test "$non_pic_object" = none; then
24.1325 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
24.1326 + exit $EXIT_FAILURE
24.1327 + fi
24.1328 +
24.1329 + # Extract subdirectory from the argument.
24.1330 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
24.1331 + if test "X$xdir" = "X$arg"; then
24.1332 + xdir=
24.1333 + else
24.1334 + xdir="$xdir/"
24.1335 + fi
24.1336 +
24.1337 + if test "$pic_object" != none; then
24.1338 + # Prepend the subdirectory the object is found in.
24.1339 + pic_object="$xdir$pic_object"
24.1340 +
24.1341 + if test "$prev" = dlfiles; then
24.1342 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
24.1343 + dlfiles="$dlfiles $pic_object"
24.1344 + prev=
24.1345 + continue
24.1346 + else
24.1347 + # If libtool objects are unsupported, then we need to preload.
24.1348 + prev=dlprefiles
24.1349 + fi
24.1350 + fi
24.1351 +
24.1352 + # CHECK ME: I think I busted this. -Ossama
24.1353 + if test "$prev" = dlprefiles; then
24.1354 + # Preload the old-style object.
24.1355 + dlprefiles="$dlprefiles $pic_object"
24.1356 + prev=
24.1357 + fi
24.1358 +
24.1359 + # A PIC object.
24.1360 + libobjs="$libobjs $pic_object"
24.1361 + arg="$pic_object"
24.1362 + fi
24.1363 +
24.1364 + # Non-PIC object.
24.1365 + if test "$non_pic_object" != none; then
24.1366 + # Prepend the subdirectory the object is found in.
24.1367 + non_pic_object="$xdir$non_pic_object"
24.1368 +
24.1369 + # A standard non-PIC object
24.1370 + non_pic_objects="$non_pic_objects $non_pic_object"
24.1371 + if test -z "$pic_object" || test "$pic_object" = none ; then
24.1372 + arg="$non_pic_object"
24.1373 + fi
24.1374 + else
24.1375 + # If the PIC object exists, use it instead.
24.1376 + # $xdir was prepended to $pic_object above.
24.1377 + non_pic_object="$pic_object"
24.1378 + non_pic_objects="$non_pic_objects $non_pic_object"
24.1379 + fi
24.1380 + else
24.1381 + # Only an error if not doing a dry-run.
24.1382 + if test -z "$run"; then
24.1383 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
24.1384 + exit $EXIT_FAILURE
24.1385 + else
24.1386 + # Dry-run case.
24.1387 +
24.1388 + # Extract subdirectory from the argument.
24.1389 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
24.1390 + if test "X$xdir" = "X$arg"; then
24.1391 + xdir=
24.1392 + else
24.1393 + xdir="$xdir/"
24.1394 + fi
24.1395 +
24.1396 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
24.1397 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
24.1398 + libobjs="$libobjs $pic_object"
24.1399 + non_pic_objects="$non_pic_objects $non_pic_object"
24.1400 + fi
24.1401 + fi
24.1402 + done
24.1403 + else
24.1404 + $echo "$modename: link input file \`$save_arg' does not exist"
24.1405 + exit $EXIT_FAILURE
24.1406 + fi
24.1407 + arg=$save_arg
24.1408 + prev=
24.1409 + continue
24.1410 + ;;
24.1411 + rpath | xrpath)
24.1412 + # We need an absolute path.
24.1413 + case $arg in
24.1414 + [\\/]* | [A-Za-z]:[\\/]*) ;;
24.1415 + *)
24.1416 + $echo "$modename: only absolute run-paths are allowed" 1>&2
24.1417 + exit $EXIT_FAILURE
24.1418 + ;;
24.1419 + esac
24.1420 + if test "$prev" = rpath; then
24.1421 + case "$rpath " in
24.1422 + *" $arg "*) ;;
24.1423 + *) rpath="$rpath $arg" ;;
24.1424 + esac
24.1425 + else
24.1426 + case "$xrpath " in
24.1427 + *" $arg "*) ;;
24.1428 + *) xrpath="$xrpath $arg" ;;
24.1429 + esac
24.1430 + fi
24.1431 + prev=
24.1432 + continue
24.1433 + ;;
24.1434 + xcompiler)
24.1435 + compiler_flags="$compiler_flags $qarg"
24.1436 + prev=
24.1437 + compile_command="$compile_command $qarg"
24.1438 + finalize_command="$finalize_command $qarg"
24.1439 + continue
24.1440 + ;;
24.1441 + xlinker)
24.1442 + linker_flags="$linker_flags $qarg"
24.1443 + compiler_flags="$compiler_flags $wl$qarg"
24.1444 + prev=
24.1445 + compile_command="$compile_command $wl$qarg"
24.1446 + finalize_command="$finalize_command $wl$qarg"
24.1447 + continue
24.1448 + ;;
24.1449 + xcclinker)
24.1450 + linker_flags="$linker_flags $qarg"
24.1451 + compiler_flags="$compiler_flags $qarg"
24.1452 + prev=
24.1453 + compile_command="$compile_command $qarg"
24.1454 + finalize_command="$finalize_command $qarg"
24.1455 + continue
24.1456 + ;;
24.1457 + shrext)
24.1458 + shrext_cmds="$arg"
24.1459 + prev=
24.1460 + continue
24.1461 + ;;
24.1462 + darwin_framework|darwin_framework_skip)
24.1463 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
24.1464 + compile_command="$compile_command $arg"
24.1465 + finalize_command="$finalize_command $arg"
24.1466 + prev=
24.1467 + continue
24.1468 + ;;
24.1469 + *)
24.1470 + eval "$prev=\"\$arg\""
24.1471 + prev=
24.1472 + continue
24.1473 + ;;
24.1474 + esac
24.1475 + fi # test -n "$prev"
24.1476 +
24.1477 + prevarg="$arg"
24.1478 +
24.1479 + case $arg in
24.1480 + -all-static)
24.1481 + if test -n "$link_static_flag"; then
24.1482 + compile_command="$compile_command $link_static_flag"
24.1483 + finalize_command="$finalize_command $link_static_flag"
24.1484 + fi
24.1485 + continue
24.1486 + ;;
24.1487 +
24.1488 + -allow-undefined)
24.1489 + # FIXME: remove this flag sometime in the future.
24.1490 + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
24.1491 + continue
24.1492 + ;;
24.1493 +
24.1494 + -avoid-version)
24.1495 + avoid_version=yes
24.1496 + continue
24.1497 + ;;
24.1498 +
24.1499 + -dlopen)
24.1500 + prev=dlfiles
24.1501 + continue
24.1502 + ;;
24.1503 +
24.1504 + -dlpreopen)
24.1505 + prev=dlprefiles
24.1506 + continue
24.1507 + ;;
24.1508 +
24.1509 + -export-dynamic)
24.1510 + export_dynamic=yes
24.1511 + continue
24.1512 + ;;
24.1513 +
24.1514 + -export-symbols | -export-symbols-regex)
24.1515 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
24.1516 + $echo "$modename: more than one -exported-symbols argument is not allowed"
24.1517 + exit $EXIT_FAILURE
24.1518 + fi
24.1519 + if test "X$arg" = "X-export-symbols"; then
24.1520 + prev=expsyms
24.1521 + else
24.1522 + prev=expsyms_regex
24.1523 + fi
24.1524 + continue
24.1525 + ;;
24.1526 +
24.1527 + -framework|-arch|-isysroot)
24.1528 + case " $CC " in
24.1529 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
24.1530 + prev=darwin_framework_skip ;;
24.1531 + *) compiler_flags="$compiler_flags $arg"
24.1532 + prev=darwin_framework ;;
24.1533 + esac
24.1534 + compile_command="$compile_command $arg"
24.1535 + finalize_command="$finalize_command $arg"
24.1536 + continue
24.1537 + ;;
24.1538 +
24.1539 + -inst-prefix-dir)
24.1540 + prev=inst_prefix
24.1541 + continue
24.1542 + ;;
24.1543 +
24.1544 + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
24.1545 + # so, if we see these flags be careful not to treat them like -L
24.1546 + -L[A-Z][A-Z]*:*)
24.1547 + case $with_gcc/$host in
24.1548 + no/*-*-irix* | /*-*-irix*)
24.1549 + compile_command="$compile_command $arg"
24.1550 + finalize_command="$finalize_command $arg"
24.1551 + ;;
24.1552 + esac
24.1553 + continue
24.1554 + ;;
24.1555 +
24.1556 + -L*)
24.1557 + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
24.1558 + # We need an absolute path.
24.1559 + case $dir in
24.1560 + [\\/]* | [A-Za-z]:[\\/]*) ;;
24.1561 + *)
24.1562 + absdir=`cd "$dir" && pwd`
24.1563 + if test -z "$absdir"; then
24.1564 + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
24.1565 + absdir="$dir"
24.1566 + notinst_path="$notinst_path $dir"
24.1567 + fi
24.1568 + dir="$absdir"
24.1569 + ;;
24.1570 + esac
24.1571 + case "$deplibs " in
24.1572 + *" -L$dir "*) ;;
24.1573 + *)
24.1574 + deplibs="$deplibs -L$dir"
24.1575 + lib_search_path="$lib_search_path $dir"
24.1576 + ;;
24.1577 + esac
24.1578 + case $host in
24.1579 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
24.1580 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
24.1581 + case :$dllsearchpath: in
24.1582 + *":$dir:"*) ;;
24.1583 + *) dllsearchpath="$dllsearchpath:$dir";;
24.1584 + esac
24.1585 + case :$dllsearchpath: in
24.1586 + *":$testbindir:"*) ;;
24.1587 + *) dllsearchpath="$dllsearchpath:$testbindir";;
24.1588 + esac
24.1589 + ;;
24.1590 + esac
24.1591 + continue
24.1592 + ;;
24.1593 +
24.1594 + -l*)
24.1595 + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
24.1596 + case $host in
24.1597 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
24.1598 + # These systems don't actually have a C or math library (as such)
24.1599 + continue
24.1600 + ;;
24.1601 + *-*-os2*)
24.1602 + # These systems don't actually have a C library (as such)
24.1603 + test "X$arg" = "X-lc" && continue
24.1604 + ;;
24.1605 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
24.1606 + # Do not include libc due to us having libc/libc_r.
24.1607 + test "X$arg" = "X-lc" && continue
24.1608 + ;;
24.1609 + *-*-rhapsody* | *-*-darwin1.[012])
24.1610 + # Rhapsody C and math libraries are in the System framework
24.1611 + deplibs="$deplibs -framework System"
24.1612 + continue
24.1613 + ;;
24.1614 + *-*-sco3.2v5* | *-*-sco5v6*)
24.1615 + # Causes problems with __ctype
24.1616 + test "X$arg" = "X-lc" && continue
24.1617 + ;;
24.1618 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
24.1619 + # Compiler inserts libc in the correct place for threads to work
24.1620 + test "X$arg" = "X-lc" && continue
24.1621 + ;;
24.1622 + esac
24.1623 + elif test "X$arg" = "X-lc_r"; then
24.1624 + case $host in
24.1625 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
24.1626 + # Do not include libc_r directly, use -pthread flag.
24.1627 + continue
24.1628 + ;;
24.1629 + esac
24.1630 + fi
24.1631 + deplibs="$deplibs $arg"
24.1632 + continue
24.1633 + ;;
24.1634 +
24.1635 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
24.1636 + # classes, name mangling, and exception handling.
24.1637 + -model)
24.1638 + compile_command="$compile_command $arg"
24.1639 + compiler_flags="$compiler_flags $arg"
24.1640 + finalize_command="$finalize_command $arg"
24.1641 + prev=xcompiler
24.1642 + continue
24.1643 + ;;
24.1644 +
24.1645 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
24.1646 + compiler_flags="$compiler_flags $arg"
24.1647 + compile_command="$compile_command $arg"
24.1648 + finalize_command="$finalize_command $arg"
24.1649 + continue
24.1650 + ;;
24.1651 +
24.1652 + -module)
24.1653 + module=yes
24.1654 + continue
24.1655 + ;;
24.1656 +
24.1657 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
24.1658 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
24.1659 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
24.1660 + # +DA*, +DD* enable 64-bit mode on the HP compiler
24.1661 + # -q* pass through compiler args for the IBM compiler
24.1662 + # -m* pass through architecture-specific compiler args for GCC
24.1663 + # -m*, -t[45]*, -txscale* pass through architecture-specific
24.1664 + # compiler args for GCC
24.1665 + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
24.1666 + # -F/path gives path to uninstalled frameworks, gcc on darwin
24.1667 + # @file GCC response files
24.1668 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
24.1669 + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
24.1670 +
24.1671 + # Unknown arguments in both finalize_command and compile_command need
24.1672 + # to be aesthetically quoted because they are evaled later.
24.1673 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
24.1674 + case $arg in
24.1675 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.1676 + arg="\"$arg\""
24.1677 + ;;
24.1678 + esac
24.1679 + compile_command="$compile_command $arg"
24.1680 + finalize_command="$finalize_command $arg"
24.1681 + compiler_flags="$compiler_flags $arg"
24.1682 + continue
24.1683 + ;;
24.1684 +
24.1685 + -shrext)
24.1686 + prev=shrext
24.1687 + continue
24.1688 + ;;
24.1689 +
24.1690 + -no-fast-install)
24.1691 + fast_install=no
24.1692 + continue
24.1693 + ;;
24.1694 +
24.1695 + -no-install)
24.1696 + case $host in
24.1697 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
24.1698 + # The PATH hackery in wrapper scripts is required on Windows
24.1699 + # and Darwin in order for the loader to find any dlls it needs.
24.1700 + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
24.1701 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
24.1702 + fast_install=no
24.1703 + ;;
24.1704 + *) no_install=yes ;;
24.1705 + esac
24.1706 + continue
24.1707 + ;;
24.1708 +
24.1709 + -no-undefined)
24.1710 + allow_undefined=no
24.1711 + continue
24.1712 + ;;
24.1713 +
24.1714 + -objectlist)
24.1715 + prev=objectlist
24.1716 + continue
24.1717 + ;;
24.1718 +
24.1719 + -o) prev=output ;;
24.1720 +
24.1721 + -precious-files-regex)
24.1722 + prev=precious_regex
24.1723 + continue
24.1724 + ;;
24.1725 +
24.1726 + -release)
24.1727 + prev=release
24.1728 + continue
24.1729 + ;;
24.1730 +
24.1731 + -rpath)
24.1732 + prev=rpath
24.1733 + continue
24.1734 + ;;
24.1735 +
24.1736 + -R)
24.1737 + prev=xrpath
24.1738 + continue
24.1739 + ;;
24.1740 +
24.1741 + -R*)
24.1742 + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
24.1743 + # We need an absolute path.
24.1744 + case $dir in
24.1745 + [\\/]* | [A-Za-z]:[\\/]*) ;;
24.1746 + *)
24.1747 + $echo "$modename: only absolute run-paths are allowed" 1>&2
24.1748 + exit $EXIT_FAILURE
24.1749 + ;;
24.1750 + esac
24.1751 + case "$xrpath " in
24.1752 + *" $dir "*) ;;
24.1753 + *) xrpath="$xrpath $dir" ;;
24.1754 + esac
24.1755 + continue
24.1756 + ;;
24.1757 +
24.1758 + -static | -static-libtool-libs)
24.1759 + # The effects of -static are defined in a previous loop.
24.1760 + # We used to do the same as -all-static on platforms that
24.1761 + # didn't have a PIC flag, but the assumption that the effects
24.1762 + # would be equivalent was wrong. It would break on at least
24.1763 + # Digital Unix and AIX.
24.1764 + continue
24.1765 + ;;
24.1766 +
24.1767 + -thread-safe)
24.1768 + thread_safe=yes
24.1769 + continue
24.1770 + ;;
24.1771 +
24.1772 + -version-info)
24.1773 + prev=vinfo
24.1774 + continue
24.1775 + ;;
24.1776 + -version-number)
24.1777 + prev=vinfo
24.1778 + vinfo_number=yes
24.1779 + continue
24.1780 + ;;
24.1781 +
24.1782 + -Wc,*)
24.1783 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
24.1784 + arg=
24.1785 + save_ifs="$IFS"; IFS=','
24.1786 + for flag in $args; do
24.1787 + IFS="$save_ifs"
24.1788 + case $flag in
24.1789 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.1790 + flag="\"$flag\""
24.1791 + ;;
24.1792 + esac
24.1793 + arg="$arg $wl$flag"
24.1794 + compiler_flags="$compiler_flags $flag"
24.1795 + done
24.1796 + IFS="$save_ifs"
24.1797 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
24.1798 + ;;
24.1799 +
24.1800 + -Wl,*)
24.1801 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
24.1802 + arg=
24.1803 + save_ifs="$IFS"; IFS=','
24.1804 + for flag in $args; do
24.1805 + IFS="$save_ifs"
24.1806 + case $flag in
24.1807 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.1808 + flag="\"$flag\""
24.1809 + ;;
24.1810 + esac
24.1811 + arg="$arg $wl$flag"
24.1812 + compiler_flags="$compiler_flags $wl$flag"
24.1813 + linker_flags="$linker_flags $flag"
24.1814 + done
24.1815 + IFS="$save_ifs"
24.1816 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
24.1817 + ;;
24.1818 +
24.1819 + -Xcompiler)
24.1820 + prev=xcompiler
24.1821 + continue
24.1822 + ;;
24.1823 +
24.1824 + -Xlinker)
24.1825 + prev=xlinker
24.1826 + continue
24.1827 + ;;
24.1828 +
24.1829 + -XCClinker)
24.1830 + prev=xcclinker
24.1831 + continue
24.1832 + ;;
24.1833 +
24.1834 + # Some other compiler flag.
24.1835 + -* | +*)
24.1836 + # Unknown arguments in both finalize_command and compile_command need
24.1837 + # to be aesthetically quoted because they are evaled later.
24.1838 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
24.1839 + case $arg in
24.1840 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.1841 + arg="\"$arg\""
24.1842 + ;;
24.1843 + esac
24.1844 + ;;
24.1845 +
24.1846 + *.$objext)
24.1847 + # A standard object.
24.1848 + objs="$objs $arg"
24.1849 + ;;
24.1850 +
24.1851 + *.lo)
24.1852 + # A libtool-controlled object.
24.1853 +
24.1854 + # Check to see that this really is a libtool object.
24.1855 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.1856 + pic_object=
24.1857 + non_pic_object=
24.1858 +
24.1859 + # Read the .lo file
24.1860 + # If there is no directory component, then add one.
24.1861 + case $arg in
24.1862 + */* | *\\*) . $arg ;;
24.1863 + *) . ./$arg ;;
24.1864 + esac
24.1865 +
24.1866 + if test -z "$pic_object" || \
24.1867 + test -z "$non_pic_object" ||
24.1868 + test "$pic_object" = none && \
24.1869 + test "$non_pic_object" = none; then
24.1870 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
24.1871 + exit $EXIT_FAILURE
24.1872 + fi
24.1873 +
24.1874 + # Extract subdirectory from the argument.
24.1875 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
24.1876 + if test "X$xdir" = "X$arg"; then
24.1877 + xdir=
24.1878 + else
24.1879 + xdir="$xdir/"
24.1880 + fi
24.1881 +
24.1882 + if test "$pic_object" != none; then
24.1883 + # Prepend the subdirectory the object is found in.
24.1884 + pic_object="$xdir$pic_object"
24.1885 +
24.1886 + if test "$prev" = dlfiles; then
24.1887 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
24.1888 + dlfiles="$dlfiles $pic_object"
24.1889 + prev=
24.1890 + continue
24.1891 + else
24.1892 + # If libtool objects are unsupported, then we need to preload.
24.1893 + prev=dlprefiles
24.1894 + fi
24.1895 + fi
24.1896 +
24.1897 + # CHECK ME: I think I busted this. -Ossama
24.1898 + if test "$prev" = dlprefiles; then
24.1899 + # Preload the old-style object.
24.1900 + dlprefiles="$dlprefiles $pic_object"
24.1901 + prev=
24.1902 + fi
24.1903 +
24.1904 + # A PIC object.
24.1905 + libobjs="$libobjs $pic_object"
24.1906 + arg="$pic_object"
24.1907 + fi
24.1908 +
24.1909 + # Non-PIC object.
24.1910 + if test "$non_pic_object" != none; then
24.1911 + # Prepend the subdirectory the object is found in.
24.1912 + non_pic_object="$xdir$non_pic_object"
24.1913 +
24.1914 + # A standard non-PIC object
24.1915 + non_pic_objects="$non_pic_objects $non_pic_object"
24.1916 + if test -z "$pic_object" || test "$pic_object" = none ; then
24.1917 + arg="$non_pic_object"
24.1918 + fi
24.1919 + else
24.1920 + # If the PIC object exists, use it instead.
24.1921 + # $xdir was prepended to $pic_object above.
24.1922 + non_pic_object="$pic_object"
24.1923 + non_pic_objects="$non_pic_objects $non_pic_object"
24.1924 + fi
24.1925 + else
24.1926 + # Only an error if not doing a dry-run.
24.1927 + if test -z "$run"; then
24.1928 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
24.1929 + exit $EXIT_FAILURE
24.1930 + else
24.1931 + # Dry-run case.
24.1932 +
24.1933 + # Extract subdirectory from the argument.
24.1934 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
24.1935 + if test "X$xdir" = "X$arg"; then
24.1936 + xdir=
24.1937 + else
24.1938 + xdir="$xdir/"
24.1939 + fi
24.1940 +
24.1941 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
24.1942 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
24.1943 + libobjs="$libobjs $pic_object"
24.1944 + non_pic_objects="$non_pic_objects $non_pic_object"
24.1945 + fi
24.1946 + fi
24.1947 + ;;
24.1948 +
24.1949 + *.$libext)
24.1950 + # An archive.
24.1951 + deplibs="$deplibs $arg"
24.1952 + old_deplibs="$old_deplibs $arg"
24.1953 + continue
24.1954 + ;;
24.1955 +
24.1956 + *.la)
24.1957 + # A libtool-controlled library.
24.1958 +
24.1959 + if test "$prev" = dlfiles; then
24.1960 + # This library was specified with -dlopen.
24.1961 + dlfiles="$dlfiles $arg"
24.1962 + prev=
24.1963 + elif test "$prev" = dlprefiles; then
24.1964 + # The library was specified with -dlpreopen.
24.1965 + dlprefiles="$dlprefiles $arg"
24.1966 + prev=
24.1967 + else
24.1968 + deplibs="$deplibs $arg"
24.1969 + fi
24.1970 + continue
24.1971 + ;;
24.1972 +
24.1973 + # Some other compiler argument.
24.1974 + *)
24.1975 + # Unknown arguments in both finalize_command and compile_command need
24.1976 + # to be aesthetically quoted because they are evaled later.
24.1977 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
24.1978 + case $arg in
24.1979 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.1980 + arg="\"$arg\""
24.1981 + ;;
24.1982 + esac
24.1983 + ;;
24.1984 + esac # arg
24.1985 +
24.1986 + # Now actually substitute the argument into the commands.
24.1987 + if test -n "$arg"; then
24.1988 + compile_command="$compile_command $arg"
24.1989 + finalize_command="$finalize_command $arg"
24.1990 + fi
24.1991 + done # argument parsing loop
24.1992 +
24.1993 + if test -n "$prev"; then
24.1994 + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
24.1995 + $echo "$help" 1>&2
24.1996 + exit $EXIT_FAILURE
24.1997 + fi
24.1998 +
24.1999 + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
24.2000 + eval arg=\"$export_dynamic_flag_spec\"
24.2001 + compile_command="$compile_command $arg"
24.2002 + finalize_command="$finalize_command $arg"
24.2003 + fi
24.2004 +
24.2005 + oldlibs=
24.2006 + # calculate the name of the file, without its directory
24.2007 + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
24.2008 + libobjs_save="$libobjs"
24.2009 +
24.2010 + if test -n "$shlibpath_var"; then
24.2011 + # get the directories listed in $shlibpath_var
24.2012 + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
24.2013 + else
24.2014 + shlib_search_path=
24.2015 + fi
24.2016 + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
24.2017 + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
24.2018 +
24.2019 + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
24.2020 + if test "X$output_objdir" = "X$output"; then
24.2021 + output_objdir="$objdir"
24.2022 + else
24.2023 + output_objdir="$output_objdir/$objdir"
24.2024 + fi
24.2025 + # Create the object directory.
24.2026 + if test ! -d "$output_objdir"; then
24.2027 + $show "$mkdir $output_objdir"
24.2028 + $run $mkdir $output_objdir
24.2029 + exit_status=$?
24.2030 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
24.2031 + exit $exit_status
24.2032 + fi
24.2033 + fi
24.2034 +
24.2035 + # Determine the type of output
24.2036 + case $output in
24.2037 + "")
24.2038 + $echo "$modename: you must specify an output file" 1>&2
24.2039 + $echo "$help" 1>&2
24.2040 + exit $EXIT_FAILURE
24.2041 + ;;
24.2042 + *.$libext) linkmode=oldlib ;;
24.2043 + *.lo | *.$objext) linkmode=obj ;;
24.2044 + *.la) linkmode=lib ;;
24.2045 + *) linkmode=prog ;; # Anything else should be a program.
24.2046 + esac
24.2047 +
24.2048 + case $host in
24.2049 + *cygwin* | *mingw* | *pw32*)
24.2050 + # don't eliminate duplications in $postdeps and $predeps
24.2051 + duplicate_compiler_generated_deps=yes
24.2052 + ;;
24.2053 + *)
24.2054 + duplicate_compiler_generated_deps=$duplicate_deps
24.2055 + ;;
24.2056 + esac
24.2057 + specialdeplibs=
24.2058 +
24.2059 + libs=
24.2060 + # Find all interdependent deplibs by searching for libraries
24.2061 + # that are linked more than once (e.g. -la -lb -la)
24.2062 + for deplib in $deplibs; do
24.2063 + if test "X$duplicate_deps" = "Xyes" ; then
24.2064 + case "$libs " in
24.2065 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
24.2066 + esac
24.2067 + fi
24.2068 + libs="$libs $deplib"
24.2069 + done
24.2070 +
24.2071 + if test "$linkmode" = lib; then
24.2072 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
24.2073 +
24.2074 + # Compute libraries that are listed more than once in $predeps
24.2075 + # $postdeps and mark them as special (i.e., whose duplicates are
24.2076 + # not to be eliminated).
24.2077 + pre_post_deps=
24.2078 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
24.2079 + for pre_post_dep in $predeps $postdeps; do
24.2080 + case "$pre_post_deps " in
24.2081 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
24.2082 + esac
24.2083 + pre_post_deps="$pre_post_deps $pre_post_dep"
24.2084 + done
24.2085 + fi
24.2086 + pre_post_deps=
24.2087 + fi
24.2088 +
24.2089 + deplibs=
24.2090 + newdependency_libs=
24.2091 + newlib_search_path=
24.2092 + need_relink=no # whether we're linking any uninstalled libtool libraries
24.2093 + notinst_deplibs= # not-installed libtool libraries
24.2094 + case $linkmode in
24.2095 + lib)
24.2096 + passes="conv link"
24.2097 + for file in $dlfiles $dlprefiles; do
24.2098 + case $file in
24.2099 + *.la) ;;
24.2100 + *)
24.2101 + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
24.2102 + exit $EXIT_FAILURE
24.2103 + ;;
24.2104 + esac
24.2105 + done
24.2106 + ;;
24.2107 + prog)
24.2108 + compile_deplibs=
24.2109 + finalize_deplibs=
24.2110 + alldeplibs=no
24.2111 + newdlfiles=
24.2112 + newdlprefiles=
24.2113 + passes="conv scan dlopen dlpreopen link"
24.2114 + ;;
24.2115 + *) passes="conv"
24.2116 + ;;
24.2117 + esac
24.2118 + for pass in $passes; do
24.2119 + if test "$linkmode,$pass" = "lib,link" ||
24.2120 + test "$linkmode,$pass" = "prog,scan"; then
24.2121 + libs="$deplibs"
24.2122 + deplibs=
24.2123 + fi
24.2124 + if test "$linkmode" = prog; then
24.2125 + case $pass in
24.2126 + dlopen) libs="$dlfiles" ;;
24.2127 + dlpreopen) libs="$dlprefiles" ;;
24.2128 + link)
24.2129 + libs="$deplibs %DEPLIBS%"
24.2130 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
24.2131 + ;;
24.2132 + esac
24.2133 + fi
24.2134 + if test "$pass" = dlopen; then
24.2135 + # Collect dlpreopened libraries
24.2136 + save_deplibs="$deplibs"
24.2137 + deplibs=
24.2138 + fi
24.2139 + for deplib in $libs; do
24.2140 + lib=
24.2141 + found=no
24.2142 + case $deplib in
24.2143 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
24.2144 + if test "$linkmode,$pass" = "prog,link"; then
24.2145 + compile_deplibs="$deplib $compile_deplibs"
24.2146 + finalize_deplibs="$deplib $finalize_deplibs"
24.2147 + else
24.2148 + compiler_flags="$compiler_flags $deplib"
24.2149 + fi
24.2150 + continue
24.2151 + ;;
24.2152 + -l*)
24.2153 + if test "$linkmode" != lib && test "$linkmode" != prog; then
24.2154 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
24.2155 + continue
24.2156 + fi
24.2157 + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
24.2158 + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
24.2159 + for search_ext in .la $std_shrext .so .a; do
24.2160 + # Search the libtool library
24.2161 + lib="$searchdir/lib${name}${search_ext}"
24.2162 + if test -f "$lib"; then
24.2163 + if test "$search_ext" = ".la"; then
24.2164 + found=yes
24.2165 + else
24.2166 + found=no
24.2167 + fi
24.2168 + break 2
24.2169 + fi
24.2170 + done
24.2171 + done
24.2172 + if test "$found" != yes; then
24.2173 + # deplib doesn't seem to be a libtool library
24.2174 + if test "$linkmode,$pass" = "prog,link"; then
24.2175 + compile_deplibs="$deplib $compile_deplibs"
24.2176 + finalize_deplibs="$deplib $finalize_deplibs"
24.2177 + else
24.2178 + deplibs="$deplib $deplibs"
24.2179 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
24.2180 + fi
24.2181 + continue
24.2182 + else # deplib is a libtool library
24.2183 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
24.2184 + # We need to do some special things here, and not later.
24.2185 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
24.2186 + case " $predeps $postdeps " in
24.2187 + *" $deplib "*)
24.2188 + if (${SED} -e '2q' $lib |
24.2189 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.2190 + library_names=
24.2191 + old_library=
24.2192 + case $lib in
24.2193 + */* | *\\*) . $lib ;;
24.2194 + *) . ./$lib ;;
24.2195 + esac
24.2196 + for l in $old_library $library_names; do
24.2197 + ll="$l"
24.2198 + done
24.2199 + if test "X$ll" = "X$old_library" ; then # only static version available
24.2200 + found=no
24.2201 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
24.2202 + test "X$ladir" = "X$lib" && ladir="."
24.2203 + lib=$ladir/$old_library
24.2204 + if test "$linkmode,$pass" = "prog,link"; then
24.2205 + compile_deplibs="$deplib $compile_deplibs"
24.2206 + finalize_deplibs="$deplib $finalize_deplibs"
24.2207 + else
24.2208 + deplibs="$deplib $deplibs"
24.2209 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
24.2210 + fi
24.2211 + continue
24.2212 + fi
24.2213 + fi
24.2214 + ;;
24.2215 + *) ;;
24.2216 + esac
24.2217 + fi
24.2218 + fi
24.2219 + ;; # -l
24.2220 + -L*)
24.2221 + case $linkmode in
24.2222 + lib)
24.2223 + deplibs="$deplib $deplibs"
24.2224 + test "$pass" = conv && continue
24.2225 + newdependency_libs="$deplib $newdependency_libs"
24.2226 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
24.2227 + ;;
24.2228 + prog)
24.2229 + if test "$pass" = conv; then
24.2230 + deplibs="$deplib $deplibs"
24.2231 + continue
24.2232 + fi
24.2233 + if test "$pass" = scan; then
24.2234 + deplibs="$deplib $deplibs"
24.2235 + else
24.2236 + compile_deplibs="$deplib $compile_deplibs"
24.2237 + finalize_deplibs="$deplib $finalize_deplibs"
24.2238 + fi
24.2239 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
24.2240 + ;;
24.2241 + *)
24.2242 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
24.2243 + ;;
24.2244 + esac # linkmode
24.2245 + continue
24.2246 + ;; # -L
24.2247 + -R*)
24.2248 + if test "$pass" = link; then
24.2249 + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
24.2250 + # Make sure the xrpath contains only unique directories.
24.2251 + case "$xrpath " in
24.2252 + *" $dir "*) ;;
24.2253 + *) xrpath="$xrpath $dir" ;;
24.2254 + esac
24.2255 + fi
24.2256 + deplibs="$deplib $deplibs"
24.2257 + continue
24.2258 + ;;
24.2259 + *.la) lib="$deplib" ;;
24.2260 + *.$libext)
24.2261 + if test "$pass" = conv; then
24.2262 + deplibs="$deplib $deplibs"
24.2263 + continue
24.2264 + fi
24.2265 + case $linkmode in
24.2266 + lib)
24.2267 + valid_a_lib=no
24.2268 + case $deplibs_check_method in
24.2269 + match_pattern*)
24.2270 + set dummy $deplibs_check_method
24.2271 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
24.2272 + if eval $echo \"$deplib\" 2>/dev/null \
24.2273 + | $SED 10q \
24.2274 + | $EGREP "$match_pattern_regex" > /dev/null; then
24.2275 + valid_a_lib=yes
24.2276 + fi
24.2277 + ;;
24.2278 + pass_all)
24.2279 + valid_a_lib=yes
24.2280 + ;;
24.2281 + esac
24.2282 + if test "$valid_a_lib" != yes; then
24.2283 + $echo
24.2284 + $echo "*** Warning: Trying to link with static lib archive $deplib."
24.2285 + $echo "*** I have the capability to make that library automatically link in when"
24.2286 + $echo "*** you link to this library. But I can only do this if you have a"
24.2287 + $echo "*** shared version of the library, which you do not appear to have"
24.2288 + $echo "*** because the file extensions .$libext of this argument makes me believe"
24.2289 + $echo "*** that it is just a static archive that I should not used here."
24.2290 + else
24.2291 + $echo
24.2292 + $echo "*** Warning: Linking the shared library $output against the"
24.2293 + $echo "*** static library $deplib is not portable!"
24.2294 + deplibs="$deplib $deplibs"
24.2295 + fi
24.2296 + continue
24.2297 + ;;
24.2298 + prog)
24.2299 + if test "$pass" != link; then
24.2300 + deplibs="$deplib $deplibs"
24.2301 + else
24.2302 + compile_deplibs="$deplib $compile_deplibs"
24.2303 + finalize_deplibs="$deplib $finalize_deplibs"
24.2304 + fi
24.2305 + continue
24.2306 + ;;
24.2307 + esac # linkmode
24.2308 + ;; # *.$libext
24.2309 + *.lo | *.$objext)
24.2310 + if test "$pass" = conv; then
24.2311 + deplibs="$deplib $deplibs"
24.2312 + elif test "$linkmode" = prog; then
24.2313 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
24.2314 + # If there is no dlopen support or we're linking statically,
24.2315 + # we need to preload.
24.2316 + newdlprefiles="$newdlprefiles $deplib"
24.2317 + compile_deplibs="$deplib $compile_deplibs"
24.2318 + finalize_deplibs="$deplib $finalize_deplibs"
24.2319 + else
24.2320 + newdlfiles="$newdlfiles $deplib"
24.2321 + fi
24.2322 + fi
24.2323 + continue
24.2324 + ;;
24.2325 + %DEPLIBS%)
24.2326 + alldeplibs=yes
24.2327 + continue
24.2328 + ;;
24.2329 + esac # case $deplib
24.2330 + if test "$found" = yes || test -f "$lib"; then :
24.2331 + else
24.2332 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
24.2333 + exit $EXIT_FAILURE
24.2334 + fi
24.2335 +
24.2336 + # Check to see that this really is a libtool archive.
24.2337 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
24.2338 + else
24.2339 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
24.2340 + exit $EXIT_FAILURE
24.2341 + fi
24.2342 +
24.2343 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
24.2344 + test "X$ladir" = "X$lib" && ladir="."
24.2345 +
24.2346 + dlname=
24.2347 + dlopen=
24.2348 + dlpreopen=
24.2349 + libdir=
24.2350 + library_names=
24.2351 + old_library=
24.2352 + # If the library was installed with an old release of libtool,
24.2353 + # it will not redefine variables installed, or shouldnotlink
24.2354 + installed=yes
24.2355 + shouldnotlink=no
24.2356 + avoidtemprpath=
24.2357 +
24.2358 +
24.2359 + # Read the .la file
24.2360 + case $lib in
24.2361 + */* | *\\*) . $lib ;;
24.2362 + *) . ./$lib ;;
24.2363 + esac
24.2364 +
24.2365 + if test "$linkmode,$pass" = "lib,link" ||
24.2366 + test "$linkmode,$pass" = "prog,scan" ||
24.2367 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
24.2368 + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
24.2369 + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
24.2370 + fi
24.2371 +
24.2372 + if test "$pass" = conv; then
24.2373 + # Only check for convenience libraries
24.2374 + deplibs="$lib $deplibs"
24.2375 + if test -z "$libdir"; then
24.2376 + if test -z "$old_library"; then
24.2377 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
24.2378 + exit $EXIT_FAILURE
24.2379 + fi
24.2380 + # It is a libtool convenience library, so add in its objects.
24.2381 + convenience="$convenience $ladir/$objdir/$old_library"
24.2382 + old_convenience="$old_convenience $ladir/$objdir/$old_library"
24.2383 + tmp_libs=
24.2384 + for deplib in $dependency_libs; do
24.2385 + deplibs="$deplib $deplibs"
24.2386 + if test "X$duplicate_deps" = "Xyes" ; then
24.2387 + case "$tmp_libs " in
24.2388 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
24.2389 + esac
24.2390 + fi
24.2391 + tmp_libs="$tmp_libs $deplib"
24.2392 + done
24.2393 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
24.2394 + $echo "$modename: \`$lib' is not a convenience library" 1>&2
24.2395 + exit $EXIT_FAILURE
24.2396 + fi
24.2397 + continue
24.2398 + fi # $pass = conv
24.2399 +
24.2400 +
24.2401 + # Get the name of the library we link against.
24.2402 + linklib=
24.2403 + for l in $old_library $library_names; do
24.2404 + linklib="$l"
24.2405 + done
24.2406 + if test -z "$linklib"; then
24.2407 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
24.2408 + exit $EXIT_FAILURE
24.2409 + fi
24.2410 +
24.2411 + # This library was specified with -dlopen.
24.2412 + if test "$pass" = dlopen; then
24.2413 + if test -z "$libdir"; then
24.2414 + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
24.2415 + exit $EXIT_FAILURE
24.2416 + fi
24.2417 + if test -z "$dlname" ||
24.2418 + test "$dlopen_support" != yes ||
24.2419 + test "$build_libtool_libs" = no; then
24.2420 + # If there is no dlname, no dlopen support or we're linking
24.2421 + # statically, we need to preload. We also need to preload any
24.2422 + # dependent libraries so libltdl's deplib preloader doesn't
24.2423 + # bomb out in the load deplibs phase.
24.2424 + dlprefiles="$dlprefiles $lib $dependency_libs"
24.2425 + else
24.2426 + newdlfiles="$newdlfiles $lib"
24.2427 + fi
24.2428 + continue
24.2429 + fi # $pass = dlopen
24.2430 +
24.2431 + # We need an absolute path.
24.2432 + case $ladir in
24.2433 + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
24.2434 + *)
24.2435 + abs_ladir=`cd "$ladir" && pwd`
24.2436 + if test -z "$abs_ladir"; then
24.2437 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
24.2438 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
24.2439 + abs_ladir="$ladir"
24.2440 + fi
24.2441 + ;;
24.2442 + esac
24.2443 + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
24.2444 +
24.2445 + # Find the relevant object directory and library name.
24.2446 + if test "X$installed" = Xyes; then
24.2447 + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
24.2448 + $echo "$modename: warning: library \`$lib' was moved." 1>&2
24.2449 + dir="$ladir"
24.2450 + absdir="$abs_ladir"
24.2451 + libdir="$abs_ladir"
24.2452 + else
24.2453 + dir="$libdir"
24.2454 + absdir="$libdir"
24.2455 + fi
24.2456 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
24.2457 + else
24.2458 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
24.2459 + dir="$ladir"
24.2460 + absdir="$abs_ladir"
24.2461 + # Remove this search path later
24.2462 + notinst_path="$notinst_path $abs_ladir"
24.2463 + else
24.2464 + dir="$ladir/$objdir"
24.2465 + absdir="$abs_ladir/$objdir"
24.2466 + # Remove this search path later
24.2467 + notinst_path="$notinst_path $abs_ladir"
24.2468 + fi
24.2469 + fi # $installed = yes
24.2470 + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
24.2471 +
24.2472 + # This library was specified with -dlpreopen.
24.2473 + if test "$pass" = dlpreopen; then
24.2474 + if test -z "$libdir"; then
24.2475 + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
24.2476 + exit $EXIT_FAILURE
24.2477 + fi
24.2478 + # Prefer using a static library (so that no silly _DYNAMIC symbols
24.2479 + # are required to link).
24.2480 + if test -n "$old_library"; then
24.2481 + newdlprefiles="$newdlprefiles $dir/$old_library"
24.2482 + # Otherwise, use the dlname, so that lt_dlopen finds it.
24.2483 + elif test -n "$dlname"; then
24.2484 + newdlprefiles="$newdlprefiles $dir/$dlname"
24.2485 + else
24.2486 + newdlprefiles="$newdlprefiles $dir/$linklib"
24.2487 + fi
24.2488 + fi # $pass = dlpreopen
24.2489 +
24.2490 + if test -z "$libdir"; then
24.2491 + # Link the convenience library
24.2492 + if test "$linkmode" = lib; then
24.2493 + deplibs="$dir/$old_library $deplibs"
24.2494 + elif test "$linkmode,$pass" = "prog,link"; then
24.2495 + compile_deplibs="$dir/$old_library $compile_deplibs"
24.2496 + finalize_deplibs="$dir/$old_library $finalize_deplibs"
24.2497 + else
24.2498 + deplibs="$lib $deplibs" # used for prog,scan pass
24.2499 + fi
24.2500 + continue
24.2501 + fi
24.2502 +
24.2503 +
24.2504 + if test "$linkmode" = prog && test "$pass" != link; then
24.2505 + newlib_search_path="$newlib_search_path $ladir"
24.2506 + deplibs="$lib $deplibs"
24.2507 +
24.2508 + linkalldeplibs=no
24.2509 + if test "$link_all_deplibs" != no || test -z "$library_names" ||
24.2510 + test "$build_libtool_libs" = no; then
24.2511 + linkalldeplibs=yes
24.2512 + fi
24.2513 +
24.2514 + tmp_libs=
24.2515 + for deplib in $dependency_libs; do
24.2516 + case $deplib in
24.2517 + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
24.2518 + esac
24.2519 + # Need to link against all dependency_libs?
24.2520 + if test "$linkalldeplibs" = yes; then
24.2521 + deplibs="$deplib $deplibs"
24.2522 + else
24.2523 + # Need to hardcode shared library paths
24.2524 + # or/and link against static libraries
24.2525 + newdependency_libs="$deplib $newdependency_libs"
24.2526 + fi
24.2527 + if test "X$duplicate_deps" = "Xyes" ; then
24.2528 + case "$tmp_libs " in
24.2529 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
24.2530 + esac
24.2531 + fi
24.2532 + tmp_libs="$tmp_libs $deplib"
24.2533 + done # for deplib
24.2534 + continue
24.2535 + fi # $linkmode = prog...
24.2536 +
24.2537 + if test "$linkmode,$pass" = "prog,link"; then
24.2538 + if test -n "$library_names" &&
24.2539 + { { test "$prefer_static_libs" = no ||
24.2540 + test "$prefer_static_libs,$installed" = "built,yes"; } ||
24.2541 + test -z "$old_library"; }; then
24.2542 + # We need to hardcode the library path
24.2543 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
24.2544 + # Make sure the rpath contains only unique directories.
24.2545 + case "$temp_rpath " in
24.2546 + *" $dir "*) ;;
24.2547 + *" $absdir "*) ;;
24.2548 + *) temp_rpath="$temp_rpath $absdir" ;;
24.2549 + esac
24.2550 + fi
24.2551 +
24.2552 + # Hardcode the library path.
24.2553 + # Skip directories that are in the system default run-time
24.2554 + # search path.
24.2555 + case " $sys_lib_dlsearch_path " in
24.2556 + *" $absdir "*) ;;
24.2557 + *)
24.2558 + case "$compile_rpath " in
24.2559 + *" $absdir "*) ;;
24.2560 + *) compile_rpath="$compile_rpath $absdir"
24.2561 + esac
24.2562 + ;;
24.2563 + esac
24.2564 + case " $sys_lib_dlsearch_path " in
24.2565 + *" $libdir "*) ;;
24.2566 + *)
24.2567 + case "$finalize_rpath " in
24.2568 + *" $libdir "*) ;;
24.2569 + *) finalize_rpath="$finalize_rpath $libdir"
24.2570 + esac
24.2571 + ;;
24.2572 + esac
24.2573 + fi # $linkmode,$pass = prog,link...
24.2574 +
24.2575 + if test "$alldeplibs" = yes &&
24.2576 + { test "$deplibs_check_method" = pass_all ||
24.2577 + { test "$build_libtool_libs" = yes &&
24.2578 + test -n "$library_names"; }; }; then
24.2579 + # We only need to search for static libraries
24.2580 + continue
24.2581 + fi
24.2582 + fi
24.2583 +
24.2584 + link_static=no # Whether the deplib will be linked statically
24.2585 + use_static_libs=$prefer_static_libs
24.2586 + if test "$use_static_libs" = built && test "$installed" = yes ; then
24.2587 + use_static_libs=no
24.2588 + fi
24.2589 + if test -n "$library_names" &&
24.2590 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
24.2591 + if test "$installed" = no; then
24.2592 + notinst_deplibs="$notinst_deplibs $lib"
24.2593 + need_relink=yes
24.2594 + fi
24.2595 + # This is a shared library
24.2596 +
24.2597 + # Warn about portability, can't link against -module's on
24.2598 + # some systems (darwin)
24.2599 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
24.2600 + $echo
24.2601 + if test "$linkmode" = prog; then
24.2602 + $echo "*** Warning: Linking the executable $output against the loadable module"
24.2603 + else
24.2604 + $echo "*** Warning: Linking the shared library $output against the loadable module"
24.2605 + fi
24.2606 + $echo "*** $linklib is not portable!"
24.2607 + fi
24.2608 + if test "$linkmode" = lib &&
24.2609 + test "$hardcode_into_libs" = yes; then
24.2610 + # Hardcode the library path.
24.2611 + # Skip directories that are in the system default run-time
24.2612 + # search path.
24.2613 + case " $sys_lib_dlsearch_path " in
24.2614 + *" $absdir "*) ;;
24.2615 + *)
24.2616 + case "$compile_rpath " in
24.2617 + *" $absdir "*) ;;
24.2618 + *) compile_rpath="$compile_rpath $absdir"
24.2619 + esac
24.2620 + ;;
24.2621 + esac
24.2622 + case " $sys_lib_dlsearch_path " in
24.2623 + *" $libdir "*) ;;
24.2624 + *)
24.2625 + case "$finalize_rpath " in
24.2626 + *" $libdir "*) ;;
24.2627 + *) finalize_rpath="$finalize_rpath $libdir"
24.2628 + esac
24.2629 + ;;
24.2630 + esac
24.2631 + fi
24.2632 +
24.2633 + if test -n "$old_archive_from_expsyms_cmds"; then
24.2634 + # figure out the soname
24.2635 + set dummy $library_names
24.2636 + realname="$2"
24.2637 + shift; shift
24.2638 + libname=`eval \\$echo \"$libname_spec\"`
24.2639 + # use dlname if we got it. it's perfectly good, no?
24.2640 + if test -n "$dlname"; then
24.2641 + soname="$dlname"
24.2642 + elif test -n "$soname_spec"; then
24.2643 + # bleh windows
24.2644 + case $host in
24.2645 + *cygwin* | mingw*)
24.2646 + major=`expr $current - $age`
24.2647 + versuffix="-$major"
24.2648 + ;;
24.2649 + esac
24.2650 + eval soname=\"$soname_spec\"
24.2651 + else
24.2652 + soname="$realname"
24.2653 + fi
24.2654 +
24.2655 + # Make a new name for the extract_expsyms_cmds to use
24.2656 + soroot="$soname"
24.2657 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
24.2658 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
24.2659 +
24.2660 + # If the library has no export list, then create one now
24.2661 + if test -f "$output_objdir/$soname-def"; then :
24.2662 + else
24.2663 + $show "extracting exported symbol list from \`$soname'"
24.2664 + save_ifs="$IFS"; IFS='~'
24.2665 + cmds=$extract_expsyms_cmds
24.2666 + for cmd in $cmds; do
24.2667 + IFS="$save_ifs"
24.2668 + eval cmd=\"$cmd\"
24.2669 + $show "$cmd"
24.2670 + $run eval "$cmd" || exit $?
24.2671 + done
24.2672 + IFS="$save_ifs"
24.2673 + fi
24.2674 +
24.2675 + # Create $newlib
24.2676 + if test -f "$output_objdir/$newlib"; then :; else
24.2677 + $show "generating import library for \`$soname'"
24.2678 + save_ifs="$IFS"; IFS='~'
24.2679 + cmds=$old_archive_from_expsyms_cmds
24.2680 + for cmd in $cmds; do
24.2681 + IFS="$save_ifs"
24.2682 + eval cmd=\"$cmd\"
24.2683 + $show "$cmd"
24.2684 + $run eval "$cmd" || exit $?
24.2685 + done
24.2686 + IFS="$save_ifs"
24.2687 + fi
24.2688 + # make sure the library variables are pointing to the new library
24.2689 + dir=$output_objdir
24.2690 + linklib=$newlib
24.2691 + fi # test -n "$old_archive_from_expsyms_cmds"
24.2692 +
24.2693 + if test "$linkmode" = prog || test "$mode" != relink; then
24.2694 + add_shlibpath=
24.2695 + add_dir=
24.2696 + add=
24.2697 + lib_linked=yes
24.2698 + case $hardcode_action in
24.2699 + immediate | unsupported)
24.2700 + if test "$hardcode_direct" = no; then
24.2701 + add="$dir/$linklib"
24.2702 + case $host in
24.2703 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
24.2704 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
24.2705 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
24.2706 + *-*-unixware7*) add_dir="-L$dir" ;;
24.2707 + *-*-darwin* )
24.2708 + # if the lib is a module then we can not link against
24.2709 + # it, someone is ignoring the new warnings I added
24.2710 + if /usr/bin/file -L $add 2> /dev/null |
24.2711 + $EGREP ": [^:]* bundle" >/dev/null ; then
24.2712 + $echo "** Warning, lib $linklib is a module, not a shared library"
24.2713 + if test -z "$old_library" ; then
24.2714 + $echo
24.2715 + $echo "** And there doesn't seem to be a static archive available"
24.2716 + $echo "** The link will probably fail, sorry"
24.2717 + else
24.2718 + add="$dir/$old_library"
24.2719 + fi
24.2720 + fi
24.2721 + esac
24.2722 + elif test "$hardcode_minus_L" = no; then
24.2723 + case $host in
24.2724 + *-*-sunos*) add_shlibpath="$dir" ;;
24.2725 + esac
24.2726 + add_dir="-L$dir"
24.2727 + add="-l$name"
24.2728 + elif test "$hardcode_shlibpath_var" = no; then
24.2729 + add_shlibpath="$dir"
24.2730 + add="-l$name"
24.2731 + else
24.2732 + lib_linked=no
24.2733 + fi
24.2734 + ;;
24.2735 + relink)
24.2736 + if test "$hardcode_direct" = yes; then
24.2737 + add="$dir/$linklib"
24.2738 + elif test "$hardcode_minus_L" = yes; then
24.2739 + add_dir="-L$dir"
24.2740 + # Try looking first in the location we're being installed to.
24.2741 + if test -n "$inst_prefix_dir"; then
24.2742 + case $libdir in
24.2743 + [\\/]*)
24.2744 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
24.2745 + ;;
24.2746 + esac
24.2747 + fi
24.2748 + add="-l$name"
24.2749 + elif test "$hardcode_shlibpath_var" = yes; then
24.2750 + add_shlibpath="$dir"
24.2751 + add="-l$name"
24.2752 + else
24.2753 + lib_linked=no
24.2754 + fi
24.2755 + ;;
24.2756 + *) lib_linked=no ;;
24.2757 + esac
24.2758 +
24.2759 + if test "$lib_linked" != yes; then
24.2760 + $echo "$modename: configuration error: unsupported hardcode properties"
24.2761 + exit $EXIT_FAILURE
24.2762 + fi
24.2763 +
24.2764 + if test -n "$add_shlibpath"; then
24.2765 + case :$compile_shlibpath: in
24.2766 + *":$add_shlibpath:"*) ;;
24.2767 + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
24.2768 + esac
24.2769 + fi
24.2770 + if test "$linkmode" = prog; then
24.2771 + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
24.2772 + test -n "$add" && compile_deplibs="$add $compile_deplibs"
24.2773 + else
24.2774 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
24.2775 + test -n "$add" && deplibs="$add $deplibs"
24.2776 + if test "$hardcode_direct" != yes && \
24.2777 + test "$hardcode_minus_L" != yes && \
24.2778 + test "$hardcode_shlibpath_var" = yes; then
24.2779 + case :$finalize_shlibpath: in
24.2780 + *":$libdir:"*) ;;
24.2781 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
24.2782 + esac
24.2783 + fi
24.2784 + fi
24.2785 + fi
24.2786 +
24.2787 + if test "$linkmode" = prog || test "$mode" = relink; then
24.2788 + add_shlibpath=
24.2789 + add_dir=
24.2790 + add=
24.2791 + # Finalize command for both is simple: just hardcode it.
24.2792 + if test "$hardcode_direct" = yes; then
24.2793 + add="$libdir/$linklib"
24.2794 + elif test "$hardcode_minus_L" = yes; then
24.2795 + add_dir="-L$libdir"
24.2796 + add="-l$name"
24.2797 + elif test "$hardcode_shlibpath_var" = yes; then
24.2798 + case :$finalize_shlibpath: in
24.2799 + *":$libdir:"*) ;;
24.2800 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
24.2801 + esac
24.2802 + add="-l$name"
24.2803 + elif test "$hardcode_automatic" = yes; then
24.2804 + if test -n "$inst_prefix_dir" &&
24.2805 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
24.2806 + add="$inst_prefix_dir$libdir/$linklib"
24.2807 + else
24.2808 + add="$libdir/$linklib"
24.2809 + fi
24.2810 + else
24.2811 + # We cannot seem to hardcode it, guess we'll fake it.
24.2812 + add_dir="-L$libdir"
24.2813 + # Try looking first in the location we're being installed to.
24.2814 + if test -n "$inst_prefix_dir"; then
24.2815 + case $libdir in
24.2816 + [\\/]*)
24.2817 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
24.2818 + ;;
24.2819 + esac
24.2820 + fi
24.2821 + add="-l$name"
24.2822 + fi
24.2823 +
24.2824 + if test "$linkmode" = prog; then
24.2825 + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
24.2826 + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
24.2827 + else
24.2828 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
24.2829 + test -n "$add" && deplibs="$add $deplibs"
24.2830 + fi
24.2831 + fi
24.2832 + elif test "$linkmode" = prog; then
24.2833 + # Here we assume that one of hardcode_direct or hardcode_minus_L
24.2834 + # is not unsupported. This is valid on all known static and
24.2835 + # shared platforms.
24.2836 + if test "$hardcode_direct" != unsupported; then
24.2837 + test -n "$old_library" && linklib="$old_library"
24.2838 + compile_deplibs="$dir/$linklib $compile_deplibs"
24.2839 + finalize_deplibs="$dir/$linklib $finalize_deplibs"
24.2840 + else
24.2841 + compile_deplibs="-l$name -L$dir $compile_deplibs"
24.2842 + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
24.2843 + fi
24.2844 + elif test "$build_libtool_libs" = yes; then
24.2845 + # Not a shared library
24.2846 + if test "$deplibs_check_method" != pass_all; then
24.2847 + # We're trying link a shared library against a static one
24.2848 + # but the system doesn't support it.
24.2849 +
24.2850 + # Just print a warning and add the library to dependency_libs so
24.2851 + # that the program can be linked against the static library.
24.2852 + $echo
24.2853 + $echo "*** Warning: This system can not link to static lib archive $lib."
24.2854 + $echo "*** I have the capability to make that library automatically link in when"
24.2855 + $echo "*** you link to this library. But I can only do this if you have a"
24.2856 + $echo "*** shared version of the library, which you do not appear to have."
24.2857 + if test "$module" = yes; then
24.2858 + $echo "*** But as you try to build a module library, libtool will still create "
24.2859 + $echo "*** a static module, that should work as long as the dlopening application"
24.2860 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
24.2861 + if test -z "$global_symbol_pipe"; then
24.2862 + $echo
24.2863 + $echo "*** However, this would only work if libtool was able to extract symbol"
24.2864 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
24.2865 + $echo "*** not find such a program. So, this module is probably useless."
24.2866 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
24.2867 + fi
24.2868 + if test "$build_old_libs" = no; then
24.2869 + build_libtool_libs=module
24.2870 + build_old_libs=yes
24.2871 + else
24.2872 + build_libtool_libs=no
24.2873 + fi
24.2874 + fi
24.2875 + else
24.2876 + deplibs="$dir/$old_library $deplibs"
24.2877 + link_static=yes
24.2878 + fi
24.2879 + fi # link shared/static library?
24.2880 +
24.2881 + if test "$linkmode" = lib; then
24.2882 + if test -n "$dependency_libs" &&
24.2883 + { test "$hardcode_into_libs" != yes ||
24.2884 + test "$build_old_libs" = yes ||
24.2885 + test "$link_static" = yes; }; then
24.2886 + # Extract -R from dependency_libs
24.2887 + temp_deplibs=
24.2888 + for libdir in $dependency_libs; do
24.2889 + case $libdir in
24.2890 + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
24.2891 + case " $xrpath " in
24.2892 + *" $temp_xrpath "*) ;;
24.2893 + *) xrpath="$xrpath $temp_xrpath";;
24.2894 + esac;;
24.2895 + *) temp_deplibs="$temp_deplibs $libdir";;
24.2896 + esac
24.2897 + done
24.2898 + dependency_libs="$temp_deplibs"
24.2899 + fi
24.2900 +
24.2901 + newlib_search_path="$newlib_search_path $absdir"
24.2902 + # Link against this library
24.2903 + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
24.2904 + # ... and its dependency_libs
24.2905 + tmp_libs=
24.2906 + for deplib in $dependency_libs; do
24.2907 + newdependency_libs="$deplib $newdependency_libs"
24.2908 + if test "X$duplicate_deps" = "Xyes" ; then
24.2909 + case "$tmp_libs " in
24.2910 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
24.2911 + esac
24.2912 + fi
24.2913 + tmp_libs="$tmp_libs $deplib"
24.2914 + done
24.2915 +
24.2916 + if test "$link_all_deplibs" != no; then
24.2917 + # Add the search paths of all dependency libraries
24.2918 + for deplib in $dependency_libs; do
24.2919 + case $deplib in
24.2920 + -L*) path="$deplib" ;;
24.2921 + *.la)
24.2922 + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
24.2923 + test "X$dir" = "X$deplib" && dir="."
24.2924 + # We need an absolute path.
24.2925 + case $dir in
24.2926 + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
24.2927 + *)
24.2928 + absdir=`cd "$dir" && pwd`
24.2929 + if test -z "$absdir"; then
24.2930 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
24.2931 + absdir="$dir"
24.2932 + fi
24.2933 + ;;
24.2934 + esac
24.2935 + if grep "^installed=no" $deplib > /dev/null; then
24.2936 + path="$absdir/$objdir"
24.2937 + else
24.2938 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
24.2939 + if test -z "$libdir"; then
24.2940 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
24.2941 + exit $EXIT_FAILURE
24.2942 + fi
24.2943 + if test "$absdir" != "$libdir"; then
24.2944 + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
24.2945 + fi
24.2946 + path="$absdir"
24.2947 + fi
24.2948 + depdepl=
24.2949 + case $host in
24.2950 + *-*-darwin*)
24.2951 + # we do not want to link against static libs,
24.2952 + # but need to link against shared
24.2953 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
24.2954 + if test -n "$deplibrary_names" ; then
24.2955 + for tmp in $deplibrary_names ; do
24.2956 + depdepl=$tmp
24.2957 + done
24.2958 + if test -f "$path/$depdepl" ; then
24.2959 + depdepl="$path/$depdepl"
24.2960 + fi
24.2961 + # do not add paths which are already there
24.2962 + case " $newlib_search_path " in
24.2963 + *" $path "*) ;;
24.2964 + *) newlib_search_path="$newlib_search_path $path";;
24.2965 + esac
24.2966 + fi
24.2967 + path=""
24.2968 + ;;
24.2969 + *)
24.2970 + path="-L$path"
24.2971 + ;;
24.2972 + esac
24.2973 + ;;
24.2974 + -l*)
24.2975 + case $host in
24.2976 + *-*-darwin*)
24.2977 + # Again, we only want to link against shared libraries
24.2978 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
24.2979 + for tmp in $newlib_search_path ; do
24.2980 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
24.2981 + eval depdepl="$tmp/lib$tmp_libs.dylib"
24.2982 + break
24.2983 + fi
24.2984 + done
24.2985 + path=""
24.2986 + ;;
24.2987 + *) continue ;;
24.2988 + esac
24.2989 + ;;
24.2990 + *) continue ;;
24.2991 + esac
24.2992 + case " $deplibs " in
24.2993 + *" $path "*) ;;
24.2994 + *) deplibs="$path $deplibs" ;;
24.2995 + esac
24.2996 + case " $deplibs " in
24.2997 + *" $depdepl "*) ;;
24.2998 + *) deplibs="$depdepl $deplibs" ;;
24.2999 + esac
24.3000 + done
24.3001 + fi # link_all_deplibs != no
24.3002 + fi # linkmode = lib
24.3003 + done # for deplib in $libs
24.3004 + dependency_libs="$newdependency_libs"
24.3005 + if test "$pass" = dlpreopen; then
24.3006 + # Link the dlpreopened libraries before other libraries
24.3007 + for deplib in $save_deplibs; do
24.3008 + deplibs="$deplib $deplibs"
24.3009 + done
24.3010 + fi
24.3011 + if test "$pass" != dlopen; then
24.3012 + if test "$pass" != conv; then
24.3013 + # Make sure lib_search_path contains only unique directories.
24.3014 + lib_search_path=
24.3015 + for dir in $newlib_search_path; do
24.3016 + case "$lib_search_path " in
24.3017 + *" $dir "*) ;;
24.3018 + *) lib_search_path="$lib_search_path $dir" ;;
24.3019 + esac
24.3020 + done
24.3021 + newlib_search_path=
24.3022 + fi
24.3023 +
24.3024 + if test "$linkmode,$pass" != "prog,link"; then
24.3025 + vars="deplibs"
24.3026 + else
24.3027 + vars="compile_deplibs finalize_deplibs"
24.3028 + fi
24.3029 + for var in $vars dependency_libs; do
24.3030 + # Add libraries to $var in reverse order
24.3031 + eval tmp_libs=\"\$$var\"
24.3032 + new_libs=
24.3033 + for deplib in $tmp_libs; do
24.3034 + # FIXME: Pedantically, this is the right thing to do, so
24.3035 + # that some nasty dependency loop isn't accidentally
24.3036 + # broken:
24.3037 + #new_libs="$deplib $new_libs"
24.3038 + # Pragmatically, this seems to cause very few problems in
24.3039 + # practice:
24.3040 + case $deplib in
24.3041 + -L*) new_libs="$deplib $new_libs" ;;
24.3042 + -R*) ;;
24.3043 + *)
24.3044 + # And here is the reason: when a library appears more
24.3045 + # than once as an explicit dependence of a library, or
24.3046 + # is implicitly linked in more than once by the
24.3047 + # compiler, it is considered special, and multiple
24.3048 + # occurrences thereof are not removed. Compare this
24.3049 + # with having the same library being listed as a
24.3050 + # dependency of multiple other libraries: in this case,
24.3051 + # we know (pedantically, we assume) the library does not
24.3052 + # need to be listed more than once, so we keep only the
24.3053 + # last copy. This is not always right, but it is rare
24.3054 + # enough that we require users that really mean to play
24.3055 + # such unportable linking tricks to link the library
24.3056 + # using -Wl,-lname, so that libtool does not consider it
24.3057 + # for duplicate removal.
24.3058 + case " $specialdeplibs " in
24.3059 + *" $deplib "*) new_libs="$deplib $new_libs" ;;
24.3060 + *)
24.3061 + case " $new_libs " in
24.3062 + *" $deplib "*) ;;
24.3063 + *) new_libs="$deplib $new_libs" ;;
24.3064 + esac
24.3065 + ;;
24.3066 + esac
24.3067 + ;;
24.3068 + esac
24.3069 + done
24.3070 + tmp_libs=
24.3071 + for deplib in $new_libs; do
24.3072 + case $deplib in
24.3073 + -L*)
24.3074 + case " $tmp_libs " in
24.3075 + *" $deplib "*) ;;
24.3076 + *) tmp_libs="$tmp_libs $deplib" ;;
24.3077 + esac
24.3078 + ;;
24.3079 + *) tmp_libs="$tmp_libs $deplib" ;;
24.3080 + esac
24.3081 + done
24.3082 + eval $var=\"$tmp_libs\"
24.3083 + done # for var
24.3084 + fi
24.3085 + # Last step: remove runtime libs from dependency_libs
24.3086 + # (they stay in deplibs)
24.3087 + tmp_libs=
24.3088 + for i in $dependency_libs ; do
24.3089 + case " $predeps $postdeps $compiler_lib_search_path " in
24.3090 + *" $i "*)
24.3091 + i=""
24.3092 + ;;
24.3093 + esac
24.3094 + if test -n "$i" ; then
24.3095 + tmp_libs="$tmp_libs $i"
24.3096 + fi
24.3097 + done
24.3098 + dependency_libs=$tmp_libs
24.3099 + done # for pass
24.3100 + if test "$linkmode" = prog; then
24.3101 + dlfiles="$newdlfiles"
24.3102 + dlprefiles="$newdlprefiles"
24.3103 + fi
24.3104 +
24.3105 + case $linkmode in
24.3106 + oldlib)
24.3107 + if test -n "$deplibs"; then
24.3108 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
24.3109 + fi
24.3110 +
24.3111 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
24.3112 + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
24.3113 + fi
24.3114 +
24.3115 + if test -n "$rpath"; then
24.3116 + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
24.3117 + fi
24.3118 +
24.3119 + if test -n "$xrpath"; then
24.3120 + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
24.3121 + fi
24.3122 +
24.3123 + if test -n "$vinfo"; then
24.3124 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
24.3125 + fi
24.3126 +
24.3127 + if test -n "$release"; then
24.3128 + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
24.3129 + fi
24.3130 +
24.3131 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
24.3132 + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
24.3133 + fi
24.3134 +
24.3135 + # Now set the variables for building old libraries.
24.3136 + build_libtool_libs=no
24.3137 + oldlibs="$output"
24.3138 + objs="$objs$old_deplibs"
24.3139 + ;;
24.3140 +
24.3141 + lib)
24.3142 + # Make sure we only generate libraries of the form `libNAME.la'.
24.3143 + case $outputname in
24.3144 + lib*)
24.3145 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
24.3146 + eval shared_ext=\"$shrext_cmds\"
24.3147 + eval libname=\"$libname_spec\"
24.3148 + ;;
24.3149 + *)
24.3150 + if test "$module" = no; then
24.3151 + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
24.3152 + $echo "$help" 1>&2
24.3153 + exit $EXIT_FAILURE
24.3154 + fi
24.3155 + if test "$need_lib_prefix" != no; then
24.3156 + # Add the "lib" prefix for modules if required
24.3157 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
24.3158 + eval shared_ext=\"$shrext_cmds\"
24.3159 + eval libname=\"$libname_spec\"
24.3160 + else
24.3161 + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
24.3162 + fi
24.3163 + ;;
24.3164 + esac
24.3165 +
24.3166 + if test -n "$objs"; then
24.3167 + if test "$deplibs_check_method" != pass_all; then
24.3168 + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
24.3169 + exit $EXIT_FAILURE
24.3170 + else
24.3171 + $echo
24.3172 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
24.3173 + $echo "*** objects $objs is not portable!"
24.3174 + libobjs="$libobjs $objs"
24.3175 + fi
24.3176 + fi
24.3177 +
24.3178 + if test "$dlself" != no; then
24.3179 + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
24.3180 + fi
24.3181 +
24.3182 + set dummy $rpath
24.3183 + if test "$#" -gt 2; then
24.3184 + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
24.3185 + fi
24.3186 + install_libdir="$2"
24.3187 +
24.3188 + oldlibs=
24.3189 + if test -z "$rpath"; then
24.3190 + if test "$build_libtool_libs" = yes; then
24.3191 + # Building a libtool convenience library.
24.3192 + # Some compilers have problems with a `.al' extension so
24.3193 + # convenience libraries should have the same extension an
24.3194 + # archive normally would.
24.3195 + oldlibs="$output_objdir/$libname.$libext $oldlibs"
24.3196 + build_libtool_libs=convenience
24.3197 + build_old_libs=yes
24.3198 + fi
24.3199 +
24.3200 + if test -n "$vinfo"; then
24.3201 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
24.3202 + fi
24.3203 +
24.3204 + if test -n "$release"; then
24.3205 + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
24.3206 + fi
24.3207 + else
24.3208 +
24.3209 + # Parse the version information argument.
24.3210 + save_ifs="$IFS"; IFS=':'
24.3211 + set dummy $vinfo 0 0 0
24.3212 + IFS="$save_ifs"
24.3213 +
24.3214 + if test -n "$8"; then
24.3215 + $echo "$modename: too many parameters to \`-version-info'" 1>&2
24.3216 + $echo "$help" 1>&2
24.3217 + exit $EXIT_FAILURE
24.3218 + fi
24.3219 +
24.3220 + # convert absolute version numbers to libtool ages
24.3221 + # this retains compatibility with .la files and attempts
24.3222 + # to make the code below a bit more comprehensible
24.3223 +
24.3224 + case $vinfo_number in
24.3225 + yes)
24.3226 + number_major="$2"
24.3227 + number_minor="$3"
24.3228 + number_revision="$4"
24.3229 + #
24.3230 + # There are really only two kinds -- those that
24.3231 + # use the current revision as the major version
24.3232 + # and those that subtract age and use age as
24.3233 + # a minor version. But, then there is irix
24.3234 + # which has an extra 1 added just for fun
24.3235 + #
24.3236 + case $version_type in
24.3237 + darwin|linux|osf|windows|none)
24.3238 + current=`expr $number_major + $number_minor`
24.3239 + age="$number_minor"
24.3240 + revision="$number_revision"
24.3241 + ;;
24.3242 + freebsd-aout|freebsd-elf|sunos)
24.3243 + current="$number_major"
24.3244 + revision="$number_minor"
24.3245 + age="0"
24.3246 + ;;
24.3247 + irix|nonstopux)
24.3248 + current=`expr $number_major + $number_minor`
24.3249 + age="$number_minor"
24.3250 + revision="$number_minor"
24.3251 + lt_irix_increment=no
24.3252 + ;;
24.3253 + *)
24.3254 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
24.3255 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
24.3256 + exit $EXIT_FAILURE
24.3257 + ;;
24.3258 + esac
24.3259 + ;;
24.3260 + no)
24.3261 + current="$2"
24.3262 + revision="$3"
24.3263 + age="$4"
24.3264 + ;;
24.3265 + esac
24.3266 +
24.3267 + # Check that each of the things are valid numbers.
24.3268 + case $current in
24.3269 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
24.3270 + *)
24.3271 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
24.3272 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
24.3273 + exit $EXIT_FAILURE
24.3274 + ;;
24.3275 + esac
24.3276 +
24.3277 + case $revision in
24.3278 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
24.3279 + *)
24.3280 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
24.3281 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
24.3282 + exit $EXIT_FAILURE
24.3283 + ;;
24.3284 + esac
24.3285 +
24.3286 + case $age in
24.3287 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
24.3288 + *)
24.3289 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
24.3290 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
24.3291 + exit $EXIT_FAILURE
24.3292 + ;;
24.3293 + esac
24.3294 +
24.3295 + if test "$age" -gt "$current"; then
24.3296 + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
24.3297 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
24.3298 + exit $EXIT_FAILURE
24.3299 + fi
24.3300 +
24.3301 + # Calculate the version variables.
24.3302 + major=
24.3303 + versuffix=
24.3304 + verstring=
24.3305 + case $version_type in
24.3306 + none) ;;
24.3307 +
24.3308 + darwin)
24.3309 + # Like Linux, but with the current version available in
24.3310 + # verstring for coding it into the library header
24.3311 + major=.`expr $current - $age`
24.3312 + versuffix="$major.$age.$revision"
24.3313 + # Darwin ld doesn't like 0 for these options...
24.3314 + minor_current=`expr $current + 1`
24.3315 + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
24.3316 + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
24.3317 + ;;
24.3318 +
24.3319 + freebsd-aout)
24.3320 + major=".$current"
24.3321 + versuffix=".$current.$revision";
24.3322 + ;;
24.3323 +
24.3324 + freebsd-elf)
24.3325 + major=".$current"
24.3326 + versuffix=".$current";
24.3327 + ;;
24.3328 +
24.3329 + irix | nonstopux)
24.3330 + if test "X$lt_irix_increment" = "Xno"; then
24.3331 + major=`expr $current - $age`
24.3332 + else
24.3333 + major=`expr $current - $age + 1`
24.3334 + fi
24.3335 + case $version_type in
24.3336 + nonstopux) verstring_prefix=nonstopux ;;
24.3337 + *) verstring_prefix=sgi ;;
24.3338 + esac
24.3339 + verstring="$verstring_prefix$major.$revision"
24.3340 +
24.3341 + # Add in all the interfaces that we are compatible with.
24.3342 + loop=$revision
24.3343 + while test "$loop" -ne 0; do
24.3344 + iface=`expr $revision - $loop`
24.3345 + loop=`expr $loop - 1`
24.3346 + verstring="$verstring_prefix$major.$iface:$verstring"
24.3347 + done
24.3348 +
24.3349 + # Before this point, $major must not contain `.'.
24.3350 + major=.$major
24.3351 + versuffix="$major.$revision"
24.3352 + ;;
24.3353 +
24.3354 + linux)
24.3355 + major=.`expr $current - $age`
24.3356 + versuffix="$major.$age.$revision"
24.3357 + ;;
24.3358 +
24.3359 + osf)
24.3360 + major=.`expr $current - $age`
24.3361 + versuffix=".$current.$age.$revision"
24.3362 + verstring="$current.$age.$revision"
24.3363 +
24.3364 + # Add in all the interfaces that we are compatible with.
24.3365 + loop=$age
24.3366 + while test "$loop" -ne 0; do
24.3367 + iface=`expr $current - $loop`
24.3368 + loop=`expr $loop - 1`
24.3369 + verstring="$verstring:${iface}.0"
24.3370 + done
24.3371 +
24.3372 + # Make executables depend on our current version.
24.3373 + verstring="$verstring:${current}.0"
24.3374 + ;;
24.3375 +
24.3376 + sunos)
24.3377 + major=".$current"
24.3378 + versuffix=".$current.$revision"
24.3379 + ;;
24.3380 +
24.3381 + windows)
24.3382 + # Use '-' rather than '.', since we only want one
24.3383 + # extension on DOS 8.3 filesystems.
24.3384 + major=`expr $current - $age`
24.3385 + versuffix="-$major"
24.3386 + ;;
24.3387 +
24.3388 + *)
24.3389 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
24.3390 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
24.3391 + exit $EXIT_FAILURE
24.3392 + ;;
24.3393 + esac
24.3394 +
24.3395 + # Clear the version info if we defaulted, and they specified a release.
24.3396 + if test -z "$vinfo" && test -n "$release"; then
24.3397 + major=
24.3398 + case $version_type in
24.3399 + darwin)
24.3400 + # we can't check for "0.0" in archive_cmds due to quoting
24.3401 + # problems, so we reset it completely
24.3402 + verstring=
24.3403 + ;;
24.3404 + *)
24.3405 + verstring="0.0"
24.3406 + ;;
24.3407 + esac
24.3408 + if test "$need_version" = no; then
24.3409 + versuffix=
24.3410 + else
24.3411 + versuffix=".0.0"
24.3412 + fi
24.3413 + fi
24.3414 +
24.3415 + # Remove version info from name if versioning should be avoided
24.3416 + if test "$avoid_version" = yes && test "$need_version" = no; then
24.3417 + major=
24.3418 + versuffix=
24.3419 + verstring=""
24.3420 + fi
24.3421 +
24.3422 + # Check to see if the archive will have undefined symbols.
24.3423 + if test "$allow_undefined" = yes; then
24.3424 + if test "$allow_undefined_flag" = unsupported; then
24.3425 + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
24.3426 + build_libtool_libs=no
24.3427 + build_old_libs=yes
24.3428 + fi
24.3429 + else
24.3430 + # Don't allow undefined symbols.
24.3431 + allow_undefined_flag="$no_undefined_flag"
24.3432 + fi
24.3433 + fi
24.3434 +
24.3435 + if test "$mode" != relink; then
24.3436 + # Remove our outputs, but don't remove object files since they
24.3437 + # may have been created when compiling PIC objects.
24.3438 + removelist=
24.3439 + tempremovelist=`$echo "$output_objdir/*"`
24.3440 + for p in $tempremovelist; do
24.3441 + case $p in
24.3442 + *.$objext)
24.3443 + ;;
24.3444 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
24.3445 + if test "X$precious_files_regex" != "X"; then
24.3446 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
24.3447 + then
24.3448 + continue
24.3449 + fi
24.3450 + fi
24.3451 + removelist="$removelist $p"
24.3452 + ;;
24.3453 + *) ;;
24.3454 + esac
24.3455 + done
24.3456 + if test -n "$removelist"; then
24.3457 + $show "${rm}r $removelist"
24.3458 + $run ${rm}r $removelist
24.3459 + fi
24.3460 + fi
24.3461 +
24.3462 + # Now set the variables for building old libraries.
24.3463 + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
24.3464 + oldlibs="$oldlibs $output_objdir/$libname.$libext"
24.3465 +
24.3466 + # Transform .lo files to .o files.
24.3467 + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
24.3468 + fi
24.3469 +
24.3470 + # Eliminate all temporary directories.
24.3471 + #for path in $notinst_path; do
24.3472 + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
24.3473 + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
24.3474 + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
24.3475 + #done
24.3476 +
24.3477 + if test -n "$xrpath"; then
24.3478 + # If the user specified any rpath flags, then add them.
24.3479 + temp_xrpath=
24.3480 + for libdir in $xrpath; do
24.3481 + temp_xrpath="$temp_xrpath -R$libdir"
24.3482 + case "$finalize_rpath " in
24.3483 + *" $libdir "*) ;;
24.3484 + *) finalize_rpath="$finalize_rpath $libdir" ;;
24.3485 + esac
24.3486 + done
24.3487 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
24.3488 + dependency_libs="$temp_xrpath $dependency_libs"
24.3489 + fi
24.3490 + fi
24.3491 +
24.3492 + # Make sure dlfiles contains only unique files that won't be dlpreopened
24.3493 + old_dlfiles="$dlfiles"
24.3494 + dlfiles=
24.3495 + for lib in $old_dlfiles; do
24.3496 + case " $dlprefiles $dlfiles " in
24.3497 + *" $lib "*) ;;
24.3498 + *) dlfiles="$dlfiles $lib" ;;
24.3499 + esac
24.3500 + done
24.3501 +
24.3502 + # Make sure dlprefiles contains only unique files
24.3503 + old_dlprefiles="$dlprefiles"
24.3504 + dlprefiles=
24.3505 + for lib in $old_dlprefiles; do
24.3506 + case "$dlprefiles " in
24.3507 + *" $lib "*) ;;
24.3508 + *) dlprefiles="$dlprefiles $lib" ;;
24.3509 + esac
24.3510 + done
24.3511 +
24.3512 + if test "$build_libtool_libs" = yes; then
24.3513 + if test -n "$rpath"; then
24.3514 + case $host in
24.3515 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
24.3516 + # these systems don't actually have a c library (as such)!
24.3517 + ;;
24.3518 + *-*-rhapsody* | *-*-darwin1.[012])
24.3519 + # Rhapsody C library is in the System framework
24.3520 + deplibs="$deplibs -framework System"
24.3521 + ;;
24.3522 + *-*-netbsd*)
24.3523 + # Don't link with libc until the a.out ld.so is fixed.
24.3524 + ;;
24.3525 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
24.3526 + # Do not include libc due to us having libc/libc_r.
24.3527 + ;;
24.3528 + *-*-sco3.2v5* | *-*-sco5v6*)
24.3529 + # Causes problems with __ctype
24.3530 + ;;
24.3531 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
24.3532 + # Compiler inserts libc in the correct place for threads to work
24.3533 + ;;
24.3534 + *)
24.3535 + # Add libc to deplibs on all other systems if necessary.
24.3536 + if test "$build_libtool_need_lc" = "yes"; then
24.3537 + deplibs="$deplibs -lc"
24.3538 + fi
24.3539 + ;;
24.3540 + esac
24.3541 + fi
24.3542 +
24.3543 + # Transform deplibs into only deplibs that can be linked in shared.
24.3544 + name_save=$name
24.3545 + libname_save=$libname
24.3546 + release_save=$release
24.3547 + versuffix_save=$versuffix
24.3548 + major_save=$major
24.3549 + # I'm not sure if I'm treating the release correctly. I think
24.3550 + # release should show up in the -l (ie -lgmp5) so we don't want to
24.3551 + # add it in twice. Is that correct?
24.3552 + release=""
24.3553 + versuffix=""
24.3554 + major=""
24.3555 + newdeplibs=
24.3556 + droppeddeps=no
24.3557 + case $deplibs_check_method in
24.3558 + pass_all)
24.3559 + # Don't check for shared/static. Everything works.
24.3560 + # This might be a little naive. We might want to check
24.3561 + # whether the library exists or not. But this is on
24.3562 + # osf3 & osf4 and I'm not really sure... Just
24.3563 + # implementing what was already the behavior.
24.3564 + newdeplibs=$deplibs
24.3565 + ;;
24.3566 + test_compile)
24.3567 + # This code stresses the "libraries are programs" paradigm to its
24.3568 + # limits. Maybe even breaks it. We compile a program, linking it
24.3569 + # against the deplibs as a proxy for the library. Then we can check
24.3570 + # whether they linked in statically or dynamically with ldd.
24.3571 + $rm conftest.c
24.3572 + cat > conftest.c <<EOF
24.3573 + int main() { return 0; }
24.3574 +EOF
24.3575 + $rm conftest
24.3576 + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
24.3577 + ldd_output=`ldd conftest`
24.3578 + for i in $deplibs; do
24.3579 + name=`expr $i : '-l\(.*\)'`
24.3580 + # If $name is empty we are operating on a -L argument.
24.3581 + if test "$name" != "" && test "$name" != "0"; then
24.3582 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
24.3583 + case " $predeps $postdeps " in
24.3584 + *" $i "*)
24.3585 + newdeplibs="$newdeplibs $i"
24.3586 + i=""
24.3587 + ;;
24.3588 + esac
24.3589 + fi
24.3590 + if test -n "$i" ; then
24.3591 + libname=`eval \\$echo \"$libname_spec\"`
24.3592 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
24.3593 + set dummy $deplib_matches
24.3594 + deplib_match=$2
24.3595 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
24.3596 + newdeplibs="$newdeplibs $i"
24.3597 + else
24.3598 + droppeddeps=yes
24.3599 + $echo
24.3600 + $echo "*** Warning: dynamic linker does not accept needed library $i."
24.3601 + $echo "*** I have the capability to make that library automatically link in when"
24.3602 + $echo "*** you link to this library. But I can only do this if you have a"
24.3603 + $echo "*** shared version of the library, which I believe you do not have"
24.3604 + $echo "*** because a test_compile did reveal that the linker did not use it for"
24.3605 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
24.3606 + fi
24.3607 + fi
24.3608 + else
24.3609 + newdeplibs="$newdeplibs $i"
24.3610 + fi
24.3611 + done
24.3612 + else
24.3613 + # Error occurred in the first compile. Let's try to salvage
24.3614 + # the situation: Compile a separate program for each library.
24.3615 + for i in $deplibs; do
24.3616 + name=`expr $i : '-l\(.*\)'`
24.3617 + # If $name is empty we are operating on a -L argument.
24.3618 + if test "$name" != "" && test "$name" != "0"; then
24.3619 + $rm conftest
24.3620 + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
24.3621 + ldd_output=`ldd conftest`
24.3622 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
24.3623 + case " $predeps $postdeps " in
24.3624 + *" $i "*)
24.3625 + newdeplibs="$newdeplibs $i"
24.3626 + i=""
24.3627 + ;;
24.3628 + esac
24.3629 + fi
24.3630 + if test -n "$i" ; then
24.3631 + libname=`eval \\$echo \"$libname_spec\"`
24.3632 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
24.3633 + set dummy $deplib_matches
24.3634 + deplib_match=$2
24.3635 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
24.3636 + newdeplibs="$newdeplibs $i"
24.3637 + else
24.3638 + droppeddeps=yes
24.3639 + $echo
24.3640 + $echo "*** Warning: dynamic linker does not accept needed library $i."
24.3641 + $echo "*** I have the capability to make that library automatically link in when"
24.3642 + $echo "*** you link to this library. But I can only do this if you have a"
24.3643 + $echo "*** shared version of the library, which you do not appear to have"
24.3644 + $echo "*** because a test_compile did reveal that the linker did not use this one"
24.3645 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
24.3646 + fi
24.3647 + fi
24.3648 + else
24.3649 + droppeddeps=yes
24.3650 + $echo
24.3651 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
24.3652 + $echo "*** make it link in! You will probably need to install it or some"
24.3653 + $echo "*** library that it depends on before this library will be fully"
24.3654 + $echo "*** functional. Installing it before continuing would be even better."
24.3655 + fi
24.3656 + else
24.3657 + newdeplibs="$newdeplibs $i"
24.3658 + fi
24.3659 + done
24.3660 + fi
24.3661 + ;;
24.3662 + file_magic*)
24.3663 + set dummy $deplibs_check_method
24.3664 + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
24.3665 + for a_deplib in $deplibs; do
24.3666 + name=`expr $a_deplib : '-l\(.*\)'`
24.3667 + # If $name is empty we are operating on a -L argument.
24.3668 + if test "$name" != "" && test "$name" != "0"; then
24.3669 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
24.3670 + case " $predeps $postdeps " in
24.3671 + *" $a_deplib "*)
24.3672 + newdeplibs="$newdeplibs $a_deplib"
24.3673 + a_deplib=""
24.3674 + ;;
24.3675 + esac
24.3676 + fi
24.3677 + if test -n "$a_deplib" ; then
24.3678 + libname=`eval \\$echo \"$libname_spec\"`
24.3679 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
24.3680 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
24.3681 + for potent_lib in $potential_libs; do
24.3682 + # Follow soft links.
24.3683 + if ls -lLd "$potent_lib" 2>/dev/null \
24.3684 + | grep " -> " >/dev/null; then
24.3685 + continue
24.3686 + fi
24.3687 + # The statement above tries to avoid entering an
24.3688 + # endless loop below, in case of cyclic links.
24.3689 + # We might still enter an endless loop, since a link
24.3690 + # loop can be closed while we follow links,
24.3691 + # but so what?
24.3692 + potlib="$potent_lib"
24.3693 + while test -h "$potlib" 2>/dev/null; do
24.3694 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
24.3695 + case $potliblink in
24.3696 + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
24.3697 + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
24.3698 + esac
24.3699 + done
24.3700 + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
24.3701 + | ${SED} 10q \
24.3702 + | $EGREP "$file_magic_regex" > /dev/null; then
24.3703 + newdeplibs="$newdeplibs $a_deplib"
24.3704 + a_deplib=""
24.3705 + break 2
24.3706 + fi
24.3707 + done
24.3708 + done
24.3709 + fi
24.3710 + if test -n "$a_deplib" ; then
24.3711 + droppeddeps=yes
24.3712 + $echo
24.3713 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
24.3714 + $echo "*** I have the capability to make that library automatically link in when"
24.3715 + $echo "*** you link to this library. But I can only do this if you have a"
24.3716 + $echo "*** shared version of the library, which you do not appear to have"
24.3717 + $echo "*** because I did check the linker path looking for a file starting"
24.3718 + if test -z "$potlib" ; then
24.3719 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
24.3720 + else
24.3721 + $echo "*** with $libname and none of the candidates passed a file format test"
24.3722 + $echo "*** using a file magic. Last file checked: $potlib"
24.3723 + fi
24.3724 + fi
24.3725 + else
24.3726 + # Add a -L argument.
24.3727 + newdeplibs="$newdeplibs $a_deplib"
24.3728 + fi
24.3729 + done # Gone through all deplibs.
24.3730 + ;;
24.3731 + match_pattern*)
24.3732 + set dummy $deplibs_check_method
24.3733 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
24.3734 + for a_deplib in $deplibs; do
24.3735 + name=`expr $a_deplib : '-l\(.*\)'`
24.3736 + # If $name is empty we are operating on a -L argument.
24.3737 + if test -n "$name" && test "$name" != "0"; then
24.3738 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
24.3739 + case " $predeps $postdeps " in
24.3740 + *" $a_deplib "*)
24.3741 + newdeplibs="$newdeplibs $a_deplib"
24.3742 + a_deplib=""
24.3743 + ;;
24.3744 + esac
24.3745 + fi
24.3746 + if test -n "$a_deplib" ; then
24.3747 + libname=`eval \\$echo \"$libname_spec\"`
24.3748 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
24.3749 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
24.3750 + for potent_lib in $potential_libs; do
24.3751 + potlib="$potent_lib" # see symlink-check above in file_magic test
24.3752 + if eval $echo \"$potent_lib\" 2>/dev/null \
24.3753 + | ${SED} 10q \
24.3754 + | $EGREP "$match_pattern_regex" > /dev/null; then
24.3755 + newdeplibs="$newdeplibs $a_deplib"
24.3756 + a_deplib=""
24.3757 + break 2
24.3758 + fi
24.3759 + done
24.3760 + done
24.3761 + fi
24.3762 + if test -n "$a_deplib" ; then
24.3763 + droppeddeps=yes
24.3764 + $echo
24.3765 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
24.3766 + $echo "*** I have the capability to make that library automatically link in when"
24.3767 + $echo "*** you link to this library. But I can only do this if you have a"
24.3768 + $echo "*** shared version of the library, which you do not appear to have"
24.3769 + $echo "*** because I did check the linker path looking for a file starting"
24.3770 + if test -z "$potlib" ; then
24.3771 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
24.3772 + else
24.3773 + $echo "*** with $libname and none of the candidates passed a file format test"
24.3774 + $echo "*** using a regex pattern. Last file checked: $potlib"
24.3775 + fi
24.3776 + fi
24.3777 + else
24.3778 + # Add a -L argument.
24.3779 + newdeplibs="$newdeplibs $a_deplib"
24.3780 + fi
24.3781 + done # Gone through all deplibs.
24.3782 + ;;
24.3783 + none | unknown | *)
24.3784 + newdeplibs=""
24.3785 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
24.3786 + -e 's/ -[LR][^ ]*//g'`
24.3787 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
24.3788 + for i in $predeps $postdeps ; do
24.3789 + # can't use Xsed below, because $i might contain '/'
24.3790 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
24.3791 + done
24.3792 + fi
24.3793 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
24.3794 + | grep . >/dev/null; then
24.3795 + $echo
24.3796 + if test "X$deplibs_check_method" = "Xnone"; then
24.3797 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
24.3798 + else
24.3799 + $echo "*** Warning: inter-library dependencies are not known to be supported."
24.3800 + fi
24.3801 + $echo "*** All declared inter-library dependencies are being dropped."
24.3802 + droppeddeps=yes
24.3803 + fi
24.3804 + ;;
24.3805 + esac
24.3806 + versuffix=$versuffix_save
24.3807 + major=$major_save
24.3808 + release=$release_save
24.3809 + libname=$libname_save
24.3810 + name=$name_save
24.3811 +
24.3812 + case $host in
24.3813 + *-*-rhapsody* | *-*-darwin1.[012])
24.3814 + # On Rhapsody replace the C library is the System framework
24.3815 + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
24.3816 + ;;
24.3817 + esac
24.3818 +
24.3819 + if test "$droppeddeps" = yes; then
24.3820 + if test "$module" = yes; then
24.3821 + $echo
24.3822 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
24.3823 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
24.3824 + $echo "*** a static module, that should work as long as the dlopening"
24.3825 + $echo "*** application is linked with the -dlopen flag."
24.3826 + if test -z "$global_symbol_pipe"; then
24.3827 + $echo
24.3828 + $echo "*** However, this would only work if libtool was able to extract symbol"
24.3829 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
24.3830 + $echo "*** not find such a program. So, this module is probably useless."
24.3831 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
24.3832 + fi
24.3833 + if test "$build_old_libs" = no; then
24.3834 + oldlibs="$output_objdir/$libname.$libext"
24.3835 + build_libtool_libs=module
24.3836 + build_old_libs=yes
24.3837 + else
24.3838 + build_libtool_libs=no
24.3839 + fi
24.3840 + else
24.3841 + $echo "*** The inter-library dependencies that have been dropped here will be"
24.3842 + $echo "*** automatically added whenever a program is linked with this library"
24.3843 + $echo "*** or is declared to -dlopen it."
24.3844 +
24.3845 + if test "$allow_undefined" = no; then
24.3846 + $echo
24.3847 + $echo "*** Since this library must not contain undefined symbols,"
24.3848 + $echo "*** because either the platform does not support them or"
24.3849 + $echo "*** it was explicitly requested with -no-undefined,"
24.3850 + $echo "*** libtool will only create a static version of it."
24.3851 + if test "$build_old_libs" = no; then
24.3852 + oldlibs="$output_objdir/$libname.$libext"
24.3853 + build_libtool_libs=module
24.3854 + build_old_libs=yes
24.3855 + else
24.3856 + build_libtool_libs=no
24.3857 + fi
24.3858 + fi
24.3859 + fi
24.3860 + fi
24.3861 + # Done checking deplibs!
24.3862 + deplibs=$newdeplibs
24.3863 + fi
24.3864 +
24.3865 +
24.3866 + # move library search paths that coincide with paths to not yet
24.3867 + # installed libraries to the beginning of the library search list
24.3868 + new_libs=
24.3869 + for path in $notinst_path; do
24.3870 + case " $new_libs " in
24.3871 + *" -L$path/$objdir "*) ;;
24.3872 + *)
24.3873 + case " $deplibs " in
24.3874 + *" -L$path/$objdir "*)
24.3875 + new_libs="$new_libs -L$path/$objdir" ;;
24.3876 + esac
24.3877 + ;;
24.3878 + esac
24.3879 + done
24.3880 + for deplib in $deplibs; do
24.3881 + case $deplib in
24.3882 + -L*)
24.3883 + case " $new_libs " in
24.3884 + *" $deplib "*) ;;
24.3885 + *) new_libs="$new_libs $deplib" ;;
24.3886 + esac
24.3887 + ;;
24.3888 + *) new_libs="$new_libs $deplib" ;;
24.3889 + esac
24.3890 + done
24.3891 + deplibs="$new_libs"
24.3892 +
24.3893 +
24.3894 + # All the library-specific variables (install_libdir is set above).
24.3895 + library_names=
24.3896 + old_library=
24.3897 + dlname=
24.3898 +
24.3899 + # Test again, we may have decided not to build it any more
24.3900 + if test "$build_libtool_libs" = yes; then
24.3901 + if test "$hardcode_into_libs" = yes; then
24.3902 + # Hardcode the library paths
24.3903 + hardcode_libdirs=
24.3904 + dep_rpath=
24.3905 + rpath="$finalize_rpath"
24.3906 + test "$mode" != relink && rpath="$compile_rpath$rpath"
24.3907 + for libdir in $rpath; do
24.3908 + if test -n "$hardcode_libdir_flag_spec"; then
24.3909 + if test -n "$hardcode_libdir_separator"; then
24.3910 + if test -z "$hardcode_libdirs"; then
24.3911 + hardcode_libdirs="$libdir"
24.3912 + else
24.3913 + # Just accumulate the unique libdirs.
24.3914 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
24.3915 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
24.3916 + ;;
24.3917 + *)
24.3918 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
24.3919 + ;;
24.3920 + esac
24.3921 + fi
24.3922 + else
24.3923 + eval flag=\"$hardcode_libdir_flag_spec\"
24.3924 + dep_rpath="$dep_rpath $flag"
24.3925 + fi
24.3926 + elif test -n "$runpath_var"; then
24.3927 + case "$perm_rpath " in
24.3928 + *" $libdir "*) ;;
24.3929 + *) perm_rpath="$perm_rpath $libdir" ;;
24.3930 + esac
24.3931 + fi
24.3932 + done
24.3933 + # Substitute the hardcoded libdirs into the rpath.
24.3934 + if test -n "$hardcode_libdir_separator" &&
24.3935 + test -n "$hardcode_libdirs"; then
24.3936 + libdir="$hardcode_libdirs"
24.3937 + if test -n "$hardcode_libdir_flag_spec_ld"; then
24.3938 + case $archive_cmds in
24.3939 + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
24.3940 + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
24.3941 + esac
24.3942 + else
24.3943 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
24.3944 + fi
24.3945 + fi
24.3946 + if test -n "$runpath_var" && test -n "$perm_rpath"; then
24.3947 + # We should set the runpath_var.
24.3948 + rpath=
24.3949 + for dir in $perm_rpath; do
24.3950 + rpath="$rpath$dir:"
24.3951 + done
24.3952 + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
24.3953 + fi
24.3954 + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
24.3955 + fi
24.3956 +
24.3957 + shlibpath="$finalize_shlibpath"
24.3958 + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
24.3959 + if test -n "$shlibpath"; then
24.3960 + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
24.3961 + fi
24.3962 +
24.3963 + # Get the real and link names of the library.
24.3964 + eval shared_ext=\"$shrext_cmds\"
24.3965 + eval library_names=\"$library_names_spec\"
24.3966 + set dummy $library_names
24.3967 + realname="$2"
24.3968 + shift; shift
24.3969 +
24.3970 + if test -n "$soname_spec"; then
24.3971 + eval soname=\"$soname_spec\"
24.3972 + else
24.3973 + soname="$realname"
24.3974 + fi
24.3975 + if test -z "$dlname"; then
24.3976 + dlname=$soname
24.3977 + fi
24.3978 +
24.3979 + lib="$output_objdir/$realname"
24.3980 + linknames=
24.3981 + for link
24.3982 + do
24.3983 + linknames="$linknames $link"
24.3984 + done
24.3985 +
24.3986 + # Use standard objects if they are pic
24.3987 + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
24.3988 +
24.3989 + # Prepare the list of exported symbols
24.3990 + if test -z "$export_symbols"; then
24.3991 + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
24.3992 + $show "generating symbol list for \`$libname.la'"
24.3993 + export_symbols="$output_objdir/$libname.exp"
24.3994 + $run $rm $export_symbols
24.3995 + cmds=$export_symbols_cmds
24.3996 + save_ifs="$IFS"; IFS='~'
24.3997 + for cmd in $cmds; do
24.3998 + IFS="$save_ifs"
24.3999 + eval cmd=\"$cmd\"
24.4000 + if len=`expr "X$cmd" : ".*"` &&
24.4001 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
24.4002 + $show "$cmd"
24.4003 + $run eval "$cmd" || exit $?
24.4004 + skipped_export=false
24.4005 + else
24.4006 + # The command line is too long to execute in one step.
24.4007 + $show "using reloadable object file for export list..."
24.4008 + skipped_export=:
24.4009 + # Break out early, otherwise skipped_export may be
24.4010 + # set to false by a later but shorter cmd.
24.4011 + break
24.4012 + fi
24.4013 + done
24.4014 + IFS="$save_ifs"
24.4015 + if test -n "$export_symbols_regex"; then
24.4016 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
24.4017 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
24.4018 + $show "$mv \"${export_symbols}T\" \"$export_symbols\""
24.4019 + $run eval '$mv "${export_symbols}T" "$export_symbols"'
24.4020 + fi
24.4021 + fi
24.4022 + fi
24.4023 +
24.4024 + if test -n "$export_symbols" && test -n "$include_expsyms"; then
24.4025 + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
24.4026 + fi
24.4027 +
24.4028 + tmp_deplibs=
24.4029 + for test_deplib in $deplibs; do
24.4030 + case " $convenience " in
24.4031 + *" $test_deplib "*) ;;
24.4032 + *)
24.4033 + tmp_deplibs="$tmp_deplibs $test_deplib"
24.4034 + ;;
24.4035 + esac
24.4036 + done
24.4037 + deplibs="$tmp_deplibs"
24.4038 +
24.4039 + if test -n "$convenience"; then
24.4040 + if test -n "$whole_archive_flag_spec"; then
24.4041 + save_libobjs=$libobjs
24.4042 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
24.4043 + else
24.4044 + gentop="$output_objdir/${outputname}x"
24.4045 + generated="$generated $gentop"
24.4046 +
24.4047 + func_extract_archives $gentop $convenience
24.4048 + libobjs="$libobjs $func_extract_archives_result"
24.4049 + fi
24.4050 + fi
24.4051 +
24.4052 + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
24.4053 + eval flag=\"$thread_safe_flag_spec\"
24.4054 + linker_flags="$linker_flags $flag"
24.4055 + fi
24.4056 +
24.4057 + # Make a backup of the uninstalled library when relinking
24.4058 + if test "$mode" = relink; then
24.4059 + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
24.4060 + fi
24.4061 +
24.4062 + # Do each of the archive commands.
24.4063 + if test "$module" = yes && test -n "$module_cmds" ; then
24.4064 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
24.4065 + eval test_cmds=\"$module_expsym_cmds\"
24.4066 + cmds=$module_expsym_cmds
24.4067 + else
24.4068 + eval test_cmds=\"$module_cmds\"
24.4069 + cmds=$module_cmds
24.4070 + fi
24.4071 + else
24.4072 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
24.4073 + eval test_cmds=\"$archive_expsym_cmds\"
24.4074 + cmds=$archive_expsym_cmds
24.4075 + else
24.4076 + eval test_cmds=\"$archive_cmds\"
24.4077 + cmds=$archive_cmds
24.4078 + fi
24.4079 + fi
24.4080 +
24.4081 + if test "X$skipped_export" != "X:" &&
24.4082 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
24.4083 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
24.4084 + :
24.4085 + else
24.4086 + # The command line is too long to link in one step, link piecewise.
24.4087 + $echo "creating reloadable object files..."
24.4088 +
24.4089 + # Save the value of $output and $libobjs because we want to
24.4090 + # use them later. If we have whole_archive_flag_spec, we
24.4091 + # want to use save_libobjs as it was before
24.4092 + # whole_archive_flag_spec was expanded, because we can't
24.4093 + # assume the linker understands whole_archive_flag_spec.
24.4094 + # This may have to be revisited, in case too many
24.4095 + # convenience libraries get linked in and end up exceeding
24.4096 + # the spec.
24.4097 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
24.4098 + save_libobjs=$libobjs
24.4099 + fi
24.4100 + save_output=$output
24.4101 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
24.4102 +
24.4103 + # Clear the reloadable object creation command queue and
24.4104 + # initialize k to one.
24.4105 + test_cmds=
24.4106 + concat_cmds=
24.4107 + objlist=
24.4108 + delfiles=
24.4109 + last_robj=
24.4110 + k=1
24.4111 + output=$output_objdir/$output_la-${k}.$objext
24.4112 + # Loop over the list of objects to be linked.
24.4113 + for obj in $save_libobjs
24.4114 + do
24.4115 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
24.4116 + if test "X$objlist" = X ||
24.4117 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
24.4118 + test "$len" -le "$max_cmd_len"; }; then
24.4119 + objlist="$objlist $obj"
24.4120 + else
24.4121 + # The command $test_cmds is almost too long, add a
24.4122 + # command to the queue.
24.4123 + if test "$k" -eq 1 ; then
24.4124 + # The first file doesn't have a previous command to add.
24.4125 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
24.4126 + else
24.4127 + # All subsequent reloadable object files will link in
24.4128 + # the last one created.
24.4129 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
24.4130 + fi
24.4131 + last_robj=$output_objdir/$output_la-${k}.$objext
24.4132 + k=`expr $k + 1`
24.4133 + output=$output_objdir/$output_la-${k}.$objext
24.4134 + objlist=$obj
24.4135 + len=1
24.4136 + fi
24.4137 + done
24.4138 + # Handle the remaining objects by creating one last
24.4139 + # reloadable object file. All subsequent reloadable object
24.4140 + # files will link in the last one created.
24.4141 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
24.4142 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
24.4143 +
24.4144 + if ${skipped_export-false}; then
24.4145 + $show "generating symbol list for \`$libname.la'"
24.4146 + export_symbols="$output_objdir/$libname.exp"
24.4147 + $run $rm $export_symbols
24.4148 + libobjs=$output
24.4149 + # Append the command to create the export file.
24.4150 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
24.4151 + fi
24.4152 +
24.4153 + # Set up a command to remove the reloadable object files
24.4154 + # after they are used.
24.4155 + i=0
24.4156 + while test "$i" -lt "$k"
24.4157 + do
24.4158 + i=`expr $i + 1`
24.4159 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
24.4160 + done
24.4161 +
24.4162 + $echo "creating a temporary reloadable object file: $output"
24.4163 +
24.4164 + # Loop through the commands generated above and execute them.
24.4165 + save_ifs="$IFS"; IFS='~'
24.4166 + for cmd in $concat_cmds; do
24.4167 + IFS="$save_ifs"
24.4168 + $show "$cmd"
24.4169 + $run eval "$cmd" || exit $?
24.4170 + done
24.4171 + IFS="$save_ifs"
24.4172 +
24.4173 + libobjs=$output
24.4174 + # Restore the value of output.
24.4175 + output=$save_output
24.4176 +
24.4177 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
24.4178 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
24.4179 + fi
24.4180 + # Expand the library linking commands again to reset the
24.4181 + # value of $libobjs for piecewise linking.
24.4182 +
24.4183 + # Do each of the archive commands.
24.4184 + if test "$module" = yes && test -n "$module_cmds" ; then
24.4185 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
24.4186 + cmds=$module_expsym_cmds
24.4187 + else
24.4188 + cmds=$module_cmds
24.4189 + fi
24.4190 + else
24.4191 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
24.4192 + cmds=$archive_expsym_cmds
24.4193 + else
24.4194 + cmds=$archive_cmds
24.4195 + fi
24.4196 + fi
24.4197 +
24.4198 + # Append the command to remove the reloadable object files
24.4199 + # to the just-reset $cmds.
24.4200 + eval cmds=\"\$cmds~\$rm $delfiles\"
24.4201 + fi
24.4202 + save_ifs="$IFS"; IFS='~'
24.4203 + for cmd in $cmds; do
24.4204 + IFS="$save_ifs"
24.4205 + eval cmd=\"$cmd\"
24.4206 + $show "$cmd"
24.4207 + $run eval "$cmd" || {
24.4208 + lt_exit=$?
24.4209 +
24.4210 + # Restore the uninstalled library and exit
24.4211 + if test "$mode" = relink; then
24.4212 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
24.4213 + fi
24.4214 +
24.4215 + exit $lt_exit
24.4216 + }
24.4217 + done
24.4218 + IFS="$save_ifs"
24.4219 +
24.4220 + # Restore the uninstalled library and exit
24.4221 + if test "$mode" = relink; then
24.4222 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
24.4223 +
24.4224 + if test -n "$convenience"; then
24.4225 + if test -z "$whole_archive_flag_spec"; then
24.4226 + $show "${rm}r $gentop"
24.4227 + $run ${rm}r "$gentop"
24.4228 + fi
24.4229 + fi
24.4230 +
24.4231 + exit $EXIT_SUCCESS
24.4232 + fi
24.4233 +
24.4234 + # Create links to the real library.
24.4235 + for linkname in $linknames; do
24.4236 + if test "$realname" != "$linkname"; then
24.4237 + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
24.4238 + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
24.4239 + fi
24.4240 + done
24.4241 +
24.4242 + # If -module or -export-dynamic was specified, set the dlname.
24.4243 + if test "$module" = yes || test "$export_dynamic" = yes; then
24.4244 + # On all known operating systems, these are identical.
24.4245 + dlname="$soname"
24.4246 + fi
24.4247 + fi
24.4248 + ;;
24.4249 +
24.4250 + obj)
24.4251 + if test -n "$deplibs"; then
24.4252 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
24.4253 + fi
24.4254 +
24.4255 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
24.4256 + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
24.4257 + fi
24.4258 +
24.4259 + if test -n "$rpath"; then
24.4260 + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
24.4261 + fi
24.4262 +
24.4263 + if test -n "$xrpath"; then
24.4264 + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
24.4265 + fi
24.4266 +
24.4267 + if test -n "$vinfo"; then
24.4268 + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
24.4269 + fi
24.4270 +
24.4271 + if test -n "$release"; then
24.4272 + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
24.4273 + fi
24.4274 +
24.4275 + case $output in
24.4276 + *.lo)
24.4277 + if test -n "$objs$old_deplibs"; then
24.4278 + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
24.4279 + exit $EXIT_FAILURE
24.4280 + fi
24.4281 + libobj="$output"
24.4282 + obj=`$echo "X$output" | $Xsed -e "$lo2o"`
24.4283 + ;;
24.4284 + *)
24.4285 + libobj=
24.4286 + obj="$output"
24.4287 + ;;
24.4288 + esac
24.4289 +
24.4290 + # Delete the old objects.
24.4291 + $run $rm $obj $libobj
24.4292 +
24.4293 + # Objects from convenience libraries. This assumes
24.4294 + # single-version convenience libraries. Whenever we create
24.4295 + # different ones for PIC/non-PIC, this we'll have to duplicate
24.4296 + # the extraction.
24.4297 + reload_conv_objs=
24.4298 + gentop=
24.4299 + # reload_cmds runs $LD directly, so let us get rid of
24.4300 + # -Wl from whole_archive_flag_spec and hope we can get by with
24.4301 + # turning comma into space..
24.4302 + wl=
24.4303 +
24.4304 + if test -n "$convenience"; then
24.4305 + if test -n "$whole_archive_flag_spec"; then
24.4306 + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
24.4307 + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
24.4308 + else
24.4309 + gentop="$output_objdir/${obj}x"
24.4310 + generated="$generated $gentop"
24.4311 +
24.4312 + func_extract_archives $gentop $convenience
24.4313 + reload_conv_objs="$reload_objs $func_extract_archives_result"
24.4314 + fi
24.4315 + fi
24.4316 +
24.4317 + # Create the old-style object.
24.4318 + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
24.4319 +
24.4320 + output="$obj"
24.4321 + cmds=$reload_cmds
24.4322 + save_ifs="$IFS"; IFS='~'
24.4323 + for cmd in $cmds; do
24.4324 + IFS="$save_ifs"
24.4325 + eval cmd=\"$cmd\"
24.4326 + $show "$cmd"
24.4327 + $run eval "$cmd" || exit $?
24.4328 + done
24.4329 + IFS="$save_ifs"
24.4330 +
24.4331 + # Exit if we aren't doing a library object file.
24.4332 + if test -z "$libobj"; then
24.4333 + if test -n "$gentop"; then
24.4334 + $show "${rm}r $gentop"
24.4335 + $run ${rm}r $gentop
24.4336 + fi
24.4337 +
24.4338 + exit $EXIT_SUCCESS
24.4339 + fi
24.4340 +
24.4341 + if test "$build_libtool_libs" != yes; then
24.4342 + if test -n "$gentop"; then
24.4343 + $show "${rm}r $gentop"
24.4344 + $run ${rm}r $gentop
24.4345 + fi
24.4346 +
24.4347 + # Create an invalid libtool object if no PIC, so that we don't
24.4348 + # accidentally link it into a program.
24.4349 + # $show "echo timestamp > $libobj"
24.4350 + # $run eval "echo timestamp > $libobj" || exit $?
24.4351 + exit $EXIT_SUCCESS
24.4352 + fi
24.4353 +
24.4354 + if test -n "$pic_flag" || test "$pic_mode" != default; then
24.4355 + # Only do commands if we really have different PIC objects.
24.4356 + reload_objs="$libobjs $reload_conv_objs"
24.4357 + output="$libobj"
24.4358 + cmds=$reload_cmds
24.4359 + save_ifs="$IFS"; IFS='~'
24.4360 + for cmd in $cmds; do
24.4361 + IFS="$save_ifs"
24.4362 + eval cmd=\"$cmd\"
24.4363 + $show "$cmd"
24.4364 + $run eval "$cmd" || exit $?
24.4365 + done
24.4366 + IFS="$save_ifs"
24.4367 + fi
24.4368 +
24.4369 + if test -n "$gentop"; then
24.4370 + $show "${rm}r $gentop"
24.4371 + $run ${rm}r $gentop
24.4372 + fi
24.4373 +
24.4374 + exit $EXIT_SUCCESS
24.4375 + ;;
24.4376 +
24.4377 + prog)
24.4378 + case $host in
24.4379 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
24.4380 + esac
24.4381 + if test -n "$vinfo"; then
24.4382 + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
24.4383 + fi
24.4384 +
24.4385 + if test -n "$release"; then
24.4386 + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
24.4387 + fi
24.4388 +
24.4389 + if test "$preload" = yes; then
24.4390 + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
24.4391 + test "$dlopen_self_static" = unknown; then
24.4392 + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
24.4393 + fi
24.4394 + fi
24.4395 +
24.4396 + case $host in
24.4397 + *-*-rhapsody* | *-*-darwin1.[012])
24.4398 + # On Rhapsody replace the C library is the System framework
24.4399 + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
24.4400 + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
24.4401 + ;;
24.4402 + esac
24.4403 +
24.4404 + case $host in
24.4405 + *darwin*)
24.4406 + # Don't allow lazy linking, it breaks C++ global constructors
24.4407 + if test "$tagname" = CXX ; then
24.4408 + compile_command="$compile_command ${wl}-bind_at_load"
24.4409 + finalize_command="$finalize_command ${wl}-bind_at_load"
24.4410 + fi
24.4411 + ;;
24.4412 + esac
24.4413 +
24.4414 +
24.4415 + # move library search paths that coincide with paths to not yet
24.4416 + # installed libraries to the beginning of the library search list
24.4417 + new_libs=
24.4418 + for path in $notinst_path; do
24.4419 + case " $new_libs " in
24.4420 + *" -L$path/$objdir "*) ;;
24.4421 + *)
24.4422 + case " $compile_deplibs " in
24.4423 + *" -L$path/$objdir "*)
24.4424 + new_libs="$new_libs -L$path/$objdir" ;;
24.4425 + esac
24.4426 + ;;
24.4427 + esac
24.4428 + done
24.4429 + for deplib in $compile_deplibs; do
24.4430 + case $deplib in
24.4431 + -L*)
24.4432 + case " $new_libs " in
24.4433 + *" $deplib "*) ;;
24.4434 + *) new_libs="$new_libs $deplib" ;;
24.4435 + esac
24.4436 + ;;
24.4437 + *) new_libs="$new_libs $deplib" ;;
24.4438 + esac
24.4439 + done
24.4440 + compile_deplibs="$new_libs"
24.4441 +
24.4442 +
24.4443 + compile_command="$compile_command $compile_deplibs"
24.4444 + finalize_command="$finalize_command $finalize_deplibs"
24.4445 +
24.4446 + if test -n "$rpath$xrpath"; then
24.4447 + # If the user specified any rpath flags, then add them.
24.4448 + for libdir in $rpath $xrpath; do
24.4449 + # This is the magic to use -rpath.
24.4450 + case "$finalize_rpath " in
24.4451 + *" $libdir "*) ;;
24.4452 + *) finalize_rpath="$finalize_rpath $libdir" ;;
24.4453 + esac
24.4454 + done
24.4455 + fi
24.4456 +
24.4457 + # Now hardcode the library paths
24.4458 + rpath=
24.4459 + hardcode_libdirs=
24.4460 + for libdir in $compile_rpath $finalize_rpath; do
24.4461 + if test -n "$hardcode_libdir_flag_spec"; then
24.4462 + if test -n "$hardcode_libdir_separator"; then
24.4463 + if test -z "$hardcode_libdirs"; then
24.4464 + hardcode_libdirs="$libdir"
24.4465 + else
24.4466 + # Just accumulate the unique libdirs.
24.4467 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
24.4468 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
24.4469 + ;;
24.4470 + *)
24.4471 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
24.4472 + ;;
24.4473 + esac
24.4474 + fi
24.4475 + else
24.4476 + eval flag=\"$hardcode_libdir_flag_spec\"
24.4477 + rpath="$rpath $flag"
24.4478 + fi
24.4479 + elif test -n "$runpath_var"; then
24.4480 + case "$perm_rpath " in
24.4481 + *" $libdir "*) ;;
24.4482 + *) perm_rpath="$perm_rpath $libdir" ;;
24.4483 + esac
24.4484 + fi
24.4485 + case $host in
24.4486 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
24.4487 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
24.4488 + case :$dllsearchpath: in
24.4489 + *":$libdir:"*) ;;
24.4490 + *) dllsearchpath="$dllsearchpath:$libdir";;
24.4491 + esac
24.4492 + case :$dllsearchpath: in
24.4493 + *":$testbindir:"*) ;;
24.4494 + *) dllsearchpath="$dllsearchpath:$testbindir";;
24.4495 + esac
24.4496 + ;;
24.4497 + esac
24.4498 + done
24.4499 + # Substitute the hardcoded libdirs into the rpath.
24.4500 + if test -n "$hardcode_libdir_separator" &&
24.4501 + test -n "$hardcode_libdirs"; then
24.4502 + libdir="$hardcode_libdirs"
24.4503 + eval rpath=\" $hardcode_libdir_flag_spec\"
24.4504 + fi
24.4505 + compile_rpath="$rpath"
24.4506 +
24.4507 + rpath=
24.4508 + hardcode_libdirs=
24.4509 + for libdir in $finalize_rpath; do
24.4510 + if test -n "$hardcode_libdir_flag_spec"; then
24.4511 + if test -n "$hardcode_libdir_separator"; then
24.4512 + if test -z "$hardcode_libdirs"; then
24.4513 + hardcode_libdirs="$libdir"
24.4514 + else
24.4515 + # Just accumulate the unique libdirs.
24.4516 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
24.4517 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
24.4518 + ;;
24.4519 + *)
24.4520 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
24.4521 + ;;
24.4522 + esac
24.4523 + fi
24.4524 + else
24.4525 + eval flag=\"$hardcode_libdir_flag_spec\"
24.4526 + rpath="$rpath $flag"
24.4527 + fi
24.4528 + elif test -n "$runpath_var"; then
24.4529 + case "$finalize_perm_rpath " in
24.4530 + *" $libdir "*) ;;
24.4531 + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
24.4532 + esac
24.4533 + fi
24.4534 + done
24.4535 + # Substitute the hardcoded libdirs into the rpath.
24.4536 + if test -n "$hardcode_libdir_separator" &&
24.4537 + test -n "$hardcode_libdirs"; then
24.4538 + libdir="$hardcode_libdirs"
24.4539 + eval rpath=\" $hardcode_libdir_flag_spec\"
24.4540 + fi
24.4541 + finalize_rpath="$rpath"
24.4542 +
24.4543 + if test -n "$libobjs" && test "$build_old_libs" = yes; then
24.4544 + # Transform all the library objects into standard objects.
24.4545 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
24.4546 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
24.4547 + fi
24.4548 +
24.4549 + dlsyms=
24.4550 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
24.4551 + if test -n "$NM" && test -n "$global_symbol_pipe"; then
24.4552 + dlsyms="${outputname}S.c"
24.4553 + else
24.4554 + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
24.4555 + fi
24.4556 + fi
24.4557 +
24.4558 + if test -n "$dlsyms"; then
24.4559 + case $dlsyms in
24.4560 + "") ;;
24.4561 + *.c)
24.4562 + # Discover the nlist of each of the dlfiles.
24.4563 + nlist="$output_objdir/${outputname}.nm"
24.4564 +
24.4565 + $show "$rm $nlist ${nlist}S ${nlist}T"
24.4566 + $run $rm "$nlist" "${nlist}S" "${nlist}T"
24.4567 +
24.4568 + # Parse the name list into a source file.
24.4569 + $show "creating $output_objdir/$dlsyms"
24.4570 +
24.4571 + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
24.4572 +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
24.4573 +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
24.4574 +
24.4575 +#ifdef __cplusplus
24.4576 +extern \"C\" {
24.4577 +#endif
24.4578 +
24.4579 +/* Prevent the only kind of declaration conflicts we can make. */
24.4580 +#define lt_preloaded_symbols some_other_symbol
24.4581 +
24.4582 +/* External symbol declarations for the compiler. */\
24.4583 +"
24.4584 +
24.4585 + if test "$dlself" = yes; then
24.4586 + $show "generating symbol list for \`$output'"
24.4587 +
24.4588 + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
24.4589 +
24.4590 + # Add our own program objects to the symbol list.
24.4591 + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
24.4592 + for arg in $progfiles; do
24.4593 + $show "extracting global C symbols from \`$arg'"
24.4594 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
24.4595 + done
24.4596 +
24.4597 + if test -n "$exclude_expsyms"; then
24.4598 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
24.4599 + $run eval '$mv "$nlist"T "$nlist"'
24.4600 + fi
24.4601 +
24.4602 + if test -n "$export_symbols_regex"; then
24.4603 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
24.4604 + $run eval '$mv "$nlist"T "$nlist"'
24.4605 + fi
24.4606 +
24.4607 + # Prepare the list of exported symbols
24.4608 + if test -z "$export_symbols"; then
24.4609 + export_symbols="$output_objdir/$outputname.exp"
24.4610 + $run $rm $export_symbols
24.4611 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
24.4612 + case $host in
24.4613 + *cygwin* | *mingw* )
24.4614 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
24.4615 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
24.4616 + ;;
24.4617 + esac
24.4618 + else
24.4619 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
24.4620 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
24.4621 + $run eval 'mv "$nlist"T "$nlist"'
24.4622 + case $host in
24.4623 + *cygwin* | *mingw* )
24.4624 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
24.4625 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
24.4626 + ;;
24.4627 + esac
24.4628 + fi
24.4629 + fi
24.4630 +
24.4631 + for arg in $dlprefiles; do
24.4632 + $show "extracting global C symbols from \`$arg'"
24.4633 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
24.4634 + $run eval '$echo ": $name " >> "$nlist"'
24.4635 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
24.4636 + done
24.4637 +
24.4638 + if test -z "$run"; then
24.4639 + # Make sure we have at least an empty file.
24.4640 + test -f "$nlist" || : > "$nlist"
24.4641 +
24.4642 + if test -n "$exclude_expsyms"; then
24.4643 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
24.4644 + $mv "$nlist"T "$nlist"
24.4645 + fi
24.4646 +
24.4647 + # Try sorting and uniquifying the output.
24.4648 + if grep -v "^: " < "$nlist" |
24.4649 + if sort -k 3 </dev/null >/dev/null 2>&1; then
24.4650 + sort -k 3
24.4651 + else
24.4652 + sort +2
24.4653 + fi |
24.4654 + uniq > "$nlist"S; then
24.4655 + :
24.4656 + else
24.4657 + grep -v "^: " < "$nlist" > "$nlist"S
24.4658 + fi
24.4659 +
24.4660 + if test -f "$nlist"S; then
24.4661 + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
24.4662 + else
24.4663 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
24.4664 + fi
24.4665 +
24.4666 + $echo >> "$output_objdir/$dlsyms" "\
24.4667 +
24.4668 +#undef lt_preloaded_symbols
24.4669 +
24.4670 +#if defined (__STDC__) && __STDC__
24.4671 +# define lt_ptr void *
24.4672 +#else
24.4673 +# define lt_ptr char *
24.4674 +# define const
24.4675 +#endif
24.4676 +
24.4677 +/* The mapping between symbol names and symbols. */
24.4678 +"
24.4679 +
24.4680 + case $host in
24.4681 + *cygwin* | *mingw* )
24.4682 + $echo >> "$output_objdir/$dlsyms" "\
24.4683 +/* DATA imports from DLLs on WIN32 can't be const, because
24.4684 + runtime relocations are performed -- see ld's documentation
24.4685 + on pseudo-relocs */
24.4686 +struct {
24.4687 +"
24.4688 + ;;
24.4689 + * )
24.4690 + $echo >> "$output_objdir/$dlsyms" "\
24.4691 +const struct {
24.4692 +"
24.4693 + ;;
24.4694 + esac
24.4695 +
24.4696 +
24.4697 + $echo >> "$output_objdir/$dlsyms" "\
24.4698 + const char *name;
24.4699 + lt_ptr address;
24.4700 +}
24.4701 +lt_preloaded_symbols[] =
24.4702 +{\
24.4703 +"
24.4704 +
24.4705 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
24.4706 +
24.4707 + $echo >> "$output_objdir/$dlsyms" "\
24.4708 + {0, (lt_ptr) 0}
24.4709 +};
24.4710 +
24.4711 +/* This works around a problem in FreeBSD linker */
24.4712 +#ifdef FREEBSD_WORKAROUND
24.4713 +static const void *lt_preloaded_setup() {
24.4714 + return lt_preloaded_symbols;
24.4715 +}
24.4716 +#endif
24.4717 +
24.4718 +#ifdef __cplusplus
24.4719 +}
24.4720 +#endif\
24.4721 +"
24.4722 + fi
24.4723 +
24.4724 + pic_flag_for_symtable=
24.4725 + case $host in
24.4726 + # compiling the symbol table file with pic_flag works around
24.4727 + # a FreeBSD bug that causes programs to crash when -lm is
24.4728 + # linked before any other PIC object. But we must not use
24.4729 + # pic_flag when linking with -static. The problem exists in
24.4730 + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
24.4731 + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
24.4732 + case "$compile_command " in
24.4733 + *" -static "*) ;;
24.4734 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
24.4735 + esac;;
24.4736 + *-*-hpux*)
24.4737 + case "$compile_command " in
24.4738 + *" -static "*) ;;
24.4739 + *) pic_flag_for_symtable=" $pic_flag";;
24.4740 + esac
24.4741 + esac
24.4742 +
24.4743 + # Now compile the dynamic symbol file.
24.4744 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
24.4745 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
24.4746 +
24.4747 + # Clean up the generated files.
24.4748 + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
24.4749 + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
24.4750 +
24.4751 + # Transform the symbol file into the correct name.
24.4752 + case $host in
24.4753 + *cygwin* | *mingw* )
24.4754 + if test -f "$output_objdir/${outputname}.def" ; then
24.4755 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
24.4756 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
24.4757 + else
24.4758 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
24.4759 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
24.4760 + fi
24.4761 + ;;
24.4762 + * )
24.4763 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
24.4764 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
24.4765 + ;;
24.4766 + esac
24.4767 + ;;
24.4768 + *)
24.4769 + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
24.4770 + exit $EXIT_FAILURE
24.4771 + ;;
24.4772 + esac
24.4773 + else
24.4774 + # We keep going just in case the user didn't refer to
24.4775 + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
24.4776 + # really was required.
24.4777 +
24.4778 + # Nullify the symbol file.
24.4779 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
24.4780 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
24.4781 + fi
24.4782 +
24.4783 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
24.4784 + # Replace the output file specification.
24.4785 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
24.4786 + link_command="$compile_command$compile_rpath"
24.4787 +
24.4788 + # We have no uninstalled library dependencies, so finalize right now.
24.4789 + $show "$link_command"
24.4790 + $run eval "$link_command"
24.4791 + exit_status=$?
24.4792 +
24.4793 + # Delete the generated files.
24.4794 + if test -n "$dlsyms"; then
24.4795 + $show "$rm $output_objdir/${outputname}S.${objext}"
24.4796 + $run $rm "$output_objdir/${outputname}S.${objext}"
24.4797 + fi
24.4798 +
24.4799 + exit $exit_status
24.4800 + fi
24.4801 +
24.4802 + if test -n "$shlibpath_var"; then
24.4803 + # We should set the shlibpath_var
24.4804 + rpath=
24.4805 + for dir in $temp_rpath; do
24.4806 + case $dir in
24.4807 + [\\/]* | [A-Za-z]:[\\/]*)
24.4808 + # Absolute path.
24.4809 + rpath="$rpath$dir:"
24.4810 + ;;
24.4811 + *)
24.4812 + # Relative path: add a thisdir entry.
24.4813 + rpath="$rpath\$thisdir/$dir:"
24.4814 + ;;
24.4815 + esac
24.4816 + done
24.4817 + temp_rpath="$rpath"
24.4818 + fi
24.4819 +
24.4820 + if test -n "$compile_shlibpath$finalize_shlibpath"; then
24.4821 + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
24.4822 + fi
24.4823 + if test -n "$finalize_shlibpath"; then
24.4824 + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
24.4825 + fi
24.4826 +
24.4827 + compile_var=
24.4828 + finalize_var=
24.4829 + if test -n "$runpath_var"; then
24.4830 + if test -n "$perm_rpath"; then
24.4831 + # We should set the runpath_var.
24.4832 + rpath=
24.4833 + for dir in $perm_rpath; do
24.4834 + rpath="$rpath$dir:"
24.4835 + done
24.4836 + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
24.4837 + fi
24.4838 + if test -n "$finalize_perm_rpath"; then
24.4839 + # We should set the runpath_var.
24.4840 + rpath=
24.4841 + for dir in $finalize_perm_rpath; do
24.4842 + rpath="$rpath$dir:"
24.4843 + done
24.4844 + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
24.4845 + fi
24.4846 + fi
24.4847 +
24.4848 + if test "$no_install" = yes; then
24.4849 + # We don't need to create a wrapper script.
24.4850 + link_command="$compile_var$compile_command$compile_rpath"
24.4851 + # Replace the output file specification.
24.4852 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
24.4853 + # Delete the old output file.
24.4854 + $run $rm $output
24.4855 + # Link the executable and exit
24.4856 + $show "$link_command"
24.4857 + $run eval "$link_command" || exit $?
24.4858 + exit $EXIT_SUCCESS
24.4859 + fi
24.4860 +
24.4861 + if test "$hardcode_action" = relink; then
24.4862 + # Fast installation is not supported
24.4863 + link_command="$compile_var$compile_command$compile_rpath"
24.4864 + relink_command="$finalize_var$finalize_command$finalize_rpath"
24.4865 +
24.4866 + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
24.4867 + $echo "$modename: \`$output' will be relinked during installation" 1>&2
24.4868 + else
24.4869 + if test "$fast_install" != no; then
24.4870 + link_command="$finalize_var$compile_command$finalize_rpath"
24.4871 + if test "$fast_install" = yes; then
24.4872 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
24.4873 + else
24.4874 + # fast_install is set to needless
24.4875 + relink_command=
24.4876 + fi
24.4877 + else
24.4878 + link_command="$compile_var$compile_command$compile_rpath"
24.4879 + relink_command="$finalize_var$finalize_command$finalize_rpath"
24.4880 + fi
24.4881 + fi
24.4882 +
24.4883 + # Replace the output file specification.
24.4884 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
24.4885 +
24.4886 + # Delete the old output files.
24.4887 + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
24.4888 +
24.4889 + $show "$link_command"
24.4890 + $run eval "$link_command" || exit $?
24.4891 +
24.4892 + # Now create the wrapper script.
24.4893 + $show "creating $output"
24.4894 +
24.4895 + # Quote the relink command for shipping.
24.4896 + if test -n "$relink_command"; then
24.4897 + # Preserve any variables that may affect compiler behavior
24.4898 + for var in $variables_saved_for_relink; do
24.4899 + if eval test -z \"\${$var+set}\"; then
24.4900 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
24.4901 + elif eval var_value=\$$var; test -z "$var_value"; then
24.4902 + relink_command="$var=; export $var; $relink_command"
24.4903 + else
24.4904 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
24.4905 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
24.4906 + fi
24.4907 + done
24.4908 + relink_command="(cd `pwd`; $relink_command)"
24.4909 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
24.4910 + fi
24.4911 +
24.4912 + # Quote $echo for shipping.
24.4913 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
24.4914 + case $progpath in
24.4915 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
24.4916 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
24.4917 + esac
24.4918 + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
24.4919 + else
24.4920 + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
24.4921 + fi
24.4922 +
24.4923 + # Only actually do things if our run command is non-null.
24.4924 + if test -z "$run"; then
24.4925 + # win32 will think the script is a binary if it has
24.4926 + # a .exe suffix, so we strip it off here.
24.4927 + case $output in
24.4928 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
24.4929 + esac
24.4930 + # test for cygwin because mv fails w/o .exe extensions
24.4931 + case $host in
24.4932 + *cygwin*)
24.4933 + exeext=.exe
24.4934 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
24.4935 + *) exeext= ;;
24.4936 + esac
24.4937 + case $host in
24.4938 + *cygwin* | *mingw* )
24.4939 + output_name=`basename $output`
24.4940 + output_path=`dirname $output`
24.4941 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
24.4942 + cwrapper="$output_path/$output_name.exe"
24.4943 + $rm $cwrappersource $cwrapper
24.4944 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
24.4945 +
24.4946 + cat > $cwrappersource <<EOF
24.4947 +
24.4948 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
24.4949 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
24.4950 +
24.4951 + The $output program cannot be directly executed until all the libtool
24.4952 + libraries that it depends on are installed.
24.4953 +
24.4954 + This wrapper executable should never be moved out of the build directory.
24.4955 + If it is, it will not operate correctly.
24.4956 +
24.4957 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
24.4958 + but could eventually absorb all of the scripts functionality and
24.4959 + exec $objdir/$outputname directly.
24.4960 +*/
24.4961 +EOF
24.4962 + cat >> $cwrappersource<<"EOF"
24.4963 +#include <stdio.h>
24.4964 +#include <stdlib.h>
24.4965 +#include <unistd.h>
24.4966 +#include <malloc.h>
24.4967 +#include <stdarg.h>
24.4968 +#include <assert.h>
24.4969 +#include <string.h>
24.4970 +#include <ctype.h>
24.4971 +#include <sys/stat.h>
24.4972 +
24.4973 +#if defined(PATH_MAX)
24.4974 +# define LT_PATHMAX PATH_MAX
24.4975 +#elif defined(MAXPATHLEN)
24.4976 +# define LT_PATHMAX MAXPATHLEN
24.4977 +#else
24.4978 +# define LT_PATHMAX 1024
24.4979 +#endif
24.4980 +
24.4981 +#ifndef DIR_SEPARATOR
24.4982 +# define DIR_SEPARATOR '/'
24.4983 +# define PATH_SEPARATOR ':'
24.4984 +#endif
24.4985 +
24.4986 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
24.4987 + defined (__OS2__)
24.4988 +# define HAVE_DOS_BASED_FILE_SYSTEM
24.4989 +# ifndef DIR_SEPARATOR_2
24.4990 +# define DIR_SEPARATOR_2 '\\'
24.4991 +# endif
24.4992 +# ifndef PATH_SEPARATOR_2
24.4993 +# define PATH_SEPARATOR_2 ';'
24.4994 +# endif
24.4995 +#endif
24.4996 +
24.4997 +#ifndef DIR_SEPARATOR_2
24.4998 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
24.4999 +#else /* DIR_SEPARATOR_2 */
24.5000 +# define IS_DIR_SEPARATOR(ch) \
24.5001 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
24.5002 +#endif /* DIR_SEPARATOR_2 */
24.5003 +
24.5004 +#ifndef PATH_SEPARATOR_2
24.5005 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
24.5006 +#else /* PATH_SEPARATOR_2 */
24.5007 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
24.5008 +#endif /* PATH_SEPARATOR_2 */
24.5009 +
24.5010 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
24.5011 +#define XFREE(stale) do { \
24.5012 + if (stale) { free ((void *) stale); stale = 0; } \
24.5013 +} while (0)
24.5014 +
24.5015 +/* -DDEBUG is fairly common in CFLAGS. */
24.5016 +#undef DEBUG
24.5017 +#if defined DEBUGWRAPPER
24.5018 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
24.5019 +#else
24.5020 +# define DEBUG(format, ...)
24.5021 +#endif
24.5022 +
24.5023 +const char *program_name = NULL;
24.5024 +
24.5025 +void * xmalloc (size_t num);
24.5026 +char * xstrdup (const char *string);
24.5027 +const char * base_name (const char *name);
24.5028 +char * find_executable(const char *wrapper);
24.5029 +int check_executable(const char *path);
24.5030 +char * strendzap(char *str, const char *pat);
24.5031 +void lt_fatal (const char *message, ...);
24.5032 +
24.5033 +int
24.5034 +main (int argc, char *argv[])
24.5035 +{
24.5036 + char **newargz;
24.5037 + int i;
24.5038 +
24.5039 + program_name = (char *) xstrdup (base_name (argv[0]));
24.5040 + DEBUG("(main) argv[0] : %s\n",argv[0]);
24.5041 + DEBUG("(main) program_name : %s\n",program_name);
24.5042 + newargz = XMALLOC(char *, argc+2);
24.5043 +EOF
24.5044 +
24.5045 + cat >> $cwrappersource <<EOF
24.5046 + newargz[0] = (char *) xstrdup("$SHELL");
24.5047 +EOF
24.5048 +
24.5049 + cat >> $cwrappersource <<"EOF"
24.5050 + newargz[1] = find_executable(argv[0]);
24.5051 + if (newargz[1] == NULL)
24.5052 + lt_fatal("Couldn't find %s", argv[0]);
24.5053 + DEBUG("(main) found exe at : %s\n",newargz[1]);
24.5054 + /* we know the script has the same name, without the .exe */
24.5055 + /* so make sure newargz[1] doesn't end in .exe */
24.5056 + strendzap(newargz[1],".exe");
24.5057 + for (i = 1; i < argc; i++)
24.5058 + newargz[i+1] = xstrdup(argv[i]);
24.5059 + newargz[argc+1] = NULL;
24.5060 +
24.5061 + for (i=0; i<argc+1; i++)
24.5062 + {
24.5063 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
24.5064 + ;
24.5065 + }
24.5066 +
24.5067 +EOF
24.5068 +
24.5069 + case $host_os in
24.5070 + mingw*)
24.5071 + cat >> $cwrappersource <<EOF
24.5072 + execv("$SHELL",(char const **)newargz);
24.5073 +EOF
24.5074 + ;;
24.5075 + *)
24.5076 + cat >> $cwrappersource <<EOF
24.5077 + execv("$SHELL",newargz);
24.5078 +EOF
24.5079 + ;;
24.5080 + esac
24.5081 +
24.5082 + cat >> $cwrappersource <<"EOF"
24.5083 + return 127;
24.5084 +}
24.5085 +
24.5086 +void *
24.5087 +xmalloc (size_t num)
24.5088 +{
24.5089 + void * p = (void *) malloc (num);
24.5090 + if (!p)
24.5091 + lt_fatal ("Memory exhausted");
24.5092 +
24.5093 + return p;
24.5094 +}
24.5095 +
24.5096 +char *
24.5097 +xstrdup (const char *string)
24.5098 +{
24.5099 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
24.5100 +;
24.5101 +}
24.5102 +
24.5103 +const char *
24.5104 +base_name (const char *name)
24.5105 +{
24.5106 + const char *base;
24.5107 +
24.5108 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
24.5109 + /* Skip over the disk name in MSDOS pathnames. */
24.5110 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
24.5111 + name += 2;
24.5112 +#endif
24.5113 +
24.5114 + for (base = name; *name; name++)
24.5115 + if (IS_DIR_SEPARATOR (*name))
24.5116 + base = name + 1;
24.5117 + return base;
24.5118 +}
24.5119 +
24.5120 +int
24.5121 +check_executable(const char * path)
24.5122 +{
24.5123 + struct stat st;
24.5124 +
24.5125 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
24.5126 + if ((!path) || (!*path))
24.5127 + return 0;
24.5128 +
24.5129 + if ((stat (path, &st) >= 0) &&
24.5130 + (
24.5131 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
24.5132 +#if defined (S_IXOTH)
24.5133 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
24.5134 +#endif
24.5135 +#if defined (S_IXGRP)
24.5136 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
24.5137 +#endif
24.5138 + ((st.st_mode & S_IXUSR) == S_IXUSR))
24.5139 + )
24.5140 + return 1;
24.5141 + else
24.5142 + return 0;
24.5143 +}
24.5144 +
24.5145 +/* Searches for the full path of the wrapper. Returns
24.5146 + newly allocated full path name if found, NULL otherwise */
24.5147 +char *
24.5148 +find_executable (const char* wrapper)
24.5149 +{
24.5150 + int has_slash = 0;
24.5151 + const char* p;
24.5152 + const char* p_next;
24.5153 + /* static buffer for getcwd */
24.5154 + char tmp[LT_PATHMAX + 1];
24.5155 + int tmp_len;
24.5156 + char* concat_name;
24.5157 +
24.5158 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
24.5159 +
24.5160 + if ((wrapper == NULL) || (*wrapper == '\0'))
24.5161 + return NULL;
24.5162 +
24.5163 + /* Absolute path? */
24.5164 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
24.5165 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
24.5166 + {
24.5167 + concat_name = xstrdup (wrapper);
24.5168 + if (check_executable(concat_name))
24.5169 + return concat_name;
24.5170 + XFREE(concat_name);
24.5171 + }
24.5172 + else
24.5173 + {
24.5174 +#endif
24.5175 + if (IS_DIR_SEPARATOR (wrapper[0]))
24.5176 + {
24.5177 + concat_name = xstrdup (wrapper);
24.5178 + if (check_executable(concat_name))
24.5179 + return concat_name;
24.5180 + XFREE(concat_name);
24.5181 + }
24.5182 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
24.5183 + }
24.5184 +#endif
24.5185 +
24.5186 + for (p = wrapper; *p; p++)
24.5187 + if (*p == '/')
24.5188 + {
24.5189 + has_slash = 1;
24.5190 + break;
24.5191 + }
24.5192 + if (!has_slash)
24.5193 + {
24.5194 + /* no slashes; search PATH */
24.5195 + const char* path = getenv ("PATH");
24.5196 + if (path != NULL)
24.5197 + {
24.5198 + for (p = path; *p; p = p_next)
24.5199 + {
24.5200 + const char* q;
24.5201 + size_t p_len;
24.5202 + for (q = p; *q; q++)
24.5203 + if (IS_PATH_SEPARATOR(*q))
24.5204 + break;
24.5205 + p_len = q - p;
24.5206 + p_next = (*q == '\0' ? q : q + 1);
24.5207 + if (p_len == 0)
24.5208 + {
24.5209 + /* empty path: current directory */
24.5210 + if (getcwd (tmp, LT_PATHMAX) == NULL)
24.5211 + lt_fatal ("getcwd failed");
24.5212 + tmp_len = strlen(tmp);
24.5213 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
24.5214 + memcpy (concat_name, tmp, tmp_len);
24.5215 + concat_name[tmp_len] = '/';
24.5216 + strcpy (concat_name + tmp_len + 1, wrapper);
24.5217 + }
24.5218 + else
24.5219 + {
24.5220 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
24.5221 + memcpy (concat_name, p, p_len);
24.5222 + concat_name[p_len] = '/';
24.5223 + strcpy (concat_name + p_len + 1, wrapper);
24.5224 + }
24.5225 + if (check_executable(concat_name))
24.5226 + return concat_name;
24.5227 + XFREE(concat_name);
24.5228 + }
24.5229 + }
24.5230 + /* not found in PATH; assume curdir */
24.5231 + }
24.5232 + /* Relative path | not found in path: prepend cwd */
24.5233 + if (getcwd (tmp, LT_PATHMAX) == NULL)
24.5234 + lt_fatal ("getcwd failed");
24.5235 + tmp_len = strlen(tmp);
24.5236 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
24.5237 + memcpy (concat_name, tmp, tmp_len);
24.5238 + concat_name[tmp_len] = '/';
24.5239 + strcpy (concat_name + tmp_len + 1, wrapper);
24.5240 +
24.5241 + if (check_executable(concat_name))
24.5242 + return concat_name;
24.5243 + XFREE(concat_name);
24.5244 + return NULL;
24.5245 +}
24.5246 +
24.5247 +char *
24.5248 +strendzap(char *str, const char *pat)
24.5249 +{
24.5250 + size_t len, patlen;
24.5251 +
24.5252 + assert(str != NULL);
24.5253 + assert(pat != NULL);
24.5254 +
24.5255 + len = strlen(str);
24.5256 + patlen = strlen(pat);
24.5257 +
24.5258 + if (patlen <= len)
24.5259 + {
24.5260 + str += len - patlen;
24.5261 + if (strcmp(str, pat) == 0)
24.5262 + *str = '\0';
24.5263 + }
24.5264 + return str;
24.5265 +}
24.5266 +
24.5267 +static void
24.5268 +lt_error_core (int exit_status, const char * mode,
24.5269 + const char * message, va_list ap)
24.5270 +{
24.5271 + fprintf (stderr, "%s: %s: ", program_name, mode);
24.5272 + vfprintf (stderr, message, ap);
24.5273 + fprintf (stderr, ".\n");
24.5274 +
24.5275 + if (exit_status >= 0)
24.5276 + exit (exit_status);
24.5277 +}
24.5278 +
24.5279 +void
24.5280 +lt_fatal (const char *message, ...)
24.5281 +{
24.5282 + va_list ap;
24.5283 + va_start (ap, message);
24.5284 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
24.5285 + va_end (ap);
24.5286 +}
24.5287 +EOF
24.5288 + # we should really use a build-platform specific compiler
24.5289 + # here, but OTOH, the wrappers (shell script and this C one)
24.5290 + # are only useful if you want to execute the "real" binary.
24.5291 + # Since the "real" binary is built for $host, then this
24.5292 + # wrapper might as well be built for $host, too.
24.5293 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
24.5294 + ;;
24.5295 + esac
24.5296 + $rm $output
24.5297 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
24.5298 +
24.5299 + $echo > $output "\
24.5300 +#! $SHELL
24.5301 +
24.5302 +# $output - temporary wrapper script for $objdir/$outputname
24.5303 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
24.5304 +#
24.5305 +# The $output program cannot be directly executed until all the libtool
24.5306 +# libraries that it depends on are installed.
24.5307 +#
24.5308 +# This wrapper script should never be moved out of the build directory.
24.5309 +# If it is, it will not operate correctly.
24.5310 +
24.5311 +# Sed substitution that helps us do robust quoting. It backslashifies
24.5312 +# metacharacters that are still active within double-quoted strings.
24.5313 +Xsed='${SED} -e 1s/^X//'
24.5314 +sed_quote_subst='$sed_quote_subst'
24.5315 +
24.5316 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
24.5317 +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
24.5318 + emulate sh
24.5319 + NULLCMD=:
24.5320 + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
24.5321 + # is contrary to our usage. Disable this feature.
24.5322 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
24.5323 + setopt NO_GLOB_SUBST
24.5324 +else
24.5325 + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
24.5326 +fi
24.5327 +BIN_SH=xpg4; export BIN_SH # for Tru64
24.5328 +DUALCASE=1; export DUALCASE # for MKS sh
24.5329 +
24.5330 +# The HP-UX ksh and POSIX shell print the target directory to stdout
24.5331 +# if CDPATH is set.
24.5332 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24.5333 +
24.5334 +relink_command=\"$relink_command\"
24.5335 +
24.5336 +# This environment variable determines our operation mode.
24.5337 +if test \"\$libtool_install_magic\" = \"$magic\"; then
24.5338 + # install mode needs the following variable:
24.5339 + notinst_deplibs='$notinst_deplibs'
24.5340 +else
24.5341 + # When we are sourced in execute mode, \$file and \$echo are already set.
24.5342 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
24.5343 + echo=\"$qecho\"
24.5344 + file=\"\$0\"
24.5345 + # Make sure echo works.
24.5346 + if test \"X\$1\" = X--no-reexec; then
24.5347 + # Discard the --no-reexec flag, and continue.
24.5348 + shift
24.5349 + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
24.5350 + # Yippee, \$echo works!
24.5351 + :
24.5352 + else
24.5353 + # Restart under the correct shell, and then maybe \$echo will work.
24.5354 + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
24.5355 + fi
24.5356 + fi\
24.5357 +"
24.5358 + $echo >> $output "\
24.5359 +
24.5360 + # Find the directory that this script lives in.
24.5361 + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
24.5362 + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
24.5363 +
24.5364 + # Follow symbolic links until we get to the real thisdir.
24.5365 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
24.5366 + while test -n \"\$file\"; do
24.5367 + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
24.5368 +
24.5369 + # If there was a directory component, then change thisdir.
24.5370 + if test \"x\$destdir\" != \"x\$file\"; then
24.5371 + case \"\$destdir\" in
24.5372 + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
24.5373 + *) thisdir=\"\$thisdir/\$destdir\" ;;
24.5374 + esac
24.5375 + fi
24.5376 +
24.5377 + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
24.5378 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
24.5379 + done
24.5380 +
24.5381 + # Try to get the absolute directory name.
24.5382 + absdir=\`cd \"\$thisdir\" && pwd\`
24.5383 + test -n \"\$absdir\" && thisdir=\"\$absdir\"
24.5384 +"
24.5385 +
24.5386 + if test "$fast_install" = yes; then
24.5387 + $echo >> $output "\
24.5388 + program=lt-'$outputname'$exeext
24.5389 + progdir=\"\$thisdir/$objdir\"
24.5390 +
24.5391 + if test ! -f \"\$progdir/\$program\" || \\
24.5392 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
24.5393 + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
24.5394 +
24.5395 + file=\"\$\$-\$program\"
24.5396 +
24.5397 + if test ! -d \"\$progdir\"; then
24.5398 + $mkdir \"\$progdir\"
24.5399 + else
24.5400 + $rm \"\$progdir/\$file\"
24.5401 + fi"
24.5402 +
24.5403 + $echo >> $output "\
24.5404 +
24.5405 + # relink executable if necessary
24.5406 + if test -n \"\$relink_command\"; then
24.5407 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
24.5408 + else
24.5409 + $echo \"\$relink_command_output\" >&2
24.5410 + $rm \"\$progdir/\$file\"
24.5411 + exit $EXIT_FAILURE
24.5412 + fi
24.5413 + fi
24.5414 +
24.5415 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
24.5416 + { $rm \"\$progdir/\$program\";
24.5417 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
24.5418 + $rm \"\$progdir/\$file\"
24.5419 + fi"
24.5420 + else
24.5421 + $echo >> $output "\
24.5422 + program='$outputname'
24.5423 + progdir=\"\$thisdir/$objdir\"
24.5424 +"
24.5425 + fi
24.5426 +
24.5427 + $echo >> $output "\
24.5428 +
24.5429 + if test -f \"\$progdir/\$program\"; then"
24.5430 +
24.5431 + # Export our shlibpath_var if we have one.
24.5432 + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
24.5433 + $echo >> $output "\
24.5434 + # Add our own library path to $shlibpath_var
24.5435 + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
24.5436 +
24.5437 + # Some systems cannot cope with colon-terminated $shlibpath_var
24.5438 + # The second colon is a workaround for a bug in BeOS R4 sed
24.5439 + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
24.5440 +
24.5441 + export $shlibpath_var
24.5442 +"
24.5443 + fi
24.5444 +
24.5445 + # fixup the dll searchpath if we need to.
24.5446 + if test -n "$dllsearchpath"; then
24.5447 + $echo >> $output "\
24.5448 + # Add the dll search path components to the executable PATH
24.5449 + PATH=$dllsearchpath:\$PATH
24.5450 +"
24.5451 + fi
24.5452 +
24.5453 + $echo >> $output "\
24.5454 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
24.5455 + # Run the actual program with our arguments.
24.5456 +"
24.5457 + case $host in
24.5458 + # Backslashes separate directories on plain windows
24.5459 + *-*-mingw | *-*-os2*)
24.5460 + $echo >> $output "\
24.5461 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
24.5462 +"
24.5463 + ;;
24.5464 +
24.5465 + *)
24.5466 + $echo >> $output "\
24.5467 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
24.5468 +"
24.5469 + ;;
24.5470 + esac
24.5471 + $echo >> $output "\
24.5472 + \$echo \"\$0: cannot exec \$program \$*\"
24.5473 + exit $EXIT_FAILURE
24.5474 + fi
24.5475 + else
24.5476 + # The program doesn't exist.
24.5477 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
24.5478 + \$echo \"This script is just a wrapper for \$program.\" 1>&2
24.5479 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
24.5480 + exit $EXIT_FAILURE
24.5481 + fi
24.5482 +fi\
24.5483 +"
24.5484 + chmod +x $output
24.5485 + fi
24.5486 + exit $EXIT_SUCCESS
24.5487 + ;;
24.5488 + esac
24.5489 +
24.5490 + # See if we need to build an old-fashioned archive.
24.5491 + for oldlib in $oldlibs; do
24.5492 +
24.5493 + if test "$build_libtool_libs" = convenience; then
24.5494 + oldobjs="$libobjs_save"
24.5495 + addlibs="$convenience"
24.5496 + build_libtool_libs=no
24.5497 + else
24.5498 + if test "$build_libtool_libs" = module; then
24.5499 + oldobjs="$libobjs_save"
24.5500 + build_libtool_libs=no
24.5501 + else
24.5502 + oldobjs="$old_deplibs $non_pic_objects"
24.5503 + fi
24.5504 + addlibs="$old_convenience"
24.5505 + fi
24.5506 +
24.5507 + if test -n "$addlibs"; then
24.5508 + gentop="$output_objdir/${outputname}x"
24.5509 + generated="$generated $gentop"
24.5510 +
24.5511 + func_extract_archives $gentop $addlibs
24.5512 + oldobjs="$oldobjs $func_extract_archives_result"
24.5513 + fi
24.5514 +
24.5515 + # Do each command in the archive commands.
24.5516 + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
24.5517 + cmds=$old_archive_from_new_cmds
24.5518 + else
24.5519 + # POSIX demands no paths to be encoded in archives. We have
24.5520 + # to avoid creating archives with duplicate basenames if we
24.5521 + # might have to extract them afterwards, e.g., when creating a
24.5522 + # static archive out of a convenience library, or when linking
24.5523 + # the entirety of a libtool archive into another (currently
24.5524 + # not supported by libtool).
24.5525 + if (for obj in $oldobjs
24.5526 + do
24.5527 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
24.5528 + done | sort | sort -uc >/dev/null 2>&1); then
24.5529 + :
24.5530 + else
24.5531 + $echo "copying selected object files to avoid basename conflicts..."
24.5532 +
24.5533 + if test -z "$gentop"; then
24.5534 + gentop="$output_objdir/${outputname}x"
24.5535 + generated="$generated $gentop"
24.5536 +
24.5537 + $show "${rm}r $gentop"
24.5538 + $run ${rm}r "$gentop"
24.5539 + $show "$mkdir $gentop"
24.5540 + $run $mkdir "$gentop"
24.5541 + exit_status=$?
24.5542 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
24.5543 + exit $exit_status
24.5544 + fi
24.5545 + fi
24.5546 +
24.5547 + save_oldobjs=$oldobjs
24.5548 + oldobjs=
24.5549 + counter=1
24.5550 + for obj in $save_oldobjs
24.5551 + do
24.5552 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
24.5553 + case " $oldobjs " in
24.5554 + " ") oldobjs=$obj ;;
24.5555 + *[\ /]"$objbase "*)
24.5556 + while :; do
24.5557 + # Make sure we don't pick an alternate name that also
24.5558 + # overlaps.
24.5559 + newobj=lt$counter-$objbase
24.5560 + counter=`expr $counter + 1`
24.5561 + case " $oldobjs " in
24.5562 + *[\ /]"$newobj "*) ;;
24.5563 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
24.5564 + esac
24.5565 + done
24.5566 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
24.5567 + $run ln "$obj" "$gentop/$newobj" ||
24.5568 + $run cp "$obj" "$gentop/$newobj"
24.5569 + oldobjs="$oldobjs $gentop/$newobj"
24.5570 + ;;
24.5571 + *) oldobjs="$oldobjs $obj" ;;
24.5572 + esac
24.5573 + done
24.5574 + fi
24.5575 +
24.5576 + eval cmds=\"$old_archive_cmds\"
24.5577 +
24.5578 + if len=`expr "X$cmds" : ".*"` &&
24.5579 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
24.5580 + cmds=$old_archive_cmds
24.5581 + else
24.5582 + # the command line is too long to link in one step, link in parts
24.5583 + $echo "using piecewise archive linking..."
24.5584 + save_RANLIB=$RANLIB
24.5585 + RANLIB=:
24.5586 + objlist=
24.5587 + concat_cmds=
24.5588 + save_oldobjs=$oldobjs
24.5589 +
24.5590 + # Is there a better way of finding the last object in the list?
24.5591 + for obj in $save_oldobjs
24.5592 + do
24.5593 + last_oldobj=$obj
24.5594 + done
24.5595 + for obj in $save_oldobjs
24.5596 + do
24.5597 + oldobjs="$objlist $obj"
24.5598 + objlist="$objlist $obj"
24.5599 + eval test_cmds=\"$old_archive_cmds\"
24.5600 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
24.5601 + test "$len" -le "$max_cmd_len"; then
24.5602 + :
24.5603 + else
24.5604 + # the above command should be used before it gets too long
24.5605 + oldobjs=$objlist
24.5606 + if test "$obj" = "$last_oldobj" ; then
24.5607 + RANLIB=$save_RANLIB
24.5608 + fi
24.5609 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
24.5610 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
24.5611 + objlist=
24.5612 + fi
24.5613 + done
24.5614 + RANLIB=$save_RANLIB
24.5615 + oldobjs=$objlist
24.5616 + if test "X$oldobjs" = "X" ; then
24.5617 + eval cmds=\"\$concat_cmds\"
24.5618 + else
24.5619 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
24.5620 + fi
24.5621 + fi
24.5622 + fi
24.5623 + save_ifs="$IFS"; IFS='~'
24.5624 + for cmd in $cmds; do
24.5625 + eval cmd=\"$cmd\"
24.5626 + IFS="$save_ifs"
24.5627 + $show "$cmd"
24.5628 + $run eval "$cmd" || exit $?
24.5629 + done
24.5630 + IFS="$save_ifs"
24.5631 + done
24.5632 +
24.5633 + if test -n "$generated"; then
24.5634 + $show "${rm}r$generated"
24.5635 + $run ${rm}r$generated
24.5636 + fi
24.5637 +
24.5638 + # Now create the libtool archive.
24.5639 + case $output in
24.5640 + *.la)
24.5641 + old_library=
24.5642 + test "$build_old_libs" = yes && old_library="$libname.$libext"
24.5643 + $show "creating $output"
24.5644 +
24.5645 + # Preserve any variables that may affect compiler behavior
24.5646 + for var in $variables_saved_for_relink; do
24.5647 + if eval test -z \"\${$var+set}\"; then
24.5648 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
24.5649 + elif eval var_value=\$$var; test -z "$var_value"; then
24.5650 + relink_command="$var=; export $var; $relink_command"
24.5651 + else
24.5652 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
24.5653 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
24.5654 + fi
24.5655 + done
24.5656 + # Quote the link command for shipping.
24.5657 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
24.5658 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
24.5659 + if test "$hardcode_automatic" = yes ; then
24.5660 + relink_command=
24.5661 + fi
24.5662 +
24.5663 +
24.5664 + # Only create the output if not a dry run.
24.5665 + if test -z "$run"; then
24.5666 + for installed in no yes; do
24.5667 + if test "$installed" = yes; then
24.5668 + if test -z "$install_libdir"; then
24.5669 + break
24.5670 + fi
24.5671 + output="$output_objdir/$outputname"i
24.5672 + # Replace all uninstalled libtool libraries with the installed ones
24.5673 + newdependency_libs=
24.5674 + for deplib in $dependency_libs; do
24.5675 + case $deplib in
24.5676 + *.la)
24.5677 + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
24.5678 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
24.5679 + if test -z "$libdir"; then
24.5680 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
24.5681 + exit $EXIT_FAILURE
24.5682 + fi
24.5683 + newdependency_libs="$newdependency_libs $libdir/$name"
24.5684 + ;;
24.5685 + *) newdependency_libs="$newdependency_libs $deplib" ;;
24.5686 + esac
24.5687 + done
24.5688 + dependency_libs="$newdependency_libs"
24.5689 + newdlfiles=
24.5690 + for lib in $dlfiles; do
24.5691 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
24.5692 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
24.5693 + if test -z "$libdir"; then
24.5694 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
24.5695 + exit $EXIT_FAILURE
24.5696 + fi
24.5697 + newdlfiles="$newdlfiles $libdir/$name"
24.5698 + done
24.5699 + dlfiles="$newdlfiles"
24.5700 + newdlprefiles=
24.5701 + for lib in $dlprefiles; do
24.5702 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
24.5703 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
24.5704 + if test -z "$libdir"; then
24.5705 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
24.5706 + exit $EXIT_FAILURE
24.5707 + fi
24.5708 + newdlprefiles="$newdlprefiles $libdir/$name"
24.5709 + done
24.5710 + dlprefiles="$newdlprefiles"
24.5711 + else
24.5712 + newdlfiles=
24.5713 + for lib in $dlfiles; do
24.5714 + case $lib in
24.5715 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
24.5716 + *) abs=`pwd`"/$lib" ;;
24.5717 + esac
24.5718 + newdlfiles="$newdlfiles $abs"
24.5719 + done
24.5720 + dlfiles="$newdlfiles"
24.5721 + newdlprefiles=
24.5722 + for lib in $dlprefiles; do
24.5723 + case $lib in
24.5724 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
24.5725 + *) abs=`pwd`"/$lib" ;;
24.5726 + esac
24.5727 + newdlprefiles="$newdlprefiles $abs"
24.5728 + done
24.5729 + dlprefiles="$newdlprefiles"
24.5730 + fi
24.5731 + $rm $output
24.5732 + # place dlname in correct position for cygwin
24.5733 + tdlname=$dlname
24.5734 + case $host,$output,$installed,$module,$dlname in
24.5735 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
24.5736 + esac
24.5737 + $echo > $output "\
24.5738 +# $outputname - a libtool library file
24.5739 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
24.5740 +#
24.5741 +# Please DO NOT delete this file!
24.5742 +# It is necessary for linking the library.
24.5743 +
24.5744 +# The name that we can dlopen(3).
24.5745 +dlname='$tdlname'
24.5746 +
24.5747 +# Names of this library.
24.5748 +library_names='$library_names'
24.5749 +
24.5750 +# The name of the static archive.
24.5751 +old_library='$old_library'
24.5752 +
24.5753 +# Libraries that this one depends upon.
24.5754 +dependency_libs='$dependency_libs'
24.5755 +
24.5756 +# Version information for $libname.
24.5757 +current=$current
24.5758 +age=$age
24.5759 +revision=$revision
24.5760 +
24.5761 +# Is this an already installed library?
24.5762 +installed=$installed
24.5763 +
24.5764 +# Should we warn about portability when linking against -modules?
24.5765 +shouldnotlink=$module
24.5766 +
24.5767 +# Files to dlopen/dlpreopen
24.5768 +dlopen='$dlfiles'
24.5769 +dlpreopen='$dlprefiles'
24.5770 +
24.5771 +# Directory that this library needs to be installed in:
24.5772 +libdir='$install_libdir'"
24.5773 + if test "$installed" = no && test "$need_relink" = yes; then
24.5774 + $echo >> $output "\
24.5775 +relink_command=\"$relink_command\""
24.5776 + fi
24.5777 + done
24.5778 + fi
24.5779 +
24.5780 + # Do a symbolic link so that the libtool archive can be found in
24.5781 + # LD_LIBRARY_PATH before the program is installed.
24.5782 + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
24.5783 + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
24.5784 + ;;
24.5785 + esac
24.5786 + exit $EXIT_SUCCESS
24.5787 + ;;
24.5788 +
24.5789 + # libtool install mode
24.5790 + install)
24.5791 + modename="$modename: install"
24.5792 +
24.5793 + # There may be an optional sh(1) argument at the beginning of
24.5794 + # install_prog (especially on Windows NT).
24.5795 + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
24.5796 + # Allow the use of GNU shtool's install command.
24.5797 + $echo "X$nonopt" | grep shtool > /dev/null; then
24.5798 + # Aesthetically quote it.
24.5799 + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
24.5800 + case $arg in
24.5801 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.5802 + arg="\"$arg\""
24.5803 + ;;
24.5804 + esac
24.5805 + install_prog="$arg "
24.5806 + arg="$1"
24.5807 + shift
24.5808 + else
24.5809 + install_prog=
24.5810 + arg=$nonopt
24.5811 + fi
24.5812 +
24.5813 + # The real first argument should be the name of the installation program.
24.5814 + # Aesthetically quote it.
24.5815 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
24.5816 + case $arg in
24.5817 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.5818 + arg="\"$arg\""
24.5819 + ;;
24.5820 + esac
24.5821 + install_prog="$install_prog$arg"
24.5822 +
24.5823 + # We need to accept at least all the BSD install flags.
24.5824 + dest=
24.5825 + files=
24.5826 + opts=
24.5827 + prev=
24.5828 + install_type=
24.5829 + isdir=no
24.5830 + stripme=
24.5831 + for arg
24.5832 + do
24.5833 + if test -n "$dest"; then
24.5834 + files="$files $dest"
24.5835 + dest=$arg
24.5836 + continue
24.5837 + fi
24.5838 +
24.5839 + case $arg in
24.5840 + -d) isdir=yes ;;
24.5841 + -f)
24.5842 + case " $install_prog " in
24.5843 + *[\\\ /]cp\ *) ;;
24.5844 + *) prev=$arg ;;
24.5845 + esac
24.5846 + ;;
24.5847 + -g | -m | -o) prev=$arg ;;
24.5848 + -s)
24.5849 + stripme=" -s"
24.5850 + continue
24.5851 + ;;
24.5852 + -*)
24.5853 + ;;
24.5854 + *)
24.5855 + # If the previous option needed an argument, then skip it.
24.5856 + if test -n "$prev"; then
24.5857 + prev=
24.5858 + else
24.5859 + dest=$arg
24.5860 + continue
24.5861 + fi
24.5862 + ;;
24.5863 + esac
24.5864 +
24.5865 + # Aesthetically quote the argument.
24.5866 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
24.5867 + case $arg in
24.5868 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
24.5869 + arg="\"$arg\""
24.5870 + ;;
24.5871 + esac
24.5872 + install_prog="$install_prog $arg"
24.5873 + done
24.5874 +
24.5875 + if test -z "$install_prog"; then
24.5876 + $echo "$modename: you must specify an install program" 1>&2
24.5877 + $echo "$help" 1>&2
24.5878 + exit $EXIT_FAILURE
24.5879 + fi
24.5880 +
24.5881 + if test -n "$prev"; then
24.5882 + $echo "$modename: the \`$prev' option requires an argument" 1>&2
24.5883 + $echo "$help" 1>&2
24.5884 + exit $EXIT_FAILURE
24.5885 + fi
24.5886 +
24.5887 + if test -z "$files"; then
24.5888 + if test -z "$dest"; then
24.5889 + $echo "$modename: no file or destination specified" 1>&2
24.5890 + else
24.5891 + $echo "$modename: you must specify a destination" 1>&2
24.5892 + fi
24.5893 + $echo "$help" 1>&2
24.5894 + exit $EXIT_FAILURE
24.5895 + fi
24.5896 +
24.5897 + # Strip any trailing slash from the destination.
24.5898 + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
24.5899 +
24.5900 + # Check to see that the destination is a directory.
24.5901 + test -d "$dest" && isdir=yes
24.5902 + if test "$isdir" = yes; then
24.5903 + destdir="$dest"
24.5904 + destname=
24.5905 + else
24.5906 + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
24.5907 + test "X$destdir" = "X$dest" && destdir=.
24.5908 + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
24.5909 +
24.5910 + # Not a directory, so check to see that there is only one file specified.
24.5911 + set dummy $files
24.5912 + if test "$#" -gt 2; then
24.5913 + $echo "$modename: \`$dest' is not a directory" 1>&2
24.5914 + $echo "$help" 1>&2
24.5915 + exit $EXIT_FAILURE
24.5916 + fi
24.5917 + fi
24.5918 + case $destdir in
24.5919 + [\\/]* | [A-Za-z]:[\\/]*) ;;
24.5920 + *)
24.5921 + for file in $files; do
24.5922 + case $file in
24.5923 + *.lo) ;;
24.5924 + *)
24.5925 + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
24.5926 + $echo "$help" 1>&2
24.5927 + exit $EXIT_FAILURE
24.5928 + ;;
24.5929 + esac
24.5930 + done
24.5931 + ;;
24.5932 + esac
24.5933 +
24.5934 + # This variable tells wrapper scripts just to set variables rather
24.5935 + # than running their programs.
24.5936 + libtool_install_magic="$magic"
24.5937 +
24.5938 + staticlibs=
24.5939 + future_libdirs=
24.5940 + current_libdirs=
24.5941 + for file in $files; do
24.5942 +
24.5943 + # Do each installation.
24.5944 + case $file in
24.5945 + *.$libext)
24.5946 + # Do the static libraries later.
24.5947 + staticlibs="$staticlibs $file"
24.5948 + ;;
24.5949 +
24.5950 + *.la)
24.5951 + # Check to see that this really is a libtool archive.
24.5952 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
24.5953 + else
24.5954 + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
24.5955 + $echo "$help" 1>&2
24.5956 + exit $EXIT_FAILURE
24.5957 + fi
24.5958 +
24.5959 + library_names=
24.5960 + old_library=
24.5961 + relink_command=
24.5962 + # If there is no directory component, then add one.
24.5963 + case $file in
24.5964 + */* | *\\*) . $file ;;
24.5965 + *) . ./$file ;;
24.5966 + esac
24.5967 +
24.5968 + # Add the libdir to current_libdirs if it is the destination.
24.5969 + if test "X$destdir" = "X$libdir"; then
24.5970 + case "$current_libdirs " in
24.5971 + *" $libdir "*) ;;
24.5972 + *) current_libdirs="$current_libdirs $libdir" ;;
24.5973 + esac
24.5974 + else
24.5975 + # Note the libdir as a future libdir.
24.5976 + case "$future_libdirs " in
24.5977 + *" $libdir "*) ;;
24.5978 + *) future_libdirs="$future_libdirs $libdir" ;;
24.5979 + esac
24.5980 + fi
24.5981 +
24.5982 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
24.5983 + test "X$dir" = "X$file/" && dir=
24.5984 + dir="$dir$objdir"
24.5985 +
24.5986 + if test -n "$relink_command"; then
24.5987 + # Determine the prefix the user has applied to our future dir.
24.5988 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
24.5989 +
24.5990 + # Don't allow the user to place us outside of our expected
24.5991 + # location b/c this prevents finding dependent libraries that
24.5992 + # are installed to the same prefix.
24.5993 + # At present, this check doesn't affect windows .dll's that
24.5994 + # are installed into $libdir/../bin (currently, that works fine)
24.5995 + # but it's something to keep an eye on.
24.5996 + if test "$inst_prefix_dir" = "$destdir"; then
24.5997 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
24.5998 + exit $EXIT_FAILURE
24.5999 + fi
24.6000 +
24.6001 + if test -n "$inst_prefix_dir"; then
24.6002 + # Stick the inst_prefix_dir data into the link command.
24.6003 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
24.6004 + else
24.6005 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
24.6006 + fi
24.6007 +
24.6008 + $echo "$modename: warning: relinking \`$file'" 1>&2
24.6009 + $show "$relink_command"
24.6010 + if $run eval "$relink_command"; then :
24.6011 + else
24.6012 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
24.6013 + exit $EXIT_FAILURE
24.6014 + fi
24.6015 + fi
24.6016 +
24.6017 + # See the names of the shared library.
24.6018 + set dummy $library_names
24.6019 + if test -n "$2"; then
24.6020 + realname="$2"
24.6021 + shift
24.6022 + shift
24.6023 +
24.6024 + srcname="$realname"
24.6025 + test -n "$relink_command" && srcname="$realname"T
24.6026 +
24.6027 + # Install the shared library and build the symlinks.
24.6028 + $show "$install_prog $dir/$srcname $destdir/$realname"
24.6029 + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
24.6030 + if test -n "$stripme" && test -n "$striplib"; then
24.6031 + $show "$striplib $destdir/$realname"
24.6032 + $run eval "$striplib $destdir/$realname" || exit $?
24.6033 + fi
24.6034 +
24.6035 + if test "$#" -gt 0; then
24.6036 + # Delete the old symlinks, and create new ones.
24.6037 + # Try `ln -sf' first, because the `ln' binary might depend on
24.6038 + # the symlink we replace! Solaris /bin/ln does not understand -f,
24.6039 + # so we also need to try rm && ln -s.
24.6040 + for linkname
24.6041 + do
24.6042 + if test "$linkname" != "$realname"; then
24.6043 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
24.6044 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
24.6045 + fi
24.6046 + done
24.6047 + fi
24.6048 +
24.6049 + # Do each command in the postinstall commands.
24.6050 + lib="$destdir/$realname"
24.6051 + cmds=$postinstall_cmds
24.6052 + save_ifs="$IFS"; IFS='~'
24.6053 + for cmd in $cmds; do
24.6054 + IFS="$save_ifs"
24.6055 + eval cmd=\"$cmd\"
24.6056 + $show "$cmd"
24.6057 + $run eval "$cmd" || {
24.6058 + lt_exit=$?
24.6059 +
24.6060 + # Restore the uninstalled library and exit
24.6061 + if test "$mode" = relink; then
24.6062 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
24.6063 + fi
24.6064 +
24.6065 + exit $lt_exit
24.6066 + }
24.6067 + done
24.6068 + IFS="$save_ifs"
24.6069 + fi
24.6070 +
24.6071 + # Install the pseudo-library for information purposes.
24.6072 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
24.6073 + instname="$dir/$name"i
24.6074 + $show "$install_prog $instname $destdir/$name"
24.6075 + $run eval "$install_prog $instname $destdir/$name" || exit $?
24.6076 +
24.6077 + # Maybe install the static library, too.
24.6078 + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
24.6079 + ;;
24.6080 +
24.6081 + *.lo)
24.6082 + # Install (i.e. copy) a libtool object.
24.6083 +
24.6084 + # Figure out destination file name, if it wasn't already specified.
24.6085 + if test -n "$destname"; then
24.6086 + destfile="$destdir/$destname"
24.6087 + else
24.6088 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
24.6089 + destfile="$destdir/$destfile"
24.6090 + fi
24.6091 +
24.6092 + # Deduce the name of the destination old-style object file.
24.6093 + case $destfile in
24.6094 + *.lo)
24.6095 + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
24.6096 + ;;
24.6097 + *.$objext)
24.6098 + staticdest="$destfile"
24.6099 + destfile=
24.6100 + ;;
24.6101 + *)
24.6102 + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
24.6103 + $echo "$help" 1>&2
24.6104 + exit $EXIT_FAILURE
24.6105 + ;;
24.6106 + esac
24.6107 +
24.6108 + # Install the libtool object if requested.
24.6109 + if test -n "$destfile"; then
24.6110 + $show "$install_prog $file $destfile"
24.6111 + $run eval "$install_prog $file $destfile" || exit $?
24.6112 + fi
24.6113 +
24.6114 + # Install the old object if enabled.
24.6115 + if test "$build_old_libs" = yes; then
24.6116 + # Deduce the name of the old-style object file.
24.6117 + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
24.6118 +
24.6119 + $show "$install_prog $staticobj $staticdest"
24.6120 + $run eval "$install_prog \$staticobj \$staticdest" || exit $?
24.6121 + fi
24.6122 + exit $EXIT_SUCCESS
24.6123 + ;;
24.6124 +
24.6125 + *)
24.6126 + # Figure out destination file name, if it wasn't already specified.
24.6127 + if test -n "$destname"; then
24.6128 + destfile="$destdir/$destname"
24.6129 + else
24.6130 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
24.6131 + destfile="$destdir/$destfile"
24.6132 + fi
24.6133 +
24.6134 + # If the file is missing, and there is a .exe on the end, strip it
24.6135 + # because it is most likely a libtool script we actually want to
24.6136 + # install
24.6137 + stripped_ext=""
24.6138 + case $file in
24.6139 + *.exe)
24.6140 + if test ! -f "$file"; then
24.6141 + file=`$echo $file|${SED} 's,.exe$,,'`
24.6142 + stripped_ext=".exe"
24.6143 + fi
24.6144 + ;;
24.6145 + esac
24.6146 +
24.6147 + # Do a test to see if this is really a libtool program.
24.6148 + case $host in
24.6149 + *cygwin*|*mingw*)
24.6150 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
24.6151 + ;;
24.6152 + *)
24.6153 + wrapper=$file
24.6154 + ;;
24.6155 + esac
24.6156 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
24.6157 + notinst_deplibs=
24.6158 + relink_command=
24.6159 +
24.6160 + # Note that it is not necessary on cygwin/mingw to append a dot to
24.6161 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
24.6162 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
24.6163 + # `FILE.' does not work on cygwin managed mounts.
24.6164 + #
24.6165 + # If there is no directory component, then add one.
24.6166 + case $wrapper in
24.6167 + */* | *\\*) . ${wrapper} ;;
24.6168 + *) . ./${wrapper} ;;
24.6169 + esac
24.6170 +
24.6171 + # Check the variables that should have been set.
24.6172 + if test -z "$notinst_deplibs"; then
24.6173 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
24.6174 + exit $EXIT_FAILURE
24.6175 + fi
24.6176 +
24.6177 + finalize=yes
24.6178 + for lib in $notinst_deplibs; do
24.6179 + # Check to see that each library is installed.
24.6180 + libdir=
24.6181 + if test -f "$lib"; then
24.6182 + # If there is no directory component, then add one.
24.6183 + case $lib in
24.6184 + */* | *\\*) . $lib ;;
24.6185 + *) . ./$lib ;;
24.6186 + esac
24.6187 + fi
24.6188 + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
24.6189 + if test -n "$libdir" && test ! -f "$libfile"; then
24.6190 + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
24.6191 + finalize=no
24.6192 + fi
24.6193 + done
24.6194 +
24.6195 + relink_command=
24.6196 + # Note that it is not necessary on cygwin/mingw to append a dot to
24.6197 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
24.6198 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
24.6199 + # `FILE.' does not work on cygwin managed mounts.
24.6200 + #
24.6201 + # If there is no directory component, then add one.
24.6202 + case $wrapper in
24.6203 + */* | *\\*) . ${wrapper} ;;
24.6204 + *) . ./${wrapper} ;;
24.6205 + esac
24.6206 +
24.6207 + outputname=
24.6208 + if test "$fast_install" = no && test -n "$relink_command"; then
24.6209 + if test "$finalize" = yes && test -z "$run"; then
24.6210 + tmpdir=`func_mktempdir`
24.6211 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
24.6212 + outputname="$tmpdir/$file"
24.6213 + # Replace the output file specification.
24.6214 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
24.6215 +
24.6216 + $show "$relink_command"
24.6217 + if $run eval "$relink_command"; then :
24.6218 + else
24.6219 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
24.6220 + ${rm}r "$tmpdir"
24.6221 + continue
24.6222 + fi
24.6223 + file="$outputname"
24.6224 + else
24.6225 + $echo "$modename: warning: cannot relink \`$file'" 1>&2
24.6226 + fi
24.6227 + else
24.6228 + # Install the binary that we compiled earlier.
24.6229 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
24.6230 + fi
24.6231 + fi
24.6232 +
24.6233 + # remove .exe since cygwin /usr/bin/install will append another
24.6234 + # one anyway
24.6235 + case $install_prog,$host in
24.6236 + */usr/bin/install*,*cygwin*)
24.6237 + case $file:$destfile in
24.6238 + *.exe:*.exe)
24.6239 + # this is ok
24.6240 + ;;
24.6241 + *.exe:*)
24.6242 + destfile=$destfile.exe
24.6243 + ;;
24.6244 + *:*.exe)
24.6245 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
24.6246 + ;;
24.6247 + esac
24.6248 + ;;
24.6249 + esac
24.6250 + $show "$install_prog$stripme $file $destfile"
24.6251 + $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
24.6252 + test -n "$outputname" && ${rm}r "$tmpdir"
24.6253 + ;;
24.6254 + esac
24.6255 + done
24.6256 +
24.6257 + for file in $staticlibs; do
24.6258 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
24.6259 +
24.6260 + # Set up the ranlib parameters.
24.6261 + oldlib="$destdir/$name"
24.6262 +
24.6263 + $show "$install_prog $file $oldlib"
24.6264 + $run eval "$install_prog \$file \$oldlib" || exit $?
24.6265 +
24.6266 + if test -n "$stripme" && test -n "$old_striplib"; then
24.6267 + $show "$old_striplib $oldlib"
24.6268 + $run eval "$old_striplib $oldlib" || exit $?
24.6269 + fi
24.6270 +
24.6271 + # Do each command in the postinstall commands.
24.6272 + cmds=$old_postinstall_cmds
24.6273 + save_ifs="$IFS"; IFS='~'
24.6274 + for cmd in $cmds; do
24.6275 + IFS="$save_ifs"
24.6276 + eval cmd=\"$cmd\"
24.6277 + $show "$cmd"
24.6278 + $run eval "$cmd" || exit $?
24.6279 + done
24.6280 + IFS="$save_ifs"
24.6281 + done
24.6282 +
24.6283 + if test -n "$future_libdirs"; then
24.6284 + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
24.6285 + fi
24.6286 +
24.6287 + if test -n "$current_libdirs"; then
24.6288 + # Maybe just do a dry run.
24.6289 + test -n "$run" && current_libdirs=" -n$current_libdirs"
24.6290 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
24.6291 + else
24.6292 + exit $EXIT_SUCCESS
24.6293 + fi
24.6294 + ;;
24.6295 +
24.6296 + # libtool finish mode
24.6297 + finish)
24.6298 + modename="$modename: finish"
24.6299 + libdirs="$nonopt"
24.6300 + admincmds=
24.6301 +
24.6302 + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
24.6303 + for dir
24.6304 + do
24.6305 + libdirs="$libdirs $dir"
24.6306 + done
24.6307 +
24.6308 + for libdir in $libdirs; do
24.6309 + if test -n "$finish_cmds"; then
24.6310 + # Do each command in the finish commands.
24.6311 + cmds=$finish_cmds
24.6312 + save_ifs="$IFS"; IFS='~'
24.6313 + for cmd in $cmds; do
24.6314 + IFS="$save_ifs"
24.6315 + eval cmd=\"$cmd\"
24.6316 + $show "$cmd"
24.6317 + $run eval "$cmd" || admincmds="$admincmds
24.6318 + $cmd"
24.6319 + done
24.6320 + IFS="$save_ifs"
24.6321 + fi
24.6322 + if test -n "$finish_eval"; then
24.6323 + # Do the single finish_eval.
24.6324 + eval cmds=\"$finish_eval\"
24.6325 + $run eval "$cmds" || admincmds="$admincmds
24.6326 + $cmds"
24.6327 + fi
24.6328 + done
24.6329 + fi
24.6330 +
24.6331 + # Exit here if they wanted silent mode.
24.6332 + test "$show" = : && exit $EXIT_SUCCESS
24.6333 +
24.6334 + $echo "X----------------------------------------------------------------------" | $Xsed
24.6335 + $echo "Libraries have been installed in:"
24.6336 + for libdir in $libdirs; do
24.6337 + $echo " $libdir"
24.6338 + done
24.6339 + $echo
24.6340 + $echo "If you ever happen to want to link against installed libraries"
24.6341 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
24.6342 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
24.6343 + $echo "flag during linking and do at least one of the following:"
24.6344 + if test -n "$shlibpath_var"; then
24.6345 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
24.6346 + $echo " during execution"
24.6347 + fi
24.6348 + if test -n "$runpath_var"; then
24.6349 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
24.6350 + $echo " during linking"
24.6351 + fi
24.6352 + if test -n "$hardcode_libdir_flag_spec"; then
24.6353 + libdir=LIBDIR
24.6354 + eval flag=\"$hardcode_libdir_flag_spec\"
24.6355 +
24.6356 + $echo " - use the \`$flag' linker flag"
24.6357 + fi
24.6358 + if test -n "$admincmds"; then
24.6359 + $echo " - have your system administrator run these commands:$admincmds"
24.6360 + fi
24.6361 + if test -f /etc/ld.so.conf; then
24.6362 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
24.6363 + fi
24.6364 + $echo
24.6365 + $echo "See any operating system documentation about shared libraries for"
24.6366 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
24.6367 + $echo "X----------------------------------------------------------------------" | $Xsed
24.6368 + exit $EXIT_SUCCESS
24.6369 + ;;
24.6370 +
24.6371 + # libtool execute mode
24.6372 + execute)
24.6373 + modename="$modename: execute"
24.6374 +
24.6375 + # The first argument is the command name.
24.6376 + cmd="$nonopt"
24.6377 + if test -z "$cmd"; then
24.6378 + $echo "$modename: you must specify a COMMAND" 1>&2
24.6379 + $echo "$help"
24.6380 + exit $EXIT_FAILURE
24.6381 + fi
24.6382 +
24.6383 + # Handle -dlopen flags immediately.
24.6384 + for file in $execute_dlfiles; do
24.6385 + if test ! -f "$file"; then
24.6386 + $echo "$modename: \`$file' is not a file" 1>&2
24.6387 + $echo "$help" 1>&2
24.6388 + exit $EXIT_FAILURE
24.6389 + fi
24.6390 +
24.6391 + dir=
24.6392 + case $file in
24.6393 + *.la)
24.6394 + # Check to see that this really is a libtool archive.
24.6395 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
24.6396 + else
24.6397 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
24.6398 + $echo "$help" 1>&2
24.6399 + exit $EXIT_FAILURE
24.6400 + fi
24.6401 +
24.6402 + # Read the libtool library.
24.6403 + dlname=
24.6404 + library_names=
24.6405 +
24.6406 + # If there is no directory component, then add one.
24.6407 + case $file in
24.6408 + */* | *\\*) . $file ;;
24.6409 + *) . ./$file ;;
24.6410 + esac
24.6411 +
24.6412 + # Skip this library if it cannot be dlopened.
24.6413 + if test -z "$dlname"; then
24.6414 + # Warn if it was a shared library.
24.6415 + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
24.6416 + continue
24.6417 + fi
24.6418 +
24.6419 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
24.6420 + test "X$dir" = "X$file" && dir=.
24.6421 +
24.6422 + if test -f "$dir/$objdir/$dlname"; then
24.6423 + dir="$dir/$objdir"
24.6424 + else
24.6425 + if test ! -f "$dir/$dlname"; then
24.6426 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
24.6427 + exit $EXIT_FAILURE
24.6428 + fi
24.6429 + fi
24.6430 + ;;
24.6431 +
24.6432 + *.lo)
24.6433 + # Just add the directory containing the .lo file.
24.6434 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
24.6435 + test "X$dir" = "X$file" && dir=.
24.6436 + ;;
24.6437 +
24.6438 + *)
24.6439 + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
24.6440 + continue
24.6441 + ;;
24.6442 + esac
24.6443 +
24.6444 + # Get the absolute pathname.
24.6445 + absdir=`cd "$dir" && pwd`
24.6446 + test -n "$absdir" && dir="$absdir"
24.6447 +
24.6448 + # Now add the directory to shlibpath_var.
24.6449 + if eval "test -z \"\$$shlibpath_var\""; then
24.6450 + eval "$shlibpath_var=\"\$dir\""
24.6451 + else
24.6452 + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
24.6453 + fi
24.6454 + done
24.6455 +
24.6456 + # This variable tells wrapper scripts just to set shlibpath_var
24.6457 + # rather than running their programs.
24.6458 + libtool_execute_magic="$magic"
24.6459 +
24.6460 + # Check if any of the arguments is a wrapper script.
24.6461 + args=
24.6462 + for file
24.6463 + do
24.6464 + case $file in
24.6465 + -*) ;;
24.6466 + *)
24.6467 + # Do a test to see if this is really a libtool program.
24.6468 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.6469 + # If there is no directory component, then add one.
24.6470 + case $file in
24.6471 + */* | *\\*) . $file ;;
24.6472 + *) . ./$file ;;
24.6473 + esac
24.6474 +
24.6475 + # Transform arg to wrapped name.
24.6476 + file="$progdir/$program"
24.6477 + fi
24.6478 + ;;
24.6479 + esac
24.6480 + # Quote arguments (to preserve shell metacharacters).
24.6481 + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
24.6482 + args="$args \"$file\""
24.6483 + done
24.6484 +
24.6485 + if test -z "$run"; then
24.6486 + if test -n "$shlibpath_var"; then
24.6487 + # Export the shlibpath_var.
24.6488 + eval "export $shlibpath_var"
24.6489 + fi
24.6490 +
24.6491 + # Restore saved environment variables
24.6492 + for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
24.6493 + do
24.6494 + eval "if test \"\${save_$lt_var+set}\" = set; then
24.6495 + $lt_var=\$save_$lt_var; export $lt_var
24.6496 + fi"
24.6497 + done
24.6498 +
24.6499 + # Now prepare to actually exec the command.
24.6500 + exec_cmd="\$cmd$args"
24.6501 + else
24.6502 + # Display what would be done.
24.6503 + if test -n "$shlibpath_var"; then
24.6504 + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
24.6505 + $echo "export $shlibpath_var"
24.6506 + fi
24.6507 + $echo "$cmd$args"
24.6508 + exit $EXIT_SUCCESS
24.6509 + fi
24.6510 + ;;
24.6511 +
24.6512 + # libtool clean and uninstall mode
24.6513 + clean | uninstall)
24.6514 + modename="$modename: $mode"
24.6515 + rm="$nonopt"
24.6516 + files=
24.6517 + rmforce=
24.6518 + exit_status=0
24.6519 +
24.6520 + # This variable tells wrapper scripts just to set variables rather
24.6521 + # than running their programs.
24.6522 + libtool_install_magic="$magic"
24.6523 +
24.6524 + for arg
24.6525 + do
24.6526 + case $arg in
24.6527 + -f) rm="$rm $arg"; rmforce=yes ;;
24.6528 + -*) rm="$rm $arg" ;;
24.6529 + *) files="$files $arg" ;;
24.6530 + esac
24.6531 + done
24.6532 +
24.6533 + if test -z "$rm"; then
24.6534 + $echo "$modename: you must specify an RM program" 1>&2
24.6535 + $echo "$help" 1>&2
24.6536 + exit $EXIT_FAILURE
24.6537 + fi
24.6538 +
24.6539 + rmdirs=
24.6540 +
24.6541 + origobjdir="$objdir"
24.6542 + for file in $files; do
24.6543 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
24.6544 + if test "X$dir" = "X$file"; then
24.6545 + dir=.
24.6546 + objdir="$origobjdir"
24.6547 + else
24.6548 + objdir="$dir/$origobjdir"
24.6549 + fi
24.6550 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
24.6551 + test "$mode" = uninstall && objdir="$dir"
24.6552 +
24.6553 + # Remember objdir for removal later, being careful to avoid duplicates
24.6554 + if test "$mode" = clean; then
24.6555 + case " $rmdirs " in
24.6556 + *" $objdir "*) ;;
24.6557 + *) rmdirs="$rmdirs $objdir" ;;
24.6558 + esac
24.6559 + fi
24.6560 +
24.6561 + # Don't error if the file doesn't exist and rm -f was used.
24.6562 + if (test -L "$file") >/dev/null 2>&1 \
24.6563 + || (test -h "$file") >/dev/null 2>&1 \
24.6564 + || test -f "$file"; then
24.6565 + :
24.6566 + elif test -d "$file"; then
24.6567 + exit_status=1
24.6568 + continue
24.6569 + elif test "$rmforce" = yes; then
24.6570 + continue
24.6571 + fi
24.6572 +
24.6573 + rmfiles="$file"
24.6574 +
24.6575 + case $name in
24.6576 + *.la)
24.6577 + # Possibly a libtool archive, so verify it.
24.6578 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.6579 + . $dir/$name
24.6580 +
24.6581 + # Delete the libtool libraries and symlinks.
24.6582 + for n in $library_names; do
24.6583 + rmfiles="$rmfiles $objdir/$n"
24.6584 + done
24.6585 + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
24.6586 +
24.6587 + case "$mode" in
24.6588 + clean)
24.6589 + case " $library_names " in
24.6590 + # " " in the beginning catches empty $dlname
24.6591 + *" $dlname "*) ;;
24.6592 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
24.6593 + esac
24.6594 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
24.6595 + ;;
24.6596 + uninstall)
24.6597 + if test -n "$library_names"; then
24.6598 + # Do each command in the postuninstall commands.
24.6599 + cmds=$postuninstall_cmds
24.6600 + save_ifs="$IFS"; IFS='~'
24.6601 + for cmd in $cmds; do
24.6602 + IFS="$save_ifs"
24.6603 + eval cmd=\"$cmd\"
24.6604 + $show "$cmd"
24.6605 + $run eval "$cmd"
24.6606 + if test "$?" -ne 0 && test "$rmforce" != yes; then
24.6607 + exit_status=1
24.6608 + fi
24.6609 + done
24.6610 + IFS="$save_ifs"
24.6611 + fi
24.6612 +
24.6613 + if test -n "$old_library"; then
24.6614 + # Do each command in the old_postuninstall commands.
24.6615 + cmds=$old_postuninstall_cmds
24.6616 + save_ifs="$IFS"; IFS='~'
24.6617 + for cmd in $cmds; do
24.6618 + IFS="$save_ifs"
24.6619 + eval cmd=\"$cmd\"
24.6620 + $show "$cmd"
24.6621 + $run eval "$cmd"
24.6622 + if test "$?" -ne 0 && test "$rmforce" != yes; then
24.6623 + exit_status=1
24.6624 + fi
24.6625 + done
24.6626 + IFS="$save_ifs"
24.6627 + fi
24.6628 + # FIXME: should reinstall the best remaining shared library.
24.6629 + ;;
24.6630 + esac
24.6631 + fi
24.6632 + ;;
24.6633 +
24.6634 + *.lo)
24.6635 + # Possibly a libtool object, so verify it.
24.6636 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.6637 +
24.6638 + # Read the .lo file
24.6639 + . $dir/$name
24.6640 +
24.6641 + # Add PIC object to the list of files to remove.
24.6642 + if test -n "$pic_object" \
24.6643 + && test "$pic_object" != none; then
24.6644 + rmfiles="$rmfiles $dir/$pic_object"
24.6645 + fi
24.6646 +
24.6647 + # Add non-PIC object to the list of files to remove.
24.6648 + if test -n "$non_pic_object" \
24.6649 + && test "$non_pic_object" != none; then
24.6650 + rmfiles="$rmfiles $dir/$non_pic_object"
24.6651 + fi
24.6652 + fi
24.6653 + ;;
24.6654 +
24.6655 + *)
24.6656 + if test "$mode" = clean ; then
24.6657 + noexename=$name
24.6658 + case $file in
24.6659 + *.exe)
24.6660 + file=`$echo $file|${SED} 's,.exe$,,'`
24.6661 + noexename=`$echo $name|${SED} 's,.exe$,,'`
24.6662 + # $file with .exe has already been added to rmfiles,
24.6663 + # add $file without .exe
24.6664 + rmfiles="$rmfiles $file"
24.6665 + ;;
24.6666 + esac
24.6667 + # Do a test to see if this is a libtool program.
24.6668 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
24.6669 + relink_command=
24.6670 + . $dir/$noexename
24.6671 +
24.6672 + # note $name still contains .exe if it was in $file originally
24.6673 + # as does the version of $file that was added into $rmfiles
24.6674 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
24.6675 + if test "$fast_install" = yes && test -n "$relink_command"; then
24.6676 + rmfiles="$rmfiles $objdir/lt-$name"
24.6677 + fi
24.6678 + if test "X$noexename" != "X$name" ; then
24.6679 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
24.6680 + fi
24.6681 + fi
24.6682 + fi
24.6683 + ;;
24.6684 + esac
24.6685 + $show "$rm $rmfiles"
24.6686 + $run $rm $rmfiles || exit_status=1
24.6687 + done
24.6688 + objdir="$origobjdir"
24.6689 +
24.6690 + # Try to remove the ${objdir}s in the directories where we deleted files
24.6691 + for dir in $rmdirs; do
24.6692 + if test -d "$dir"; then
24.6693 + $show "rmdir $dir"
24.6694 + $run rmdir $dir >/dev/null 2>&1
24.6695 + fi
24.6696 + done
24.6697 +
24.6698 + exit $exit_status
24.6699 + ;;
24.6700 +
24.6701 + "")
24.6702 + $echo "$modename: you must specify a MODE" 1>&2
24.6703 + $echo "$generic_help" 1>&2
24.6704 + exit $EXIT_FAILURE
24.6705 + ;;
24.6706 + esac
24.6707 +
24.6708 + if test -z "$exec_cmd"; then
24.6709 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
24.6710 + $echo "$generic_help" 1>&2
24.6711 + exit $EXIT_FAILURE
24.6712 + fi
24.6713 +fi # test -z "$show_help"
24.6714 +
24.6715 +if test -n "$exec_cmd"; then
24.6716 + eval exec $exec_cmd
24.6717 + exit $EXIT_FAILURE
24.6718 +fi
24.6719 +
24.6720 +# We need to display help for each of the modes.
24.6721 +case $mode in
24.6722 +"") $echo \
24.6723 +"Usage: $modename [OPTION]... [MODE-ARG]...
24.6724 +
24.6725 +Provide generalized library-building support services.
24.6726 +
24.6727 + --config show all configuration variables
24.6728 + --debug enable verbose shell tracing
24.6729 +-n, --dry-run display commands without modifying any files
24.6730 + --features display basic configuration information and exit
24.6731 + --finish same as \`--mode=finish'
24.6732 + --help display this help message and exit
24.6733 + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
24.6734 + --quiet same as \`--silent'
24.6735 + --silent don't print informational messages
24.6736 + --tag=TAG use configuration variables from tag TAG
24.6737 + --version print version information
24.6738 +
24.6739 +MODE must be one of the following:
24.6740 +
24.6741 + clean remove files from the build directory
24.6742 + compile compile a source file into a libtool object
24.6743 + execute automatically set library path, then run a program
24.6744 + finish complete the installation of libtool libraries
24.6745 + install install libraries or executables
24.6746 + link create a library or an executable
24.6747 + uninstall remove libraries from an installed directory
24.6748 +
24.6749 +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
24.6750 +a more detailed description of MODE.
24.6751 +
24.6752 +Report bugs to <bug-libtool@gnu.org>."
24.6753 + exit $EXIT_SUCCESS
24.6754 + ;;
24.6755 +
24.6756 +clean)
24.6757 + $echo \
24.6758 +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
24.6759 +
24.6760 +Remove files from the build directory.
24.6761 +
24.6762 +RM is the name of the program to use to delete files associated with each FILE
24.6763 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
24.6764 +to RM.
24.6765 +
24.6766 +If FILE is a libtool library, object or program, all the files associated
24.6767 +with it are deleted. Otherwise, only FILE itself is deleted using RM."
24.6768 + ;;
24.6769 +
24.6770 +compile)
24.6771 + $echo \
24.6772 +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
24.6773 +
24.6774 +Compile a source file into a libtool library object.
24.6775 +
24.6776 +This mode accepts the following additional options:
24.6777 +
24.6778 + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
24.6779 + -prefer-pic try to building PIC objects only
24.6780 + -prefer-non-pic try to building non-PIC objects only
24.6781 + -static always build a \`.o' file suitable for static linking
24.6782 +
24.6783 +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
24.6784 +from the given SOURCEFILE.
24.6785 +
24.6786 +The output file name is determined by removing the directory component from
24.6787 +SOURCEFILE, then substituting the C source code suffix \`.c' with the
24.6788 +library object suffix, \`.lo'."
24.6789 + ;;
24.6790 +
24.6791 +execute)
24.6792 + $echo \
24.6793 +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
24.6794 +
24.6795 +Automatically set library path, then run a program.
24.6796 +
24.6797 +This mode accepts the following additional options:
24.6798 +
24.6799 + -dlopen FILE add the directory containing FILE to the library path
24.6800 +
24.6801 +This mode sets the library path environment variable according to \`-dlopen'
24.6802 +flags.
24.6803 +
24.6804 +If any of the ARGS are libtool executable wrappers, then they are translated
24.6805 +into their corresponding uninstalled binary, and any of their required library
24.6806 +directories are added to the library path.
24.6807 +
24.6808 +Then, COMMAND is executed, with ARGS as arguments."
24.6809 + ;;
24.6810 +
24.6811 +finish)
24.6812 + $echo \
24.6813 +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
24.6814 +
24.6815 +Complete the installation of libtool libraries.
24.6816 +
24.6817 +Each LIBDIR is a directory that contains libtool libraries.
24.6818 +
24.6819 +The commands that this mode executes may require superuser privileges. Use
24.6820 +the \`--dry-run' option if you just want to see what would be executed."
24.6821 + ;;
24.6822 +
24.6823 +install)
24.6824 + $echo \
24.6825 +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
24.6826 +
24.6827 +Install executables or libraries.
24.6828 +
24.6829 +INSTALL-COMMAND is the installation command. The first component should be
24.6830 +either the \`install' or \`cp' program.
24.6831 +
24.6832 +The rest of the components are interpreted as arguments to that command (only
24.6833 +BSD-compatible install options are recognized)."
24.6834 + ;;
24.6835 +
24.6836 +link)
24.6837 + $echo \
24.6838 +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
24.6839 +
24.6840 +Link object files or libraries together to form another library, or to
24.6841 +create an executable program.
24.6842 +
24.6843 +LINK-COMMAND is a command using the C compiler that you would use to create
24.6844 +a program from several object files.
24.6845 +
24.6846 +The following components of LINK-COMMAND are treated specially:
24.6847 +
24.6848 + -all-static do not do any dynamic linking at all
24.6849 + -avoid-version do not add a version suffix if possible
24.6850 + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
24.6851 + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
24.6852 + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
24.6853 + -export-symbols SYMFILE
24.6854 + try to export only the symbols listed in SYMFILE
24.6855 + -export-symbols-regex REGEX
24.6856 + try to export only the symbols matching REGEX
24.6857 + -LLIBDIR search LIBDIR for required installed libraries
24.6858 + -lNAME OUTPUT-FILE requires the installed library libNAME
24.6859 + -module build a library that can dlopened
24.6860 + -no-fast-install disable the fast-install mode
24.6861 + -no-install link a not-installable executable
24.6862 + -no-undefined declare that a library does not refer to external symbols
24.6863 + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
24.6864 + -objectlist FILE Use a list of object files found in FILE to specify objects
24.6865 + -precious-files-regex REGEX
24.6866 + don't remove output files matching REGEX
24.6867 + -release RELEASE specify package release information
24.6868 + -rpath LIBDIR the created library will eventually be installed in LIBDIR
24.6869 + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
24.6870 + -static do not do any dynamic linking of uninstalled libtool libraries
24.6871 + -static-libtool-libs
24.6872 + do not do any dynamic linking of libtool libraries
24.6873 + -version-info CURRENT[:REVISION[:AGE]]
24.6874 + specify library version info [each variable defaults to 0]
24.6875 +
24.6876 +All other options (arguments beginning with \`-') are ignored.
24.6877 +
24.6878 +Every other argument is treated as a filename. Files ending in \`.la' are
24.6879 +treated as uninstalled libtool libraries, other files are standard or library
24.6880 +object files.
24.6881 +
24.6882 +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
24.6883 +only library objects (\`.lo' files) may be specified, and \`-rpath' is
24.6884 +required, except when creating a convenience library.
24.6885 +
24.6886 +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
24.6887 +using \`ar' and \`ranlib', or on Windows using \`lib'.
24.6888 +
24.6889 +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
24.6890 +is created, otherwise an executable program is created."
24.6891 + ;;
24.6892 +
24.6893 +uninstall)
24.6894 + $echo \
24.6895 +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
24.6896 +
24.6897 +Remove libraries from an installation directory.
24.6898 +
24.6899 +RM is the name of the program to use to delete files associated with each FILE
24.6900 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
24.6901 +to RM.
24.6902 +
24.6903 +If FILE is a libtool library, all the files associated with it are deleted.
24.6904 +Otherwise, only FILE itself is deleted using RM."
24.6905 + ;;
24.6906 +
24.6907 +*)
24.6908 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
24.6909 + $echo "$help" 1>&2
24.6910 + exit $EXIT_FAILURE
24.6911 + ;;
24.6912 +esac
24.6913 +
24.6914 +$echo
24.6915 +$echo "Try \`$modename --help' for more information about other modes."
24.6916 +
24.6917 +exit $?
24.6918 +
24.6919 +# The TAGs below are defined such that we never get into a situation
24.6920 +# in which we disable both kinds of libraries. Given conflicting
24.6921 +# choices, we go for a static library, that is the most portable,
24.6922 +# since we can't tell whether shared libraries were disabled because
24.6923 +# the user asked for that or because the platform doesn't support
24.6924 +# them. This is particularly important on AIX, because we don't
24.6925 +# support having both static and shared libraries enabled at the same
24.6926 +# time on that platform, so we default to a shared-only configuration.
24.6927 +# If a disable-shared tag is given, we'll fallback to a static-only
24.6928 +# configuration. But we'll never go from static-only to shared-only.
24.6929 +
24.6930 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
24.6931 +disable_libs=shared
24.6932 +# ### END LIBTOOL TAG CONFIG: disable-shared
24.6933 +
24.6934 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
24.6935 +disable_libs=static
24.6936 +# ### END LIBTOOL TAG CONFIG: disable-static
24.6937 +
24.6938 +# Local Variables:
24.6939 +# mode:shell-script
24.6940 +# sh-indentation:2
24.6941 +# End:
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
25.2 +++ b/gst-gpac/m4/as-compiler-flag.m4 Thu Feb 21 17:44:16 2008 +0000
25.3 @@ -0,0 +1,32 @@
25.4 +dnl as-compiler-flag.m4 0.1.0
25.5 +
25.6 +dnl autostars m4 macro for detection of compiler flags
25.7 +
25.8 +dnl David Schleef <ds@schleef.org>
25.9 +
25.10 +dnl $Id: as-compiler-flag.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
25.11 +
25.12 +dnl AS_COMPILER_FLAG(CFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
25.13 +dnl Tries to compile with the given CFLAGS.
25.14 +dnl Runs ACTION-IF-ACCEPTED if the compiler can compile with the flags,
25.15 +dnl and ACTION-IF-NOT-ACCEPTED otherwise.
25.16 +
25.17 +AC_DEFUN([AS_COMPILER_FLAG],
25.18 +[
25.19 + AC_MSG_CHECKING([to see if compiler understands $1])
25.20 +
25.21 + save_CFLAGS="$CFLAGS"
25.22 + CFLAGS="$CFLAGS $1"
25.23 +
25.24 + AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
25.25 + CFLAGS="$save_CFLAGS"
25.26 +
25.27 + if test "X$flag_ok" = Xyes ; then
25.28 + $2
25.29 + true
25.30 + else
25.31 + $3
25.32 + true
25.33 + fi
25.34 + AC_MSG_RESULT([$flag_ok])
25.35 +])
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
26.2 +++ b/gst-gpac/m4/as-version.m4 Thu Feb 21 17:44:16 2008 +0000
26.3 @@ -0,0 +1,67 @@
26.4 +dnl as-version.m4 0.1.0
26.5 +
26.6 +dnl autostars m4 macro for versioning
26.7 +
26.8 +dnl Thomas Vander Stichele <thomas at apestaart dot org>
26.9 +
26.10 +dnl $Id: as-version.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
26.11 +
26.12 +dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO,
26.13 +dnl ACTION-IF-NO-NANO, [ACTION-IF-NANO])
26.14 +
26.15 +dnl example
26.16 +dnl AS_VERSION(gstreamer, GST_VERSION, 0, 3, 2,)
26.17 +dnl for a 0.3.2 release version
26.18 +
26.19 +dnl this macro
26.20 +dnl - defines [$PREFIX]_MAJOR, MINOR and MICRO
26.21 +dnl - if NANO is empty, then we're in release mode, else in cvs/dev mode
26.22 +dnl - defines [$PREFIX], VERSION, and [$PREFIX]_RELEASE
26.23 +dnl - executes the relevant action
26.24 +dnl - AC_SUBST's PACKAGE, VERSION, [$PREFIX] and [$PREFIX]_RELEASE
26.25 +dnl as well as the little ones
26.26 +dnl - doesn't call AM_INIT_AUTOMAKE anymore because it prevents
26.27 +dnl maintainer mode from running ok
26.28 +dnl
26.29 +dnl don't forget to put #undef [$2] and [$2]_RELEASE in acconfig.h
26.30 +dnl if you use acconfig.h
26.31 +
26.32 +AC_DEFUN([AS_VERSION],
26.33 +[
26.34 + PACKAGE=[$1]
26.35 + [$2]_MAJOR=[$3]
26.36 + [$2]_MINOR=[$4]
26.37 + [$2]_MICRO=[$5]
26.38 + NANO=[$6]
26.39 + [$2]_NANO=$NANO
26.40 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
26.41 + then
26.42 + AC_MSG_NOTICE(configuring [$1] for release)
26.43 + VERSION=[$3].[$4].[$5]
26.44 + [$2]_RELEASE=1
26.45 + dnl execute action
26.46 + ifelse([$7], , :, [$7])
26.47 + else
26.48 + AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
26.49 + VERSION=[$3].[$4].[$5].$NANO
26.50 + [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
26.51 + dnl execute action
26.52 + ifelse([$8], , :, [$8])
26.53 + fi
26.54 +
26.55 + [$2]=$VERSION
26.56 + AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version])
26.57 + AC_SUBST([$2])
26.58 + AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version])
26.59 + AC_SUBST([$2]_RELEASE)
26.60 +
26.61 + AC_SUBST([$2]_MAJOR)
26.62 + AC_SUBST([$2]_MINOR)
26.63 + AC_SUBST([$2]_MICRO)
26.64 + AC_SUBST([$2]_NANO)
26.65 + AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name])
26.66 + AC_SUBST(PACKAGE)
26.67 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version])
26.68 + AC_SUBST(VERSION)
26.69 +])
26.70 +
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
27.2 +++ b/gst-gpac/m4/gst-feature.m4 Thu Feb 21 17:44:16 2008 +0000
27.3 @@ -0,0 +1,211 @@
27.4 +dnl Perform a check for a feature for GStreamer
27.5 +dnl Richard Boulton <richard-alsa@tartarus.org>
27.6 +dnl Thomas Vander Stichele <thomas@apestaart.org> added useful stuff
27.7 +dnl Last modification: 25/06/2001
27.8 +dnl GST_CHECK_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION,
27.9 +dnl DEPENDENT-PLUGINS, TEST-FOR-FEATURE,
27.10 +dnl DISABLE-BY-DEFAULT, ACTION-IF-USE, ACTION-IF-NOTUSE)
27.11 +dnl
27.12 +dnl This macro adds a command line argument to enable the user to enable
27.13 +dnl or disable a feature, and if the feature is enabled, performs a supplied
27.14 +dnl test to check if the feature is available.
27.15 +dnl
27.16 +dnl The test should define HAVE_<FEATURE-NAME> to "yes" or "no" depending
27.17 +dnl on whether the feature is available.
27.18 +dnl
27.19 +dnl The macro will set USE_<FEATURE-NAME> to "yes" or "no" depending on
27.20 +dnl whether the feature is to be used.
27.21 +dnl Thomas changed this, so that when USE_<FEATURE-NAME> was already set
27.22 +dnl to no, then it stays that way.
27.23 +dnl
27.24 +dnl The macro will call AM_CONDITIONAL(USE_<<FEATURE-NAME>, ...) to allow
27.25 +dnl the feature to control what is built in Makefile.ams. If you want
27.26 +dnl additional actions resulting from the test, you can add them with the
27.27 +dnl ACTION-IF-USE and ACTION-IF-NOTUSE parameters.
27.28 +dnl
27.29 +dnl FEATURE-NAME is the name of the feature, and should be in
27.30 +dnl purely upper case characters.
27.31 +dnl FEATURE-DESCRIPTION is used to describe the feature in help text for
27.32 +dnl the command line argument.
27.33 +dnl DEPENDENT-PLUGINS lists any plugins which depend on this feature.
27.34 +dnl TEST-FOR-FEATURE is a test which sets HAVE_<FEATURE-NAME> to "yes"
27.35 +dnl or "no" depending on whether the feature is
27.36 +dnl available.
27.37 +dnl DISABLE-BY-DEFAULT if "disabled", the feature is disabled by default,
27.38 +dnl if any other value, the feature is enabled by default.
27.39 +dnl ACTION-IF-USE any extra actions to perform if the feature is to be
27.40 +dnl used.
27.41 +dnl ACTION-IF-NOTUSE any extra actions to perform if the feature is not to
27.42 +dnl be used.
27.43 +dnl
27.44 +dnl
27.45 +dnl thomas :
27.46 +dnl we also added a history.
27.47 +dnl GST_PLUGINS_YES will contain all plugins to be built
27.48 +dnl that were checked through GST_CHECK_FEATURE
27.49 +dnl GST_PLUGINS_NO will contain those that won't be built
27.50 +
27.51 +AC_DEFUN([GST_CHECK_FEATURE],
27.52 +AC_MSG_NOTICE(***)
27.53 +AC_MSG_NOTICE(*** checking plugin: [$3] ***)
27.54 +AC_MSG_NOTICE(***)
27.55 +[dnl
27.56 +builtin(define, [gst_endisable], ifelse($5, [disabled], [enable], [disable]))dnl
27.57 +dnl if it is set to NO, then don't even consider it for building
27.58 +NOUSE=
27.59 +if test "x$USE_[$1]" = "xno"; then
27.60 + NOUSE="yes"
27.61 +fi
27.62 +AC_ARG_ENABLE(translit([$1], A-Z, a-z),
27.63 + [ ]builtin(format, --%-26s gst_endisable %s, gst_endisable-translit([$1], A-Z, a-z), [$2]ifelse([$3],,,: [$3])),
27.64 + [ case "${enableval}" in
27.65 + yes) USE_[$1]=yes;;
27.66 + no) USE_[$1]=no;;
27.67 + *) AC_MSG_ERROR(bad value ${enableval} for --enable-translit([$1], A-Z, a-z)) ;;
27.68 + esac],
27.69 + [ USE_$1=]ifelse($5, [disabled], [no], [yes])) dnl DEFAULT
27.70 +
27.71 +dnl *** set it back to no if it was preset to no
27.72 +if test "x$NOUSE" = "xyes"; then
27.73 + USE_[$1]="no"
27.74 + AC_MSG_WARN(*** $3 pre-configured not to be built)
27.75 +fi
27.76 +NOUSE=
27.77 +
27.78 +dnl *** If it's enabled
27.79 +
27.80 +if test x$USE_[$1] = xyes; then
27.81 + dnl save compile variables before the test
27.82 +
27.83 + gst_check_save_LIBS=$LIBS
27.84 + gst_check_save_LDFLAGS=$LDFLAGS
27.85 + gst_check_save_CFLAGS=$CFLAGS
27.86 + gst_check_save_CPPFLAGS=$CPPFLAGS
27.87 + gst_check_save_CXXFLAGS=$CXXFLAGS
27.88 +
27.89 + HAVE_[$1]=no
27.90 + dnl TEST_FOR_FEATURE
27.91 + $4
27.92 +
27.93 + LIBS=$gst_check_save_LIBS
27.94 + LDFLAGS=$gst_check_save_LDFLAGS
27.95 + CFLAGS=$gst_check_save_CFLAGS
27.96 + CPPFLAGS=$gst_check_save_CPPFLAGS
27.97 + CXXFLAGS=$gst_check_save_CXXFLAGS
27.98 +
27.99 + dnl If it isn't found, unset USE_[$1]
27.100 + if test x$HAVE_[$1] = xno; then
27.101 + USE_[$1]=no
27.102 + fi
27.103 +fi
27.104 +dnl *** Warn if it's disabled or not found
27.105 +if test x$USE_[$1] = xyes; then
27.106 + ifelse([$6], , :, [$6])
27.107 + if test "x$3" != "x"; then
27.108 + GST_PLUGINS_YES="\t[$3]\n$GST_PLUGINS_YES"
27.109 + fi
27.110 + AC_DEFINE(HAVE_[$1], , [support for features: $3])
27.111 +else
27.112 + ifelse([$3], , :, [AC_MSG_NOTICE(*** These plugins will not be built: [$3])])
27.113 + if test "x$3" != "x"; then
27.114 + GST_PLUGINS_NO="\t[$3]\n$GST_PLUGINS_NO"
27.115 + fi
27.116 + ifelse([$7], , :, [$7])
27.117 +fi
27.118 +dnl *** Define the conditional as appropriate
27.119 +AM_CONDITIONAL(USE_[$1], test x$USE_[$1] = xyes)
27.120 +])
27.121 +
27.122 +dnl Use a -config program which accepts --cflags and --libs parameters
27.123 +dnl to set *_CFLAGS and *_LIBS and check existence of a feature.
27.124 +dnl Richard Boulton <richard-alsa@tartarus.org>
27.125 +dnl Last modification: 26/06/2001
27.126 +dnl GST_CHECK_CONFIGPROG(FEATURE-NAME, CONFIG-PROG-FILENAME, MODULES)
27.127 +dnl
27.128 +dnl This check was written for GStreamer: it should be renamed and checked
27.129 +dnl for portability if you decide to use it elsewhere.
27.130 +dnl
27.131 +AC_DEFUN([GST_CHECK_CONFIGPROG],
27.132 +[
27.133 + AC_PATH_PROG([$1]_CONFIG, [$2], no)
27.134 + if test x$[$1]_CONFIG = xno; then
27.135 + [$1]_LIBS=
27.136 + [$1]_CFLAGS=
27.137 + HAVE_[$1]=no
27.138 + else
27.139 + if [$2] --plugin-libs [$3] &> /dev/null; then
27.140 + [$1]_LIBS=`[$2] --plugin-libs [$3]`
27.141 + else
27.142 + [$1]_LIBS=`[$2] --libs [$3]`
27.143 + fi
27.144 + [$1]_CFLAGS=`[$2] --cflags [$3]`
27.145 + HAVE_[$1]=yes
27.146 + fi
27.147 + AC_SUBST([$1]_LIBS)
27.148 + AC_SUBST([$1]_CFLAGS)
27.149 +])
27.150 +
27.151 +dnl Use AC_CHECK_LIB and AC_CHECK_HEADER to do both tests at once
27.152 +dnl sets HAVE_module if we have it
27.153 +dnl Richard Boulton <richard-alsa@tartarus.org>
27.154 +dnl Last modification: 26/06/2001
27.155 +dnl GST_CHECK_LIBHEADER(FEATURE-NAME, LIB NAME, LIB FUNCTION, EXTRA LD FLAGS,
27.156 +dnl HEADER NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
27.157 +dnl
27.158 +dnl This check was written for GStreamer: it should be renamed and checked
27.159 +dnl for portability if you decide to use it elsewhere.
27.160 +dnl
27.161 +AC_DEFUN([GST_CHECK_LIBHEADER],
27.162 +[
27.163 + AC_CHECK_LIB([$2], [$3], HAVE_[$1]=yes, HAVE_[$1]=no,[$4])
27.164 + if test "x$HAVE_[$1]" = "xyes"; then
27.165 + AC_CHECK_HEADER([$5], :, HAVE_[$1]=no)
27.166 + if test "x$HAVE_[$1]" = "xyes"; then
27.167 + dnl execute what needs to be
27.168 + ifelse([$6], , :, [$6])
27.169 + else
27.170 + ifelse([$7], , :, [$7])
27.171 + fi
27.172 + else
27.173 + ifelse([$7], , :, [$7])
27.174 + fi
27.175 + AC_SUBST(HAVE_[$1])
27.176 +]
27.177 +)
27.178 +
27.179 +dnl 2004-02-14 Thomas - changed to get set properly and use proper output
27.180 +dnl 2003-06-27 Benjamin Otte - changed to make this work with gstconfig.h
27.181 +dnl
27.182 +dnl Add a subsystem --disable flag and all the necessary symbols and substitions
27.183 +dnl
27.184 +dnl GST_CHECK_SUBSYSTEM_DISABLE(SYSNAME, [subsystem name])
27.185 +dnl
27.186 +AC_DEFUN([GST_CHECK_SUBSYSTEM_DISABLE],
27.187 +[
27.188 + dnl this define will replace each literal subsys_def occurrence with
27.189 + dnl the lowercase hyphen-separated subsystem
27.190 + dnl e.g. if $1 is GST_DEBUG then subsys_def will be a macro with gst-debug
27.191 + define([subsys_def],translit([$1], _A-Z, -a-z))
27.192 +
27.193 + AC_ARG_ENABLE(subsys_def,
27.194 + AC_HELP_STRING(--disable-subsys_def, [disable $2]),
27.195 + [
27.196 + case "${enableval}" in
27.197 + yes) GST_DISABLE_[$1]=no ;;
27.198 + no) GST_DISABLE_[$1]=yes ;;
27.199 + *) AC_MSG_ERROR([bad value ${enableval} for --enable-subsys_def]) ;;
27.200 + esac
27.201 + ],
27.202 + [GST_DISABLE_[$1]=no]) dnl Default value
27.203 +
27.204 + if test x$GST_DISABLE_[$1] = xyes; then
27.205 + AC_MSG_NOTICE([disabled subsystem [$2]])
27.206 + GST_DISABLE_[$1]_DEFINE="#define GST_DISABLE_$1 1"
27.207 + else
27.208 + GST_DISABLE_[$1]_DEFINE="/* #undef GST_DISABLE_$1 */"
27.209 + fi
27.210 + AC_SUBST(GST_DISABLE_[$1]_DEFINE)
27.211 + undefine([subsys_def])
27.212 +])
27.213 +
27.214 +
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
28.2 +++ b/gst-gpac/m4/libtool.m4 Thu Feb 21 17:44:16 2008 +0000
28.3 @@ -0,0 +1,5951 @@
28.4 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
28.5 +## Copyright 1996, 1997, 1998, 1999, 2000, 2001
28.6 +## Free Software Foundation, Inc.
28.7 +## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
28.8 +##
28.9 +## This program is free software; you can redistribute it and/or modify
28.10 +## it under the terms of the GNU General Public License as published by
28.11 +## the Free Software Foundation; either version 2 of the License, or
28.12 +## (at your option) any later version.
28.13 +##
28.14 +## This program is distributed in the hope that it will be useful, but
28.15 +## WITHOUT ANY WARRANTY; without even the implied warranty of
28.16 +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28.17 +## General Public License for more details.
28.18 +##
28.19 +## You should have received a copy of the GNU General Public License
28.20 +## along with this program; if not, write to the Free Software
28.21 +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28.22 +##
28.23 +## As a special exception to the GNU General Public License, if you
28.24 +## distribute this file as part of a program that contains a
28.25 +## configuration script generated by Autoconf, you may include it under
28.26 +## the same distribution terms that you use for the rest of that program.
28.27 +
28.28 +# serial 47 AC_PROG_LIBTOOL
28.29 +# Debian $Rev: 214 $
28.30 +
28.31 +
28.32 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
28.33 +# -----------------------------------------------------------
28.34 +# If this macro is not defined by Autoconf, define it here.
28.35 +m4_ifdef([AC_PROVIDE_IFELSE],
28.36 + [],
28.37 + [m4_define([AC_PROVIDE_IFELSE],
28.38 + [m4_ifdef([AC_PROVIDE_$1],
28.39 + [$2], [$3])])])
28.40 +
28.41 +
28.42 +# AC_PROG_LIBTOOL
28.43 +# ---------------
28.44 +AC_DEFUN([AC_PROG_LIBTOOL],
28.45 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
28.46 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
28.47 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
28.48 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
28.49 + [AC_LIBTOOL_CXX],
28.50 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
28.51 + ])])
28.52 +dnl And a similar setup for Fortran 77 support
28.53 + AC_PROVIDE_IFELSE([AC_PROG_F77],
28.54 + [AC_LIBTOOL_F77],
28.55 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
28.56 +])])
28.57 +
28.58 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
28.59 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
28.60 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
28.61 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
28.62 + [AC_LIBTOOL_GCJ],
28.63 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
28.64 + [AC_LIBTOOL_GCJ],
28.65 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
28.66 + [AC_LIBTOOL_GCJ],
28.67 + [ifdef([AC_PROG_GCJ],
28.68 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
28.69 + ifdef([A][M_PROG_GCJ],
28.70 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
28.71 + ifdef([LT_AC_PROG_GCJ],
28.72 + [define([LT_AC_PROG_GCJ],
28.73 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
28.74 +])])# AC_PROG_LIBTOOL
28.75 +
28.76 +
28.77 +# _AC_PROG_LIBTOOL
28.78 +# ----------------
28.79 +AC_DEFUN([_AC_PROG_LIBTOOL],
28.80 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
28.81 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
28.82 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
28.83 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
28.84 +
28.85 +# This can be used to rebuild libtool when needed
28.86 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
28.87 +
28.88 +# Always use our own libtool.
28.89 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
28.90 +AC_SUBST(LIBTOOL)dnl
28.91 +
28.92 +# Prevent multiple expansion
28.93 +define([AC_PROG_LIBTOOL], [])
28.94 +])# _AC_PROG_LIBTOOL
28.95 +
28.96 +
28.97 +# AC_LIBTOOL_SETUP
28.98 +# ----------------
28.99 +AC_DEFUN([AC_LIBTOOL_SETUP],
28.100 +[AC_PREREQ(2.50)dnl
28.101 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
28.102 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
28.103 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
28.104 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
28.105 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
28.106 +AC_REQUIRE([AC_PROG_CC])dnl
28.107 +AC_REQUIRE([AC_PROG_LD])dnl
28.108 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
28.109 +AC_REQUIRE([AC_PROG_NM])dnl
28.110 +
28.111 +AC_REQUIRE([AC_PROG_LN_S])dnl
28.112 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
28.113 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
28.114 +AC_REQUIRE([AC_OBJEXT])dnl
28.115 +AC_REQUIRE([AC_EXEEXT])dnl
28.116 +dnl
28.117 +
28.118 +AC_LIBTOOL_SYS_MAX_CMD_LEN
28.119 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
28.120 +AC_LIBTOOL_OBJDIR
28.121 +
28.122 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
28.123 +_LT_AC_PROG_ECHO_BACKSLASH
28.124 +
28.125 +case $host_os in
28.126 +aix3*)
28.127 + # AIX sometimes has problems with the GCC collect2 program. For some
28.128 + # reason, if we set the COLLECT_NAMES environment variable, the problems
28.129 + # vanish in a puff of smoke.
28.130 + if test "X${COLLECT_NAMES+set}" != Xset; then
28.131 + COLLECT_NAMES=
28.132 + export COLLECT_NAMES
28.133 + fi
28.134 + ;;
28.135 +esac
28.136 +
28.137 +# Sed substitution that helps us do robust quoting. It backslashifies
28.138 +# metacharacters that are still active within double-quoted strings.
28.139 +Xsed='sed -e s/^X//'
28.140 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
28.141 +
28.142 +# Same as above, but do not quote variable references.
28.143 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
28.144 +
28.145 +# Sed substitution to delay expansion of an escaped shell variable in a
28.146 +# double_quote_subst'ed string.
28.147 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
28.148 +
28.149 +# Sed substitution to avoid accidental globbing in evaled expressions
28.150 +no_glob_subst='s/\*/\\\*/g'
28.151 +
28.152 +# Constants:
28.153 +rm="rm -f"
28.154 +
28.155 +# Global variables:
28.156 +default_ofile=libtool
28.157 +can_build_shared=yes
28.158 +
28.159 +# All known linkers require a `.a' archive for static linking (except M$VC,
28.160 +# which needs '.lib').
28.161 +libext=a
28.162 +ltmain="$ac_aux_dir/ltmain.sh"
28.163 +ofile="$default_ofile"
28.164 +with_gnu_ld="$lt_cv_prog_gnu_ld"
28.165 +
28.166 +AC_CHECK_TOOL(AR, ar, false)
28.167 +AC_CHECK_TOOL(RANLIB, ranlib, :)
28.168 +AC_CHECK_TOOL(STRIP, strip, :)
28.169 +
28.170 +old_CC="$CC"
28.171 +old_CFLAGS="$CFLAGS"
28.172 +
28.173 +# Set sane defaults for various variables
28.174 +test -z "$AR" && AR=ar
28.175 +test -z "$AR_FLAGS" && AR_FLAGS=cru
28.176 +test -z "$AS" && AS=as
28.177 +test -z "$CC" && CC=cc
28.178 +test -z "$LTCC" && LTCC=$CC
28.179 +test -z "$DLLTOOL" && DLLTOOL=dlltool
28.180 +test -z "$LD" && LD=ld
28.181 +test -z "$LN_S" && LN_S="ln -s"
28.182 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
28.183 +test -z "$NM" && NM=nm
28.184 +test -z "$SED" && SED=sed
28.185 +test -z "$OBJDUMP" && OBJDUMP=objdump
28.186 +test -z "$RANLIB" && RANLIB=:
28.187 +test -z "$STRIP" && STRIP=:
28.188 +test -z "$ac_objext" && ac_objext=o
28.189 +
28.190 +# Determine commands to create old-style static archives.
28.191 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
28.192 +old_postinstall_cmds='chmod 644 $oldlib'
28.193 +old_postuninstall_cmds=
28.194 +
28.195 +if test -n "$RANLIB"; then
28.196 + case $host_os in
28.197 + openbsd*)
28.198 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
28.199 + ;;
28.200 + *)
28.201 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
28.202 + ;;
28.203 + esac
28.204 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
28.205 +fi
28.206 +
28.207 +# Only perform the check for file, if the check method requires it
28.208 +case $deplibs_check_method in
28.209 +file_magic*)
28.210 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
28.211 + AC_PATH_MAGIC
28.212 + fi
28.213 + ;;
28.214 +esac
28.215 +
28.216 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
28.217 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
28.218 +enable_win32_dll=yes, enable_win32_dll=no)
28.219 +
28.220 +AC_ARG_ENABLE([libtool-lock],
28.221 + [AC_HELP_STRING([--disable-libtool-lock],
28.222 + [avoid locking (might break parallel builds)])])
28.223 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
28.224 +
28.225 +AC_ARG_WITH([pic],
28.226 + [AC_HELP_STRING([--with-pic],
28.227 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
28.228 + [pic_mode="$withval"],
28.229 + [pic_mode=default])
28.230 +test -z "$pic_mode" && pic_mode=default
28.231 +
28.232 +# Use C for the default configuration in the libtool script
28.233 +tagname=
28.234 +AC_LIBTOOL_LANG_C_CONFIG
28.235 +_LT_AC_TAGCONFIG
28.236 +])# AC_LIBTOOL_SETUP
28.237 +
28.238 +
28.239 +# _LT_AC_SYS_COMPILER
28.240 +# -------------------
28.241 +AC_DEFUN([_LT_AC_SYS_COMPILER],
28.242 +[AC_REQUIRE([AC_PROG_CC])dnl
28.243 +
28.244 +# If no C compiler was specified, use CC.
28.245 +LTCC=${LTCC-"$CC"}
28.246 +
28.247 +# Allow CC to be a program name with arguments.
28.248 +compiler=$CC
28.249 +])# _LT_AC_SYS_COMPILER
28.250 +
28.251 +
28.252 +# _LT_AC_SYS_LIBPATH_AIX
28.253 +# ----------------------
28.254 +# Links a minimal program and checks the executable
28.255 +# for the system default hardcoded library path. In most cases,
28.256 +# this is /usr/lib:/lib, but when the MPI compilers are used
28.257 +# the location of the communication and MPI libs are included too.
28.258 +# If we don't find anything, use the default library path according
28.259 +# to the aix ld manual.
28.260 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
28.261 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
28.262 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
28.263 +}'`
28.264 +# Check for a 64-bit object if we didn't find anything.
28.265 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
28.266 +}'`; fi],[])
28.267 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
28.268 +])# _LT_AC_SYS_LIBPATH_AIX
28.269 +
28.270 +
28.271 +# _LT_AC_SHELL_INIT(ARG)
28.272 +# ----------------------
28.273 +AC_DEFUN([_LT_AC_SHELL_INIT],
28.274 +[ifdef([AC_DIVERSION_NOTICE],
28.275 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
28.276 + [AC_DIVERT_PUSH(NOTICE)])
28.277 +$1
28.278 +AC_DIVERT_POP
28.279 +])# _LT_AC_SHELL_INIT
28.280 +
28.281 +
28.282 +# _LT_AC_PROG_ECHO_BACKSLASH
28.283 +# --------------------------
28.284 +# Add some code to the start of the generated configure script which
28.285 +# will find an echo command which doesn't interpret backslashes.
28.286 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
28.287 +[_LT_AC_SHELL_INIT([
28.288 +# Check that we are running under the correct shell.
28.289 +SHELL=${CONFIG_SHELL-/bin/sh}
28.290 +
28.291 +case X$ECHO in
28.292 +X*--fallback-echo)
28.293 + # Remove one level of quotation (which was required for Make).
28.294 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
28.295 + ;;
28.296 +esac
28.297 +
28.298 +echo=${ECHO-echo}
28.299 +if test "X[$]1" = X--no-reexec; then
28.300 + # Discard the --no-reexec flag, and continue.
28.301 + shift
28.302 +elif test "X[$]1" = X--fallback-echo; then
28.303 + # Avoid inline document here, it may be left over
28.304 + :
28.305 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
28.306 + # Yippee, $echo works!
28.307 + :
28.308 +else
28.309 + # Restart under the correct shell.
28.310 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
28.311 +fi
28.312 +
28.313 +if test "X[$]1" = X--fallback-echo; then
28.314 + # used as fallback echo
28.315 + shift
28.316 + cat <<EOF
28.317 +[$]*
28.318 +EOF
28.319 + exit 0
28.320 +fi
28.321 +
28.322 +# The HP-UX ksh and POSIX shell print the target directory to stdout
28.323 +# if CDPATH is set.
28.324 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
28.325 +
28.326 +if test -z "$ECHO"; then
28.327 +if test "X${echo_test_string+set}" != Xset; then
28.328 +# find a string as large as possible, as long as the shell can cope with it
28.329 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
28.330 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
28.331 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
28.332 + echo_test_string="`eval $cmd`" &&
28.333 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
28.334 + then
28.335 + break
28.336 + fi
28.337 + done
28.338 +fi
28.339 +
28.340 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
28.341 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
28.342 + test "X$echo_testing_string" = "X$echo_test_string"; then
28.343 + :
28.344 +else
28.345 + # The Solaris, AIX, and Digital Unix default echo programs unquote
28.346 + # backslashes. This makes it impossible to quote backslashes using
28.347 + # echo "$something" | sed 's/\\/\\\\/g'
28.348 + #
28.349 + # So, first we look for a working echo in the user's PATH.
28.350 +
28.351 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
28.352 + for dir in $PATH /usr/ucb; do
28.353 + IFS="$lt_save_ifs"
28.354 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
28.355 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
28.356 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
28.357 + test "X$echo_testing_string" = "X$echo_test_string"; then
28.358 + echo="$dir/echo"
28.359 + break
28.360 + fi
28.361 + done
28.362 + IFS="$lt_save_ifs"
28.363 +
28.364 + if test "X$echo" = Xecho; then
28.365 + # We didn't find a better echo, so look for alternatives.
28.366 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
28.367 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
28.368 + test "X$echo_testing_string" = "X$echo_test_string"; then
28.369 + # This shell has a builtin print -r that does the trick.
28.370 + echo='print -r'
28.371 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
28.372 + test "X$CONFIG_SHELL" != X/bin/ksh; then
28.373 + # If we have ksh, try running configure again with it.
28.374 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28.375 + export ORIGINAL_CONFIG_SHELL
28.376 + CONFIG_SHELL=/bin/ksh
28.377 + export CONFIG_SHELL
28.378 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
28.379 + else
28.380 + # Try using printf.
28.381 + echo='printf %s\n'
28.382 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
28.383 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
28.384 + test "X$echo_testing_string" = "X$echo_test_string"; then
28.385 + # Cool, printf works
28.386 + :
28.387 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
28.388 + test "X$echo_testing_string" = 'X\t' &&
28.389 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
28.390 + test "X$echo_testing_string" = "X$echo_test_string"; then
28.391 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
28.392 + export CONFIG_SHELL
28.393 + SHELL="$CONFIG_SHELL"
28.394 + export SHELL
28.395 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
28.396 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
28.397 + test "X$echo_testing_string" = 'X\t' &&
28.398 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
28.399 + test "X$echo_testing_string" = "X$echo_test_string"; then
28.400 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
28.401 + else
28.402 + # maybe with a smaller string...
28.403 + prev=:
28.404 +
28.405 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
28.406 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
28.407 + then
28.408 + break
28.409 + fi
28.410 + prev="$cmd"
28.411 + done
28.412 +
28.413 + if test "$prev" != 'sed 50q "[$]0"'; then
28.414 + echo_test_string=`eval $prev`
28.415 + export echo_test_string
28.416 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
28.417 + else
28.418 + # Oops. We lost completely, so just stick with echo.
28.419 + echo=echo
28.420 + fi
28.421 + fi
28.422 + fi
28.423 + fi
28.424 +fi
28.425 +fi
28.426 +
28.427 +# Copy echo and quote the copy suitably for passing to libtool from
28.428 +# the Makefile, instead of quoting the original, which is used later.
28.429 +ECHO=$echo
28.430 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
28.431 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
28.432 +fi
28.433 +
28.434 +AC_SUBST(ECHO)
28.435 +])])# _LT_AC_PROG_ECHO_BACKSLASH
28.436 +
28.437 +
28.438 +# _LT_AC_LOCK
28.439 +# -----------
28.440 +AC_DEFUN([_LT_AC_LOCK],
28.441 +[AC_ARG_ENABLE([libtool-lock],
28.442 + [AC_HELP_STRING([--disable-libtool-lock],
28.443 + [avoid locking (might break parallel builds)])])
28.444 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
28.445 +
28.446 +# Some flags need to be propagated to the compiler or linker for good
28.447 +# libtool support.
28.448 +case $host in
28.449 +ia64-*-hpux*)
28.450 + # Find out which ABI we are using.
28.451 + echo 'int i;' > conftest.$ac_ext
28.452 + if AC_TRY_EVAL(ac_compile); then
28.453 + case `/usr/bin/file conftest.$ac_objext` in
28.454 + *ELF-32*)
28.455 + HPUX_IA64_MODE="32"
28.456 + ;;
28.457 + *ELF-64*)
28.458 + HPUX_IA64_MODE="64"
28.459 + ;;
28.460 + esac
28.461 + fi
28.462 + rm -rf conftest*
28.463 + ;;
28.464 +*-*-irix6*)
28.465 + # Find out which ABI we are using.
28.466 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
28.467 + if AC_TRY_EVAL(ac_compile); then
28.468 + if test "$lt_cv_prog_gnu_ld" = yes; then
28.469 + case `/usr/bin/file conftest.$ac_objext` in
28.470 + *32-bit*)
28.471 + LD="${LD-ld} -melf32bsmip"
28.472 + ;;
28.473 + *N32*)
28.474 + LD="${LD-ld} -melf32bmipn32"
28.475 + ;;
28.476 + *64-bit*)
28.477 + LD="${LD-ld} -melf64bmip"
28.478 + ;;
28.479 + esac
28.480 + else
28.481 + case `/usr/bin/file conftest.$ac_objext` in
28.482 + *32-bit*)
28.483 + LD="${LD-ld} -32"
28.484 + ;;
28.485 + *N32*)
28.486 + LD="${LD-ld} -n32"
28.487 + ;;
28.488 + *64-bit*)
28.489 + LD="${LD-ld} -64"
28.490 + ;;
28.491 + esac
28.492 + fi
28.493 + fi
28.494 + rm -rf conftest*
28.495 + ;;
28.496 +
28.497 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
28.498 + # Find out which ABI we are using.
28.499 + echo 'int i;' > conftest.$ac_ext
28.500 + if AC_TRY_EVAL(ac_compile); then
28.501 + case "`/usr/bin/file conftest.o`" in
28.502 + *32-bit*)
28.503 + case $host in
28.504 + x86_64-*linux*)
28.505 + LD="${LD-ld} -m elf_i386"
28.506 + ;;
28.507 + ppc64-*linux*|powerpc64-*linux*)
28.508 + LD="${LD-ld} -m elf32ppclinux"
28.509 + ;;
28.510 + s390x-*linux*)
28.511 + LD="${LD-ld} -m elf_s390"
28.512 + ;;
28.513 + sparc64-*linux*)
28.514 + LD="${LD-ld} -m elf32_sparc"
28.515 + ;;
28.516 + esac
28.517 + ;;
28.518 + *64-bit*)
28.519 + case $host in
28.520 + x86_64-*linux*)
28.521 + LD="${LD-ld} -m elf_x86_64"
28.522 + ;;
28.523 + ppc*-*linux*|powerpc*-*linux*)
28.524 + LD="${LD-ld} -m elf64ppc"
28.525 + ;;
28.526 + s390*-*linux*)
28.527 + LD="${LD-ld} -m elf64_s390"
28.528 + ;;
28.529 + sparc*-*linux*)
28.530 + LD="${LD-ld} -m elf64_sparc"
28.531 + ;;
28.532 + esac
28.533 + ;;
28.534 + esac
28.535 + fi
28.536 + rm -rf conftest*
28.537 + ;;
28.538 +
28.539 +*-*-sco3.2v5*)
28.540 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
28.541 + SAVE_CFLAGS="$CFLAGS"
28.542 + CFLAGS="$CFLAGS -belf"
28.543 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
28.544 + [AC_LANG_PUSH(C)
28.545 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
28.546 + AC_LANG_POP])
28.547 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
28.548 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
28.549 + CFLAGS="$SAVE_CFLAGS"
28.550 + fi
28.551 + ;;
28.552 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
28.553 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
28.554 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
28.555 + AC_CHECK_TOOL(AS, as, false)
28.556 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
28.557 + ;;
28.558 + ])
28.559 +esac
28.560 +
28.561 +need_locks="$enable_libtool_lock"
28.562 +
28.563 +])# _LT_AC_LOCK
28.564 +
28.565 +
28.566 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
28.567 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
28.568 +# ----------------------------------------------------------------
28.569 +# Check whether the given compiler option works
28.570 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
28.571 +[AC_REQUIRE([LT_AC_PROG_SED])
28.572 +AC_CACHE_CHECK([$1], [$2],
28.573 + [$2=no
28.574 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
28.575 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28.576 + lt_compiler_flag="$3"
28.577 + # Insert the option either (1) after the last *FLAGS variable, or
28.578 + # (2) before a word containing "conftest.", or (3) at the end.
28.579 + # Note that $ac_compile itself does not contain backslashes and begins
28.580 + # with a dollar sign (not a hyphen), so the echo should work correctly.
28.581 + # The option is referenced via a variable to avoid confusing sed.
28.582 + lt_compile=`echo "$ac_compile" | $SED \
28.583 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
28.584 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
28.585 + -e 's:$: $lt_compiler_flag:'`
28.586 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
28.587 + (eval "$lt_compile" 2>conftest.err)
28.588 + ac_status=$?
28.589 + cat conftest.err >&AS_MESSAGE_LOG_FD
28.590 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
28.591 + if (exit $ac_status) && test -s "$ac_outfile"; then
28.592 + # The compiler can only warn and ignore the option if not recognized
28.593 + # So say no if there are warnings
28.594 + if test ! -s conftest.err; then
28.595 + $2=yes
28.596 + fi
28.597 + fi
28.598 + $rm conftest*
28.599 +])
28.600 +
28.601 +if test x"[$]$2" = xyes; then
28.602 + ifelse([$5], , :, [$5])
28.603 +else
28.604 + ifelse([$6], , :, [$6])
28.605 +fi
28.606 +])# AC_LIBTOOL_COMPILER_OPTION
28.607 +
28.608 +
28.609 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
28.610 +# [ACTION-SUCCESS], [ACTION-FAILURE])
28.611 +# ------------------------------------------------------------
28.612 +# Check whether the given compiler option works
28.613 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
28.614 +[AC_CACHE_CHECK([$1], [$2],
28.615 + [$2=no
28.616 + save_LDFLAGS="$LDFLAGS"
28.617 + LDFLAGS="$LDFLAGS $3"
28.618 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
28.619 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
28.620 + # The compiler can only warn and ignore the option if not recognized
28.621 + # So say no if there are warnings
28.622 + if test -s conftest.err; then
28.623 + # Append any errors to the config.log.
28.624 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
28.625 + else
28.626 + $2=yes
28.627 + fi
28.628 + fi
28.629 + $rm conftest*
28.630 + LDFLAGS="$save_LDFLAGS"
28.631 +])
28.632 +
28.633 +if test x"[$]$2" = xyes; then
28.634 + ifelse([$4], , :, [$4])
28.635 +else
28.636 + ifelse([$5], , :, [$5])
28.637 +fi
28.638 +])# AC_LIBTOOL_LINKER_OPTION
28.639 +
28.640 +
28.641 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
28.642 +# --------------------------
28.643 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
28.644 +[# find the maximum length of command line arguments
28.645 +AC_MSG_CHECKING([the maximum length of command line arguments])
28.646 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
28.647 + i=0
28.648 + teststring="ABCD"
28.649 +
28.650 + case $build_os in
28.651 + msdosdjgpp*)
28.652 + # On DJGPP, this test can blow up pretty badly due to problems in libc
28.653 + # (any single argument exceeding 2000 bytes causes a buffer overrun
28.654 + # during glob expansion). Even if it were fixed, the result of this
28.655 + # check would be larger than it should be.
28.656 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
28.657 + ;;
28.658 +
28.659 + gnu*)
28.660 + # Under GNU Hurd, this test is not required because there is
28.661 + # no limit to the length of command line arguments.
28.662 + # Libtool will interpret -1 as no limit whatsoever
28.663 + lt_cv_sys_max_cmd_len=-1;
28.664 + ;;
28.665 +
28.666 + cygwin* | mingw*)
28.667 + # On Win9x/ME, this test blows up -- it succeeds, but takes
28.668 + # about 5 minutes as the teststring grows exponentially.
28.669 + # Worse, since 9x/ME are not pre-emptively multitasking,
28.670 + # you end up with a "frozen" computer, even though with patience
28.671 + # the test eventually succeeds (with a max line length of 256k).
28.672 + # Instead, let's just punt: use the minimum linelength reported by
28.673 + # all of the supported platforms: 8192 (on NT/2K/XP).
28.674 + lt_cv_sys_max_cmd_len=8192;
28.675 + ;;
28.676 +
28.677 + amigaos*)
28.678 + # On AmigaOS with pdksh, this test takes hours, literally.
28.679 + # So we just punt and use a minimum line length of 8192.
28.680 + lt_cv_sys_max_cmd_len=8192;
28.681 + ;;
28.682 +
28.683 + *)
28.684 + # If test is not a shell built-in, we'll probably end up computing a
28.685 + # maximum length that is only half of the actual maximum length, but
28.686 + # we can't tell.
28.687 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
28.688 + = "XX$teststring") >/dev/null 2>&1 &&
28.689 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
28.690 + lt_cv_sys_max_cmd_len=$new_result &&
28.691 + test $i != 17 # 1/2 MB should be enough
28.692 + do
28.693 + i=`expr $i + 1`
28.694 + teststring=$teststring$teststring
28.695 + done
28.696 + teststring=
28.697 + # Add a significant safety factor because C++ compilers can tack on massive
28.698 + # amounts of additional arguments before passing them to the linker.
28.699 + # It appears as though 1/2 is a usable value.
28.700 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
28.701 + ;;
28.702 + esac
28.703 +])
28.704 +if test -n $lt_cv_sys_max_cmd_len ; then
28.705 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
28.706 +else
28.707 + AC_MSG_RESULT(none)
28.708 +fi
28.709 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
28.710 +
28.711 +
28.712 +# _LT_AC_CHECK_DLFCN
28.713 +# --------------------
28.714 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
28.715 +[AC_CHECK_HEADERS(dlfcn.h)dnl
28.716 +])# _LT_AC_CHECK_DLFCN
28.717 +
28.718 +
28.719 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
28.720 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
28.721 +# ------------------------------------------------------------------
28.722 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
28.723 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
28.724 +if test "$cross_compiling" = yes; then :
28.725 + [$4]
28.726 +else
28.727 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
28.728 + lt_status=$lt_dlunknown
28.729 + cat > conftest.$ac_ext <<EOF
28.730 +[#line __oline__ "configure"
28.731 +#include "confdefs.h"
28.732 +
28.733 +#if HAVE_DLFCN_H
28.734 +#include <dlfcn.h>
28.735 +#endif
28.736 +
28.737 +#include <stdio.h>
28.738 +
28.739 +#ifdef RTLD_GLOBAL
28.740 +# define LT_DLGLOBAL RTLD_GLOBAL
28.741 +#else
28.742 +# ifdef DL_GLOBAL
28.743 +# define LT_DLGLOBAL DL_GLOBAL
28.744 +# else
28.745 +# define LT_DLGLOBAL 0
28.746 +# endif
28.747 +#endif
28.748 +
28.749 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
28.750 + find out it does not work in some platform. */
28.751 +#ifndef LT_DLLAZY_OR_NOW
28.752 +# ifdef RTLD_LAZY
28.753 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
28.754 +# else
28.755 +# ifdef DL_LAZY
28.756 +# define LT_DLLAZY_OR_NOW DL_LAZY
28.757 +# else
28.758 +# ifdef RTLD_NOW
28.759 +# define LT_DLLAZY_OR_NOW RTLD_NOW
28.760 +# else
28.761 +# ifdef DL_NOW
28.762 +# define LT_DLLAZY_OR_NOW DL_NOW
28.763 +# else
28.764 +# define LT_DLLAZY_OR_NOW 0
28.765 +# endif
28.766 +# endif
28.767 +# endif
28.768 +# endif
28.769 +#endif
28.770 +
28.771 +#ifdef __cplusplus
28.772 +extern "C" void exit (int);
28.773 +#endif
28.774 +
28.775 +void fnord() { int i=42;}
28.776 +int main ()
28.777 +{
28.778 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
28.779 + int status = $lt_dlunknown;
28.780 +
28.781 + if (self)
28.782 + {
28.783 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
28.784 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
28.785 + /* dlclose (self); */
28.786 + }
28.787 +
28.788 + exit (status);
28.789 +}]
28.790 +EOF
28.791 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
28.792 + (./conftest; exit; ) 2>/dev/null
28.793 + lt_status=$?
28.794 + case x$lt_status in
28.795 + x$lt_dlno_uscore) $1 ;;
28.796 + x$lt_dlneed_uscore) $2 ;;
28.797 + x$lt_unknown|x*) $3 ;;
28.798 + esac
28.799 + else :
28.800 + # compilation failed
28.801 + $3
28.802 + fi
28.803 +fi
28.804 +rm -fr conftest*
28.805 +])# _LT_AC_TRY_DLOPEN_SELF
28.806 +
28.807 +
28.808 +# AC_LIBTOOL_DLOPEN_SELF
28.809 +# -------------------
28.810 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
28.811 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
28.812 +if test "x$enable_dlopen" != xyes; then
28.813 + enable_dlopen=unknown
28.814 + enable_dlopen_self=unknown
28.815 + enable_dlopen_self_static=unknown
28.816 +else
28.817 + lt_cv_dlopen=no
28.818 + lt_cv_dlopen_libs=
28.819 +
28.820 + case $host_os in
28.821 + beos*)
28.822 + lt_cv_dlopen="load_add_on"
28.823 + lt_cv_dlopen_libs=
28.824 + lt_cv_dlopen_self=yes
28.825 + ;;
28.826 +
28.827 + mingw* | pw32*)
28.828 + lt_cv_dlopen="LoadLibrary"
28.829 + lt_cv_dlopen_libs=
28.830 + ;;
28.831 +
28.832 + cygwin*)
28.833 + lt_cv_dlopen="dlopen"
28.834 + lt_cv_dlopen_libs=
28.835 + ;;
28.836 +
28.837 + darwin*)
28.838 + # if libdl is installed we need to link against it
28.839 + AC_CHECK_LIB([dl], [dlopen],
28.840 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
28.841 + lt_cv_dlopen="dyld"
28.842 + lt_cv_dlopen_libs=
28.843 + lt_cv_dlopen_self=yes
28.844 + ])
28.845 + ;;
28.846 +
28.847 + *)
28.848 + AC_CHECK_FUNC([shl_load],
28.849 + [lt_cv_dlopen="shl_load"],
28.850 + [AC_CHECK_LIB([dld], [shl_load],
28.851 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
28.852 + [AC_CHECK_FUNC([dlopen],
28.853 + [lt_cv_dlopen="dlopen"],
28.854 + [AC_CHECK_LIB([dl], [dlopen],
28.855 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
28.856 + [AC_CHECK_LIB([svld], [dlopen],
28.857 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
28.858 + [AC_CHECK_LIB([dld], [dld_link],
28.859 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
28.860 + ])
28.861 + ])
28.862 + ])
28.863 + ])
28.864 + ])
28.865 + ;;
28.866 + esac
28.867 +
28.868 + if test "x$lt_cv_dlopen" != xno; then
28.869 + enable_dlopen=yes
28.870 + else
28.871 + enable_dlopen=no
28.872 + fi
28.873 +
28.874 + case $lt_cv_dlopen in
28.875 + dlopen)
28.876 + save_CPPFLAGS="$CPPFLAGS"
28.877 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
28.878 +
28.879 + save_LDFLAGS="$LDFLAGS"
28.880 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
28.881 +
28.882 + save_LIBS="$LIBS"
28.883 + LIBS="$lt_cv_dlopen_libs $LIBS"
28.884 +
28.885 + AC_CACHE_CHECK([whether a program can dlopen itself],
28.886 + lt_cv_dlopen_self, [dnl
28.887 + _LT_AC_TRY_DLOPEN_SELF(
28.888 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
28.889 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
28.890 + ])
28.891 +
28.892 + if test "x$lt_cv_dlopen_self" = xyes; then
28.893 + LDFLAGS="$LDFLAGS $link_static_flag"
28.894 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
28.895 + lt_cv_dlopen_self_static, [dnl
28.896 + _LT_AC_TRY_DLOPEN_SELF(
28.897 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
28.898 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
28.899 + ])
28.900 + fi
28.901 +
28.902 + CPPFLAGS="$save_CPPFLAGS"
28.903 + LDFLAGS="$save_LDFLAGS"
28.904 + LIBS="$save_LIBS"
28.905 + ;;
28.906 + esac
28.907 +
28.908 + case $lt_cv_dlopen_self in
28.909 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
28.910 + *) enable_dlopen_self=unknown ;;
28.911 + esac
28.912 +
28.913 + case $lt_cv_dlopen_self_static in
28.914 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
28.915 + *) enable_dlopen_self_static=unknown ;;
28.916 + esac
28.917 +fi
28.918 +])# AC_LIBTOOL_DLOPEN_SELF
28.919 +
28.920 +
28.921 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
28.922 +# ---------------------------------
28.923 +# Check to see if options -c and -o are simultaneously supported by compiler
28.924 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
28.925 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
28.926 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
28.927 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
28.928 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
28.929 + $rm -r conftest 2>/dev/null
28.930 + mkdir conftest
28.931 + cd conftest
28.932 + mkdir out
28.933 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28.934 +
28.935 + lt_compiler_flag="-o out/conftest2.$ac_objext"
28.936 + # Insert the option either (1) after the last *FLAGS variable, or
28.937 + # (2) before a word containing "conftest.", or (3) at the end.
28.938 + # Note that $ac_compile itself does not contain backslashes and begins
28.939 + # with a dollar sign (not a hyphen), so the echo should work correctly.
28.940 + lt_compile=`echo "$ac_compile" | $SED \
28.941 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
28.942 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
28.943 + -e 's:$: $lt_compiler_flag:'`
28.944 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
28.945 + (eval "$lt_compile" 2>out/conftest.err)
28.946 + ac_status=$?
28.947 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
28.948 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
28.949 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
28.950 + then
28.951 + # The compiler can only warn and ignore the option if not recognized
28.952 + # So say no if there are warnings
28.953 + if test ! -s out/conftest.err; then
28.954 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
28.955 + fi
28.956 + fi
28.957 + chmod u+w .
28.958 + $rm conftest*
28.959 + # SGI C++ compiler will create directory out/ii_files/ for
28.960 + # template instantiation
28.961 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
28.962 + $rm out/* && rmdir out
28.963 + cd ..
28.964 + rmdir conftest
28.965 + $rm conftest*
28.966 +])
28.967 +])# AC_LIBTOOL_PROG_CC_C_O
28.968 +
28.969 +
28.970 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
28.971 +# -----------------------------------------
28.972 +# Check to see if we can do hard links to lock some files if needed
28.973 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
28.974 +[AC_REQUIRE([_LT_AC_LOCK])dnl
28.975 +
28.976 +hard_links="nottested"
28.977 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
28.978 + # do not overwrite the value of need_locks provided by the user
28.979 + AC_MSG_CHECKING([if we can lock with hard links])
28.980 + hard_links=yes
28.981 + $rm conftest*
28.982 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
28.983 + touch conftest.a
28.984 + ln conftest.a conftest.b 2>&5 || hard_links=no
28.985 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
28.986 + AC_MSG_RESULT([$hard_links])
28.987 + if test "$hard_links" = no; then
28.988 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
28.989 + need_locks=warn
28.990 + fi
28.991 +else
28.992 + need_locks=no
28.993 +fi
28.994 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
28.995 +
28.996 +
28.997 +# AC_LIBTOOL_OBJDIR
28.998 +# -----------------
28.999 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
28.1000 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
28.1001 +[rm -f .libs 2>/dev/null
28.1002 +mkdir .libs 2>/dev/null
28.1003 +if test -d .libs; then
28.1004 + lt_cv_objdir=.libs
28.1005 +else
28.1006 + # MS-DOS does not allow filenames that begin with a dot.
28.1007 + lt_cv_objdir=_libs
28.1008 +fi
28.1009 +rmdir .libs 2>/dev/null])
28.1010 +objdir=$lt_cv_objdir
28.1011 +])# AC_LIBTOOL_OBJDIR
28.1012 +
28.1013 +
28.1014 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
28.1015 +# ----------------------------------------------
28.1016 +# Check hardcoding attributes.
28.1017 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
28.1018 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
28.1019 +_LT_AC_TAGVAR(hardcode_action, $1)=
28.1020 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
28.1021 + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
28.1022 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
28.1023 +
28.1024 + # We can hardcode non-existant directories.
28.1025 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
28.1026 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
28.1027 + # have to relink, otherwise we might link with an installed library
28.1028 + # when we should be linking with a yet-to-be-installed one
28.1029 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
28.1030 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
28.1031 + # Linking always hardcodes the temporary library directory.
28.1032 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
28.1033 + else
28.1034 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
28.1035 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
28.1036 + fi
28.1037 +else
28.1038 + # We cannot hardcode anything, or else we can only hardcode existing
28.1039 + # directories.
28.1040 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
28.1041 +fi
28.1042 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
28.1043 +
28.1044 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
28.1045 + # Fast installation is not supported
28.1046 + enable_fast_install=no
28.1047 +elif test "$shlibpath_overrides_runpath" = yes ||
28.1048 + test "$enable_shared" = no; then
28.1049 + # Fast installation is not necessary
28.1050 + enable_fast_install=needless
28.1051 +fi
28.1052 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
28.1053 +
28.1054 +
28.1055 +# AC_LIBTOOL_SYS_LIB_STRIP
28.1056 +# ------------------------
28.1057 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
28.1058 +[striplib=
28.1059 +old_striplib=
28.1060 +AC_MSG_CHECKING([whether stripping libraries is possible])
28.1061 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
28.1062 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
28.1063 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
28.1064 + AC_MSG_RESULT([yes])
28.1065 +else
28.1066 +# FIXME - insert some real tests, host_os isn't really good enough
28.1067 + case $host_os in
28.1068 + darwin*)
28.1069 + if test -n "$STRIP" ; then
28.1070 + striplib="$STRIP -x"
28.1071 + AC_MSG_RESULT([yes])
28.1072 + else
28.1073 + AC_MSG_RESULT([no])
28.1074 +fi
28.1075 + ;;
28.1076 + *)
28.1077 + AC_MSG_RESULT([no])
28.1078 + ;;
28.1079 + esac
28.1080 +fi
28.1081 +])# AC_LIBTOOL_SYS_LIB_STRIP
28.1082 +
28.1083 +
28.1084 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
28.1085 +# -----------------------------
28.1086 +# PORTME Fill in your ld.so characteristics
28.1087 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
28.1088 +[AC_MSG_CHECKING([dynamic linker characteristics])
28.1089 +library_names_spec=
28.1090 +libname_spec='lib$name'
28.1091 +soname_spec=
28.1092 +shrext_cmds=".so"
28.1093 +postinstall_cmds=
28.1094 +postuninstall_cmds=
28.1095 +finish_cmds=
28.1096 +finish_eval=
28.1097 +shlibpath_var=
28.1098 +shlibpath_overrides_runpath=unknown
28.1099 +version_type=none
28.1100 +dynamic_linker="$host_os ld.so"
28.1101 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
28.1102 +if test "$GCC" = yes; then
28.1103 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
28.1104 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
28.1105 + # if the path contains ";" then we assume it to be the separator
28.1106 + # otherwise default to the standard path separator (i.e. ":") - it is
28.1107 + # assumed that no part of a normal pathname contains ";" but that should
28.1108 + # okay in the real world where ";" in dirpaths is itself problematic.
28.1109 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
28.1110 + else
28.1111 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
28.1112 + fi
28.1113 +else
28.1114 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
28.1115 +fi
28.1116 +need_lib_prefix=unknown
28.1117 +hardcode_into_libs=no
28.1118 +
28.1119 +# when you set need_version to no, make sure it does not cause -set_version
28.1120 +# flags to be left without arguments
28.1121 +need_version=unknown
28.1122 +
28.1123 +case $host_os in
28.1124 +aix3*)
28.1125 + version_type=linux
28.1126 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
28.1127 + shlibpath_var=LIBPATH
28.1128 +
28.1129 + # AIX 3 has no versioning support, so we append a major version to the name.
28.1130 + soname_spec='${libname}${release}${shared_ext}$major'
28.1131 + ;;
28.1132 +
28.1133 +aix4* | aix5*)
28.1134 + version_type=linux
28.1135 + need_lib_prefix=no
28.1136 + need_version=no
28.1137 + hardcode_into_libs=yes
28.1138 + if test "$host_cpu" = ia64; then
28.1139 + # AIX 5 supports IA64
28.1140 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
28.1141 + shlibpath_var=LD_LIBRARY_PATH
28.1142 + else
28.1143 + # With GCC up to 2.95.x, collect2 would create an import file
28.1144 + # for dependence libraries. The import file would start with
28.1145 + # the line `#! .'. This would cause the generated library to
28.1146 + # depend on `.', always an invalid library. This was fixed in
28.1147 + # development snapshots of GCC prior to 3.0.
28.1148 + case $host_os in
28.1149 + aix4 | aix4.[[01]] | aix4.[[01]].*)
28.1150 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
28.1151 + echo ' yes '
28.1152 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
28.1153 + :
28.1154 + else
28.1155 + can_build_shared=no
28.1156 + fi
28.1157 + ;;
28.1158 + esac
28.1159 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
28.1160 + # soname into executable. Probably we can add versioning support to
28.1161 + # collect2, so additional links can be useful in future.
28.1162 + if test "$aix_use_runtimelinking" = yes; then
28.1163 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
28.1164 + # instead of lib<name>.a to let people know that these are not
28.1165 + # typical AIX shared libraries.
28.1166 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1167 + else
28.1168 + # We preserve .a as extension for shared libraries through AIX4.2
28.1169 + # and later when we are not doing run time linking.
28.1170 + library_names_spec='${libname}${release}.a $libname.a'
28.1171 + soname_spec='${libname}${release}${shared_ext}$major'
28.1172 + fi
28.1173 + shlibpath_var=LIBPATH
28.1174 + fi
28.1175 + ;;
28.1176 +
28.1177 +amigaos*)
28.1178 + library_names_spec='$libname.ixlibrary $libname.a'
28.1179 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
28.1180 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
28.1181 + ;;
28.1182 +
28.1183 +beos*)
28.1184 + library_names_spec='${libname}${shared_ext}'
28.1185 + dynamic_linker="$host_os ld.so"
28.1186 + shlibpath_var=LIBRARY_PATH
28.1187 + ;;
28.1188 +
28.1189 +bsdi4*)
28.1190 + version_type=linux
28.1191 + need_version=no
28.1192 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1193 + soname_spec='${libname}${release}${shared_ext}$major'
28.1194 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
28.1195 + shlibpath_var=LD_LIBRARY_PATH
28.1196 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
28.1197 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
28.1198 + # the default ld.so.conf also contains /usr/contrib/lib and
28.1199 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
28.1200 + # libtool to hard-code these into programs
28.1201 + ;;
28.1202 +
28.1203 +cygwin* | mingw* | pw32*)
28.1204 + version_type=windows
28.1205 + shrext_cmds=".dll"
28.1206 + need_version=no
28.1207 + need_lib_prefix=no
28.1208 +
28.1209 + case $GCC,$host_os in
28.1210 + yes,cygwin* | yes,mingw* | yes,pw32*)
28.1211 + library_names_spec='$libname.dll.a'
28.1212 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
28.1213 + postinstall_cmds='base_file=`basename \${file}`~
28.1214 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
28.1215 + dldir=$destdir/`dirname \$dlpath`~
28.1216 + test -d \$dldir || mkdir -p \$dldir~
28.1217 + $install_prog $dir/$dlname \$dldir/$dlname'
28.1218 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
28.1219 + dlpath=$dir/\$dldll~
28.1220 + $rm \$dlpath'
28.1221 + shlibpath_overrides_runpath=yes
28.1222 +
28.1223 + case $host_os in
28.1224 + cygwin*)
28.1225 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
28.1226 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
28.1227 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
28.1228 + ;;
28.1229 + mingw*)
28.1230 + # MinGW DLLs use traditional 'lib' prefix
28.1231 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
28.1232 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
28.1233 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
28.1234 + # It is most probably a Windows format PATH printed by
28.1235 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
28.1236 + # path with ; separators, and with drive letters. We can handle the
28.1237 + # drive letters (cygwin fileutils understands them), so leave them,
28.1238 + # especially as we might pass files found there to a mingw objdump,
28.1239 + # which wouldn't understand a cygwinified path. Ahh.
28.1240 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
28.1241 + else
28.1242 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
28.1243 + fi
28.1244 + ;;
28.1245 + pw32*)
28.1246 + # pw32 DLLs use 'pw' prefix rather than 'lib'
28.1247 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28.1248 + ;;
28.1249 + esac
28.1250 + ;;
28.1251 +
28.1252 + *)
28.1253 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
28.1254 + ;;
28.1255 + esac
28.1256 + dynamic_linker='Win32 ld.exe'
28.1257 + # FIXME: first we should search . and the directory the executable is in
28.1258 + shlibpath_var=PATH
28.1259 + ;;
28.1260 +
28.1261 +darwin* | rhapsody*)
28.1262 + dynamic_linker="$host_os dyld"
28.1263 + version_type=darwin
28.1264 + need_lib_prefix=no
28.1265 + need_version=no
28.1266 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
28.1267 + soname_spec='${libname}${release}${major}$shared_ext'
28.1268 + shlibpath_overrides_runpath=yes
28.1269 + shlibpath_var=DYLD_LIBRARY_PATH
28.1270 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
28.1271 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
28.1272 + if test "$GCC" = yes; then
28.1273 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
28.1274 + else
28.1275 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
28.1276 + fi
28.1277 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
28.1278 + ;;
28.1279 +
28.1280 +dgux*)
28.1281 + version_type=linux
28.1282 + need_lib_prefix=no
28.1283 + need_version=no
28.1284 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
28.1285 + soname_spec='${libname}${release}${shared_ext}$major'
28.1286 + shlibpath_var=LD_LIBRARY_PATH
28.1287 + ;;
28.1288 +
28.1289 +freebsd1*)
28.1290 + dynamic_linker=no
28.1291 + ;;
28.1292 +
28.1293 +kfreebsd*-gnu)
28.1294 + version_type=linux
28.1295 + need_lib_prefix=no
28.1296 + need_version=no
28.1297 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28.1298 + soname_spec='${libname}${release}${shared_ext}$major'
28.1299 + shlibpath_var=LD_LIBRARY_PATH
28.1300 + shlibpath_overrides_runpath=no
28.1301 + hardcode_into_libs=yes
28.1302 + dynamic_linker='GNU ld.so'
28.1303 + ;;
28.1304 +
28.1305 +freebsd*)
28.1306 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
28.1307 + version_type=freebsd-$objformat
28.1308 + case $version_type in
28.1309 + freebsd-elf*)
28.1310 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
28.1311 + need_version=no
28.1312 + need_lib_prefix=no
28.1313 + ;;
28.1314 + freebsd-*)
28.1315 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
28.1316 + need_version=yes
28.1317 + ;;
28.1318 + esac
28.1319 + shlibpath_var=LD_LIBRARY_PATH
28.1320 + case $host_os in
28.1321 + freebsd2*)
28.1322 + shlibpath_overrides_runpath=yes
28.1323 + ;;
28.1324 + freebsd3.[01]* | freebsdelf3.[01]*)
28.1325 + shlibpath_overrides_runpath=yes
28.1326 + hardcode_into_libs=yes
28.1327 + ;;
28.1328 + *) # from 3.2 on
28.1329 + shlibpath_overrides_runpath=no
28.1330 + hardcode_into_libs=yes
28.1331 + ;;
28.1332 + esac
28.1333 + ;;
28.1334 +
28.1335 +gnu*)
28.1336 + version_type=linux
28.1337 + need_lib_prefix=no
28.1338 + need_version=no
28.1339 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
28.1340 + soname_spec='${libname}${release}${shared_ext}$major'
28.1341 + shlibpath_var=LD_LIBRARY_PATH
28.1342 + hardcode_into_libs=yes
28.1343 + ;;
28.1344 +
28.1345 +hpux9* | hpux10* | hpux11*)
28.1346 + # Give a soname corresponding to the major version so that dld.sl refuses to
28.1347 + # link against other versions.
28.1348 + version_type=sunos
28.1349 + need_lib_prefix=no
28.1350 + need_version=no
28.1351 + case "$host_cpu" in
28.1352 + ia64*)
28.1353 + shrext_cmds='.so'
28.1354 + hardcode_into_libs=yes
28.1355 + dynamic_linker="$host_os dld.so"
28.1356 + shlibpath_var=LD_LIBRARY_PATH
28.1357 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
28.1358 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1359 + soname_spec='${libname}${release}${shared_ext}$major'
28.1360 + if test "X$HPUX_IA64_MODE" = X32; then
28.1361 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
28.1362 + else
28.1363 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
28.1364 + fi
28.1365 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
28.1366 + ;;
28.1367 + hppa*64*)
28.1368 + shrext_cmds='.sl'
28.1369 + hardcode_into_libs=yes
28.1370 + dynamic_linker="$host_os dld.sl"
28.1371 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
28.1372 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
28.1373 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1374 + soname_spec='${libname}${release}${shared_ext}$major'
28.1375 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
28.1376 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
28.1377 + ;;
28.1378 + *)
28.1379 + shrext_cmds='.sl'
28.1380 + dynamic_linker="$host_os dld.sl"
28.1381 + shlibpath_var=SHLIB_PATH
28.1382 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
28.1383 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1384 + soname_spec='${libname}${release}${shared_ext}$major'
28.1385 + ;;
28.1386 + esac
28.1387 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
28.1388 + postinstall_cmds='chmod 555 $lib'
28.1389 + ;;
28.1390 +
28.1391 +irix5* | irix6* | nonstopux*)
28.1392 + case $host_os in
28.1393 + nonstopux*) version_type=nonstopux ;;
28.1394 + *)
28.1395 + if test "$lt_cv_prog_gnu_ld" = yes; then
28.1396 + version_type=linux
28.1397 + else
28.1398 + version_type=irix
28.1399 + fi ;;
28.1400 + esac
28.1401 + need_lib_prefix=no
28.1402 + need_version=no
28.1403 + soname_spec='${libname}${release}${shared_ext}$major'
28.1404 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
28.1405 + case $host_os in
28.1406 + irix5* | nonstopux*)
28.1407 + libsuff= shlibsuff=
28.1408 + ;;
28.1409 + *)
28.1410 + case $LD in # libtool.m4 will add one of these switches to LD
28.1411 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
28.1412 + libsuff= shlibsuff= libmagic=32-bit;;
28.1413 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
28.1414 + libsuff=32 shlibsuff=N32 libmagic=N32;;
28.1415 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
28.1416 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
28.1417 + *) libsuff= shlibsuff= libmagic=never-match;;
28.1418 + esac
28.1419 + ;;
28.1420 + esac
28.1421 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
28.1422 + shlibpath_overrides_runpath=no
28.1423 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
28.1424 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
28.1425 + hardcode_into_libs=yes
28.1426 + ;;
28.1427 +
28.1428 +# No shared lib support for Linux oldld, aout, or coff.
28.1429 +linux*oldld* | linux*aout* | linux*coff*)
28.1430 + dynamic_linker=no
28.1431 + ;;
28.1432 +
28.1433 +# This must be Linux ELF.
28.1434 +linux*)
28.1435 + version_type=linux
28.1436 + need_lib_prefix=no
28.1437 + need_version=no
28.1438 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1439 + soname_spec='${libname}${release}${shared_ext}$major'
28.1440 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
28.1441 + shlibpath_var=LD_LIBRARY_PATH
28.1442 + shlibpath_overrides_runpath=no
28.1443 + # This implies no fast_install, which is unacceptable.
28.1444 + # Some rework will be needed to allow for fast_install
28.1445 + # before this can be enabled.
28.1446 + hardcode_into_libs=yes
28.1447 +
28.1448 + # Append ld.so.conf contents to the search path
28.1449 + if test -f /etc/ld.so.conf; then
28.1450 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
28.1451 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
28.1452 + fi
28.1453 +
28.1454 + # We used to test for /lib/ld.so.1 and disable shared libraries on
28.1455 + # powerpc, because MkLinux only supported shared libraries with the
28.1456 + # GNU dynamic linker. Since this was broken with cross compilers,
28.1457 + # most powerpc-linux boxes support dynamic linking these days and
28.1458 + # people can always --disable-shared, the test was removed, and we
28.1459 + # assume the GNU/Linux dynamic linker is in use.
28.1460 + dynamic_linker='GNU/Linux ld.so'
28.1461 + ;;
28.1462 +
28.1463 +netbsdelf*-gnu)
28.1464 + version_type=linux
28.1465 + need_lib_prefix=no
28.1466 + need_version=no
28.1467 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28.1468 + soname_spec='${libname}${release}${shared_ext}$major'
28.1469 + shlibpath_var=LD_LIBRARY_PATH
28.1470 + shlibpath_overrides_runpath=no
28.1471 + hardcode_into_libs=yes
28.1472 + dynamic_linker='NetBSD ld.elf_so'
28.1473 + ;;
28.1474 +
28.1475 +knetbsd*-gnu)
28.1476 + version_type=linux
28.1477 + need_lib_prefix=no
28.1478 + need_version=no
28.1479 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28.1480 + soname_spec='${libname}${release}${shared_ext}$major'
28.1481 + shlibpath_var=LD_LIBRARY_PATH
28.1482 + shlibpath_overrides_runpath=no
28.1483 + hardcode_into_libs=yes
28.1484 + dynamic_linker='GNU ld.so'
28.1485 + ;;
28.1486 +
28.1487 +netbsd*)
28.1488 + version_type=sunos
28.1489 + need_lib_prefix=no
28.1490 + need_version=no
28.1491 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28.1492 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28.1493 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28.1494 + dynamic_linker='NetBSD (a.out) ld.so'
28.1495 + else
28.1496 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28.1497 + soname_spec='${libname}${release}${shared_ext}$major'
28.1498 + dynamic_linker='NetBSD ld.elf_so'
28.1499 + fi
28.1500 + shlibpath_var=LD_LIBRARY_PATH
28.1501 + shlibpath_overrides_runpath=yes
28.1502 + hardcode_into_libs=yes
28.1503 + ;;
28.1504 +
28.1505 +newsos6)
28.1506 + version_type=linux
28.1507 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1508 + shlibpath_var=LD_LIBRARY_PATH
28.1509 + shlibpath_overrides_runpath=yes
28.1510 + ;;
28.1511 +
28.1512 +nto-qnx*)
28.1513 + version_type=linux
28.1514 + need_lib_prefix=no
28.1515 + need_version=no
28.1516 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1517 + soname_spec='${libname}${release}${shared_ext}$major'
28.1518 + shlibpath_var=LD_LIBRARY_PATH
28.1519 + shlibpath_overrides_runpath=yes
28.1520 + ;;
28.1521 +
28.1522 +openbsd*)
28.1523 + version_type=sunos
28.1524 + need_lib_prefix=no
28.1525 + need_version=yes
28.1526 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28.1527 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28.1528 + shlibpath_var=LD_LIBRARY_PATH
28.1529 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28.1530 + case $host_os in
28.1531 + openbsd2.[[89]] | openbsd2.[[89]].*)
28.1532 + shlibpath_overrides_runpath=no
28.1533 + ;;
28.1534 + *)
28.1535 + shlibpath_overrides_runpath=yes
28.1536 + ;;
28.1537 + esac
28.1538 + else
28.1539 + shlibpath_overrides_runpath=yes
28.1540 + fi
28.1541 + ;;
28.1542 +
28.1543 +os2*)
28.1544 + libname_spec='$name'
28.1545 + shrext_cmds=".dll"
28.1546 + need_lib_prefix=no
28.1547 + library_names_spec='$libname${shared_ext} $libname.a'
28.1548 + dynamic_linker='OS/2 ld.exe'
28.1549 + shlibpath_var=LIBPATH
28.1550 + ;;
28.1551 +
28.1552 +osf3* | osf4* | osf5*)
28.1553 + version_type=osf
28.1554 + need_lib_prefix=no
28.1555 + need_version=no
28.1556 + soname_spec='${libname}${release}${shared_ext}$major'
28.1557 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1558 + shlibpath_var=LD_LIBRARY_PATH
28.1559 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
28.1560 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
28.1561 + ;;
28.1562 +
28.1563 +sco3.2v5*)
28.1564 + version_type=osf
28.1565 + soname_spec='${libname}${release}${shared_ext}$major'
28.1566 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1567 + shlibpath_var=LD_LIBRARY_PATH
28.1568 + ;;
28.1569 +
28.1570 +solaris*)
28.1571 + version_type=linux
28.1572 + need_lib_prefix=no
28.1573 + need_version=no
28.1574 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1575 + soname_spec='${libname}${release}${shared_ext}$major'
28.1576 + shlibpath_var=LD_LIBRARY_PATH
28.1577 + shlibpath_overrides_runpath=yes
28.1578 + hardcode_into_libs=yes
28.1579 + # ldd complains unless libraries are executable
28.1580 + postinstall_cmds='chmod +x $lib'
28.1581 + ;;
28.1582 +
28.1583 +sunos4*)
28.1584 + version_type=sunos
28.1585 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28.1586 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
28.1587 + shlibpath_var=LD_LIBRARY_PATH
28.1588 + shlibpath_overrides_runpath=yes
28.1589 + if test "$with_gnu_ld" = yes; then
28.1590 + need_lib_prefix=no
28.1591 + fi
28.1592 + need_version=yes
28.1593 + ;;
28.1594 +
28.1595 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28.1596 + version_type=linux
28.1597 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1598 + soname_spec='${libname}${release}${shared_ext}$major'
28.1599 + shlibpath_var=LD_LIBRARY_PATH
28.1600 + case $host_vendor in
28.1601 + sni)
28.1602 + shlibpath_overrides_runpath=no
28.1603 + need_lib_prefix=no
28.1604 + export_dynamic_flag_spec='${wl}-Blargedynsym'
28.1605 + runpath_var=LD_RUN_PATH
28.1606 + ;;
28.1607 + siemens)
28.1608 + need_lib_prefix=no
28.1609 + ;;
28.1610 + motorola)
28.1611 + need_lib_prefix=no
28.1612 + need_version=no
28.1613 + shlibpath_overrides_runpath=no
28.1614 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
28.1615 + ;;
28.1616 + esac
28.1617 + ;;
28.1618 +
28.1619 +sysv4*MP*)
28.1620 + if test -d /usr/nec ;then
28.1621 + version_type=linux
28.1622 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
28.1623 + soname_spec='$libname${shared_ext}.$major'
28.1624 + shlibpath_var=LD_LIBRARY_PATH
28.1625 + fi
28.1626 + ;;
28.1627 +
28.1628 +uts4*)
28.1629 + version_type=linux
28.1630 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28.1631 + soname_spec='${libname}${release}${shared_ext}$major'
28.1632 + shlibpath_var=LD_LIBRARY_PATH
28.1633 + ;;
28.1634 +
28.1635 +*)
28.1636 + dynamic_linker=no
28.1637 + ;;
28.1638 +esac
28.1639 +AC_MSG_RESULT([$dynamic_linker])
28.1640 +test "$dynamic_linker" = no && can_build_shared=no
28.1641 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
28.1642 +
28.1643 +
28.1644 +# _LT_AC_TAGCONFIG
28.1645 +# ----------------
28.1646 +AC_DEFUN([_LT_AC_TAGCONFIG],
28.1647 +[AC_ARG_WITH([tags],
28.1648 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
28.1649 + [include additional configurations @<:@automatic@:>@])],
28.1650 + [tagnames="$withval"])
28.1651 +
28.1652 +if test -f "$ltmain" && test -n "$tagnames"; then
28.1653 + if test ! -f "${ofile}"; then
28.1654 + AC_MSG_WARN([output file `$ofile' does not exist])
28.1655 + fi
28.1656 +
28.1657 + if test -z "$LTCC"; then
28.1658 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
28.1659 + if test -z "$LTCC"; then
28.1660 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
28.1661 + else
28.1662 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
28.1663 + fi
28.1664 + fi
28.1665 +
28.1666 + # Extract list of available tagged configurations in $ofile.
28.1667 + # Note that this assumes the entire list is on one line.
28.1668 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
28.1669 +
28.1670 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
28.1671 + for tagname in $tagnames; do
28.1672 + IFS="$lt_save_ifs"
28.1673 + # Check whether tagname contains only valid characters
28.1674 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
28.1675 + "") ;;
28.1676 + *) AC_MSG_ERROR([invalid tag name: $tagname])
28.1677 + ;;
28.1678 + esac
28.1679 +
28.1680 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
28.1681 + then
28.1682 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
28.1683 + fi
28.1684 +
28.1685 + # Update the list of available tags.
28.1686 + if test -n "$tagname"; then
28.1687 + echo appending configuration tag \"$tagname\" to $ofile
28.1688 +
28.1689 + case $tagname in
28.1690 + CXX)
28.1691 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
28.1692 + AC_LIBTOOL_LANG_CXX_CONFIG
28.1693 + else
28.1694 + tagname=""
28.1695 + fi
28.1696 + ;;
28.1697 +
28.1698 + F77)
28.1699 + if test -n "$F77" && test "X$F77" != "Xno"; then
28.1700 + AC_LIBTOOL_LANG_F77_CONFIG
28.1701 + else
28.1702 + tagname=""
28.1703 + fi
28.1704 + ;;
28.1705 +
28.1706 + GCJ)
28.1707 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
28.1708 + AC_LIBTOOL_LANG_GCJ_CONFIG
28.1709 + else
28.1710 + tagname=""
28.1711 + fi
28.1712 + ;;
28.1713 +
28.1714 + RC)
28.1715 + AC_LIBTOOL_LANG_RC_CONFIG
28.1716 + ;;
28.1717 +
28.1718 + *)
28.1719 + AC_MSG_ERROR([Unsupported tag name: $tagname])
28.1720 + ;;
28.1721 + esac
28.1722 +
28.1723 + # Append the new tag name to the list of available tags.
28.1724 + if test -n "$tagname" ; then
28.1725 + available_tags="$available_tags $tagname"
28.1726 + fi
28.1727 + fi
28.1728 + done
28.1729 + IFS="$lt_save_ifs"
28.1730 +
28.1731 + # Now substitute the updated list of available tags.
28.1732 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
28.1733 + mv "${ofile}T" "$ofile"
28.1734 + chmod +x "$ofile"
28.1735 + else
28.1736 + rm -f "${ofile}T"
28.1737 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
28.1738 + fi
28.1739 +fi
28.1740 +])# _LT_AC_TAGCONFIG
28.1741 +
28.1742 +
28.1743 +# AC_LIBTOOL_DLOPEN
28.1744 +# -----------------
28.1745 +# enable checks for dlopen support
28.1746 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
28.1747 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
28.1748 +])# AC_LIBTOOL_DLOPEN
28.1749 +
28.1750 +
28.1751 +# AC_LIBTOOL_WIN32_DLL
28.1752 +# --------------------
28.1753 +# declare package support for building win32 dll's
28.1754 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
28.1755 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
28.1756 +])# AC_LIBTOOL_WIN32_DLL
28.1757 +
28.1758 +
28.1759 +# AC_ENABLE_SHARED([DEFAULT])
28.1760 +# ---------------------------
28.1761 +# implement the --enable-shared flag
28.1762 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
28.1763 +AC_DEFUN([AC_ENABLE_SHARED],
28.1764 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
28.1765 +AC_ARG_ENABLE([shared],
28.1766 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
28.1767 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
28.1768 + [p=${PACKAGE-default}
28.1769 + case $enableval in
28.1770 + yes) enable_shared=yes ;;
28.1771 + no) enable_shared=no ;;
28.1772 + *)
28.1773 + enable_shared=no
28.1774 + # Look at the argument we got. We use all the common list separators.
28.1775 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
28.1776 + for pkg in $enableval; do
28.1777 + IFS="$lt_save_ifs"
28.1778 + if test "X$pkg" = "X$p"; then
28.1779 + enable_shared=yes
28.1780 + fi
28.1781 + done
28.1782 + IFS="$lt_save_ifs"
28.1783 + ;;
28.1784 + esac],
28.1785 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
28.1786 +])# AC_ENABLE_SHARED
28.1787 +
28.1788 +
28.1789 +# AC_DISABLE_SHARED
28.1790 +# -----------------
28.1791 +#- set the default shared flag to --disable-shared
28.1792 +AC_DEFUN([AC_DISABLE_SHARED],
28.1793 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28.1794 +AC_ENABLE_SHARED(no)
28.1795 +])# AC_DISABLE_SHARED
28.1796 +
28.1797 +
28.1798 +# AC_ENABLE_STATIC([DEFAULT])
28.1799 +# ---------------------------
28.1800 +# implement the --enable-static flag
28.1801 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
28.1802 +AC_DEFUN([AC_ENABLE_STATIC],
28.1803 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
28.1804 +AC_ARG_ENABLE([static],
28.1805 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
28.1806 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
28.1807 + [p=${PACKAGE-default}
28.1808 + case $enableval in
28.1809 + yes) enable_static=yes ;;
28.1810 + no) enable_static=no ;;
28.1811 + *)
28.1812 + enable_static=no
28.1813 + # Look at the argument we got. We use all the common list separators.
28.1814 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
28.1815 + for pkg in $enableval; do
28.1816 + IFS="$lt_save_ifs"
28.1817 + if test "X$pkg" = "X$p"; then
28.1818 + enable_static=yes
28.1819 + fi
28.1820 + done
28.1821 + IFS="$lt_save_ifs"
28.1822 + ;;
28.1823 + esac],
28.1824 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
28.1825 +])# AC_ENABLE_STATIC
28.1826 +
28.1827 +
28.1828 +# AC_DISABLE_STATIC
28.1829 +# -----------------
28.1830 +# set the default static flag to --disable-static
28.1831 +AC_DEFUN([AC_DISABLE_STATIC],
28.1832 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28.1833 +AC_ENABLE_STATIC(no)
28.1834 +])# AC_DISABLE_STATIC
28.1835 +
28.1836 +
28.1837 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
28.1838 +# ---------------------------------
28.1839 +# implement the --enable-fast-install flag
28.1840 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
28.1841 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
28.1842 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
28.1843 +AC_ARG_ENABLE([fast-install],
28.1844 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
28.1845 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
28.1846 + [p=${PACKAGE-default}
28.1847 + case $enableval in
28.1848 + yes) enable_fast_install=yes ;;
28.1849 + no) enable_fast_install=no ;;
28.1850 + *)
28.1851 + enable_fast_install=no
28.1852 + # Look at the argument we got. We use all the common list separators.
28.1853 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
28.1854 + for pkg in $enableval; do
28.1855 + IFS="$lt_save_ifs"
28.1856 + if test "X$pkg" = "X$p"; then
28.1857 + enable_fast_install=yes
28.1858 + fi
28.1859 + done
28.1860 + IFS="$lt_save_ifs"
28.1861 + ;;
28.1862 + esac],
28.1863 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
28.1864 +])# AC_ENABLE_FAST_INSTALL
28.1865 +
28.1866 +
28.1867 +# AC_DISABLE_FAST_INSTALL
28.1868 +# -----------------------
28.1869 +# set the default to --disable-fast-install
28.1870 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
28.1871 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28.1872 +AC_ENABLE_FAST_INSTALL(no)
28.1873 +])# AC_DISABLE_FAST_INSTALL
28.1874 +
28.1875 +
28.1876 +# AC_LIBTOOL_PICMODE([MODE])
28.1877 +# --------------------------
28.1878 +# implement the --with-pic flag
28.1879 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
28.1880 +AC_DEFUN([AC_LIBTOOL_PICMODE],
28.1881 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28.1882 +pic_mode=ifelse($#,1,$1,default)
28.1883 +])# AC_LIBTOOL_PICMODE
28.1884 +
28.1885 +
28.1886 +# AC_PROG_EGREP
28.1887 +# -------------
28.1888 +# This is predefined starting with Autoconf 2.54, so this conditional
28.1889 +# definition can be removed once we require Autoconf 2.54 or later.
28.1890 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
28.1891 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
28.1892 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
28.1893 + then ac_cv_prog_egrep='grep -E'
28.1894 + else ac_cv_prog_egrep='egrep'
28.1895 + fi])
28.1896 + EGREP=$ac_cv_prog_egrep
28.1897 + AC_SUBST([EGREP])
28.1898 +])])
28.1899 +
28.1900 +
28.1901 +# AC_PATH_TOOL_PREFIX
28.1902 +# -------------------
28.1903 +# find a file program which can recognise shared library
28.1904 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
28.1905 +[AC_REQUIRE([AC_PROG_EGREP])dnl
28.1906 +AC_MSG_CHECKING([for $1])
28.1907 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
28.1908 +[case $MAGIC_CMD in
28.1909 +[[\\/*] | ?:[\\/]*])
28.1910 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
28.1911 + ;;
28.1912 +*)
28.1913 + lt_save_MAGIC_CMD="$MAGIC_CMD"
28.1914 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
28.1915 +dnl $ac_dummy forces splitting on constant user-supplied paths.
28.1916 +dnl POSIX.2 word splitting is done only on the output of word expansions,
28.1917 +dnl not every word. This closes a longstanding sh security hole.
28.1918 + ac_dummy="ifelse([$2], , $PATH, [$2])"
28.1919 + for ac_dir in $ac_dummy; do
28.1920 + IFS="$lt_save_ifs"
28.1921 + test -z "$ac_dir" && ac_dir=.
28.1922 + if test -f $ac_dir/$1; then
28.1923 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
28.1924 + if test -n "$file_magic_test_file"; then
28.1925 + case $deplibs_check_method in
28.1926 + "file_magic "*)
28.1927 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
28.1928 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
28.1929 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
28.1930 + $EGREP "$file_magic_regex" > /dev/null; then
28.1931 + :
28.1932 + else
28.1933 + cat <<EOF 1>&2
28.1934 +
28.1935 +*** Warning: the command libtool uses to detect shared libraries,
28.1936 +*** $file_magic_cmd, produces output that libtool cannot recognize.
28.1937 +*** The result is that libtool may fail to recognize shared libraries
28.1938 +*** as such. This will affect the creation of libtool libraries that
28.1939 +*** depend on shared libraries, but programs linked with such libtool
28.1940 +*** libraries will work regardless of this problem. Nevertheless, you
28.1941 +*** may want to report the problem to your system manager and/or to
28.1942 +*** bug-libtool@gnu.org
28.1943 +
28.1944 +EOF
28.1945 + fi ;;
28.1946 + esac
28.1947 + fi
28.1948 + break
28.1949 + fi
28.1950 + done
28.1951 + IFS="$lt_save_ifs"
28.1952 + MAGIC_CMD="$lt_save_MAGIC_CMD"
28.1953 + ;;
28.1954 +esac])
28.1955 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
28.1956 +if test -n "$MAGIC_CMD"; then
28.1957 + AC_MSG_RESULT($MAGIC_CMD)
28.1958 +else
28.1959 + AC_MSG_RESULT(no)
28.1960 +fi
28.1961 +])# AC_PATH_TOOL_PREFIX
28.1962 +
28.1963 +
28.1964 +# AC_PATH_MAGIC
28.1965 +# -------------
28.1966 +# find a file program which can recognise a shared library
28.1967 +AC_DEFUN([AC_PATH_MAGIC],
28.1968 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
28.1969 +if test -z "$lt_cv_path_MAGIC_CMD"; then
28.1970 + if test -n "$ac_tool_prefix"; then
28.1971 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
28.1972 + else
28.1973 + MAGIC_CMD=:
28.1974 + fi
28.1975 +fi
28.1976 +])# AC_PATH_MAGIC
28.1977 +
28.1978 +
28.1979 +# AC_PROG_LD
28.1980 +# ----------
28.1981 +# find the pathname to the GNU or non-GNU linker
28.1982 +AC_DEFUN([AC_PROG_LD],
28.1983 +[AC_ARG_WITH([gnu-ld],
28.1984 + [AC_HELP_STRING([--with-gnu-ld],
28.1985 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
28.1986 + [test "$withval" = no || with_gnu_ld=yes],
28.1987 + [with_gnu_ld=no])
28.1988 +AC_REQUIRE([LT_AC_PROG_SED])dnl
28.1989 +AC_REQUIRE([AC_PROG_CC])dnl
28.1990 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
28.1991 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
28.1992 +ac_prog=ld
28.1993 +if test "$GCC" = yes; then
28.1994 + # Check if gcc -print-prog-name=ld gives a path.
28.1995 + AC_MSG_CHECKING([for ld used by $CC])
28.1996 + case $host in
28.1997 + *-*-mingw*)
28.1998 + # gcc leaves a trailing carriage return which upsets mingw
28.1999 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28.2000 + *)
28.2001 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28.2002 + esac
28.2003 + case $ac_prog in
28.2004 + # Accept absolute paths.
28.2005 + [[\\/]]* | ?:[[\\/]]*)
28.2006 + re_direlt='/[[^/]][[^/]]*/\.\./'
28.2007 + # Canonicalize the pathname of ld
28.2008 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
28.2009 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28.2010 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
28.2011 + done
28.2012 + test -z "$LD" && LD="$ac_prog"
28.2013 + ;;
28.2014 + "")
28.2015 + # If it fails, then pretend we aren't using GCC.
28.2016 + ac_prog=ld
28.2017 + ;;
28.2018 + *)
28.2019 + # If it is relative, then search for the first ld in PATH.
28.2020 + with_gnu_ld=unknown
28.2021 + ;;
28.2022 + esac
28.2023 +elif test "$with_gnu_ld" = yes; then
28.2024 + AC_MSG_CHECKING([for GNU ld])
28.2025 +else
28.2026 + AC_MSG_CHECKING([for non-GNU ld])
28.2027 +fi
28.2028 +AC_CACHE_VAL(lt_cv_path_LD,
28.2029 +[if test -z "$LD"; then
28.2030 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
28.2031 + for ac_dir in $PATH; do
28.2032 + IFS="$lt_save_ifs"
28.2033 + test -z "$ac_dir" && ac_dir=.
28.2034 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28.2035 + lt_cv_path_LD="$ac_dir/$ac_prog"
28.2036 + # Check to see if the program is GNU ld. I'd rather use --version,
28.2037 + # but apparently some GNU ld's only accept -v.
28.2038 + # Break only if it was the GNU/non-GNU ld that we prefer.
28.2039 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
28.2040 + *GNU* | *'with BFD'*)
28.2041 + test "$with_gnu_ld" != no && break
28.2042 + ;;
28.2043 + *)
28.2044 + test "$with_gnu_ld" != yes && break
28.2045 + ;;
28.2046 + esac
28.2047 + fi
28.2048 + done
28.2049 + IFS="$lt_save_ifs"
28.2050 +else
28.2051 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
28.2052 +fi])
28.2053 +LD="$lt_cv_path_LD"
28.2054 +if test -n "$LD"; then
28.2055 + AC_MSG_RESULT($LD)
28.2056 +else
28.2057 + AC_MSG_RESULT(no)
28.2058 +fi
28.2059 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
28.2060 +AC_PROG_LD_GNU
28.2061 +])# AC_PROG_LD
28.2062 +
28.2063 +
28.2064 +# AC_PROG_LD_GNU
28.2065 +# --------------
28.2066 +AC_DEFUN([AC_PROG_LD_GNU],
28.2067 +[AC_REQUIRE([AC_PROG_EGREP])dnl
28.2068 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
28.2069 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
28.2070 +case `$LD -v 2>&1 </dev/null` in
28.2071 +*GNU* | *'with BFD'*)
28.2072 + lt_cv_prog_gnu_ld=yes
28.2073 + ;;
28.2074 +*)
28.2075 + lt_cv_prog_gnu_ld=no
28.2076 + ;;
28.2077 +esac])
28.2078 +with_gnu_ld=$lt_cv_prog_gnu_ld
28.2079 +])# AC_PROG_LD_GNU
28.2080 +
28.2081 +
28.2082 +# AC_PROG_LD_RELOAD_FLAG
28.2083 +# ----------------------
28.2084 +# find reload flag for linker
28.2085 +# -- PORTME Some linkers may need a different reload flag.
28.2086 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
28.2087 +[AC_CACHE_CHECK([for $LD option to reload object files],
28.2088 + lt_cv_ld_reload_flag,
28.2089 + [lt_cv_ld_reload_flag='-r'])
28.2090 +reload_flag=$lt_cv_ld_reload_flag
28.2091 +case $reload_flag in
28.2092 +"" | " "*) ;;
28.2093 +*) reload_flag=" $reload_flag" ;;
28.2094 +esac
28.2095 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
28.2096 +])# AC_PROG_LD_RELOAD_FLAG
28.2097 +
28.2098 +
28.2099 +# AC_DEPLIBS_CHECK_METHOD
28.2100 +# -----------------------
28.2101 +# how to check for library dependencies
28.2102 +# -- PORTME fill in with the dynamic library characteristics
28.2103 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
28.2104 +[AC_CACHE_CHECK([how to recognise dependent libraries],
28.2105 +lt_cv_deplibs_check_method,
28.2106 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
28.2107 +lt_cv_file_magic_test_file=
28.2108 +lt_cv_deplibs_check_method='unknown'
28.2109 +# Need to set the preceding variable on all platforms that support
28.2110 +# interlibrary dependencies.
28.2111 +# 'none' -- dependencies not supported.
28.2112 +# `unknown' -- same as none, but documents that we really don't know.
28.2113 +# 'pass_all' -- all dependencies passed with no checks.
28.2114 +# 'test_compile' -- check by making test program.
28.2115 +# 'file_magic [[regex]]' -- check by looking for files in library path
28.2116 +# which responds to the $file_magic_cmd with a given extended regex.
28.2117 +# If you have `file' or equivalent on your system and you're not sure
28.2118 +# whether `pass_all' will *always* work, you probably want this one.
28.2119 +
28.2120 +case $host_os in
28.2121 +aix4* | aix5*)
28.2122 + lt_cv_deplibs_check_method=pass_all
28.2123 + ;;
28.2124 +
28.2125 +beos*)
28.2126 + lt_cv_deplibs_check_method=pass_all
28.2127 + ;;
28.2128 +
28.2129 +bsdi4*)
28.2130 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
28.2131 + lt_cv_file_magic_cmd='/usr/bin/file -L'
28.2132 + lt_cv_file_magic_test_file=/shlib/libc.so
28.2133 + ;;
28.2134 +
28.2135 +cygwin*)
28.2136 + # func_win32_libid is a shell function defined in ltmain.sh
28.2137 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
28.2138 + lt_cv_file_magic_cmd='func_win32_libid'
28.2139 + ;;
28.2140 +
28.2141 +mingw* | pw32*)
28.2142 + # Base MSYS/MinGW do not provide the 'file' command needed by
28.2143 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
28.2144 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
28.2145 + lt_cv_file_magic_cmd='$OBJDUMP -f'
28.2146 + ;;
28.2147 +
28.2148 +darwin* | rhapsody*)
28.2149 + lt_cv_deplibs_check_method=pass_all
28.2150 + ;;
28.2151 +
28.2152 +freebsd* | kfreebsd*-gnu)
28.2153 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
28.2154 + case $host_cpu in
28.2155 + i*86 )
28.2156 + # Not sure whether the presence of OpenBSD here was a mistake.
28.2157 + # Let's accept both of them until this is cleared up.
28.2158 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
28.2159 + lt_cv_file_magic_cmd=/usr/bin/file
28.2160 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
28.2161 + ;;
28.2162 + esac
28.2163 + else
28.2164 + lt_cv_deplibs_check_method=pass_all
28.2165 + fi
28.2166 + ;;
28.2167 +
28.2168 +gnu*)
28.2169 + lt_cv_deplibs_check_method=pass_all
28.2170 + ;;
28.2171 +
28.2172 +hpux10.20* | hpux11*)
28.2173 + lt_cv_file_magic_cmd=/usr/bin/file
28.2174 + case "$host_cpu" in
28.2175 + ia64*)
28.2176 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
28.2177 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
28.2178 + ;;
28.2179 + hppa*64*)
28.2180 + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
28.2181 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
28.2182 + ;;
28.2183 + *)
28.2184 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
28.2185 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
28.2186 + ;;
28.2187 + esac
28.2188 + ;;
28.2189 +
28.2190 +irix5* | irix6* | nonstopux*)
28.2191 + case $LD in
28.2192 + *-32|*"-32 ") libmagic=32-bit;;
28.2193 + *-n32|*"-n32 ") libmagic=N32;;
28.2194 + *-64|*"-64 ") libmagic=64-bit;;
28.2195 + *) libmagic=never-match;;
28.2196 + esac
28.2197 + lt_cv_deplibs_check_method=pass_all
28.2198 + ;;
28.2199 +
28.2200 +# This must be Linux ELF.
28.2201 +linux*)
28.2202 + lt_cv_deplibs_check_method=pass_all
28.2203 + ;;
28.2204 +
28.2205 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
28.2206 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
28.2207 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
28.2208 + else
28.2209 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
28.2210 + fi
28.2211 + ;;
28.2212 +
28.2213 +newos6*)
28.2214 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
28.2215 + lt_cv_file_magic_cmd=/usr/bin/file
28.2216 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
28.2217 + ;;
28.2218 +
28.2219 +nto-qnx*)
28.2220 + lt_cv_deplibs_check_method=unknown
28.2221 + ;;
28.2222 +
28.2223 +openbsd*)
28.2224 + lt_cv_file_magic_cmd=/usr/bin/file
28.2225 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
28.2226 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28.2227 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
28.2228 + else
28.2229 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
28.2230 + fi
28.2231 + ;;
28.2232 +
28.2233 +osf3* | osf4* | osf5*)
28.2234 + lt_cv_deplibs_check_method=pass_all
28.2235 + ;;
28.2236 +
28.2237 +sco3.2v5*)
28.2238 + lt_cv_deplibs_check_method=pass_all
28.2239 + ;;
28.2240 +
28.2241 +solaris*)
28.2242 + lt_cv_deplibs_check_method=pass_all
28.2243 + ;;
28.2244 +
28.2245 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28.2246 + case $host_vendor in
28.2247 + motorola)
28.2248 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
28.2249 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
28.2250 + ;;
28.2251 + ncr)
28.2252 + lt_cv_deplibs_check_method=pass_all
28.2253 + ;;
28.2254 + sequent)
28.2255 + lt_cv_file_magic_cmd='/bin/file'
28.2256 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
28.2257 + ;;
28.2258 + sni)
28.2259 + lt_cv_file_magic_cmd='/bin/file'
28.2260 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
28.2261 + lt_cv_file_magic_test_file=/lib/libc.so
28.2262 + ;;
28.2263 + siemens)
28.2264 + lt_cv_deplibs_check_method=pass_all
28.2265 + ;;
28.2266 + esac
28.2267 + ;;
28.2268 +
28.2269 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
28.2270 + lt_cv_deplibs_check_method=pass_all
28.2271 + ;;
28.2272 +esac
28.2273 +])
28.2274 +file_magic_cmd=$lt_cv_file_magic_cmd
28.2275 +deplibs_check_method=$lt_cv_deplibs_check_method
28.2276 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
28.2277 +])# AC_DEPLIBS_CHECK_METHOD
28.2278 +
28.2279 +
28.2280 +# AC_PROG_NM
28.2281 +# ----------
28.2282 +# find the pathname to a BSD-compatible name lister
28.2283 +AC_DEFUN([AC_PROG_NM],
28.2284 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
28.2285 +[if test -n "$NM"; then
28.2286 + # Let the user override the test.
28.2287 + lt_cv_path_NM="$NM"
28.2288 +else
28.2289 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
28.2290 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
28.2291 + IFS="$lt_save_ifs"
28.2292 + test -z "$ac_dir" && ac_dir=.
28.2293 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
28.2294 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
28.2295 + # Check to see if the nm accepts a BSD-compat flag.
28.2296 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
28.2297 + # nm: unknown option "B" ignored
28.2298 + # Tru64's nm complains that /dev/null is an invalid object file
28.2299 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
28.2300 + */dev/null* | *'Invalid file or object type'*)
28.2301 + lt_cv_path_NM="$tmp_nm -B"
28.2302 + break
28.2303 + ;;
28.2304 + *)
28.2305 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
28.2306 + */dev/null*)
28.2307 + lt_cv_path_NM="$tmp_nm -p"
28.2308 + break
28.2309 + ;;
28.2310 + *)
28.2311 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
28.2312 + continue # so that we can try to find one that supports BSD flags
28.2313 + ;;
28.2314 + esac
28.2315 + esac
28.2316 + fi
28.2317 + done
28.2318 + IFS="$lt_save_ifs"
28.2319 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
28.2320 +fi])
28.2321 +NM="$lt_cv_path_NM"
28.2322 +])# AC_PROG_NM
28.2323 +
28.2324 +
28.2325 +# AC_CHECK_LIBM
28.2326 +# -------------
28.2327 +# check for math library
28.2328 +AC_DEFUN([AC_CHECK_LIBM],
28.2329 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
28.2330 +LIBM=
28.2331 +case $host in
28.2332 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
28.2333 + # These system don't have libm, or don't need it
28.2334 + ;;
28.2335 +*-ncr-sysv4.3*)
28.2336 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
28.2337 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
28.2338 + ;;
28.2339 +*)
28.2340 + AC_CHECK_LIB(m, cos, LIBM="-lm")
28.2341 + ;;
28.2342 +esac
28.2343 +])# AC_CHECK_LIBM
28.2344 +
28.2345 +
28.2346 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
28.2347 +# -----------------------------------
28.2348 +# sets LIBLTDL to the link flags for the libltdl convenience library and
28.2349 +# LTDLINCL to the include flags for the libltdl header and adds
28.2350 +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
28.2351 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
28.2352 +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
28.2353 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
28.2354 +# '${top_srcdir}/' (note the single quotes!). If your package is not
28.2355 +# flat and you're not using automake, define top_builddir and
28.2356 +# top_srcdir appropriately in the Makefiles.
28.2357 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
28.2358 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28.2359 + case $enable_ltdl_convenience in
28.2360 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
28.2361 + "") enable_ltdl_convenience=yes
28.2362 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
28.2363 + esac
28.2364 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
28.2365 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
28.2366 + # For backwards non-gettext consistent compatibility...
28.2367 + INCLTDL="$LTDLINCL"
28.2368 +])# AC_LIBLTDL_CONVENIENCE
28.2369 +
28.2370 +
28.2371 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
28.2372 +# -----------------------------------
28.2373 +# sets LIBLTDL to the link flags for the libltdl installable library and
28.2374 +# LTDLINCL to the include flags for the libltdl header and adds
28.2375 +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
28.2376 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
28.2377 +# DIRECTORY is not provided and an installed libltdl is not found, it is
28.2378 +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
28.2379 +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
28.2380 +# quotes!). If your package is not flat and you're not using automake,
28.2381 +# define top_builddir and top_srcdir appropriately in the Makefiles.
28.2382 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
28.2383 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
28.2384 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
28.2385 + AC_CHECK_LIB(ltdl, lt_dlinit,
28.2386 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
28.2387 + [if test x"$enable_ltdl_install" = xno; then
28.2388 + AC_MSG_WARN([libltdl not installed, but installation disabled])
28.2389 + else
28.2390 + enable_ltdl_install=yes
28.2391 + fi
28.2392 + ])
28.2393 + if test x"$enable_ltdl_install" = x"yes"; then
28.2394 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
28.2395 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
28.2396 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
28.2397 + else
28.2398 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
28.2399 + LIBLTDL="-lltdl"
28.2400 + LTDLINCL=
28.2401 + fi
28.2402 + # For backwards non-gettext consistent compatibility...
28.2403 + INCLTDL="$LTDLINCL"
28.2404 +])# AC_LIBLTDL_INSTALLABLE
28.2405 +
28.2406 +
28.2407 +# AC_LIBTOOL_CXX
28.2408 +# --------------
28.2409 +# enable support for C++ libraries
28.2410 +AC_DEFUN([AC_LIBTOOL_CXX],
28.2411 +[AC_REQUIRE([_LT_AC_LANG_CXX])
28.2412 +])# AC_LIBTOOL_CXX
28.2413 +
28.2414 +
28.2415 +# _LT_AC_LANG_CXX
28.2416 +# ---------------
28.2417 +AC_DEFUN([_LT_AC_LANG_CXX],
28.2418 +[AC_REQUIRE([AC_PROG_CXX])
28.2419 +AC_REQUIRE([AC_PROG_CXXCPP])
28.2420 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
28.2421 +])# _LT_AC_LANG_CXX
28.2422 +
28.2423 +
28.2424 +# AC_LIBTOOL_F77
28.2425 +# --------------
28.2426 +# enable support for Fortran 77 libraries
28.2427 +AC_DEFUN([AC_LIBTOOL_F77],
28.2428 +[AC_REQUIRE([_LT_AC_LANG_F77])
28.2429 +])# AC_LIBTOOL_F77
28.2430 +
28.2431 +
28.2432 +# _LT_AC_LANG_F77
28.2433 +# ---------------
28.2434 +AC_DEFUN([_LT_AC_LANG_F77],
28.2435 +[AC_REQUIRE([AC_PROG_F77])
28.2436 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
28.2437 +])# _LT_AC_LANG_F77
28.2438 +
28.2439 +
28.2440 +# AC_LIBTOOL_GCJ
28.2441 +# --------------
28.2442 +# enable support for GCJ libraries
28.2443 +AC_DEFUN([AC_LIBTOOL_GCJ],
28.2444 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
28.2445 +])# AC_LIBTOOL_GCJ
28.2446 +
28.2447 +
28.2448 +# _LT_AC_LANG_GCJ
28.2449 +# ---------------
28.2450 +AC_DEFUN([_LT_AC_LANG_GCJ],
28.2451 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
28.2452 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
28.2453 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
28.2454 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
28.2455 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
28.2456 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
28.2457 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
28.2458 +])# _LT_AC_LANG_GCJ
28.2459 +
28.2460 +
28.2461 +# AC_LIBTOOL_RC
28.2462 +# --------------
28.2463 +# enable support for Windows resource files
28.2464 +AC_DEFUN([AC_LIBTOOL_RC],
28.2465 +[AC_REQUIRE([LT_AC_PROG_RC])
28.2466 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
28.2467 +])# AC_LIBTOOL_RC
28.2468 +
28.2469 +
28.2470 +# AC_LIBTOOL_LANG_C_CONFIG
28.2471 +# ------------------------
28.2472 +# Ensure that the configuration vars for the C compiler are
28.2473 +# suitably defined. Those variables are subsequently used by
28.2474 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
28.2475 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
28.2476 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
28.2477 +[lt_save_CC="$CC"
28.2478 +AC_LANG_PUSH(C)
28.2479 +
28.2480 +# Source file extension for C test sources.
28.2481 +ac_ext=c
28.2482 +
28.2483 +# Object file extension for compiled C test sources.
28.2484 +objext=o
28.2485 +_LT_AC_TAGVAR(objext, $1)=$objext
28.2486 +
28.2487 +# Code to be used in simple compile tests
28.2488 +lt_simple_compile_test_code="int some_variable = 0;\n"
28.2489 +
28.2490 +# Code to be used in simple link tests
28.2491 +lt_simple_link_test_code='int main(){return(0);}\n'
28.2492 +
28.2493 +_LT_AC_SYS_COMPILER
28.2494 +
28.2495 +#
28.2496 +# Check for any special shared library compilation flags.
28.2497 +#
28.2498 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
28.2499 +if test "$GCC" = no; then
28.2500 + case $host_os in
28.2501 + sco3.2v5*)
28.2502 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
28.2503 + ;;
28.2504 + esac
28.2505 +fi
28.2506 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
28.2507 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
28.2508 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
28.2509 + else
28.2510 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
28.2511 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
28.2512 + fi
28.2513 +fi
28.2514 +
28.2515 +
28.2516 +#
28.2517 +# Check to make sure the static flag actually works.
28.2518 +#
28.2519 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
28.2520 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
28.2521 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
28.2522 + [],
28.2523 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
28.2524 +
28.2525 +
28.2526 +## CAVEAT EMPTOR:
28.2527 +## There is no encapsulation within the following macros, do not change
28.2528 +## the running order or otherwise move them around unless you know exactly
28.2529 +## what you are doing...
28.2530 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
28.2531 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
28.2532 +AC_LIBTOOL_PROG_CC_C_O($1)
28.2533 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
28.2534 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
28.2535 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
28.2536 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
28.2537 +AC_LIBTOOL_SYS_LIB_STRIP
28.2538 +AC_LIBTOOL_DLOPEN_SELF($1)
28.2539 +
28.2540 +# Report which librarie types wil actually be built
28.2541 +AC_MSG_CHECKING([if libtool supports shared libraries])
28.2542 +AC_MSG_RESULT([$can_build_shared])
28.2543 +
28.2544 +AC_MSG_CHECKING([whether to build shared libraries])
28.2545 +test "$can_build_shared" = "no" && enable_shared=no
28.2546 +
28.2547 +# On AIX, shared libraries and static libraries use the same namespace, and
28.2548 +# are all built from PIC.
28.2549 +case "$host_os" in
28.2550 +aix3*)
28.2551 + test "$enable_shared" = yes && enable_static=no
28.2552 + if test -n "$RANLIB"; then
28.2553 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
28.2554 + postinstall_cmds='$RANLIB $lib'
28.2555 + fi
28.2556 + ;;
28.2557 +
28.2558 +aix4* | aix5*)
28.2559 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
28.2560 + test "$enable_shared" = yes && enable_static=no
28.2561 + fi
28.2562 + ;;
28.2563 + darwin* | rhapsody*)
28.2564 + if test "$GCC" = yes; then
28.2565 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.2566 + case "$host_os" in
28.2567 + rhapsody* | darwin1.[[012]])
28.2568 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
28.2569 + ;;
28.2570 + *) # Darwin 1.3 on
28.2571 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
28.2572 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
28.2573 + else
28.2574 + case ${MACOSX_DEPLOYMENT_TARGET} in
28.2575 + 10.[[012]])
28.2576 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
28.2577 + ;;
28.2578 + 10.*)
28.2579 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
28.2580 + ;;
28.2581 + esac
28.2582 + fi
28.2583 + ;;
28.2584 + esac
28.2585 + output_verbose_link_cmd='echo'
28.2586 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
28.2587 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
28.2588 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
28.2589 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.2590 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.2591 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.2592 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
28.2593 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
28.2594 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
28.2595 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.2596 + else
28.2597 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2598 + fi
28.2599 + ;;
28.2600 +esac
28.2601 +AC_MSG_RESULT([$enable_shared])
28.2602 +
28.2603 +AC_MSG_CHECKING([whether to build static libraries])
28.2604 +# Make sure either enable_shared or enable_static is yes.
28.2605 +test "$enable_shared" = yes || enable_static=yes
28.2606 +AC_MSG_RESULT([$enable_static])
28.2607 +
28.2608 +AC_LIBTOOL_CONFIG($1)
28.2609 +
28.2610 +AC_LANG_POP
28.2611 +CC="$lt_save_CC"
28.2612 +])# AC_LIBTOOL_LANG_C_CONFIG
28.2613 +
28.2614 +
28.2615 +# AC_LIBTOOL_LANG_CXX_CONFIG
28.2616 +# --------------------------
28.2617 +# Ensure that the configuration vars for the C compiler are
28.2618 +# suitably defined. Those variables are subsequently used by
28.2619 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
28.2620 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
28.2621 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
28.2622 +[AC_LANG_PUSH(C++)
28.2623 +AC_REQUIRE([AC_PROG_CXX])
28.2624 +AC_REQUIRE([AC_PROG_CXXCPP])
28.2625 +
28.2626 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.2627 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
28.2628 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
28.2629 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
28.2630 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
28.2631 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
28.2632 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
28.2633 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
28.2634 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
28.2635 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
28.2636 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
28.2637 +_LT_AC_TAGVAR(module_cmds, $1)=
28.2638 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
28.2639 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
28.2640 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
28.2641 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
28.2642 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
28.2643 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
28.2644 +
28.2645 +# Dependencies to place before and after the object being linked:
28.2646 +_LT_AC_TAGVAR(predep_objects, $1)=
28.2647 +_LT_AC_TAGVAR(postdep_objects, $1)=
28.2648 +_LT_AC_TAGVAR(predeps, $1)=
28.2649 +_LT_AC_TAGVAR(postdeps, $1)=
28.2650 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
28.2651 +
28.2652 +# Source file extension for C++ test sources.
28.2653 +ac_ext=cc
28.2654 +
28.2655 +# Object file extension for compiled C++ test sources.
28.2656 +objext=o
28.2657 +_LT_AC_TAGVAR(objext, $1)=$objext
28.2658 +
28.2659 +# Code to be used in simple compile tests
28.2660 +lt_simple_compile_test_code="int some_variable = 0;\n"
28.2661 +
28.2662 +# Code to be used in simple link tests
28.2663 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
28.2664 +
28.2665 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
28.2666 +_LT_AC_SYS_COMPILER
28.2667 +
28.2668 +# Allow CC to be a program name with arguments.
28.2669 +lt_save_CC=$CC
28.2670 +lt_save_LD=$LD
28.2671 +lt_save_GCC=$GCC
28.2672 +GCC=$GXX
28.2673 +lt_save_with_gnu_ld=$with_gnu_ld
28.2674 +lt_save_path_LD=$lt_cv_path_LD
28.2675 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
28.2676 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
28.2677 +else
28.2678 + unset lt_cv_prog_gnu_ld
28.2679 +fi
28.2680 +if test -n "${lt_cv_path_LDCXX+set}"; then
28.2681 + lt_cv_path_LD=$lt_cv_path_LDCXX
28.2682 +else
28.2683 + unset lt_cv_path_LD
28.2684 +fi
28.2685 +test -z "${LDCXX+set}" || LD=$LDCXX
28.2686 +CC=${CXX-"c++"}
28.2687 +compiler=$CC
28.2688 +_LT_AC_TAGVAR(compiler, $1)=$CC
28.2689 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
28.2690 +
28.2691 +# We don't want -fno-exception wen compiling C++ code, so set the
28.2692 +# no_builtin_flag separately
28.2693 +if test "$GXX" = yes; then
28.2694 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
28.2695 +else
28.2696 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
28.2697 +fi
28.2698 +
28.2699 +if test "$GXX" = yes; then
28.2700 + # Set up default GNU C++ configuration
28.2701 +
28.2702 + AC_PROG_LD
28.2703 +
28.2704 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
28.2705 + # archiving commands below assume that GNU ld is being used.
28.2706 + if test "$with_gnu_ld" = yes; then
28.2707 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.2708 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28.2709 +
28.2710 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
28.2711 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
28.2712 +
28.2713 + # If archive_cmds runs LD, not CC, wlarc should be empty
28.2714 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
28.2715 + # investigate it a little bit more. (MM)
28.2716 + wlarc='${wl}'
28.2717 +
28.2718 + # ancient GNU ld didn't support --whole-archive et. al.
28.2719 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
28.2720 + grep 'no-whole-archive' > /dev/null; then
28.2721 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
28.2722 + else
28.2723 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
28.2724 + fi
28.2725 + else
28.2726 + with_gnu_ld=no
28.2727 + wlarc=
28.2728 +
28.2729 + # A generic and very simple default shared library creation
28.2730 + # command for GNU C++ for the case where it uses the native
28.2731 + # linker, instead of GNU ld. If possible, this setting should
28.2732 + # overridden to take advantage of the native linker features on
28.2733 + # the platform it is being used on.
28.2734 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
28.2735 + fi
28.2736 +
28.2737 + # Commands to make compiler produce verbose output that lists
28.2738 + # what "hidden" libraries, object files and flags are used when
28.2739 + # linking a shared library.
28.2740 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
28.2741 +
28.2742 +else
28.2743 + GXX=no
28.2744 + with_gnu_ld=no
28.2745 + wlarc=
28.2746 +fi
28.2747 +
28.2748 +# PORTME: fill in a description of your system's C++ link characteristics
28.2749 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
28.2750 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
28.2751 +case $host_os in
28.2752 + aix3*)
28.2753 + # FIXME: insert proper C++ library support
28.2754 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2755 + ;;
28.2756 + aix4* | aix5*)
28.2757 + if test "$host_cpu" = ia64; then
28.2758 + # On IA64, the linker does run time linking by default, so we don't
28.2759 + # have to do anything special.
28.2760 + aix_use_runtimelinking=no
28.2761 + exp_sym_flag='-Bexport'
28.2762 + no_entry_flag=""
28.2763 + else
28.2764 + aix_use_runtimelinking=no
28.2765 +
28.2766 + # Test if we are trying to use run time linking or normal
28.2767 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
28.2768 + # need to do runtime linking.
28.2769 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
28.2770 + for ld_flag in $LDFLAGS; do
28.2771 + case $ld_flag in
28.2772 + *-brtl*)
28.2773 + aix_use_runtimelinking=yes
28.2774 + break
28.2775 + ;;
28.2776 + esac
28.2777 + done
28.2778 + esac
28.2779 +
28.2780 + exp_sym_flag='-bexport'
28.2781 + no_entry_flag='-bnoentry'
28.2782 + fi
28.2783 +
28.2784 + # When large executables or shared objects are built, AIX ld can
28.2785 + # have problems creating the table of contents. If linking a library
28.2786 + # or program results in "error TOC overflow" add -mminimal-toc to
28.2787 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
28.2788 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
28.2789 +
28.2790 + _LT_AC_TAGVAR(archive_cmds, $1)=''
28.2791 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.2792 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
28.2793 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.2794 +
28.2795 + if test "$GXX" = yes; then
28.2796 + case $host_os in aix4.[012]|aix4.[012].*)
28.2797 + # We only want to do this on AIX 4.2 and lower, the check
28.2798 + # below for broken collect2 doesn't work under 4.3+
28.2799 + collect2name=`${CC} -print-prog-name=collect2`
28.2800 + if test -f "$collect2name" && \
28.2801 + strings "$collect2name" | grep resolve_lib_name >/dev/null
28.2802 + then
28.2803 + # We have reworked collect2
28.2804 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.2805 + else
28.2806 + # We have old collect2
28.2807 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
28.2808 + # It fails to find uninstalled libraries when the uninstalled
28.2809 + # path is not listed in the libpath. Setting hardcode_minus_L
28.2810 + # to unsupported forces relinking
28.2811 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.2812 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.2813 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
28.2814 + fi
28.2815 + esac
28.2816 + shared_flag='-shared'
28.2817 + else
28.2818 + # not using gcc
28.2819 + if test "$host_cpu" = ia64; then
28.2820 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
28.2821 + # chokes on -Wl,-G. The following line is correct:
28.2822 + shared_flag='-G'
28.2823 + else
28.2824 + if test "$aix_use_runtimelinking" = yes; then
28.2825 + shared_flag='${wl}-G'
28.2826 + else
28.2827 + shared_flag='${wl}-bM:SRE'
28.2828 + fi
28.2829 + fi
28.2830 + fi
28.2831 +
28.2832 + # It seems that -bexpall does not export symbols beginning with
28.2833 + # underscore (_), so it is better to generate a list of symbols to export.
28.2834 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
28.2835 + if test "$aix_use_runtimelinking" = yes; then
28.2836 + # Warning - without using the other runtime loading flags (-brtl),
28.2837 + # -berok will link without error, but may produce a broken library.
28.2838 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
28.2839 + # Determine the default libpath from the value encoded in an empty executable.
28.2840 + _LT_AC_SYS_LIBPATH_AIX
28.2841 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
28.2842 +
28.2843 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
28.2844 + else
28.2845 + if test "$host_cpu" = ia64; then
28.2846 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
28.2847 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
28.2848 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
28.2849 + else
28.2850 + # Determine the default libpath from the value encoded in an empty executable.
28.2851 + _LT_AC_SYS_LIBPATH_AIX
28.2852 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
28.2853 + # Warning - without using the other run time loading flags,
28.2854 + # -berok will link without error, but may produce a broken library.
28.2855 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
28.2856 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
28.2857 + # -bexpall does not export symbols beginning with underscore (_)
28.2858 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
28.2859 + # Exported symbols can be pulled into shared objects from archives
28.2860 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
28.2861 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
28.2862 + # This is similar to how AIX traditionally builds it's shared libraries.
28.2863 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
28.2864 + fi
28.2865 + fi
28.2866 + ;;
28.2867 + chorus*)
28.2868 + case $cc_basename in
28.2869 + *)
28.2870 + # FIXME: insert proper C++ library support
28.2871 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2872 + ;;
28.2873 + esac
28.2874 + ;;
28.2875 +
28.2876 + cygwin* | mingw* | pw32*)
28.2877 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
28.2878 + # as there is no search path for DLLs.
28.2879 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.2880 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
28.2881 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
28.2882 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
28.2883 +
28.2884 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
28.2885 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
28.2886 + # If the export-symbols file already is a .def file (1st line
28.2887 + # is EXPORTS), use it as is; otherwise, prepend...
28.2888 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
28.2889 + cp $export_symbols $output_objdir/$soname.def;
28.2890 + else
28.2891 + echo EXPORTS > $output_objdir/$soname.def;
28.2892 + cat $export_symbols >> $output_objdir/$soname.def;
28.2893 + fi~
28.2894 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
28.2895 + else
28.2896 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2897 + fi
28.2898 + ;;
28.2899 +
28.2900 + darwin* | rhapsody*)
28.2901 + if test "$GXX" = yes; then
28.2902 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.2903 + case "$host_os" in
28.2904 + rhapsody* | darwin1.[[012]])
28.2905 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
28.2906 + ;;
28.2907 + *) # Darwin 1.3 on
28.2908 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
28.2909 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
28.2910 + else
28.2911 + case ${MACOSX_DEPLOYMENT_TARGET} in
28.2912 + 10.[[012]])
28.2913 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
28.2914 + ;;
28.2915 + 10.*)
28.2916 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
28.2917 + ;;
28.2918 + esac
28.2919 + fi
28.2920 + ;;
28.2921 + esac
28.2922 + lt_int_apple_cc_single_mod=no
28.2923 + output_verbose_link_cmd='echo'
28.2924 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
28.2925 + lt_int_apple_cc_single_mod=yes
28.2926 + fi
28.2927 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
28.2928 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
28.2929 + else
28.2930 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
28.2931 + fi
28.2932 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
28.2933 +
28.2934 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
28.2935 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
28.2936 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.2937 + else
28.2938 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.2939 + fi
28.2940 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.2941 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.2942 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
28.2943 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
28.2944 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
28.2945 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.2946 + else
28.2947 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2948 + fi
28.2949 + ;;
28.2950 +
28.2951 + dgux*)
28.2952 + case $cc_basename in
28.2953 + ec++)
28.2954 + # FIXME: insert proper C++ library support
28.2955 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2956 + ;;
28.2957 + ghcx)
28.2958 + # Green Hills C++ Compiler
28.2959 + # FIXME: insert proper C++ library support
28.2960 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2961 + ;;
28.2962 + *)
28.2963 + # FIXME: insert proper C++ library support
28.2964 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2965 + ;;
28.2966 + esac
28.2967 + ;;
28.2968 + freebsd[12]*)
28.2969 + # C++ shared libraries reported to be fairly broken before switch to ELF
28.2970 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2971 + ;;
28.2972 + freebsd-elf*)
28.2973 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.2974 + ;;
28.2975 + freebsd* | kfreebsd*-gnu)
28.2976 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
28.2977 + # conventions
28.2978 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
28.2979 + ;;
28.2980 + gnu*)
28.2981 + ;;
28.2982 + hpux9*)
28.2983 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
28.2984 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.2985 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
28.2986 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.2987 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
28.2988 + # but as the default
28.2989 + # location of the library.
28.2990 +
28.2991 + case $cc_basename in
28.2992 + CC)
28.2993 + # FIXME: insert proper C++ library support
28.2994 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.2995 + ;;
28.2996 + aCC)
28.2997 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
28.2998 + # Commands to make compiler produce verbose output that lists
28.2999 + # what "hidden" libraries, object files and flags are used when
28.3000 + # linking a shared library.
28.3001 + #
28.3002 + # There doesn't appear to be a way to prevent this compiler from
28.3003 + # explicitly linking system object files so we need to strip them
28.3004 + # from the output so that they don't get included in the library
28.3005 + # dependencies.
28.3006 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3007 + ;;
28.3008 + *)
28.3009 + if test "$GXX" = yes; then
28.3010 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
28.3011 + else
28.3012 + # FIXME: insert proper C++ library support
28.3013 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3014 + fi
28.3015 + ;;
28.3016 + esac
28.3017 + ;;
28.3018 + hpux10*|hpux11*)
28.3019 + if test $with_gnu_ld = no; then
28.3020 + case "$host_cpu" in
28.3021 + hppa*64*)
28.3022 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
28.3023 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
28.3024 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3025 + ;;
28.3026 + ia64*)
28.3027 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.3028 + ;;
28.3029 + *)
28.3030 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
28.3031 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3032 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
28.3033 + ;;
28.3034 + esac
28.3035 + fi
28.3036 + case "$host_cpu" in
28.3037 + hppa*64*)
28.3038 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.3039 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.3040 + ;;
28.3041 + ia64*)
28.3042 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.3043 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.3044 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
28.3045 + # but as the default
28.3046 + # location of the library.
28.3047 + ;;
28.3048 + *)
28.3049 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.3050 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
28.3051 + # but as the default
28.3052 + # location of the library.
28.3053 + ;;
28.3054 + esac
28.3055 +
28.3056 + case $cc_basename in
28.3057 + CC)
28.3058 + # FIXME: insert proper C++ library support
28.3059 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3060 + ;;
28.3061 + aCC)
28.3062 + case "$host_cpu" in
28.3063 + hppa*64*|ia64*)
28.3064 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
28.3065 + ;;
28.3066 + *)
28.3067 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
28.3068 + ;;
28.3069 + esac
28.3070 + # Commands to make compiler produce verbose output that lists
28.3071 + # what "hidden" libraries, object files and flags are used when
28.3072 + # linking a shared library.
28.3073 + #
28.3074 + # There doesn't appear to be a way to prevent this compiler from
28.3075 + # explicitly linking system object files so we need to strip them
28.3076 + # from the output so that they don't get included in the library
28.3077 + # dependencies.
28.3078 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3079 + ;;
28.3080 + *)
28.3081 + if test "$GXX" = yes; then
28.3082 + if test $with_gnu_ld = no; then
28.3083 + case "$host_cpu" in
28.3084 + ia64*|hppa*64*)
28.3085 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
28.3086 + ;;
28.3087 + *)
28.3088 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
28.3089 + ;;
28.3090 + esac
28.3091 + fi
28.3092 + else
28.3093 + # FIXME: insert proper C++ library support
28.3094 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3095 + fi
28.3096 + ;;
28.3097 + esac
28.3098 + ;;
28.3099 + irix5* | irix6*)
28.3100 + case $cc_basename in
28.3101 + CC)
28.3102 + # SGI C++
28.3103 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
28.3104 +
28.3105 + # Archives containing C++ object files must be created using
28.3106 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
28.3107 + # necessary to make sure instantiated templates are included
28.3108 + # in the archive.
28.3109 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
28.3110 + ;;
28.3111 + *)
28.3112 + if test "$GXX" = yes; then
28.3113 + if test "$with_gnu_ld" = no; then
28.3114 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
28.3115 + else
28.3116 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
28.3117 + fi
28.3118 + fi
28.3119 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.3120 + ;;
28.3121 + esac
28.3122 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.3123 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3124 + ;;
28.3125 + linux*)
28.3126 + case $cc_basename in
28.3127 + KCC)
28.3128 + # Kuck and Associates, Inc. (KAI) C++ Compiler
28.3129 +
28.3130 + # KCC will only create a shared library if the output file
28.3131 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
28.3132 + # to its proper name (with version) after linking.
28.3133 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
28.3134 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
28.3135 + # Commands to make compiler produce verbose output that lists
28.3136 + # what "hidden" libraries, object files and flags are used when
28.3137 + # linking a shared library.
28.3138 + #
28.3139 + # There doesn't appear to be a way to prevent this compiler from
28.3140 + # explicitly linking system object files so we need to strip them
28.3141 + # from the output so that they don't get included in the library
28.3142 + # dependencies.
28.3143 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3144 +
28.3145 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
28.3146 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
28.3147 +
28.3148 + # Archives containing C++ object files must be created using
28.3149 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
28.3150 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
28.3151 + ;;
28.3152 + icpc)
28.3153 + # Intel C++
28.3154 + with_gnu_ld=yes
28.3155 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.3156 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.3157 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28.3158 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
28.3159 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
28.3160 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
28.3161 + ;;
28.3162 + cxx)
28.3163 + # Compaq C++
28.3164 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.3165 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
28.3166 +
28.3167 + runpath_var=LD_RUN_PATH
28.3168 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
28.3169 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3170 +
28.3171 + # Commands to make compiler produce verbose output that lists
28.3172 + # what "hidden" libraries, object files and flags are used when
28.3173 + # linking a shared library.
28.3174 + #
28.3175 + # There doesn't appear to be a way to prevent this compiler from
28.3176 + # explicitly linking system object files so we need to strip them
28.3177 + # from the output so that they don't get included in the library
28.3178 + # dependencies.
28.3179 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3180 + ;;
28.3181 + esac
28.3182 + ;;
28.3183 + lynxos*)
28.3184 + # FIXME: insert proper C++ library support
28.3185 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3186 + ;;
28.3187 + m88k*)
28.3188 + # FIXME: insert proper C++ library support
28.3189 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3190 + ;;
28.3191 + mvs*)
28.3192 + case $cc_basename in
28.3193 + cxx)
28.3194 + # FIXME: insert proper C++ library support
28.3195 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3196 + ;;
28.3197 + *)
28.3198 + # FIXME: insert proper C++ library support
28.3199 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3200 + ;;
28.3201 + esac
28.3202 + ;;
28.3203 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
28.3204 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28.3205 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
28.3206 + wlarc=
28.3207 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.3208 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.3209 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.3210 + fi
28.3211 + # Workaround some broken pre-1.5 toolchains
28.3212 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
28.3213 + ;;
28.3214 + osf3*)
28.3215 + case $cc_basename in
28.3216 + KCC)
28.3217 + # Kuck and Associates, Inc. (KAI) C++ Compiler
28.3218 +
28.3219 + # KCC will only create a shared library if the output file
28.3220 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
28.3221 + # to its proper name (with version) after linking.
28.3222 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
28.3223 +
28.3224 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
28.3225 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3226 +
28.3227 + # Archives containing C++ object files must be created using
28.3228 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
28.3229 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
28.3230 +
28.3231 + ;;
28.3232 + RCC)
28.3233 + # Rational C++ 2.4.1
28.3234 + # FIXME: insert proper C++ library support
28.3235 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3236 + ;;
28.3237 + cxx)
28.3238 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
28.3239 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
28.3240 +
28.3241 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.3242 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3243 +
28.3244 + # Commands to make compiler produce verbose output that lists
28.3245 + # what "hidden" libraries, object files and flags are used when
28.3246 + # linking a shared library.
28.3247 + #
28.3248 + # There doesn't appear to be a way to prevent this compiler from
28.3249 + # explicitly linking system object files so we need to strip them
28.3250 + # from the output so that they don't get included in the library
28.3251 + # dependencies.
28.3252 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3253 + ;;
28.3254 + *)
28.3255 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
28.3256 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
28.3257 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
28.3258 +
28.3259 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.3260 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3261 +
28.3262 + # Commands to make compiler produce verbose output that lists
28.3263 + # what "hidden" libraries, object files and flags are used when
28.3264 + # linking a shared library.
28.3265 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
28.3266 +
28.3267 + else
28.3268 + # FIXME: insert proper C++ library support
28.3269 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3270 + fi
28.3271 + ;;
28.3272 + esac
28.3273 + ;;
28.3274 + osf4* | osf5*)
28.3275 + case $cc_basename in
28.3276 + KCC)
28.3277 + # Kuck and Associates, Inc. (KAI) C++ Compiler
28.3278 +
28.3279 + # KCC will only create a shared library if the output file
28.3280 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
28.3281 + # to its proper name (with version) after linking.
28.3282 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
28.3283 +
28.3284 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
28.3285 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3286 +
28.3287 + # Archives containing C++ object files must be created using
28.3288 + # the KAI C++ compiler.
28.3289 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
28.3290 + ;;
28.3291 + RCC)
28.3292 + # Rational C++ 2.4.1
28.3293 + # FIXME: insert proper C++ library support
28.3294 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3295 + ;;
28.3296 + cxx)
28.3297 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
28.3298 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
28.3299 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
28.3300 + echo "-hidden">> $lib.exp~
28.3301 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
28.3302 + $rm $lib.exp'
28.3303 +
28.3304 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
28.3305 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3306 +
28.3307 + # Commands to make compiler produce verbose output that lists
28.3308 + # what "hidden" libraries, object files and flags are used when
28.3309 + # linking a shared library.
28.3310 + #
28.3311 + # There doesn't appear to be a way to prevent this compiler from
28.3312 + # explicitly linking system object files so we need to strip them
28.3313 + # from the output so that they don't get included in the library
28.3314 + # dependencies.
28.3315 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3316 + ;;
28.3317 + *)
28.3318 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
28.3319 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
28.3320 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
28.3321 +
28.3322 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.3323 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.3324 +
28.3325 + # Commands to make compiler produce verbose output that lists
28.3326 + # what "hidden" libraries, object files and flags are used when
28.3327 + # linking a shared library.
28.3328 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
28.3329 +
28.3330 + else
28.3331 + # FIXME: insert proper C++ library support
28.3332 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3333 + fi
28.3334 + ;;
28.3335 + esac
28.3336 + ;;
28.3337 + psos*)
28.3338 + # FIXME: insert proper C++ library support
28.3339 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3340 + ;;
28.3341 + sco*)
28.3342 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.3343 + case $cc_basename in
28.3344 + CC)
28.3345 + # FIXME: insert proper C++ library support
28.3346 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3347 + ;;
28.3348 + *)
28.3349 + # FIXME: insert proper C++ library support
28.3350 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3351 + ;;
28.3352 + esac
28.3353 + ;;
28.3354 + sunos4*)
28.3355 + case $cc_basename in
28.3356 + CC)
28.3357 + # Sun C++ 4.x
28.3358 + # FIXME: insert proper C++ library support
28.3359 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3360 + ;;
28.3361 + lcc)
28.3362 + # Lucid
28.3363 + # FIXME: insert proper C++ library support
28.3364 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3365 + ;;
28.3366 + *)
28.3367 + # FIXME: insert proper C++ library support
28.3368 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3369 + ;;
28.3370 + esac
28.3371 + ;;
28.3372 + solaris*)
28.3373 + case $cc_basename in
28.3374 + CC)
28.3375 + # Sun C++ 4.2, 5.x and Centerline C++
28.3376 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
28.3377 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
28.3378 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28.3379 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
28.3380 +
28.3381 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.3382 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.3383 + case $host_os in
28.3384 + solaris2.[0-5] | solaris2.[0-5].*) ;;
28.3385 + *)
28.3386 + # The C++ compiler is used as linker so we must use $wl
28.3387 + # flag to pass the commands to the underlying system
28.3388 + # linker.
28.3389 + # Supported since Solaris 2.6 (maybe 2.5.1?)
28.3390 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
28.3391 + ;;
28.3392 + esac
28.3393 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.3394 +
28.3395 + # Commands to make compiler produce verbose output that lists
28.3396 + # what "hidden" libraries, object files and flags are used when
28.3397 + # linking a shared library.
28.3398 + #
28.3399 + # There doesn't appear to be a way to prevent this compiler from
28.3400 + # explicitly linking system object files so we need to strip them
28.3401 + # from the output so that they don't get included in the library
28.3402 + # dependencies.
28.3403 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
28.3404 +
28.3405 + # Archives containing C++ object files must be created using
28.3406 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
28.3407 + # necessary to make sure instantiated templates are included
28.3408 + # in the archive.
28.3409 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
28.3410 + ;;
28.3411 + gcx)
28.3412 + # Green Hills C++ Compiler
28.3413 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
28.3414 +
28.3415 + # The C++ compiler must be used to create the archive.
28.3416 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
28.3417 + ;;
28.3418 + *)
28.3419 + # GNU C++ compiler with Solaris linker
28.3420 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
28.3421 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
28.3422 + if $CC --version | grep -v '^2\.7' > /dev/null; then
28.3423 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
28.3424 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28.3425 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
28.3426 +
28.3427 + # Commands to make compiler produce verbose output that lists
28.3428 + # what "hidden" libraries, object files and flags are used when
28.3429 + # linking a shared library.
28.3430 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
28.3431 + else
28.3432 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
28.3433 + # platform.
28.3434 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
28.3435 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28.3436 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
28.3437 +
28.3438 + # Commands to make compiler produce verbose output that lists
28.3439 + # what "hidden" libraries, object files and flags are used when
28.3440 + # linking a shared library.
28.3441 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
28.3442 + fi
28.3443 +
28.3444 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
28.3445 + fi
28.3446 + ;;
28.3447 + esac
28.3448 + ;;
28.3449 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
28.3450 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.3451 + ;;
28.3452 + tandem*)
28.3453 + case $cc_basename in
28.3454 + NCC)
28.3455 + # NonStop-UX NCC 3.20
28.3456 + # FIXME: insert proper C++ library support
28.3457 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3458 + ;;
28.3459 + *)
28.3460 + # FIXME: insert proper C++ library support
28.3461 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3462 + ;;
28.3463 + esac
28.3464 + ;;
28.3465 + vxworks*)
28.3466 + # FIXME: insert proper C++ library support
28.3467 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3468 + ;;
28.3469 + *)
28.3470 + # FIXME: insert proper C++ library support
28.3471 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.3472 + ;;
28.3473 +esac
28.3474 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
28.3475 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
28.3476 +
28.3477 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
28.3478 +_LT_AC_TAGVAR(LD, $1)="$LD"
28.3479 +
28.3480 +## CAVEAT EMPTOR:
28.3481 +## There is no encapsulation within the following macros, do not change
28.3482 +## the running order or otherwise move them around unless you know exactly
28.3483 +## what you are doing...
28.3484 +AC_LIBTOOL_POSTDEP_PREDEP($1)
28.3485 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
28.3486 +AC_LIBTOOL_PROG_CC_C_O($1)
28.3487 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
28.3488 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
28.3489 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
28.3490 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
28.3491 +AC_LIBTOOL_SYS_LIB_STRIP
28.3492 +AC_LIBTOOL_DLOPEN_SELF($1)
28.3493 +
28.3494 +AC_LIBTOOL_CONFIG($1)
28.3495 +
28.3496 +AC_LANG_POP
28.3497 +CC=$lt_save_CC
28.3498 +LDCXX=$LD
28.3499 +LD=$lt_save_LD
28.3500 +GCC=$lt_save_GCC
28.3501 +with_gnu_ldcxx=$with_gnu_ld
28.3502 +with_gnu_ld=$lt_save_with_gnu_ld
28.3503 +lt_cv_path_LDCXX=$lt_cv_path_LD
28.3504 +lt_cv_path_LD=$lt_save_path_LD
28.3505 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
28.3506 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
28.3507 +])# AC_LIBTOOL_LANG_CXX_CONFIG
28.3508 +
28.3509 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
28.3510 +# ------------------------
28.3511 +# Figure out "hidden" library dependencies from verbose
28.3512 +# compiler output when linking a shared library.
28.3513 +# Parse the compiler output and extract the necessary
28.3514 +# objects, libraries and library flags.
28.3515 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
28.3516 +dnl we can't use the lt_simple_compile_test_code here,
28.3517 +dnl because it contains code intended for an executable,
28.3518 +dnl not a library. It's possible we should let each
28.3519 +dnl tag define a new lt_????_link_test_code variable,
28.3520 +dnl but it's only used here...
28.3521 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
28.3522 +int a;
28.3523 +void foo (void) { a = 0; }
28.3524 +EOF
28.3525 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
28.3526 +class Foo
28.3527 +{
28.3528 +public:
28.3529 + Foo (void) { a = 0; }
28.3530 +private:
28.3531 + int a;
28.3532 +};
28.3533 +EOF
28.3534 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
28.3535 + subroutine foo
28.3536 + implicit none
28.3537 + integer*4 a
28.3538 + a=0
28.3539 + return
28.3540 + end
28.3541 +EOF
28.3542 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
28.3543 +public class foo {
28.3544 + private int a;
28.3545 + public void bar (void) {
28.3546 + a = 0;
28.3547 + }
28.3548 +};
28.3549 +EOF
28.3550 +])
28.3551 +dnl Parse the compiler output and extract the necessary
28.3552 +dnl objects, libraries and library flags.
28.3553 +if AC_TRY_EVAL(ac_compile); then
28.3554 + # Parse the compiler output and extract the necessary
28.3555 + # objects, libraries and library flags.
28.3556 +
28.3557 + # Sentinel used to keep track of whether or not we are before
28.3558 + # the conftest object file.
28.3559 + pre_test_object_deps_done=no
28.3560 +
28.3561 + # The `*' in the case matches for architectures that use `case' in
28.3562 + # $output_verbose_cmd can trigger glob expansion during the loop
28.3563 + # eval without this substitution.
28.3564 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
28.3565 +
28.3566 + for p in `eval $output_verbose_link_cmd`; do
28.3567 + case $p in
28.3568 +
28.3569 + -L* | -R* | -l*)
28.3570 + # Some compilers place space between "-{L,R}" and the path.
28.3571 + # Remove the space.
28.3572 + if test $p = "-L" \
28.3573 + || test $p = "-R"; then
28.3574 + prev=$p
28.3575 + continue
28.3576 + else
28.3577 + prev=
28.3578 + fi
28.3579 +
28.3580 + if test "$pre_test_object_deps_done" = no; then
28.3581 + case $p in
28.3582 + -L* | -R*)
28.3583 + # Internal compiler library paths should come after those
28.3584 + # provided the user. The postdeps already come after the
28.3585 + # user supplied libs so there is no need to process them.
28.3586 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
28.3587 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
28.3588 + else
28.3589 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
28.3590 + fi
28.3591 + ;;
28.3592 + # The "-l" case would never come before the object being
28.3593 + # linked, so don't bother handling this case.
28.3594 + esac
28.3595 + else
28.3596 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
28.3597 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
28.3598 + else
28.3599 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
28.3600 + fi
28.3601 + fi
28.3602 + ;;
28.3603 +
28.3604 + *.$objext)
28.3605 + # This assumes that the test object file only shows up
28.3606 + # once in the compiler output.
28.3607 + if test "$p" = "conftest.$objext"; then
28.3608 + pre_test_object_deps_done=yes
28.3609 + continue
28.3610 + fi
28.3611 +
28.3612 + if test "$pre_test_object_deps_done" = no; then
28.3613 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
28.3614 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
28.3615 + else
28.3616 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
28.3617 + fi
28.3618 + else
28.3619 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
28.3620 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
28.3621 + else
28.3622 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
28.3623 + fi
28.3624 + fi
28.3625 + ;;
28.3626 +
28.3627 + *) ;; # Ignore the rest.
28.3628 +
28.3629 + esac
28.3630 + done
28.3631 +
28.3632 + # Clean up.
28.3633 + rm -f a.out a.exe
28.3634 +else
28.3635 + echo "libtool.m4: error: problem compiling $1 test program"
28.3636 +fi
28.3637 +
28.3638 +$rm -f confest.$objext
28.3639 +
28.3640 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
28.3641 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
28.3642 +esac
28.3643 +])# AC_LIBTOOL_POSTDEP_PREDEP
28.3644 +
28.3645 +# AC_LIBTOOL_LANG_F77_CONFIG
28.3646 +# ------------------------
28.3647 +# Ensure that the configuration vars for the C compiler are
28.3648 +# suitably defined. Those variables are subsequently used by
28.3649 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
28.3650 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
28.3651 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
28.3652 +[AC_REQUIRE([AC_PROG_F77])
28.3653 +AC_LANG_PUSH(Fortran 77)
28.3654 +
28.3655 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.3656 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
28.3657 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
28.3658 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
28.3659 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
28.3660 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
28.3661 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
28.3662 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
28.3663 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
28.3664 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
28.3665 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
28.3666 +_LT_AC_TAGVAR(module_cmds, $1)=
28.3667 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
28.3668 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
28.3669 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
28.3670 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
28.3671 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
28.3672 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
28.3673 +
28.3674 +# Source file extension for f77 test sources.
28.3675 +ac_ext=f
28.3676 +
28.3677 +# Object file extension for compiled f77 test sources.
28.3678 +objext=o
28.3679 +_LT_AC_TAGVAR(objext, $1)=$objext
28.3680 +
28.3681 +# Code to be used in simple compile tests
28.3682 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
28.3683 +
28.3684 +# Code to be used in simple link tests
28.3685 +lt_simple_link_test_code=" program t\n end\n"
28.3686 +
28.3687 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
28.3688 +_LT_AC_SYS_COMPILER
28.3689 +
28.3690 +# Allow CC to be a program name with arguments.
28.3691 +lt_save_CC="$CC"
28.3692 +CC=${F77-"f77"}
28.3693 +compiler=$CC
28.3694 +_LT_AC_TAGVAR(compiler, $1)=$CC
28.3695 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
28.3696 +
28.3697 +AC_MSG_CHECKING([if libtool supports shared libraries])
28.3698 +AC_MSG_RESULT([$can_build_shared])
28.3699 +
28.3700 +AC_MSG_CHECKING([whether to build shared libraries])
28.3701 +test "$can_build_shared" = "no" && enable_shared=no
28.3702 +
28.3703 +# On AIX, shared libraries and static libraries use the same namespace, and
28.3704 +# are all built from PIC.
28.3705 +case "$host_os" in
28.3706 +aix3*)
28.3707 + test "$enable_shared" = yes && enable_static=no
28.3708 + if test -n "$RANLIB"; then
28.3709 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
28.3710 + postinstall_cmds='$RANLIB $lib'
28.3711 + fi
28.3712 + ;;
28.3713 +aix4* | aix5*)
28.3714 + test "$enable_shared" = yes && enable_static=no
28.3715 + ;;
28.3716 +esac
28.3717 +AC_MSG_RESULT([$enable_shared])
28.3718 +
28.3719 +AC_MSG_CHECKING([whether to build static libraries])
28.3720 +# Make sure either enable_shared or enable_static is yes.
28.3721 +test "$enable_shared" = yes || enable_static=yes
28.3722 +AC_MSG_RESULT([$enable_static])
28.3723 +
28.3724 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
28.3725 +
28.3726 +_LT_AC_TAGVAR(GCC, $1)="$G77"
28.3727 +_LT_AC_TAGVAR(LD, $1)="$LD"
28.3728 +
28.3729 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
28.3730 +AC_LIBTOOL_PROG_CC_C_O($1)
28.3731 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
28.3732 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
28.3733 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
28.3734 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
28.3735 +AC_LIBTOOL_SYS_LIB_STRIP
28.3736 +
28.3737 +
28.3738 +AC_LIBTOOL_CONFIG($1)
28.3739 +
28.3740 +AC_LANG_POP
28.3741 +CC="$lt_save_CC"
28.3742 +])# AC_LIBTOOL_LANG_F77_CONFIG
28.3743 +
28.3744 +
28.3745 +# AC_LIBTOOL_LANG_GCJ_CONFIG
28.3746 +# --------------------------
28.3747 +# Ensure that the configuration vars for the C compiler are
28.3748 +# suitably defined. Those variables are subsequently used by
28.3749 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
28.3750 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
28.3751 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
28.3752 +[AC_LANG_SAVE
28.3753 +
28.3754 +# Source file extension for Java test sources.
28.3755 +ac_ext=java
28.3756 +
28.3757 +# Object file extension for compiled Java test sources.
28.3758 +objext=o
28.3759 +_LT_AC_TAGVAR(objext, $1)=$objext
28.3760 +
28.3761 +# Code to be used in simple compile tests
28.3762 +lt_simple_compile_test_code="class foo {}\n"
28.3763 +
28.3764 +# Code to be used in simple link tests
28.3765 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
28.3766 +
28.3767 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
28.3768 +_LT_AC_SYS_COMPILER
28.3769 +
28.3770 +# Allow CC to be a program name with arguments.
28.3771 +lt_save_CC="$CC"
28.3772 +CC=${GCJ-"gcj"}
28.3773 +compiler=$CC
28.3774 +_LT_AC_TAGVAR(compiler, $1)=$CC
28.3775 +
28.3776 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
28.3777 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.3778 +
28.3779 +## CAVEAT EMPTOR:
28.3780 +## There is no encapsulation within the following macros, do not change
28.3781 +## the running order or otherwise move them around unless you know exactly
28.3782 +## what you are doing...
28.3783 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
28.3784 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
28.3785 +AC_LIBTOOL_PROG_CC_C_O($1)
28.3786 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
28.3787 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
28.3788 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
28.3789 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
28.3790 +AC_LIBTOOL_SYS_LIB_STRIP
28.3791 +AC_LIBTOOL_DLOPEN_SELF($1)
28.3792 +
28.3793 +AC_LIBTOOL_CONFIG($1)
28.3794 +
28.3795 +AC_LANG_RESTORE
28.3796 +CC="$lt_save_CC"
28.3797 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
28.3798 +
28.3799 +
28.3800 +# AC_LIBTOOL_LANG_RC_CONFIG
28.3801 +# --------------------------
28.3802 +# Ensure that the configuration vars for the Windows resource compiler are
28.3803 +# suitably defined. Those variables are subsequently used by
28.3804 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
28.3805 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
28.3806 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
28.3807 +[AC_LANG_SAVE
28.3808 +
28.3809 +# Source file extension for RC test sources.
28.3810 +ac_ext=rc
28.3811 +
28.3812 +# Object file extension for compiled RC test sources.
28.3813 +objext=o
28.3814 +_LT_AC_TAGVAR(objext, $1)=$objext
28.3815 +
28.3816 +# Code to be used in simple compile tests
28.3817 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
28.3818 +
28.3819 +# Code to be used in simple link tests
28.3820 +lt_simple_link_test_code="$lt_simple_compile_test_code"
28.3821 +
28.3822 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
28.3823 +_LT_AC_SYS_COMPILER
28.3824 +
28.3825 +# Allow CC to be a program name with arguments.
28.3826 +lt_save_CC="$CC"
28.3827 +CC=${RC-"windres"}
28.3828 +compiler=$CC
28.3829 +_LT_AC_TAGVAR(compiler, $1)=$CC
28.3830 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
28.3831 +
28.3832 +AC_LIBTOOL_CONFIG($1)
28.3833 +
28.3834 +AC_LANG_RESTORE
28.3835 +CC="$lt_save_CC"
28.3836 +])# AC_LIBTOOL_LANG_RC_CONFIG
28.3837 +
28.3838 +
28.3839 +# AC_LIBTOOL_CONFIG([TAGNAME])
28.3840 +# ----------------------------
28.3841 +# If TAGNAME is not passed, then create an initial libtool script
28.3842 +# with a default configuration from the untagged config vars. Otherwise
28.3843 +# add code to config.status for appending the configuration named by
28.3844 +# TAGNAME from the matching tagged config vars.
28.3845 +AC_DEFUN([AC_LIBTOOL_CONFIG],
28.3846 +[# The else clause should only fire when bootstrapping the
28.3847 +# libtool distribution, otherwise you forgot to ship ltmain.sh
28.3848 +# with your package, and you will get complaints that there are
28.3849 +# no rules to generate ltmain.sh.
28.3850 +if test -f "$ltmain"; then
28.3851 + # See if we are running on zsh, and set the options which allow our commands through
28.3852 + # without removal of \ escapes.
28.3853 + if test -n "${ZSH_VERSION+set}" ; then
28.3854 + setopt NO_GLOB_SUBST
28.3855 + fi
28.3856 + # Now quote all the things that may contain metacharacters while being
28.3857 + # careful not to overquote the AC_SUBSTed values. We take copies of the
28.3858 + # variables and quote the copies for generation of the libtool script.
28.3859 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
28.3860 + SED SHELL STRIP \
28.3861 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
28.3862 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
28.3863 + deplibs_check_method reload_flag reload_cmds need_locks \
28.3864 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
28.3865 + lt_cv_sys_global_symbol_to_c_name_address \
28.3866 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
28.3867 + old_postinstall_cmds old_postuninstall_cmds \
28.3868 + _LT_AC_TAGVAR(compiler, $1) \
28.3869 + _LT_AC_TAGVAR(CC, $1) \
28.3870 + _LT_AC_TAGVAR(LD, $1) \
28.3871 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
28.3872 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
28.3873 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
28.3874 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
28.3875 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
28.3876 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
28.3877 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
28.3878 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
28.3879 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
28.3880 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
28.3881 + _LT_AC_TAGVAR(predep_objects, $1) \
28.3882 + _LT_AC_TAGVAR(postdep_objects, $1) \
28.3883 + _LT_AC_TAGVAR(predeps, $1) \
28.3884 + _LT_AC_TAGVAR(postdeps, $1) \
28.3885 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
28.3886 + _LT_AC_TAGVAR(archive_cmds, $1) \
28.3887 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
28.3888 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
28.3889 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
28.3890 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
28.3891 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
28.3892 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
28.3893 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
28.3894 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
28.3895 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
28.3896 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
28.3897 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
28.3898 + _LT_AC_TAGVAR(module_cmds, $1) \
28.3899 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
28.3900 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
28.3901 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
28.3902 + _LT_AC_TAGVAR(include_expsyms, $1); do
28.3903 +
28.3904 + case $var in
28.3905 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
28.3906 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
28.3907 + _LT_AC_TAGVAR(archive_cmds, $1) | \
28.3908 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
28.3909 + _LT_AC_TAGVAR(module_cmds, $1) | \
28.3910 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
28.3911 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
28.3912 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
28.3913 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
28.3914 + postinstall_cmds | postuninstall_cmds | \
28.3915 + old_postinstall_cmds | old_postuninstall_cmds | \
28.3916 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
28.3917 + # Double-quote double-evaled strings.
28.3918 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
28.3919 + ;;
28.3920 + *)
28.3921 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
28.3922 + ;;
28.3923 + esac
28.3924 + done
28.3925 +
28.3926 + case $lt_echo in
28.3927 + *'\[$]0 --fallback-echo"')
28.3928 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
28.3929 + ;;
28.3930 + esac
28.3931 +
28.3932 +ifelse([$1], [],
28.3933 + [cfgfile="${ofile}T"
28.3934 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
28.3935 + $rm -f "$cfgfile"
28.3936 + AC_MSG_NOTICE([creating $ofile])],
28.3937 + [cfgfile="$ofile"])
28.3938 +
28.3939 + cat <<__EOF__ >> "$cfgfile"
28.3940 +ifelse([$1], [],
28.3941 +[#! $SHELL
28.3942 +
28.3943 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28.3944 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
28.3945 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
28.3946 +#
28.3947 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
28.3948 +# Free Software Foundation, Inc.
28.3949 +#
28.3950 +# This file is part of GNU Libtool:
28.3951 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
28.3952 +#
28.3953 +# This program is free software; you can redistribute it and/or modify
28.3954 +# it under the terms of the GNU General Public License as published by
28.3955 +# the Free Software Foundation; either version 2 of the License, or
28.3956 +# (at your option) any later version.
28.3957 +#
28.3958 +# This program is distributed in the hope that it will be useful, but
28.3959 +# WITHOUT ANY WARRANTY; without even the implied warranty of
28.3960 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28.3961 +# General Public License for more details.
28.3962 +#
28.3963 +# You should have received a copy of the GNU General Public License
28.3964 +# along with this program; if not, write to the Free Software
28.3965 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28.3966 +#
28.3967 +# As a special exception to the GNU General Public License, if you
28.3968 +# distribute this file as part of a program that contains a
28.3969 +# configuration script generated by Autoconf, you may include it under
28.3970 +# the same distribution terms that you use for the rest of that program.
28.3971 +
28.3972 +# A sed program that does not truncate output.
28.3973 +SED=$lt_SED
28.3974 +
28.3975 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
28.3976 +Xsed="$SED -e s/^X//"
28.3977 +
28.3978 +# The HP-UX ksh and POSIX shell print the target directory to stdout
28.3979 +# if CDPATH is set.
28.3980 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
28.3981 +
28.3982 +# The names of the tagged configurations supported by this script.
28.3983 +available_tags=
28.3984 +
28.3985 +# ### BEGIN LIBTOOL CONFIG],
28.3986 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
28.3987 +
28.3988 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28.3989 +
28.3990 +# Shell to use when invoking shell scripts.
28.3991 +SHELL=$lt_SHELL
28.3992 +
28.3993 +# Whether or not to build shared libraries.
28.3994 +build_libtool_libs=$enable_shared
28.3995 +
28.3996 +# Whether or not to build static libraries.
28.3997 +build_old_libs=$enable_static
28.3998 +
28.3999 +# Whether or not to add -lc for building shared libraries.
28.4000 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
28.4001 +
28.4002 +# Whether or not to disallow shared libs when runtime libs are static
28.4003 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
28.4004 +
28.4005 +# Whether or not to optimize for fast installation.
28.4006 +fast_install=$enable_fast_install
28.4007 +
28.4008 +# The host system.
28.4009 +host_alias=$host_alias
28.4010 +host=$host
28.4011 +
28.4012 +# An echo program that does not interpret backslashes.
28.4013 +echo=$lt_echo
28.4014 +
28.4015 +# The archiver.
28.4016 +AR=$lt_AR
28.4017 +AR_FLAGS=$lt_AR_FLAGS
28.4018 +
28.4019 +# A C compiler.
28.4020 +LTCC=$lt_LTCC
28.4021 +
28.4022 +# A language-specific compiler.
28.4023 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
28.4024 +
28.4025 +# Is the compiler the GNU C compiler?
28.4026 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
28.4027 +
28.4028 +# An ERE matcher.
28.4029 +EGREP=$lt_EGREP
28.4030 +
28.4031 +# The linker used to build libraries.
28.4032 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
28.4033 +
28.4034 +# Whether we need hard or soft links.
28.4035 +LN_S=$lt_LN_S
28.4036 +
28.4037 +# A BSD-compatible nm program.
28.4038 +NM=$lt_NM
28.4039 +
28.4040 +# A symbol stripping program
28.4041 +STRIP=$lt_STRIP
28.4042 +
28.4043 +# Used to examine libraries when file_magic_cmd begins "file"
28.4044 +MAGIC_CMD=$MAGIC_CMD
28.4045 +
28.4046 +# Used on cygwin: DLL creation program.
28.4047 +DLLTOOL="$DLLTOOL"
28.4048 +
28.4049 +# Used on cygwin: object dumper.
28.4050 +OBJDUMP="$OBJDUMP"
28.4051 +
28.4052 +# Used on cygwin: assembler.
28.4053 +AS="$AS"
28.4054 +
28.4055 +# The name of the directory that contains temporary libtool files.
28.4056 +objdir=$objdir
28.4057 +
28.4058 +# How to create reloadable object files.
28.4059 +reload_flag=$lt_reload_flag
28.4060 +reload_cmds=$lt_reload_cmds
28.4061 +
28.4062 +# How to pass a linker flag through the compiler.
28.4063 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
28.4064 +
28.4065 +# Object file suffix (normally "o").
28.4066 +objext="$ac_objext"
28.4067 +
28.4068 +# Old archive suffix (normally "a").
28.4069 +libext="$libext"
28.4070 +
28.4071 +# Shared library suffix (normally ".so").
28.4072 +shrext_cmds='$shrext_cmds'
28.4073 +
28.4074 +# Executable file suffix (normally "").
28.4075 +exeext="$exeext"
28.4076 +
28.4077 +# Additional compiler flags for building library objects.
28.4078 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
28.4079 +pic_mode=$pic_mode
28.4080 +
28.4081 +# What is the maximum length of a command?
28.4082 +max_cmd_len=$lt_cv_sys_max_cmd_len
28.4083 +
28.4084 +# Does compiler simultaneously support -c and -o options?
28.4085 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
28.4086 +
28.4087 +# Must we lock files when doing compilation ?
28.4088 +need_locks=$lt_need_locks
28.4089 +
28.4090 +# Do we need the lib prefix for modules?
28.4091 +need_lib_prefix=$need_lib_prefix
28.4092 +
28.4093 +# Do we need a version for libraries?
28.4094 +need_version=$need_version
28.4095 +
28.4096 +# Whether dlopen is supported.
28.4097 +dlopen_support=$enable_dlopen
28.4098 +
28.4099 +# Whether dlopen of programs is supported.
28.4100 +dlopen_self=$enable_dlopen_self
28.4101 +
28.4102 +# Whether dlopen of statically linked programs is supported.
28.4103 +dlopen_self_static=$enable_dlopen_self_static
28.4104 +
28.4105 +# Compiler flag to prevent dynamic linking.
28.4106 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
28.4107 +
28.4108 +# Compiler flag to turn off builtin functions.
28.4109 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
28.4110 +
28.4111 +# Compiler flag to allow reflexive dlopens.
28.4112 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
28.4113 +
28.4114 +# Compiler flag to generate shared objects directly from archives.
28.4115 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
28.4116 +
28.4117 +# Compiler flag to generate thread-safe objects.
28.4118 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
28.4119 +
28.4120 +# Library versioning type.
28.4121 +version_type=$version_type
28.4122 +
28.4123 +# Format of library name prefix.
28.4124 +libname_spec=$lt_libname_spec
28.4125 +
28.4126 +# List of archive names. First name is the real one, the rest are links.
28.4127 +# The last name is the one that the linker finds with -lNAME.
28.4128 +library_names_spec=$lt_library_names_spec
28.4129 +
28.4130 +# The coded name of the library, if different from the real name.
28.4131 +soname_spec=$lt_soname_spec
28.4132 +
28.4133 +# Commands used to build and install an old-style archive.
28.4134 +RANLIB=$lt_RANLIB
28.4135 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
28.4136 +old_postinstall_cmds=$lt_old_postinstall_cmds
28.4137 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
28.4138 +
28.4139 +# Create an old-style archive from a shared archive.
28.4140 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
28.4141 +
28.4142 +# Create a temporary old-style archive to link instead of a shared archive.
28.4143 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
28.4144 +
28.4145 +# Commands used to build and install a shared archive.
28.4146 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
28.4147 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
28.4148 +postinstall_cmds=$lt_postinstall_cmds
28.4149 +postuninstall_cmds=$lt_postuninstall_cmds
28.4150 +
28.4151 +# Commands used to build a loadable module (assumed same as above if empty)
28.4152 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
28.4153 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
28.4154 +
28.4155 +# Commands to strip libraries.
28.4156 +old_striplib=$lt_old_striplib
28.4157 +striplib=$lt_striplib
28.4158 +
28.4159 +# Dependencies to place before the objects being linked to create a
28.4160 +# shared library.
28.4161 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
28.4162 +
28.4163 +# Dependencies to place after the objects being linked to create a
28.4164 +# shared library.
28.4165 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
28.4166 +
28.4167 +# Dependencies to place before the objects being linked to create a
28.4168 +# shared library.
28.4169 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
28.4170 +
28.4171 +# Dependencies to place after the objects being linked to create a
28.4172 +# shared library.
28.4173 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
28.4174 +
28.4175 +# The library search path used internally by the compiler when linking
28.4176 +# a shared library.
28.4177 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
28.4178 +
28.4179 +# Method to check whether dependent libraries are shared objects.
28.4180 +deplibs_check_method=$lt_deplibs_check_method
28.4181 +
28.4182 +# Command to use when deplibs_check_method == file_magic.
28.4183 +file_magic_cmd=$lt_file_magic_cmd
28.4184 +
28.4185 +# Flag that allows shared libraries with undefined symbols to be built.
28.4186 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
28.4187 +
28.4188 +# Flag that forces no undefined symbols.
28.4189 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
28.4190 +
28.4191 +# Commands used to finish a libtool library installation in a directory.
28.4192 +finish_cmds=$lt_finish_cmds
28.4193 +
28.4194 +# Same as above, but a single script fragment to be evaled but not shown.
28.4195 +finish_eval=$lt_finish_eval
28.4196 +
28.4197 +# Take the output of nm and produce a listing of raw symbols and C names.
28.4198 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28.4199 +
28.4200 +# Transform the output of nm in a proper C declaration
28.4201 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28.4202 +
28.4203 +# Transform the output of nm in a C name address pair
28.4204 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28.4205 +
28.4206 +# This is the shared library runtime path variable.
28.4207 +runpath_var=$runpath_var
28.4208 +
28.4209 +# This is the shared library path variable.
28.4210 +shlibpath_var=$shlibpath_var
28.4211 +
28.4212 +# Is shlibpath searched before the hard-coded library search path?
28.4213 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28.4214 +
28.4215 +# How to hardcode a shared library path into an executable.
28.4216 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
28.4217 +
28.4218 +# Whether we should hardcode library paths into libraries.
28.4219 +hardcode_into_libs=$hardcode_into_libs
28.4220 +
28.4221 +# Flag to hardcode \$libdir into a binary during linking.
28.4222 +# This must work even if \$libdir does not exist.
28.4223 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
28.4224 +
28.4225 +# If ld is used when linking, flag to hardcode \$libdir into
28.4226 +# a binary during linking. This must work even if \$libdir does
28.4227 +# not exist.
28.4228 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
28.4229 +
28.4230 +# Whether we need a single -rpath flag with a separated argument.
28.4231 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
28.4232 +
28.4233 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
28.4234 +# resulting binary.
28.4235 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
28.4236 +
28.4237 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
28.4238 +# resulting binary.
28.4239 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
28.4240 +
28.4241 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
28.4242 +# the resulting binary.
28.4243 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
28.4244 +
28.4245 +# Set to yes if building a shared library automatically hardcodes DIR into the library
28.4246 +# and all subsequent libraries and executables linked against it.
28.4247 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
28.4248 +
28.4249 +# Variables whose values should be saved in libtool wrapper scripts and
28.4250 +# restored at relink time.
28.4251 +variables_saved_for_relink="$variables_saved_for_relink"
28.4252 +
28.4253 +# Whether libtool must link a program against all its dependency libraries.
28.4254 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
28.4255 +
28.4256 +# Compile-time system search path for libraries
28.4257 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28.4258 +
28.4259 +# Run-time system search path for libraries
28.4260 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28.4261 +
28.4262 +# Fix the shell variable \$srcfile for the compiler.
28.4263 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
28.4264 +
28.4265 +# Set to yes if exported symbols are required.
28.4266 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
28.4267 +
28.4268 +# The commands to list exported symbols.
28.4269 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
28.4270 +
28.4271 +# The commands to extract the exported symbol list from a shared archive.
28.4272 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
28.4273 +
28.4274 +# Symbols that should not be listed in the preloaded symbols.
28.4275 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
28.4276 +
28.4277 +# Symbols that must always be exported.
28.4278 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
28.4279 +
28.4280 +ifelse([$1],[],
28.4281 +[# ### END LIBTOOL CONFIG],
28.4282 +[# ### END LIBTOOL TAG CONFIG: $tagname])
28.4283 +
28.4284 +__EOF__
28.4285 +
28.4286 +ifelse([$1],[], [
28.4287 + case $host_os in
28.4288 + aix3*)
28.4289 + cat <<\EOF >> "$cfgfile"
28.4290 +
28.4291 +# AIX sometimes has problems with the GCC collect2 program. For some
28.4292 +# reason, if we set the COLLECT_NAMES environment variable, the problems
28.4293 +# vanish in a puff of smoke.
28.4294 +if test "X${COLLECT_NAMES+set}" != Xset; then
28.4295 + COLLECT_NAMES=
28.4296 + export COLLECT_NAMES
28.4297 +fi
28.4298 +EOF
28.4299 + ;;
28.4300 + esac
28.4301 +
28.4302 + # We use sed instead of cat because bash on DJGPP gets confused if
28.4303 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
28.4304 + # text mode, it properly converts lines to CR/LF. This bash problem
28.4305 + # is reportedly fixed, but why not run on old versions too?
28.4306 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
28.4307 +
28.4308 + mv -f "$cfgfile" "$ofile" || \
28.4309 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28.4310 + chmod +x "$ofile"
28.4311 +])
28.4312 +else
28.4313 + # If there is no Makefile yet, we rely on a make rule to execute
28.4314 + # `config.status --recheck' to rerun these tests and create the
28.4315 + # libtool script then.
28.4316 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
28.4317 + if test -f "$ltmain_in"; then
28.4318 + test -f Makefile && make "$ltmain"
28.4319 + fi
28.4320 +fi
28.4321 +])# AC_LIBTOOL_CONFIG
28.4322 +
28.4323 +
28.4324 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
28.4325 +# -------------------------------------------
28.4326 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
28.4327 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
28.4328 +
28.4329 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
28.4330 +
28.4331 +if test "$GCC" = yes; then
28.4332 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
28.4333 +
28.4334 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
28.4335 + lt_cv_prog_compiler_rtti_exceptions,
28.4336 + [-fno-rtti -fno-exceptions], [],
28.4337 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
28.4338 +fi
28.4339 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
28.4340 +
28.4341 +
28.4342 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
28.4343 +# ---------------------------------
28.4344 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
28.4345 +[AC_REQUIRE([AC_CANONICAL_HOST])
28.4346 +AC_REQUIRE([AC_PROG_NM])
28.4347 +AC_REQUIRE([AC_OBJEXT])
28.4348 +# Check for command to grab the raw symbol name followed by C symbol from nm.
28.4349 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
28.4350 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
28.4351 +[
28.4352 +# These are sane defaults that work on at least a few old systems.
28.4353 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
28.4354 +
28.4355 +# Character class describing NM global symbol codes.
28.4356 +symcode='[[BCDEGRST]]'
28.4357 +
28.4358 +# Regexp to match symbols that can be accessed directly from C.
28.4359 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
28.4360 +
28.4361 +# Transform the above into a raw symbol and a C symbol.
28.4362 +symxfrm='\1 \2\3 \3'
28.4363 +
28.4364 +# Transform an extracted symbol line into a proper C declaration
28.4365 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
28.4366 +
28.4367 +# Transform an extracted symbol line into symbol name and symbol address
28.4368 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
28.4369 +
28.4370 +# Define system-specific variables.
28.4371 +case $host_os in
28.4372 +aix*)
28.4373 + symcode='[[BCDT]]'
28.4374 + ;;
28.4375 +cygwin* | mingw* | pw32*)
28.4376 + symcode='[[ABCDGISTW]]'
28.4377 + ;;
28.4378 +hpux*) # Its linker distinguishes data from code symbols
28.4379 + if test "$host_cpu" = ia64; then
28.4380 + symcode='[[ABCDEGRST]]'
28.4381 + fi
28.4382 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
28.4383 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
28.4384 + ;;
28.4385 +irix* | nonstopux*)
28.4386 + symcode='[[BCDEGRST]]'
28.4387 + ;;
28.4388 +osf*)
28.4389 + symcode='[[BCDEGQRST]]'
28.4390 + ;;
28.4391 +solaris* | sysv5*)
28.4392 + symcode='[[BDRT]]'
28.4393 + ;;
28.4394 +sysv4)
28.4395 + symcode='[[DFNSTU]]'
28.4396 + ;;
28.4397 +esac
28.4398 +
28.4399 +# Handle CRLF in mingw tool chain
28.4400 +opt_cr=
28.4401 +case $build_os in
28.4402 +mingw*)
28.4403 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
28.4404 + ;;
28.4405 +esac
28.4406 +
28.4407 +# If we're using GNU nm, then use its standard symbol codes.
28.4408 +case `$NM -V 2>&1` in
28.4409 +*GNU* | *'with BFD'*)
28.4410 + symcode='[[ABCDGIRSTW]]' ;;
28.4411 +esac
28.4412 +
28.4413 +# Try without a prefix undercore, then with it.
28.4414 +for ac_symprfx in "" "_"; do
28.4415 +
28.4416 + # Write the raw and C identifiers.
28.4417 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
28.4418 +
28.4419 + # Check to see that the pipe works correctly.
28.4420 + pipe_works=no
28.4421 +
28.4422 + rm -f conftest*
28.4423 + cat > conftest.$ac_ext <<EOF
28.4424 +#ifdef __cplusplus
28.4425 +extern "C" {
28.4426 +#endif
28.4427 +char nm_test_var;
28.4428 +void nm_test_func(){}
28.4429 +#ifdef __cplusplus
28.4430 +}
28.4431 +#endif
28.4432 +int main(){nm_test_var='a';nm_test_func();return(0);}
28.4433 +EOF
28.4434 +
28.4435 + if AC_TRY_EVAL(ac_compile); then
28.4436 + # Now try to grab the symbols.
28.4437 + nlist=conftest.nm
28.4438 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
28.4439 + # Try sorting and uniquifying the output.
28.4440 + if sort "$nlist" | uniq > "$nlist"T; then
28.4441 + mv -f "$nlist"T "$nlist"
28.4442 + else
28.4443 + rm -f "$nlist"T
28.4444 + fi
28.4445 +
28.4446 + # Make sure that we snagged all the symbols we need.
28.4447 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
28.4448 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
28.4449 + cat <<EOF > conftest.$ac_ext
28.4450 +#ifdef __cplusplus
28.4451 +extern "C" {
28.4452 +#endif
28.4453 +
28.4454 +EOF
28.4455 + # Now generate the symbol file.
28.4456 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
28.4457 +
28.4458 + cat <<EOF >> conftest.$ac_ext
28.4459 +#if defined (__STDC__) && __STDC__
28.4460 +# define lt_ptr_t void *
28.4461 +#else
28.4462 +# define lt_ptr_t char *
28.4463 +# define const
28.4464 +#endif
28.4465 +
28.4466 +/* The mapping between symbol names and symbols. */
28.4467 +const struct {
28.4468 + const char *name;
28.4469 + lt_ptr_t address;
28.4470 +}
28.4471 +lt_preloaded_symbols[[]] =
28.4472 +{
28.4473 +EOF
28.4474 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
28.4475 + cat <<\EOF >> conftest.$ac_ext
28.4476 + {0, (lt_ptr_t) 0}
28.4477 +};
28.4478 +
28.4479 +#ifdef __cplusplus
28.4480 +}
28.4481 +#endif
28.4482 +EOF
28.4483 + # Now try linking the two files.
28.4484 + mv conftest.$ac_objext conftstm.$ac_objext
28.4485 + lt_save_LIBS="$LIBS"
28.4486 + lt_save_CFLAGS="$CFLAGS"
28.4487 + LIBS="conftstm.$ac_objext"
28.4488 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
28.4489 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
28.4490 + pipe_works=yes
28.4491 + fi
28.4492 + LIBS="$lt_save_LIBS"
28.4493 + CFLAGS="$lt_save_CFLAGS"
28.4494 + else
28.4495 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
28.4496 + fi
28.4497 + else
28.4498 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
28.4499 + fi
28.4500 + else
28.4501 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
28.4502 + fi
28.4503 + else
28.4504 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
28.4505 + cat conftest.$ac_ext >&5
28.4506 + fi
28.4507 + rm -f conftest* conftst*
28.4508 +
28.4509 + # Do not use the global_symbol_pipe unless it works.
28.4510 + if test "$pipe_works" = yes; then
28.4511 + break
28.4512 + else
28.4513 + lt_cv_sys_global_symbol_pipe=
28.4514 + fi
28.4515 +done
28.4516 +])
28.4517 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
28.4518 + lt_cv_sys_global_symbol_to_cdecl=
28.4519 +fi
28.4520 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
28.4521 + AC_MSG_RESULT(failed)
28.4522 +else
28.4523 + AC_MSG_RESULT(ok)
28.4524 +fi
28.4525 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
28.4526 +
28.4527 +
28.4528 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
28.4529 +# ---------------------------------------
28.4530 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
28.4531 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
28.4532 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
28.4533 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
28.4534 +
28.4535 +AC_MSG_CHECKING([for $compiler option to produce PIC])
28.4536 + ifelse([$1],[CXX],[
28.4537 + # C++ specific cases for pic, static, wl, etc.
28.4538 + if test "$GXX" = yes; then
28.4539 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4540 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
28.4541 +
28.4542 + case $host_os in
28.4543 + aix*)
28.4544 + # All AIX code is PIC.
28.4545 + if test "$host_cpu" = ia64; then
28.4546 + # AIX 5 now supports IA64 processor
28.4547 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4548 + fi
28.4549 + ;;
28.4550 + amigaos*)
28.4551 + # FIXME: we need at least 68020 code to build shared libraries, but
28.4552 + # adding the `-m68020' flag to GCC prevents building anything better,
28.4553 + # like `-m68040'.
28.4554 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
28.4555 + ;;
28.4556 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
28.4557 + # PIC is the default for these OSes.
28.4558 + ;;
28.4559 + mingw* | os2* | pw32*)
28.4560 + # This hack is so that the source file can tell whether it is being
28.4561 + # built for inclusion in a dll (and should export symbols for example).
28.4562 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
28.4563 + ;;
28.4564 + darwin* | rhapsody*)
28.4565 + # PIC is the default on this platform
28.4566 + # Common symbols not allowed in MH_DYLIB files
28.4567 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
28.4568 + ;;
28.4569 + *djgpp*)
28.4570 + # DJGPP does not support shared libraries at all
28.4571 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
28.4572 + ;;
28.4573 + sysv4*MP*)
28.4574 + if test -d /usr/nec; then
28.4575 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
28.4576 + fi
28.4577 + ;;
28.4578 + hpux*)
28.4579 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
28.4580 + # not for PA HP-UX.
28.4581 + case "$host_cpu" in
28.4582 + hppa*64*|ia64*)
28.4583 + ;;
28.4584 + *)
28.4585 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
28.4586 + ;;
28.4587 + esac
28.4588 + ;;
28.4589 + *)
28.4590 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
28.4591 + ;;
28.4592 + esac
28.4593 + else
28.4594 + case $host_os in
28.4595 + aix4* | aix5*)
28.4596 + # All AIX code is PIC.
28.4597 + if test "$host_cpu" = ia64; then
28.4598 + # AIX 5 now supports IA64 processor
28.4599 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4600 + else
28.4601 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
28.4602 + fi
28.4603 + ;;
28.4604 + chorus*)
28.4605 + case $cc_basename in
28.4606 + cxch68)
28.4607 + # Green Hills C++ Compiler
28.4608 + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
28.4609 + ;;
28.4610 + esac
28.4611 + ;;
28.4612 + dgux*)
28.4613 + case $cc_basename in
28.4614 + ec++)
28.4615 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4616 + ;;
28.4617 + ghcx)
28.4618 + # Green Hills C++ Compiler
28.4619 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
28.4620 + ;;
28.4621 + *)
28.4622 + ;;
28.4623 + esac
28.4624 + ;;
28.4625 + freebsd* | kfreebsd*-gnu)
28.4626 + # FreeBSD uses GNU C++
28.4627 + ;;
28.4628 + hpux9* | hpux10* | hpux11*)
28.4629 + case $cc_basename in
28.4630 + CC)
28.4631 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4632 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
28.4633 + if test "$host_cpu" != ia64; then
28.4634 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
28.4635 + fi
28.4636 + ;;
28.4637 + aCC)
28.4638 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4639 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
28.4640 + case "$host_cpu" in
28.4641 + hppa*64*|ia64*)
28.4642 + # +Z the default
28.4643 + ;;
28.4644 + *)
28.4645 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
28.4646 + ;;
28.4647 + esac
28.4648 + ;;
28.4649 + *)
28.4650 + ;;
28.4651 + esac
28.4652 + ;;
28.4653 + irix5* | irix6* | nonstopux*)
28.4654 + case $cc_basename in
28.4655 + CC)
28.4656 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4657 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
28.4658 + # CC pic flag -KPIC is the default.
28.4659 + ;;
28.4660 + *)
28.4661 + ;;
28.4662 + esac
28.4663 + ;;
28.4664 + linux*)
28.4665 + case $cc_basename in
28.4666 + KCC)
28.4667 + # KAI C++ Compiler
28.4668 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
28.4669 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
28.4670 + ;;
28.4671 + icpc)
28.4672 + # Intel C++
28.4673 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4674 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4675 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
28.4676 + ;;
28.4677 + cxx)
28.4678 + # Compaq C++
28.4679 + # Make sure the PIC flag is empty. It appears that all Alpha
28.4680 + # Linux and Compaq Tru64 Unix objects are PIC.
28.4681 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
28.4682 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
28.4683 + ;;
28.4684 + *)
28.4685 + ;;
28.4686 + esac
28.4687 + ;;
28.4688 + lynxos*)
28.4689 + ;;
28.4690 + m88k*)
28.4691 + ;;
28.4692 + mvs*)
28.4693 + case $cc_basename in
28.4694 + cxx)
28.4695 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
28.4696 + ;;
28.4697 + *)
28.4698 + ;;
28.4699 + esac
28.4700 + ;;
28.4701 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
28.4702 + ;;
28.4703 + osf3* | osf4* | osf5*)
28.4704 + case $cc_basename in
28.4705 + KCC)
28.4706 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
28.4707 + ;;
28.4708 + RCC)
28.4709 + # Rational C++ 2.4.1
28.4710 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
28.4711 + ;;
28.4712 + cxx)
28.4713 + # Digital/Compaq C++
28.4714 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4715 + # Make sure the PIC flag is empty. It appears that all Alpha
28.4716 + # Linux and Compaq Tru64 Unix objects are PIC.
28.4717 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
28.4718 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
28.4719 + ;;
28.4720 + *)
28.4721 + ;;
28.4722 + esac
28.4723 + ;;
28.4724 + psos*)
28.4725 + ;;
28.4726 + sco*)
28.4727 + case $cc_basename in
28.4728 + CC)
28.4729 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
28.4730 + ;;
28.4731 + *)
28.4732 + ;;
28.4733 + esac
28.4734 + ;;
28.4735 + solaris*)
28.4736 + case $cc_basename in
28.4737 + CC)
28.4738 + # Sun C++ 4.2, 5.x and Centerline C++
28.4739 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4740 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4741 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
28.4742 + ;;
28.4743 + gcx)
28.4744 + # Green Hills C++ Compiler
28.4745 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
28.4746 + ;;
28.4747 + *)
28.4748 + ;;
28.4749 + esac
28.4750 + ;;
28.4751 + sunos4*)
28.4752 + case $cc_basename in
28.4753 + CC)
28.4754 + # Sun C++ 4.x
28.4755 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
28.4756 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4757 + ;;
28.4758 + lcc)
28.4759 + # Lucid
28.4760 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
28.4761 + ;;
28.4762 + *)
28.4763 + ;;
28.4764 + esac
28.4765 + ;;
28.4766 + tandem*)
28.4767 + case $cc_basename in
28.4768 + NCC)
28.4769 + # NonStop-UX NCC 3.20
28.4770 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4771 + ;;
28.4772 + *)
28.4773 + ;;
28.4774 + esac
28.4775 + ;;
28.4776 + unixware*)
28.4777 + ;;
28.4778 + vxworks*)
28.4779 + ;;
28.4780 + *)
28.4781 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
28.4782 + ;;
28.4783 + esac
28.4784 + fi
28.4785 +],
28.4786 +[
28.4787 + if test "$GCC" = yes; then
28.4788 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4789 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
28.4790 +
28.4791 + case $host_os in
28.4792 + aix*)
28.4793 + # All AIX code is PIC.
28.4794 + if test "$host_cpu" = ia64; then
28.4795 + # AIX 5 now supports IA64 processor
28.4796 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4797 + fi
28.4798 + ;;
28.4799 +
28.4800 + amigaos*)
28.4801 + # FIXME: we need at least 68020 code to build shared libraries, but
28.4802 + # adding the `-m68020' flag to GCC prevents building anything better,
28.4803 + # like `-m68040'.
28.4804 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
28.4805 + ;;
28.4806 +
28.4807 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
28.4808 + # PIC is the default for these OSes.
28.4809 + ;;
28.4810 +
28.4811 + mingw* | pw32* | os2*)
28.4812 + # This hack is so that the source file can tell whether it is being
28.4813 + # built for inclusion in a dll (and should export symbols for example).
28.4814 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
28.4815 + ;;
28.4816 +
28.4817 + darwin* | rhapsody*)
28.4818 + # PIC is the default on this platform
28.4819 + # Common symbols not allowed in MH_DYLIB files
28.4820 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
28.4821 + ;;
28.4822 +
28.4823 + msdosdjgpp*)
28.4824 + # Just because we use GCC doesn't mean we suddenly get shared libraries
28.4825 + # on systems that don't support them.
28.4826 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
28.4827 + enable_shared=no
28.4828 + ;;
28.4829 +
28.4830 + sysv4*MP*)
28.4831 + if test -d /usr/nec; then
28.4832 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
28.4833 + fi
28.4834 + ;;
28.4835 +
28.4836 + hpux*)
28.4837 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
28.4838 + # not for PA HP-UX.
28.4839 + case "$host_cpu" in
28.4840 + hppa*64*|ia64*)
28.4841 + # +Z the default
28.4842 + ;;
28.4843 + *)
28.4844 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
28.4845 + ;;
28.4846 + esac
28.4847 + ;;
28.4848 +
28.4849 + *)
28.4850 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
28.4851 + ;;
28.4852 + esac
28.4853 + else
28.4854 + # PORTME Check for flag to pass linker flags through the system compiler.
28.4855 + case $host_os in
28.4856 + aix*)
28.4857 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4858 + if test "$host_cpu" = ia64; then
28.4859 + # AIX 5 now supports IA64 processor
28.4860 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4861 + else
28.4862 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
28.4863 + fi
28.4864 + ;;
28.4865 +
28.4866 + mingw* | pw32* | os2*)
28.4867 + # This hack is so that the source file can tell whether it is being
28.4868 + # built for inclusion in a dll (and should export symbols for example).
28.4869 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
28.4870 + ;;
28.4871 +
28.4872 + hpux9* | hpux10* | hpux11*)
28.4873 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4874 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
28.4875 + # not for PA HP-UX.
28.4876 + case "$host_cpu" in
28.4877 + hppa*64*|ia64*)
28.4878 + # +Z the default
28.4879 + ;;
28.4880 + *)
28.4881 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
28.4882 + ;;
28.4883 + esac
28.4884 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
28.4885 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
28.4886 + ;;
28.4887 +
28.4888 + irix5* | irix6* | nonstopux*)
28.4889 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4890 + # PIC (with -KPIC) is the default.
28.4891 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
28.4892 + ;;
28.4893 +
28.4894 + newsos6)
28.4895 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4896 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4897 + ;;
28.4898 +
28.4899 + linux*)
28.4900 + case $CC in
28.4901 + icc* | ecc*)
28.4902 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4903 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4904 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
28.4905 + ;;
28.4906 + ccc*)
28.4907 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4908 + # All Alpha code is PIC.
28.4909 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
28.4910 + ;;
28.4911 + esac
28.4912 + ;;
28.4913 +
28.4914 + osf3* | osf4* | osf5*)
28.4915 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4916 + # All OSF/1 code is PIC.
28.4917 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
28.4918 + ;;
28.4919 +
28.4920 + sco3.2v5*)
28.4921 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
28.4922 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
28.4923 + ;;
28.4924 +
28.4925 + solaris*)
28.4926 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4927 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4928 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4929 + ;;
28.4930 +
28.4931 + sunos4*)
28.4932 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
28.4933 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
28.4934 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4935 + ;;
28.4936 +
28.4937 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28.4938 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
28.4939 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
28.4940 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4941 + ;;
28.4942 +
28.4943 + sysv4*MP*)
28.4944 + if test -d /usr/nec ;then
28.4945 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
28.4946 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4947 + fi
28.4948 + ;;
28.4949 +
28.4950 + uts4*)
28.4951 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
28.4952 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
28.4953 + ;;
28.4954 +
28.4955 + *)
28.4956 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
28.4957 + ;;
28.4958 + esac
28.4959 + fi
28.4960 +])
28.4961 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
28.4962 +
28.4963 +#
28.4964 +# Check to make sure the PIC flag actually works.
28.4965 +#
28.4966 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
28.4967 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
28.4968 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
28.4969 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
28.4970 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
28.4971 + "" | " "*) ;;
28.4972 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
28.4973 + esac],
28.4974 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
28.4975 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
28.4976 +fi
28.4977 +case "$host_os" in
28.4978 + # For platforms which do not support PIC, -DPIC is meaningless:
28.4979 + *djgpp*)
28.4980 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
28.4981 + ;;
28.4982 + *)
28.4983 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
28.4984 + ;;
28.4985 +esac
28.4986 +])
28.4987 +
28.4988 +
28.4989 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
28.4990 +# ------------------------------------
28.4991 +# See if the linker supports building shared libraries.
28.4992 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
28.4993 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
28.4994 +ifelse([$1],[CXX],[
28.4995 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
28.4996 + case $host_os in
28.4997 + aix4* | aix5*)
28.4998 + # If we're using GNU nm, then we don't want the "-C" option.
28.4999 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
28.5000 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
28.5001 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
28.5002 + else
28.5003 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
28.5004 + fi
28.5005 + ;;
28.5006 + pw32*)
28.5007 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
28.5008 + ;;
28.5009 + cygwin* | mingw*)
28.5010 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
28.5011 + ;;
28.5012 + linux*)
28.5013 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
28.5014 + ;;
28.5015 + *)
28.5016 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
28.5017 + ;;
28.5018 + esac
28.5019 +],[
28.5020 + runpath_var=
28.5021 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
28.5022 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
28.5023 + _LT_AC_TAGVAR(archive_cmds, $1)=
28.5024 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
28.5025 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
28.5026 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
28.5027 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
28.5028 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
28.5029 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
28.5030 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
28.5031 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
28.5032 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
28.5033 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.5034 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
28.5035 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
28.5036 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
28.5037 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
28.5038 + _LT_AC_TAGVAR(module_cmds, $1)=
28.5039 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
28.5040 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
28.5041 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
28.5042 + # include_expsyms should be a list of space-separated symbols to be *always*
28.5043 + # included in the symbol list
28.5044 + _LT_AC_TAGVAR(include_expsyms, $1)=
28.5045 + # exclude_expsyms can be an extended regexp of symbols to exclude
28.5046 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
28.5047 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
28.5048 + # as well as any symbol that contains `d'.
28.5049 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
28.5050 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
28.5051 + # platforms (ab)use it in PIC code, but their linkers get confused if
28.5052 + # the symbol is explicitly referenced. Since portable code cannot
28.5053 + # rely on this symbol name, it's probably fine to never include it in
28.5054 + # preloaded symbol tables.
28.5055 + extract_expsyms_cmds=
28.5056 +
28.5057 + case $host_os in
28.5058 + cygwin* | mingw* | pw32*)
28.5059 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
28.5060 + # When not using gcc, we currently assume that we are using
28.5061 + # Microsoft Visual C++.
28.5062 + if test "$GCC" != yes; then
28.5063 + with_gnu_ld=no
28.5064 + fi
28.5065 + ;;
28.5066 + openbsd*)
28.5067 + with_gnu_ld=no
28.5068 + ;;
28.5069 + esac
28.5070 +
28.5071 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
28.5072 + if test "$with_gnu_ld" = yes; then
28.5073 + # If archive_cmds runs LD, not CC, wlarc should be empty
28.5074 + wlarc='${wl}'
28.5075 +
28.5076 + # See if GNU ld supports shared libraries.
28.5077 + case $host_os in
28.5078 + aix3* | aix4* | aix5*)
28.5079 + # On AIX/PPC, the GNU linker is very broken
28.5080 + if test "$host_cpu" != ia64; then
28.5081 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5082 + cat <<EOF 1>&2
28.5083 +
28.5084 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
28.5085 +*** to be unable to reliably create shared libraries on AIX.
28.5086 +*** Therefore, libtool is disabling shared libraries support. If you
28.5087 +*** really care for shared libraries, you may want to modify your PATH
28.5088 +*** so that a non-GNU linker is found, and then restart.
28.5089 +
28.5090 +EOF
28.5091 + fi
28.5092 + ;;
28.5093 +
28.5094 + amigaos*)
28.5095 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
28.5096 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5097 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5098 +
28.5099 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
28.5100 + # that the semantics of dynamic libraries on AmigaOS, at least up
28.5101 + # to version 4, is to share data among multiple programs linked
28.5102 + # with the same dynamic library. Since this doesn't match the
28.5103 + # behavior of shared libraries on other platforms, we can't use
28.5104 + # them.
28.5105 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5106 + ;;
28.5107 +
28.5108 + beos*)
28.5109 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28.5110 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
28.5111 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
28.5112 + # support --undefined. This deserves some investigation. FIXME
28.5113 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.5114 + else
28.5115 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5116 + fi
28.5117 + ;;
28.5118 +
28.5119 + cygwin* | mingw* | pw32*)
28.5120 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
28.5121 + # as there is no search path for DLLs.
28.5122 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5123 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
28.5124 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
28.5125 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
28.5126 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
28.5127 +
28.5128 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
28.5129 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
28.5130 + # If the export-symbols file already is a .def file (1st line
28.5131 + # is EXPORTS), use it as is; otherwise, prepend...
28.5132 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
28.5133 + cp $export_symbols $output_objdir/$soname.def;
28.5134 + else
28.5135 + echo EXPORTS > $output_objdir/$soname.def;
28.5136 + cat $export_symbols >> $output_objdir/$soname.def;
28.5137 + fi~
28.5138 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
28.5139 + else
28.5140 + ld_shlibs=no
28.5141 + fi
28.5142 + ;;
28.5143 +
28.5144 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
28.5145 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28.5146 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
28.5147 + wlarc=
28.5148 + else
28.5149 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.5150 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28.5151 + fi
28.5152 + ;;
28.5153 +
28.5154 + solaris* | sysv5*)
28.5155 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
28.5156 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5157 + cat <<EOF 1>&2
28.5158 +
28.5159 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
28.5160 +*** create shared libraries on Solaris systems. Therefore, libtool
28.5161 +*** is disabling shared libraries support. We urge you to upgrade GNU
28.5162 +*** binutils to release 2.9.1 or newer. Another option is to modify
28.5163 +*** your PATH or compiler configuration so that the native linker is
28.5164 +*** used, and then restart.
28.5165 +
28.5166 +EOF
28.5167 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28.5168 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.5169 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28.5170 + else
28.5171 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5172 + fi
28.5173 + ;;
28.5174 +
28.5175 + sunos4*)
28.5176 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28.5177 + wlarc=
28.5178 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5179 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5180 + ;;
28.5181 +
28.5182 + linux*)
28.5183 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28.5184 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.5185 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
28.5186 + supports_anon_versioning=no
28.5187 + case `$LD -v 2>/dev/null` in
28.5188 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
28.5189 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
28.5190 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
28.5191 + *\ 2.11.*) ;; # other 2.11 versions
28.5192 + *) supports_anon_versioning=yes ;;
28.5193 + esac
28.5194 + if test $supports_anon_versioning = yes; then
28.5195 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
28.5196 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
28.5197 +$echo "local: *; };" >> $output_objdir/$libname.ver~
28.5198 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
28.5199 + else
28.5200 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
28.5201 + fi
28.5202 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
28.5203 + else
28.5204 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5205 + fi
28.5206 + ;;
28.5207 +
28.5208 + *)
28.5209 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28.5210 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28.5211 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28.5212 + else
28.5213 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5214 + fi
28.5215 + ;;
28.5216 + esac
28.5217 +
28.5218 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
28.5219 + runpath_var=LD_RUN_PATH
28.5220 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
28.5221 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
28.5222 + # ancient GNU ld didn't support --whole-archive et. al.
28.5223 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
28.5224 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
28.5225 + else
28.5226 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
28.5227 + fi
28.5228 + fi
28.5229 + else
28.5230 + # PORTME fill in a description of your system's linker (not GNU ld)
28.5231 + case $host_os in
28.5232 + aix3*)
28.5233 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
28.5234 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
28.5235 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
28.5236 + # Note: this linker hardcodes the directories in LIBPATH if there
28.5237 + # are no directories specified by -L.
28.5238 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5239 + if test "$GCC" = yes && test -z "$link_static_flag"; then
28.5240 + # Neither direct hardcoding nor static linking is supported with a
28.5241 + # broken collect2.
28.5242 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
28.5243 + fi
28.5244 + ;;
28.5245 +
28.5246 + aix4* | aix5*)
28.5247 + if test "$host_cpu" = ia64; then
28.5248 + # On IA64, the linker does run time linking by default, so we don't
28.5249 + # have to do anything special.
28.5250 + aix_use_runtimelinking=no
28.5251 + exp_sym_flag='-Bexport'
28.5252 + no_entry_flag=""
28.5253 + else
28.5254 + # If we're using GNU nm, then we don't want the "-C" option.
28.5255 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
28.5256 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
28.5257 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
28.5258 + else
28.5259 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
28.5260 + fi
28.5261 + aix_use_runtimelinking=no
28.5262 +
28.5263 + # Test if we are trying to use run time linking or normal
28.5264 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
28.5265 + # need to do runtime linking.
28.5266 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
28.5267 + for ld_flag in $LDFLAGS; do
28.5268 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
28.5269 + aix_use_runtimelinking=yes
28.5270 + break
28.5271 + fi
28.5272 + done
28.5273 + esac
28.5274 +
28.5275 + exp_sym_flag='-bexport'
28.5276 + no_entry_flag='-bnoentry'
28.5277 + fi
28.5278 +
28.5279 + # When large executables or shared objects are built, AIX ld can
28.5280 + # have problems creating the table of contents. If linking a library
28.5281 + # or program results in "error TOC overflow" add -mminimal-toc to
28.5282 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
28.5283 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
28.5284 +
28.5285 + _LT_AC_TAGVAR(archive_cmds, $1)=''
28.5286 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5287 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
28.5288 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.5289 +
28.5290 + if test "$GCC" = yes; then
28.5291 + case $host_os in aix4.[012]|aix4.[012].*)
28.5292 + # We only want to do this on AIX 4.2 and lower, the check
28.5293 + # below for broken collect2 doesn't work under 4.3+
28.5294 + collect2name=`${CC} -print-prog-name=collect2`
28.5295 + if test -f "$collect2name" && \
28.5296 + strings "$collect2name" | grep resolve_lib_name >/dev/null
28.5297 + then
28.5298 + # We have reworked collect2
28.5299 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5300 + else
28.5301 + # We have old collect2
28.5302 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
28.5303 + # It fails to find uninstalled libraries when the uninstalled
28.5304 + # path is not listed in the libpath. Setting hardcode_minus_L
28.5305 + # to unsupported forces relinking
28.5306 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5307 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5308 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
28.5309 + fi
28.5310 + esac
28.5311 + shared_flag='-shared'
28.5312 + else
28.5313 + # not using gcc
28.5314 + if test "$host_cpu" = ia64; then
28.5315 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
28.5316 + # chokes on -Wl,-G. The following line is correct:
28.5317 + shared_flag='-G'
28.5318 + else
28.5319 + if test "$aix_use_runtimelinking" = yes; then
28.5320 + shared_flag='${wl}-G'
28.5321 + else
28.5322 + shared_flag='${wl}-bM:SRE'
28.5323 + fi
28.5324 + fi
28.5325 + fi
28.5326 +
28.5327 + # It seems that -bexpall does not export symbols beginning with
28.5328 + # underscore (_), so it is better to generate a list of symbols to export.
28.5329 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
28.5330 + if test "$aix_use_runtimelinking" = yes; then
28.5331 + # Warning - without using the other runtime loading flags (-brtl),
28.5332 + # -berok will link without error, but may produce a broken library.
28.5333 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
28.5334 + # Determine the default libpath from the value encoded in an empty executable.
28.5335 + _LT_AC_SYS_LIBPATH_AIX
28.5336 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
28.5337 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
28.5338 + else
28.5339 + if test "$host_cpu" = ia64; then
28.5340 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
28.5341 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
28.5342 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
28.5343 + else
28.5344 + # Determine the default libpath from the value encoded in an empty executable.
28.5345 + _LT_AC_SYS_LIBPATH_AIX
28.5346 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
28.5347 + # Warning - without using the other run time loading flags,
28.5348 + # -berok will link without error, but may produce a broken library.
28.5349 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
28.5350 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
28.5351 + # -bexpall does not export symbols beginning with underscore (_)
28.5352 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
28.5353 + # Exported symbols can be pulled into shared objects from archives
28.5354 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
28.5355 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
28.5356 + # This is similar to how AIX traditionally builds it's shared libraries.
28.5357 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
28.5358 + fi
28.5359 + fi
28.5360 + ;;
28.5361 +
28.5362 + amigaos*)
28.5363 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
28.5364 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5365 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5366 + # see comment about different semantics on the GNU ld section
28.5367 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5368 + ;;
28.5369 +
28.5370 + bsdi4*)
28.5371 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
28.5372 + ;;
28.5373 +
28.5374 + cygwin* | mingw* | pw32*)
28.5375 + # When not using gcc, we currently assume that we are using
28.5376 + # Microsoft Visual C++.
28.5377 + # hardcode_libdir_flag_spec is actually meaningless, as there is
28.5378 + # no search path for DLLs.
28.5379 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
28.5380 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
28.5381 + # Tell ltmain to make .lib files, not .a files.
28.5382 + libext=lib
28.5383 + # Tell ltmain to make .dll files, not .so files.
28.5384 + shrext_cmds=".dll"
28.5385 + # FIXME: Setting linknames here is a bad hack.
28.5386 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
28.5387 + # The linker will automatically build a .lib file if we build a DLL.
28.5388 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
28.5389 + # FIXME: Should let the user specify the lib program.
28.5390 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
28.5391 + fix_srcfile_path='`cygpath -w "$srcfile"`'
28.5392 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
28.5393 + ;;
28.5394 +
28.5395 + darwin* | rhapsody*)
28.5396 + if test "$GXX" = yes ; then
28.5397 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.5398 + case "$host_os" in
28.5399 + rhapsody* | darwin1.[[012]])
28.5400 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
28.5401 + ;;
28.5402 + *) # Darwin 1.3 on
28.5403 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
28.5404 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
28.5405 + else
28.5406 + case ${MACOSX_DEPLOYMENT_TARGET} in
28.5407 + 10.[[012]])
28.5408 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
28.5409 + ;;
28.5410 + 10.*)
28.5411 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
28.5412 + ;;
28.5413 + esac
28.5414 + fi
28.5415 + ;;
28.5416 + esac
28.5417 + lt_int_apple_cc_single_mod=no
28.5418 + output_verbose_link_cmd='echo'
28.5419 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
28.5420 + lt_int_apple_cc_single_mod=yes
28.5421 + fi
28.5422 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
28.5423 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
28.5424 + else
28.5425 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
28.5426 + fi
28.5427 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
28.5428 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
28.5429 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
28.5430 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.5431 + else
28.5432 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.5433 + fi
28.5434 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28.5435 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.5436 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
28.5437 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
28.5438 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
28.5439 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.5440 + else
28.5441 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5442 + fi
28.5443 + ;;
28.5444 +
28.5445 + dgux*)
28.5446 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5447 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5448 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5449 + ;;
28.5450 +
28.5451 + freebsd1*)
28.5452 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5453 + ;;
28.5454 +
28.5455 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
28.5456 + # support. Future versions do this automatically, but an explicit c++rt0.o
28.5457 + # does not break anything, and helps significantly (at the cost of a little
28.5458 + # extra space).
28.5459 + freebsd2.2*)
28.5460 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
28.5461 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.5462 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5463 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5464 + ;;
28.5465 +
28.5466 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
28.5467 + freebsd2*)
28.5468 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28.5469 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5470 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5471 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5472 + ;;
28.5473 +
28.5474 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
28.5475 + freebsd* | kfreebsd*-gnu)
28.5476 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
28.5477 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.5478 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5479 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5480 + ;;
28.5481 +
28.5482 + hpux9*)
28.5483 + if test "$GCC" = yes; then
28.5484 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
28.5485 + else
28.5486 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
28.5487 + fi
28.5488 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
28.5489 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5490 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5491 +
28.5492 + # hardcode_minus_L: Not really in the search PATH,
28.5493 + # but as the default location of the library.
28.5494 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5495 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
28.5496 + ;;
28.5497 +
28.5498 + hpux10* | hpux11*)
28.5499 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
28.5500 + case "$host_cpu" in
28.5501 + hppa*64*|ia64*)
28.5502 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28.5503 + ;;
28.5504 + *)
28.5505 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28.5506 + ;;
28.5507 + esac
28.5508 + else
28.5509 + case "$host_cpu" in
28.5510 + hppa*64*|ia64*)
28.5511 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5512 + ;;
28.5513 + *)
28.5514 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
28.5515 + ;;
28.5516 + esac
28.5517 + fi
28.5518 + if test "$with_gnu_ld" = no; then
28.5519 + case "$host_cpu" in
28.5520 + hppa*64*)
28.5521 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
28.5522 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
28.5523 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5524 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.5525 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5526 + ;;
28.5527 + ia64*)
28.5528 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5529 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.5530 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5531 +
28.5532 + # hardcode_minus_L: Not really in the search PATH,
28.5533 + # but as the default location of the library.
28.5534 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5535 + ;;
28.5536 + *)
28.5537 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
28.5538 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5539 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5540 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
28.5541 +
28.5542 + # hardcode_minus_L: Not really in the search PATH,
28.5543 + # but as the default location of the library.
28.5544 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5545 + ;;
28.5546 + esac
28.5547 + fi
28.5548 + ;;
28.5549 +
28.5550 + irix5* | irix6* | nonstopux*)
28.5551 + if test "$GCC" = yes; then
28.5552 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
28.5553 + else
28.5554 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
28.5555 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
28.5556 + fi
28.5557 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.5558 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5559 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.5560 + ;;
28.5561 +
28.5562 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
28.5563 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28.5564 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
28.5565 + else
28.5566 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
28.5567 + fi
28.5568 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.5569 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5570 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5571 + ;;
28.5572 +
28.5573 + newsos6)
28.5574 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5575 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5576 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.5577 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5578 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5579 + ;;
28.5580 +
28.5581 + openbsd*)
28.5582 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5583 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5584 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28.5585 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28.5586 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
28.5587 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
28.5588 + else
28.5589 + case $host_os in
28.5590 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
28.5591 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28.5592 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.5593 + ;;
28.5594 + *)
28.5595 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28.5596 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
28.5597 + ;;
28.5598 + esac
28.5599 + fi
28.5600 + ;;
28.5601 +
28.5602 + os2*)
28.5603 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5604 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5605 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
28.5606 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
28.5607 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
28.5608 + ;;
28.5609 +
28.5610 + osf3*)
28.5611 + if test "$GCC" = yes; then
28.5612 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
28.5613 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
28.5614 + else
28.5615 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
28.5616 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
28.5617 + fi
28.5618 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.5619 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5620 + ;;
28.5621 +
28.5622 + osf4* | osf5*) # as osf3* with the addition of -msym flag
28.5623 + if test "$GCC" = yes; then
28.5624 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
28.5625 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
28.5626 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
28.5627 + else
28.5628 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
28.5629 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
28.5630 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
28.5631 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
28.5632 +
28.5633 + # Both c and cxx compiler support -rpath directly
28.5634 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
28.5635 + fi
28.5636 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
28.5637 + ;;
28.5638 +
28.5639 + sco3.2v5*)
28.5640 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5641 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5642 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
28.5643 + runpath_var=LD_RUN_PATH
28.5644 + hardcode_runpath_var=yes
28.5645 + ;;
28.5646 +
28.5647 + solaris*)
28.5648 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
28.5649 + if test "$GCC" = yes; then
28.5650 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28.5651 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28.5652 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
28.5653 + else
28.5654 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5655 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28.5656 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
28.5657 + fi
28.5658 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
28.5659 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5660 + case $host_os in
28.5661 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
28.5662 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
28.5663 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
28.5664 + esac
28.5665 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
28.5666 + ;;
28.5667 +
28.5668 + sunos4*)
28.5669 + if test "x$host_vendor" = xsequent; then
28.5670 + # Use $CC to link under sequent, because it throws in some extra .o
28.5671 + # files that make .init and .fini sections work.
28.5672 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
28.5673 + else
28.5674 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
28.5675 + fi
28.5676 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5677 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5678 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
28.5679 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5680 + ;;
28.5681 +
28.5682 + sysv4)
28.5683 + case $host_vendor in
28.5684 + sni)
28.5685 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5686 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
28.5687 + ;;
28.5688 + siemens)
28.5689 + ## LD is ld it makes a PLAMLIB
28.5690 + ## CC just makes a GrossModule.
28.5691 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28.5692 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
28.5693 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
28.5694 + ;;
28.5695 + motorola)
28.5696 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5697 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
28.5698 + ;;
28.5699 + esac
28.5700 + runpath_var='LD_RUN_PATH'
28.5701 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5702 + ;;
28.5703 +
28.5704 + sysv4.3*)
28.5705 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5706 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5707 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
28.5708 + ;;
28.5709 +
28.5710 + sysv4*MP*)
28.5711 + if test -d /usr/nec; then
28.5712 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5713 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5714 + runpath_var=LD_RUN_PATH
28.5715 + hardcode_runpath_var=yes
28.5716 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
28.5717 + fi
28.5718 + ;;
28.5719 +
28.5720 + sysv4.2uw2*)
28.5721 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28.5722 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
28.5723 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
28.5724 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5725 + hardcode_runpath_var=yes
28.5726 + runpath_var=LD_RUN_PATH
28.5727 + ;;
28.5728 +
28.5729 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
28.5730 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
28.5731 + if test "$GCC" = yes; then
28.5732 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28.5733 + else
28.5734 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28.5735 + fi
28.5736 + runpath_var='LD_RUN_PATH'
28.5737 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5738 + ;;
28.5739 +
28.5740 + sysv5*)
28.5741 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
28.5742 + # $CC -shared without GNU ld will not create a library from C++
28.5743 + # object files and a static libstdc++, better avoid it by now
28.5744 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5745 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28.5746 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
28.5747 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
28.5748 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5749 + runpath_var='LD_RUN_PATH'
28.5750 + ;;
28.5751 +
28.5752 + uts4*)
28.5753 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28.5754 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
28.5755 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
28.5756 + ;;
28.5757 +
28.5758 + *)
28.5759 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
28.5760 + ;;
28.5761 + esac
28.5762 + fi
28.5763 +])
28.5764 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
28.5765 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
28.5766 +
28.5767 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
28.5768 +if test "$GCC" = yes; then
28.5769 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
28.5770 +fi
28.5771 +
28.5772 +#
28.5773 +# Do we need to explicitly link libc?
28.5774 +#
28.5775 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
28.5776 +x|xyes)
28.5777 + # Assume -lc should be added
28.5778 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
28.5779 +
28.5780 + if test "$enable_shared" = yes && test "$GCC" = yes; then
28.5781 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
28.5782 + *'~'*)
28.5783 + # FIXME: we may have to deal with multi-command sequences.
28.5784 + ;;
28.5785 + '$CC '*)
28.5786 + # Test whether the compiler implicitly links with -lc since on some
28.5787 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
28.5788 + # to ld, don't add -lc before -lgcc.
28.5789 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
28.5790 + $rm conftest*
28.5791 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28.5792 +
28.5793 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
28.5794 + soname=conftest
28.5795 + lib=conftest
28.5796 + libobjs=conftest.$ac_objext
28.5797 + deplibs=
28.5798 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
28.5799 + compiler_flags=-v
28.5800 + linker_flags=-v
28.5801 + verstring=
28.5802 + output_objdir=.
28.5803 + libname=conftest
28.5804 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
28.5805 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
28.5806 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
28.5807 + then
28.5808 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
28.5809 + else
28.5810 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
28.5811 + fi
28.5812 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
28.5813 + else
28.5814 + cat conftest.err 1>&5
28.5815 + fi
28.5816 + $rm conftest*
28.5817 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
28.5818 + ;;
28.5819 + esac
28.5820 + fi
28.5821 + ;;
28.5822 +esac
28.5823 +])# AC_LIBTOOL_PROG_LD_SHLIBS
28.5824 +
28.5825 +
28.5826 +# _LT_AC_FILE_LTDLL_C
28.5827 +# -------------------
28.5828 +# Be careful that the start marker always follows a newline.
28.5829 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
28.5830 +# /* ltdll.c starts here */
28.5831 +# #define WIN32_LEAN_AND_MEAN
28.5832 +# #include <windows.h>
28.5833 +# #undef WIN32_LEAN_AND_MEAN
28.5834 +# #include <stdio.h>
28.5835 +#
28.5836 +# #ifndef __CYGWIN__
28.5837 +# # ifdef __CYGWIN32__
28.5838 +# # define __CYGWIN__ __CYGWIN32__
28.5839 +# # endif
28.5840 +# #endif
28.5841 +#
28.5842 +# #ifdef __cplusplus
28.5843 +# extern "C" {
28.5844 +# #endif
28.5845 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
28.5846 +# #ifdef __cplusplus
28.5847 +# }
28.5848 +# #endif
28.5849 +#
28.5850 +# #ifdef __CYGWIN__
28.5851 +# #include <cygwin/cygwin_dll.h>
28.5852 +# DECLARE_CYGWIN_DLL( DllMain );
28.5853 +# #endif
28.5854 +# HINSTANCE __hDllInstance_base;
28.5855 +#
28.5856 +# BOOL APIENTRY
28.5857 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
28.5858 +# {
28.5859 +# __hDllInstance_base = hInst;
28.5860 +# return TRUE;
28.5861 +# }
28.5862 +# /* ltdll.c ends here */
28.5863 +])# _LT_AC_FILE_LTDLL_C
28.5864 +
28.5865 +
28.5866 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
28.5867 +# ---------------------------------
28.5868 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
28.5869 +
28.5870 +
28.5871 +# old names
28.5872 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
28.5873 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
28.5874 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
28.5875 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
28.5876 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
28.5877 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
28.5878 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
28.5879 +
28.5880 +# This is just to silence aclocal about the macro not being used
28.5881 +ifelse([AC_DISABLE_FAST_INSTALL])
28.5882 +
28.5883 +AC_DEFUN([LT_AC_PROG_GCJ],
28.5884 +[AC_CHECK_TOOL(GCJ, gcj, no)
28.5885 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
28.5886 + AC_SUBST(GCJFLAGS)
28.5887 +])
28.5888 +
28.5889 +AC_DEFUN([LT_AC_PROG_RC],
28.5890 +[AC_CHECK_TOOL(RC, windres, no)
28.5891 +])
28.5892 +
28.5893 +############################################################
28.5894 +# NOTE: This macro has been submitted for inclusion into #
28.5895 +# GNU Autoconf as AC_PROG_SED. When it is available in #
28.5896 +# a released version of Autoconf we should remove this #
28.5897 +# macro and use it instead. #
28.5898 +############################################################
28.5899 +# LT_AC_PROG_SED
28.5900 +# --------------
28.5901 +# Check for a fully-functional sed program, that truncates
28.5902 +# as few characters as possible. Prefer GNU sed if found.
28.5903 +AC_DEFUN([LT_AC_PROG_SED],
28.5904 +[AC_MSG_CHECKING([for a sed that does not truncate output])
28.5905 +AC_CACHE_VAL(lt_cv_path_SED,
28.5906 +[# Loop through the user's path and test for sed and gsed.
28.5907 +# Then use that list of sed's as ones to test for truncation.
28.5908 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28.5909 +for as_dir in $PATH
28.5910 +do
28.5911 + IFS=$as_save_IFS
28.5912 + test -z "$as_dir" && as_dir=.
28.5913 + for lt_ac_prog in sed gsed; do
28.5914 + for ac_exec_ext in '' $ac_executable_extensions; do
28.5915 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
28.5916 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
28.5917 + fi
28.5918 + done
28.5919 + done
28.5920 +done
28.5921 +lt_ac_max=0
28.5922 +lt_ac_count=0
28.5923 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
28.5924 +# along with /bin/sed that truncates output.
28.5925 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
28.5926 + test ! -f $lt_ac_sed && break
28.5927 + cat /dev/null > conftest.in
28.5928 + lt_ac_count=0
28.5929 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
28.5930 + # Check for GNU sed and select it if it is found.
28.5931 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
28.5932 + lt_cv_path_SED=$lt_ac_sed
28.5933 + break
28.5934 + fi
28.5935 + while true; do
28.5936 + cat conftest.in conftest.in >conftest.tmp
28.5937 + mv conftest.tmp conftest.in
28.5938 + cp conftest.in conftest.nl
28.5939 + echo >>conftest.nl
28.5940 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
28.5941 + cmp -s conftest.out conftest.nl || break
28.5942 + # 10000 chars as input seems more than enough
28.5943 + test $lt_ac_count -gt 10 && break
28.5944 + lt_ac_count=`expr $lt_ac_count + 1`
28.5945 + if test $lt_ac_count -gt $lt_ac_max; then
28.5946 + lt_ac_max=$lt_ac_count
28.5947 + lt_cv_path_SED=$lt_ac_sed
28.5948 + fi
28.5949 + done
28.5950 +done
28.5951 +SED=$lt_cv_path_SED
28.5952 +])
28.5953 +AC_MSG_RESULT([$SED])
28.5954 +])
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
29.2 +++ b/gst-gpac/m4/pkg.m4 Thu Feb 21 17:44:16 2008 +0000
29.3 @@ -0,0 +1,114 @@
29.4 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
29.5 +#
29.6 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
29.7 +#
29.8 +# This program is free software; you can redistribute it and/or modify
29.9 +# it under the terms of the GNU General Public License as published by
29.10 +# the Free Software Foundation; either version 2 of the License, or
29.11 +# (at your option) any later version.
29.12 +#
29.13 +# This program is distributed in the hope that it will be useful, but
29.14 +# WITHOUT ANY WARRANTY; without even the implied warranty of
29.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29.16 +# General Public License for more details.
29.17 +#
29.18 +# You should have received a copy of the GNU General Public License
29.19 +# along with this program; if not, write to the Free Software
29.20 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29.21 +#
29.22 +# As a special exception to the GNU General Public License, if you
29.23 +# distribute this file as part of a program that contains a
29.24 +# configuration script generated by Autoconf, you may include it under
29.25 +# the same distribution terms that you use for the rest of that program.
29.26 +
29.27 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
29.28 +# ----------------------------------
29.29 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
29.30 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
29.31 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
29.32 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
29.33 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29.34 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
29.35 +fi
29.36 +if test -n "$PKG_CONFIG"; then
29.37 + _pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
29.38 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
29.39 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29.40 + AC_MSG_RESULT([yes])
29.41 + else
29.42 + AC_MSG_RESULT([no])
29.43 + PKG_CONFIG=""
29.44 + fi
29.45 +
29.46 +fi[]dnl
29.47 +])# PKG_PROG_PKG_CONFIG
29.48 +
29.49 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
29.50 +# ---------------------------------------------
29.51 +m4_define([_PKG_CONFIG],
29.52 +[if test "x$ac_cv_env_[]$1[]_set" = "xset"; then
29.53 + pkg_cv_[]$1=$ac_cv_env_[]$1[]_value
29.54 +elif test -n "$PKG_CONFIG"; then
29.55 + if AC_RUN_LOG([$PKG_CONFIG --exists "$3" >/dev/null 2>&1]); then
29.56 + pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
29.57 + else
29.58 + pkg_failed=yes
29.59 + fi
29.60 +else
29.61 + pkg_failed=untried
29.62 +fi[]dnl
29.63 +])# _PKG_CONFIG
29.64 +
29.65 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
29.66 +# [ACTION-IF-NOT-FOUND])
29.67 +#
29.68 +#
29.69 +# Note that if there is a possibility the first call to
29.70 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
29.71 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.in
29.72 +#
29.73 +#
29.74 +# --------------------------------------------------------------
29.75 +AC_DEFUN([PKG_CHECK_MODULES],
29.76 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
29.77 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
29.78 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
29.79 +
29.80 +pkg_failed=no
29.81 +AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
29.82 + [_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])])
29.83 +AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
29.84 + [_PKG_CONFIG([$1][_LIBS], [libs], [$2])])
29.85 +
29.86 +if test $pkg_failed = yes; then
29.87 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
29.88 + # Put the nasty error message in config.log where it belongs
29.89 + echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
29.90 +
29.91 + ifelse([$4], , [AC_MSG_ERROR(dnl
29.92 +[Package requirements ($2) were not met.
29.93 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
29.94 +installed software in a non-standard prefix.
29.95 +
29.96 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
29.97 +to avoid the need to call pkg-config. See the pkg-config man page for
29.98 +more details.])],
29.99 + [$4])
29.100 +elif test $pkg_failed = untried; then
29.101 + ifelse([$4], , [AC_MSG_FAILURE(dnl
29.102 +[The pkg-config script could not be found or is too old. Make sure it
29.103 +is in your PATH or set the PKG_CONFIG environment variable to the full
29.104 +path to pkg-config.
29.105 +
29.106 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
29.107 +to avoid the need to call pkg-config. See the pkg-config man page for
29.108 +more details.
29.109 +
29.110 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
29.111 + [$4])
29.112 +else
29.113 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
29.114 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
29.115 + ifelse([$3], , :, [$3])
29.116 +fi[]dnl
29.117 +])# PKG_CHECK_MODULES
30.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
30.2 +++ b/gst-gpac/missing Thu Feb 21 17:44:16 2008 +0000
30.3 @@ -0,0 +1,360 @@
30.4 +#! /bin/sh
30.5 +# Common stub for a few missing GNU programs while installing.
30.6 +
30.7 +scriptversion=2005-06-08.21
30.8 +
30.9 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
30.10 +# Free Software Foundation, Inc.
30.11 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
30.12 +
30.13 +# This program is free software; you can redistribute it and/or modify
30.14 +# it under the terms of the GNU General Public License as published by
30.15 +# the Free Software Foundation; either version 2, or (at your option)
30.16 +# any later version.
30.17 +
30.18 +# This program is distributed in the hope that it will be useful,
30.19 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
30.20 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30.21 +# GNU General Public License for more details.
30.22 +
30.23 +# You should have received a copy of the GNU General Public License
30.24 +# along with this program; if not, write to the Free Software
30.25 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
30.26 +# 02110-1301, USA.
30.27 +
30.28 +# As a special exception to the GNU General Public License, if you
30.29 +# distribute this file as part of a program that contains a
30.30 +# configuration script generated by Autoconf, you may include it under
30.31 +# the same distribution terms that you use for the rest of that program.
30.32 +
30.33 +if test $# -eq 0; then
30.34 + echo 1>&2 "Try \`$0 --help' for more information"
30.35 + exit 1
30.36 +fi
30.37 +
30.38 +run=:
30.39 +
30.40 +# In the cases where this matters, `missing' is being run in the
30.41 +# srcdir already.
30.42 +if test -f configure.ac; then
30.43 + configure_ac=configure.ac
30.44 +else
30.45 + configure_ac=configure.in
30.46 +fi
30.47 +
30.48 +msg="missing on your system"
30.49 +
30.50 +case "$1" in
30.51 +--run)
30.52 + # Try to run requested program, and just exit if it succeeds.
30.53 + run=
30.54 + shift
30.55 + "$@" && exit 0
30.56 + # Exit code 63 means version mismatch. This often happens
30.57 + # when the user try to use an ancient version of a tool on
30.58 + # a file that requires a minimum version. In this case we
30.59 + # we should proceed has if the program had been absent, or
30.60 + # if --run hadn't been passed.
30.61 + if test $? = 63; then
30.62 + run=:
30.63 + msg="probably too old"
30.64 + fi
30.65 + ;;
30.66 +
30.67 + -h|--h|--he|--hel|--help)
30.68 + echo "\
30.69 +$0 [OPTION]... PROGRAM [ARGUMENT]...
30.70 +
30.71 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
30.72 +error status if there is no known handling for PROGRAM.
30.73 +
30.74 +Options:
30.75 + -h, --help display this help and exit
30.76 + -v, --version output version information and exit
30.77 + --run try to run the given command, and emulate it if it fails
30.78 +
30.79 +Supported PROGRAM values:
30.80 + aclocal touch file \`aclocal.m4'
30.81 + autoconf touch file \`configure'
30.82 + autoheader touch file \`config.h.in'
30.83 + automake touch all \`Makefile.in' files
30.84 + bison create \`y.tab.[ch]', if possible, from existing .[ch]
30.85 + flex create \`lex.yy.c', if possible, from existing .c
30.86 + help2man touch the output file
30.87 + lex create \`lex.yy.c', if possible, from existing .c
30.88 + makeinfo touch the output file
30.89 + tar try tar, gnutar, gtar, then tar without non-portable flags
30.90 + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
30.91 +
30.92 +Send bug reports to <bug-automake@gnu.org>."
30.93 + exit $?
30.94 + ;;
30.95 +
30.96 + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
30.97 + echo "missing $scriptversion (GNU Automake)"
30.98 + exit $?
30.99 + ;;
30.100 +
30.101 + -*)
30.102 + echo 1>&2 "$0: Unknown \`$1' option"
30.103 + echo 1>&2 "Try \`$0 --help' for more information"
30.104 + exit 1
30.105 + ;;
30.106 +
30.107 +esac
30.108 +
30.109 +# Now exit if we have it, but it failed. Also exit now if we
30.110 +# don't have it and --version was passed (most likely to detect
30.111 +# the program).
30.112 +case "$1" in
30.113 + lex|yacc)
30.114 + # Not GNU programs, they don't have --version.
30.115 + ;;
30.116 +
30.117 + tar)
30.118 + if test -n "$run"; then
30.119 + echo 1>&2 "ERROR: \`tar' requires --run"
30.120 + exit 1
30.121 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
30.122 + exit 1
30.123 + fi
30.124 + ;;
30.125 +
30.126 + *)
30.127 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
30.128 + # We have it, but it failed.
30.129 + exit 1
30.130 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
30.131 + # Could not run --version or --help. This is probably someone
30.132 + # running `$TOOL --version' or `$TOOL --help' to check whether
30.133 + # $TOOL exists and not knowing $TOOL uses missing.
30.134 + exit 1
30.135 + fi
30.136 + ;;
30.137 +esac
30.138 +
30.139 +# If it does not exist, or fails to run (possibly an outdated version),
30.140 +# try to emulate it.
30.141 +case "$1" in
30.142 + aclocal*)
30.143 + echo 1>&2 "\
30.144 +WARNING: \`$1' is $msg. You should only need it if
30.145 + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
30.146 + to install the \`Automake' and \`Perl' packages. Grab them from
30.147 + any GNU archive site."
30.148 + touch aclocal.m4
30.149 + ;;
30.150 +
30.151 + autoconf)
30.152 + echo 1>&2 "\
30.153 +WARNING: \`$1' is $msg. You should only need it if
30.154 + you modified \`${configure_ac}'. You might want to install the
30.155 + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
30.156 + archive site."
30.157 + touch configure
30.158 + ;;
30.159 +
30.160 + autoheader)
30.161 + echo 1>&2 "\
30.162 +WARNING: \`$1' is $msg. You should only need it if
30.163 + you modified \`acconfig.h' or \`${configure_ac}'. You might want
30.164 + to install the \`Autoconf' and \`GNU m4' packages. Grab them
30.165 + from any GNU archive site."
30.166 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
30.167 + test -z "$files" && files="config.h"
30.168 + touch_files=
30.169 + for f in $files; do
30.170 + case "$f" in
30.171 + *:*) touch_files="$touch_files "`echo "$f" |
30.172 + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
30.173 + *) touch_files="$touch_files $f.in";;
30.174 + esac
30.175 + done
30.176 + touch $touch_files
30.177 + ;;
30.178 +
30.179 + automake*)
30.180 + echo 1>&2 "\
30.181 +WARNING: \`$1' is $msg. You should only need it if
30.182 + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
30.183 + You might want to install the \`Automake' and \`Perl' packages.
30.184 + Grab them from any GNU archive site."
30.185 + find . -type f -name Makefile.am -print |
30.186 + sed 's/\.am$/.in/' |
30.187 + while read f; do touch "$f"; done
30.188 + ;;
30.189 +
30.190 + autom4te)
30.191 + echo 1>&2 "\
30.192 +WARNING: \`$1' is needed, but is $msg.
30.193 + You might have modified some files without having the
30.194 + proper tools for further handling them.
30.195 + You can get \`$1' as part of \`Autoconf' from any GNU
30.196 + archive site."
30.197 +
30.198 + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
30.199 + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
30.200 + if test -f "$file"; then
30.201 + touch $file
30.202 + else
30.203 + test -z "$file" || exec >$file
30.204 + echo "#! /bin/sh"
30.205 + echo "# Created by GNU Automake missing as a replacement of"
30.206 + echo "# $ $@"
30.207 + echo "exit 0"
30.208 + chmod +x $file
30.209 + exit 1
30.210 + fi
30.211 + ;;
30.212 +
30.213 + bison|yacc)
30.214 + echo 1>&2 "\
30.215 +WARNING: \`$1' $msg. You should only need it if
30.216 + you modified a \`.y' file. You may need the \`Bison' package
30.217 + in order for those modifications to take effect. You can get
30.218 + \`Bison' from any GNU archive site."
30.219 + rm -f y.tab.c y.tab.h
30.220 + if [ $# -ne 1 ]; then
30.221 + eval LASTARG="\${$#}"
30.222 + case "$LASTARG" in
30.223 + *.y)
30.224 + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
30.225 + if [ -f "$SRCFILE" ]; then
30.226 + cp "$SRCFILE" y.tab.c
30.227 + fi
30.228 + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
30.229 + if [ -f "$SRCFILE" ]; then
30.230 + cp "$SRCFILE" y.tab.h
30.231 + fi
30.232 + ;;
30.233 + esac
30.234 + fi
30.235 + if [ ! -f y.tab.h ]; then
30.236 + echo >y.tab.h
30.237 + fi
30.238 + if [ ! -f y.tab.c ]; then
30.239 + echo 'main() { return 0; }' >y.tab.c
30.240 + fi
30.241 + ;;
30.242 +
30.243 + lex|flex)
30.244 + echo 1>&2 "\
30.245 +WARNING: \`$1' is $msg. You should only need it if
30.246 + you modified a \`.l' file. You may need the \`Flex' package
30.247 + in order for those modifications to take effect. You can get
30.248 + \`Flex' from any GNU archive site."
30.249 + rm -f lex.yy.c
30.250 + if [ $# -ne 1 ]; then
30.251 + eval LASTARG="\${$#}"
30.252 + case "$LASTARG" in
30.253 + *.l)
30.254 + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
30.255 + if [ -f "$SRCFILE" ]; then
30.256 + cp "$SRCFILE" lex.yy.c
30.257 + fi
30.258 + ;;
30.259 + esac
30.260 + fi
30.261 + if [ ! -f lex.yy.c ]; then
30.262 + echo 'main() { return 0; }' >lex.yy.c
30.263 + fi
30.264 + ;;
30.265 +
30.266 + help2man)
30.267 + echo 1>&2 "\
30.268 +WARNING: \`$1' is $msg. You should only need it if
30.269 + you modified a dependency of a manual page. You may need the
30.270 + \`Help2man' package in order for those modifications to take
30.271 + effect. You can get \`Help2man' from any GNU archive site."
30.272 +
30.273 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
30.274 + if test -z "$file"; then
30.275 + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
30.276 + fi
30.277 + if [ -f "$file" ]; then
30.278 + touch $file
30.279 + else
30.280 + test -z "$file" || exec >$file
30.281 + echo ".ab help2man is required to generate this page"
30.282 + exit 1
30.283 + fi
30.284 + ;;
30.285 +
30.286 + makeinfo)
30.287 + echo 1>&2 "\
30.288 +WARNING: \`$1' is $msg. You should only need it if
30.289 + you modified a \`.texi' or \`.texinfo' file, or any other file
30.290 + indirectly affecting the aspect of the manual. The spurious
30.291 + call might also be the consequence of using a buggy \`make' (AIX,
30.292 + DU, IRIX). You might want to install the \`Texinfo' package or
30.293 + the \`GNU make' package. Grab either from any GNU archive site."
30.294 + # The file to touch is that specified with -o ...
30.295 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
30.296 + if test -z "$file"; then
30.297 + # ... or it is the one specified with @setfilename ...
30.298 + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
30.299 + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
30.300 + # ... or it is derived from the source name (dir/f.texi becomes f.info)
30.301 + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
30.302 + fi
30.303 + # If the file does not exist, the user really needs makeinfo;
30.304 + # let's fail without touching anything.
30.305 + test -f $file || exit 1
30.306 + touch $file
30.307 + ;;
30.308 +
30.309 + tar)
30.310 + shift
30.311 +
30.312 + # We have already tried tar in the generic part.
30.313 + # Look for gnutar/gtar before invocation to avoid ugly error
30.314 + # messages.
30.315 + if (gnutar --version > /dev/null 2>&1); then
30.316 + gnutar "$@" && exit 0
30.317 + fi
30.318 + if (gtar --version > /dev/null 2>&1); then
30.319 + gtar "$@" && exit 0
30.320 + fi
30.321 + firstarg="$1"
30.322 + if shift; then
30.323 + case "$firstarg" in
30.324 + *o*)
30.325 + firstarg=`echo "$firstarg" | sed s/o//`
30.326 + tar "$firstarg" "$@" && exit 0
30.327 + ;;
30.328 + esac
30.329 + case "$firstarg" in
30.330 + *h*)
30.331 + firstarg=`echo "$firstarg" | sed s/h//`
30.332 + tar "$firstarg" "$@" && exit 0
30.333 + ;;
30.334 + esac
30.335 + fi
30.336 +
30.337 + echo 1>&2 "\
30.338 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
30.339 + You may want to install GNU tar or Free paxutils, or check the
30.340 + command line arguments."
30.341 + exit 1
30.342 + ;;
30.343 +
30.344 + *)
30.345 + echo 1>&2 "\
30.346 +WARNING: \`$1' is needed, and is $msg.
30.347 + You might have modified some files without having the
30.348 + proper tools for further handling them. Check the \`README' file,
30.349 + it often tells you about the needed prerequisites for installing
30.350 + this package. You may also peek at any GNU archive site, in case
30.351 + some other package would contain this missing \`$1' program."
30.352 + exit 1
30.353 + ;;
30.354 +esac
30.355 +
30.356 +exit 0
30.357 +
30.358 +# Local variables:
30.359 +# eval: (add-hook 'write-file-hooks 'time-stamp)
30.360 +# time-stamp-start: "scriptversion="
30.361 +# time-stamp-format: "%:y-%02m-%02d.%02H"
30.362 +# time-stamp-end: "$"
30.363 +# End:
31.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
31.2 +++ b/gst-gpac/src/Makefile.am Thu Feb 21 17:44:16 2008 +0000
31.3 @@ -0,0 +1,18 @@
31.4 +plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
31.5 +
31.6 +plugin_LTLIBRARIES = libgstgpac.la
31.7 +
31.8 +libgstgpac_la_SOURCES = \
31.9 + gpacmux.c
31.10 +
31.11 +libgstgpac_la_CFLAGS = \
31.12 + $(GST_CFLAGS) \
31.13 + $(GST_BASE_CFLAGS)
31.14 +
31.15 +libgstgpac_la_LDFLAGS = \
31.16 + $(GST_PLUGIN_LDFLAGS) -lgpac
31.17 +
31.18 +libgstgpac_la_LIBADD = \
31.19 + $(GST_LIBS) \
31.20 + $(GST_BASE_LIBS) -lgpac
31.21 +
32.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
32.2 +++ b/gst-gpac/src/gpacmux.c Thu Feb 21 17:44:16 2008 +0000
32.3 @@ -0,0 +1,604 @@
32.4 +
32.5 +#ifdef HAVE_CONFIG_H
32.6 +#include "config.h"
32.7 +#endif
32.8 +
32.9 +#include <gst/gst.h>
32.10 +#include <gst/base/gstcollectpads.h>
32.11 +
32.12 +#include <stdlib.h>
32.13 +#include <string.h>
32.14 +
32.15 +/* gpac includes */
32.16 +#include <gpac/isomedia.h>
32.17 +
32.18 +#define GST_TYPE_GPAC_MUX (gst_gpac_mux_get_type())
32.19 +#define GST_GPAC_MUX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GPAC_MUX, GstGpacMux))
32.20 +#define GST_GPAC_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GPAC_MUX, GstGpacMux))
32.21 +#define GST_IS_GPAC_MUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GPAC_MUX))
32.22 +#define GST_IS_GPAC_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GPAC_MUX))
32.23 +
32.24 +typedef struct _GstGpacMux GstGpacMux;
32.25 +typedef struct _GstGpacMuxClass GstGpacMuxClass;
32.26 +
32.27 +typedef enum
32.28 +{
32.29 + GST_GPAC_PAD_STATE_CONTROL = 0,
32.30 + GST_GPAC_PAD_STATE_DATA = 1
32.31 +}
32.32 +GstGpacPadState;
32.33 +
32.34 +typedef struct
32.35 +{
32.36 + GstCollectData collect; /* we extend the CollectData */
32.37 +
32.38 + gint track_number;
32.39 + guint32 di; /* outDescriptionIndex */
32.40 +
32.41 + guint32 frame_count;
32.42 + gboolean is_video;
32.43 +
32.44 +} GstGpacPad;
32.45 +
32.46 +struct _GstGpacMux
32.47 +{
32.48 + GstElement element;
32.49 +
32.50 + GstPad *srcpad;
32.51 + GstCollectPads *collect;
32.52 +
32.53 + GF_ISOFile *file;
32.54 +
32.55 +};
32.56 +
32.57 +struct _GstGpacMuxClass
32.58 +{
32.59 + GstElementClass parent_class;
32.60 +};
32.61 +
32.62 +/* elementfactory information */
32.63 +static const GstElementDetails gst_gpac_mux_details =
32.64 +GST_ELEMENT_DETAILS ("Gpac muxer",
32.65 + "Codec/Muxer",
32.66 + "mux mp4 streams",
32.67 + "Hallyson Melo <hallyson.melo@indt.org.br");
32.68 +
32.69 +/* GpacMux signals and args */
32.70 +enum
32.71 +{
32.72 + /* FILL ME */
32.73 + LAST_SIGNAL
32.74 +};
32.75 +
32.76 +static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
32.77 + GST_PAD_SRC,
32.78 + GST_PAD_ALWAYS,
32.79 + GST_STATIC_CAPS ("video/quicktime")
32.80 + );
32.81 +
32.82 +static GstStaticPadTemplate audio_sink_factory = GST_STATIC_PAD_TEMPLATE ("audio_%d",
32.83 + GST_PAD_SINK,
32.84 + GST_PAD_REQUEST,
32.85 + GST_STATIC_CAPS (
32.86 + "audio/mpeg, "
32.87 + "mpegversion = (int) 4, "
32.88 + "channels = (int) { 1, 2 }, "
32.89 + "rate = (int) [ 8000, 96000 ]")
32.90 + );
32.91 + //GST_STATIC_CAPS ("audio/mpeg, mpegversion = 1, layer = 3")
32.92 +
32.93 +static GstStaticPadTemplate video_sink_factory = GST_STATIC_PAD_TEMPLATE ("video_%d",
32.94 + GST_PAD_SINK,
32.95 + GST_PAD_REQUEST,
32.96 + GST_STATIC_CAPS ("video/mpeg, mpegversion = 4")
32.97 + );
32.98 +
32.99 +static void gst_gpac_mux_base_init (gpointer g_class);
32.100 +static void gst_gpac_mux_class_init (GstGpacMuxClass * klass);
32.101 +static void gst_gpac_mux_init (GstGpacMux * gpac_mux);
32.102 +static void gst_gpac_mux_finalize (GObject * object);
32.103 +
32.104 +static GstFlowReturn
32.105 +gst_gpac_mux_collected (GstCollectPads * pads, GstGpacMux * gpac_mux);
32.106 +
32.107 +static gboolean gst_gpac_mux_handle_src_event (GstPad * pad, GstEvent * event);
32.108 +static GstPad *gst_gpac_mux_request_new_pad (GstElement * element,
32.109 + GstPadTemplate * templ, const gchar * name);
32.110 +static void gst_gpac_mux_release_pad (GstElement * element, GstPad * pad);
32.111 +
32.112 +static GstStateChangeReturn gst_gpac_mux_change_state (GstElement * element,
32.113 + GstStateChange transition);
32.114 +
32.115 +static GstElementClass *parent_class = NULL;
32.116 +
32.117 +GType
32.118 +gst_gpac_mux_get_type (void)
32.119 +{
32.120 + static GType gpac_mux_type = 0;
32.121 +
32.122 + if (G_UNLIKELY (gpac_mux_type == 0)) {
32.123 + static const GTypeInfo gpac_mux_info = {
32.124 + sizeof (GstGpacMuxClass),
32.125 + gst_gpac_mux_base_init,
32.126 + NULL,
32.127 + (GClassInitFunc) gst_gpac_mux_class_init,
32.128 + NULL,
32.129 + NULL,
32.130 + sizeof (GstGpacMux),
32.131 + 0,
32.132 + (GInstanceInitFunc) gst_gpac_mux_init,
32.133 + };
32.134 +
32.135 + gpac_mux_type =
32.136 + g_type_register_static (GST_TYPE_ELEMENT, "GstGpacMux", &gpac_mux_info,
32.137 + 0);
32.138 + }
32.139 + return gpac_mux_type;
32.140 +}
32.141 +
32.142 +static void
32.143 +gst_gpac_mux_base_init (gpointer g_class)
32.144 +{
32.145 + GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
32.146 +
32.147 + gst_element_class_add_pad_template (element_class,
32.148 + gst_static_pad_template_get (&src_factory));
32.149 + gst_element_class_add_pad_template (element_class,
32.150 + gst_static_pad_template_get (&audio_sink_factory));
32.151 + gst_element_class_add_pad_template (element_class,
32.152 + gst_static_pad_template_get (&video_sink_factory));
32.153 +
32.154 + gst_element_class_set_details (element_class, &gst_gpac_mux_details);
32.155 +}
32.156 +
32.157 +static void
32.158 +gst_gpac_mux_class_init (GstGpacMuxClass * klass)
32.159 +{
32.160 + GObjectClass *gobject_class;
32.161 + GstElementClass *gstelement_class;
32.162 +
32.163 + gobject_class = (GObjectClass *) klass;
32.164 + gstelement_class = (GstElementClass *) klass;
32.165 +
32.166 + parent_class = g_type_class_peek_parent (klass);
32.167 +
32.168 + gobject_class->finalize = gst_gpac_mux_finalize;
32.169 +
32.170 + gstelement_class->request_new_pad = gst_gpac_mux_request_new_pad;
32.171 + gstelement_class->release_pad = gst_gpac_mux_release_pad;
32.172 +
32.173 + gstelement_class->change_state = gst_gpac_mux_change_state;
32.174 +
32.175 +}
32.176 +
32.177 +static void
32.178 +gst_gpac_mux_init (GstGpacMux * gpac_mux)
32.179 +{
32.180 + GstElementClass *klass = GST_ELEMENT_GET_CLASS (gpac_mux);
32.181 +
32.182 + gpac_mux->srcpad =
32.183 + gst_pad_new_from_template (gst_element_class_get_pad_template (klass,
32.184 + "src"), "src");
32.185 + gst_pad_set_event_function (gpac_mux->srcpad, gst_gpac_mux_handle_src_event);
32.186 + gst_element_add_pad (GST_ELEMENT (gpac_mux), gpac_mux->srcpad);
32.187 +
32.188 + gpac_mux->collect = gst_collect_pads_new ();
32.189 + gst_collect_pads_set_function (gpac_mux->collect,
32.190 + (GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_gpac_mux_collected),
32.191 + gpac_mux);
32.192 +
32.193 + /* Opens gpac library */
32.194 + /* FIXME */
32.195 + gpac_mux->file = gf_isom_open("/tmp/gpac.mp4", GF_ISOM_OPEN_WRITE, NULL);
32.196 + gf_isom_set_storage_mode(gpac_mux->file, GF_ISOM_STORE_FLAT /*STREAMABLE*/);
32.197 +
32.198 + //gst_gpac_mux_clear (gpac_mux);
32.199 +}
32.200 +
32.201 +static void
32.202 +gst_gpac_mux_finalize (GObject * object)
32.203 +{
32.204 + GstGpacMux *gpac_mux;
32.205 +
32.206 + gpac_mux = GST_GPAC_MUX (object);
32.207 +
32.208 + if (gpac_mux->collect) {
32.209 + gst_object_unref (gpac_mux->collect);
32.210 + gpac_mux->collect = NULL;
32.211 + }
32.212 +
32.213 + G_OBJECT_CLASS (parent_class)->finalize (object);
32.214 +}
32.215 +
32.216 +static void
32.217 +gst_gpac_mux_gpac_pad_destroy_notify (GstCollectData * data)
32.218 +{
32.219 + GstGpacPad *gpacpad = (GstGpacPad *) data;
32.220 + GstBuffer *buf;
32.221 +
32.222 +/* if (gpacpad->pagebuffers) {
32.223 + while ((buf = g_queue_pop_head (gpacpad->pagebuffers)) != NULL) {
32.224 + gst_buffer_unref (buf);
32.225 + }
32.226 + g_queue_free (gpacpad->pagebuffers);
32.227 + gpacpad->pagebuffers = NULL;
32.228 + }*/
32.229 +}
32.230 +
32.231 +static GstPadLinkReturn
32.232 +gst_gpac_mux_sinkconnect (GstPad * pad, GstPad * peer)
32.233 +{
32.234 + GstGpacMux *gpac_mux;
32.235 +
32.236 + gpac_mux = GST_GPAC_MUX (gst_pad_get_parent (pad));
32.237 +
32.238 + GST_DEBUG_OBJECT (gpac_mux, "sinkconnect triggered on %s", GST_PAD_NAME (pad));
32.239 +
32.240 + gst_object_unref (gpac_mux);
32.241 +
32.242 + return GST_PAD_LINK_OK;
32.243 +}
32.244 +
32.245 +static GstPad *
32.246 +gst_gpac_mux_request_new_pad (GstElement * element,
32.247 + GstPadTemplate * templ, const gchar * req_name)
32.248 +{
32.249 + GstGpacMux *gpac_mux;
32.250 + GstPad *newpad;
32.251 + GstElementClass *klass;
32.252 + gchar *padname = NULL;
32.253 + gint serial;
32.254 + gboolean is_video = FALSE;
32.255 +
32.256 + g_return_val_if_fail (templ != NULL, NULL);
32.257 +
32.258 + if (templ->direction != GST_PAD_SINK)
32.259 + goto wrong_direction;
32.260 +
32.261 + g_return_val_if_fail (GST_IS_GPAC_MUX (element), NULL);
32.262 + gpac_mux = GST_GPAC_MUX (element);
32.263 +
32.264 + klass = GST_ELEMENT_GET_CLASS (element);
32.265 +
32.266 + if (req_name == NULL || strlen (req_name) < 6) {
32.267 + /* no name given when requesting the pad, use random serial number */
32.268 + serial = rand ();
32.269 + } else {
32.270 + /* parse serial number from requested padname */
32.271 + serial = atoi (&req_name[5]);
32.272 + }
32.273 +
32.274 + if (templ == gst_element_class_get_pad_template (klass, "video_%d")) {
32.275 + is_video = TRUE;
32.276 + padname = g_strdup_printf ("video_%d", serial);
32.277 + } else if (templ != gst_element_class_get_pad_template (klass, "audio_%d")) {
32.278 + goto wrong_template;
32.279 + } else {
32.280 + padname = g_strdup_printf ("audio_%d", serial);
32.281 + }
32.282 +
32.283 +
32.284 + {
32.285 +
32.286 + /* create new pad with the name */
32.287 + GST_DEBUG_OBJECT (gpac_mux, "Creating new pad for serial %d", serial);
32.288 + printf ("XXXX new pad from template\n");
32.289 + newpad = gst_pad_new_from_template (templ, padname);
32.290 + g_free (padname);
32.291 +
32.292 + /* construct our own wrapper data structure for the pad to
32.293 + * keep track of its status */
32.294 + {
32.295 + GstGpacPad *gpacpad;
32.296 +
32.297 + gpacpad = (GstGpacPad *)
32.298 + gst_collect_pads_add_pad_full (gpac_mux->collect, newpad,
32.299 + sizeof (GstGpacPad), gst_gpac_mux_gpac_pad_destroy_notify);
32.300 +
32.301 + /* gpac new track */
32.302 + gpacpad->is_video = is_video;
32.303 + if (gpacpad->is_video) {
32.304 + gpacpad->track_number = gf_isom_new_track(gpac_mux->file, 0,
32.305 + GF_ISOM_MEDIA_VISUAL, 10 * 1000 /* time scale */);
32.306 + } else {
32.307 + gpacpad->track_number = gf_isom_new_track(gpac_mux->file, 0,
32.308 + GF_ISOM_MEDIA_AUDIO, 48000 /*time scale */);
32.309 +
32.310 + }
32.311 + if (gpacpad->track_number == 0) {
32.312 + g_warning ("Error while adding the new gpac track");
32.313 + } else {
32.314 + gf_isom_set_track_enabled(gpac_mux->file, gpacpad->track_number, 1);
32.315 + if (is_video) {
32.316 + GF_ESD *esd = gf_odf_desc_esd_new (0);
32.317 + esd->ESID = gf_isom_get_track_id(gpac_mux->file, gpacpad->track_number);
32.318 +
32.319 + gf_isom_new_mpeg4_description( gpac_mux->file, gpacpad->track_number,
32.320 + esd, NULL, NULL, &(gpacpad->di));
32.321 +
32.322 + gf_isom_set_visual_info (gpac_mux->file, gpacpad->track_number, gpacpad->di, 320, 240);//fixme
32.323 + //gf_isom_set_cts_packing (gpac_mux->file, gpacpad->track_number, 0);
32.324 + } else {
32.325 + GF_ESD *esd = gf_odf_desc_esd_new (2);
32.326 + esd->ESID = gf_isom_get_track_id(gpac_mux->file, gpacpad->track_number);
32.327 +
32.328 + gf_isom_new_mpeg4_description(gpac_mux->file, gpacpad->track_number,
32.329 + esd, NULL, NULL, &(gpacpad->di));
32.330 +
32.331 + gf_isom_set_audio_info(gpac_mux->file, gpacpad->track_number,
32.332 + gpacpad->di, 48000, 2 /*num channels */, 16);
32.333 + }
32.334 + }
32.335 + }
32.336 + }
32.337 +
32.338 + /* setup some pad functions */
32.339 + gst_pad_set_link_function (newpad, gst_gpac_mux_sinkconnect);
32.340 + /* dd the pad to the element */
32.341 + gst_element_add_pad (element, newpad);
32.342 +
32.343 + return newpad;
32.344 +
32.345 + /* ERRORS */
32.346 +wrong_direction:
32.347 + {
32.348 + g_warning ("gpac_mux: request pad that is not a SINK pad\n");
32.349 + return NULL;
32.350 + }
32.351 +wrong_template:
32.352 + {
32.353 + g_warning ("gpac_mux: this is not our template!\n");
32.354 + return NULL;
32.355 + }
32.356 +}
32.357 +
32.358 +static void
32.359 +gst_gpac_mux_release_pad (GstElement * element, GstPad * pad)
32.360 +{
32.361 + GstGpacMux *gpac_mux;
32.362 +
32.363 + gpac_mux = GST_GPAC_MUX (gst_pad_get_parent (pad));
32.364 +
32.365 + gst_collect_pads_remove_pad (gpac_mux->collect, pad);
32.366 + gst_element_remove_pad (element, pad);
32.367 +}
32.368 +
32.369 +/* handle events */
32.370 +static gboolean
32.371 +gst_gpac_mux_handle_src_event (GstPad * pad, GstEvent * event)
32.372 +{
32.373 + GstEventType type;
32.374 +
32.375 + type = event ? GST_EVENT_TYPE (event) : GST_EVENT_UNKNOWN;
32.376 +
32.377 + switch (type) {
32.378 + case GST_EVENT_SEEK:
32.379 + /* disable seeking for now */
32.380 + return FALSE;
32.381 + default:
32.382 + break;
32.383 + }
32.384 +
32.385 + return gst_pad_event_default (pad, event);
32.386 +}
32.387 +
32.388 +static GstFlowReturn
32.389 +gst_gpac_mux_push_buffer (GstGpacMux * mux, GstBuffer * buffer)
32.390 +{
32.391 + GstCaps *caps;
32.392 +#if 0
32.393 + /* fix up OFFSET and OFFSET_END again */
32.394 + GST_BUFFER_OFFSET (buffer) = mux->offset;
32.395 + mux->offset += GST_BUFFER_SIZE (buffer);
32.396 + GST_BUFFER_OFFSET_END (buffer) = mux->offset;
32.397 +
32.398 + /* Ensure we have monotonically increasing timestamps in the output. */
32.399 + if (GST_BUFFER_TIMESTAMP_IS_VALID (buffer)) {
32.400 + if (mux->last_ts != GST_CLOCK_TIME_NONE &&
32.401 + GST_BUFFER_TIMESTAMP (buffer) < mux->last_ts)
32.402 + GST_BUFFER_TIMESTAMP (buffer) = mux->last_ts;
32.403 + else
32.404 + mux->last_ts = GST_BUFFER_TIMESTAMP (buffer);
32.405 + }
32.406 +#endif
32.407 +
32.408 + caps = gst_pad_get_negotiated_caps (mux->srcpad);
32.409 + gst_buffer_set_caps (buffer, caps);
32.410 + if (caps != NULL) {
32.411 + gst_caps_unref (caps);
32.412 + }
32.413 +
32.414 + return gst_pad_push (mux->srcpad, buffer);
32.415 +}
32.416 +
32.417 +static gboolean
32.418 +all_pads_eos (GstCollectPads * pads)
32.419 +{
32.420 + GSList *iter;
32.421 + gboolean alleos = TRUE;
32.422 +
32.423 + iter = pads->data;
32.424 + while (iter) {
32.425 + GstBuffer *buf;
32.426 + GstCollectData *data = (GstCollectData *) iter->data;
32.427 +
32.428 + buf = gst_collect_pads_peek (pads, data);
32.429 + if (buf) {
32.430 + alleos = FALSE;
32.431 + gst_buffer_unref (buf);
32.432 + goto beach;
32.433 + }
32.434 + iter = iter->next;
32.435 + }
32.436 +beach:
32.437 + return alleos;
32.438 +}
32.439 +
32.440 +static GstFlowReturn
32.441 +gst_gpac_mux_collected (GstCollectPads * pads, GstGpacMux * gpac_mux)
32.442 +{
32.443 + GstFlowReturn ret = GST_FLOW_OK;
32.444 + GSList *iter;
32.445 + GstBuffer *buf;
32.446 + gint i = 0;
32.447 +
32.448 + GST_LOG_OBJECT (gpac_mux, "collected");
32.449 +
32.450 + iter = gpac_mux->collect->data;
32.451 + while (iter) {
32.452 + GstCollectData *data = (GstCollectData *) iter->data;
32.453 + GstGpacPad *pad = (GstGpacPad *) data;
32.454 +
32.455 + buf = gst_collect_pads_pop (gpac_mux->collect, data);
32.456 + if (buf == NULL) {
32.457 + iter = g_slist_next (iter);
32.458 + continue;
32.459 + }
32.460 + GST_LOG_OBJECT (data->pad, "popped buffer %" GST_PTR_FORMAT, buf);
32.461 +
32.462 + /* gpac output */
32.463 + printf ("xxxxxx buffer size: %d\n", GST_BUFFER_SIZE(buf)); fflush (stdout);
32.464 + if (pad->frame_count < 300) {
32.465 + GF_ISOSample *sample = gf_isom_sample_new();
32.466 +
32.467 + sample->dataLength = GST_BUFFER_SIZE(buf);
32.468 + sample->data = GST_BUFFER_DATA(buf);
32.469 + sample->CTS_Offset = 0;
32.470 +
32.471 + if (pad->is_video) {
32.472 + sample->IsRAP = 0;
32.473 + sample->DTS += 1000*pad->frame_count;
32.474 + } else {
32.475 + sample->IsRAP = 0;
32.476 + sample->DTS = 2048*pad->frame_count;
32.477 + }
32.478 +
32.479 + gf_isom_add_sample(gpac_mux->file, pad->track_number,
32.480 + pad->di, sample);
32.481 + sample->data = NULL;
32.482 +
32.483 + gf_isom_sample_del(&sample);
32.484 +
32.485 + printf ("xxxx frames %d\n", pad->frame_count);
32.486 +
32.487 + } else if (pad->frame_count == 300) {
32.488 + printf ("XXX closing gpac output file\n"); fflush (stdout);
32.489 + gf_isom_close (gpac_mux->file);
32.490 + }
32.491 +
32.492 + /* gstreamer output (push) */
32.493 + if (gst_gpac_mux_push_buffer (gpac_mux, buf) != GST_FLOW_OK) {
32.494 + printf ("EEEEEEEE push failed\n");
32.495 + }
32.496 +
32.497 + iter = g_slist_next (iter);
32.498 + pad->frame_count++;
32.499 + i++;
32.500 + }
32.501 +
32.502 + /* fixme */
32.503 + return ret;
32.504 +}
32.505 +
32.506 +/* reset all variables in the gpac pads. */
32.507 +static void
32.508 +gst_gpac_mux_init_collectpads (GstCollectPads * collect)
32.509 +{
32.510 + GSList *walk;
32.511 +
32.512 + walk = collect->data;
32.513 + while (walk) {
32.514 + GstGpacPad *gpacpad = (GstGpacPad *) walk->data;
32.515 +
32.516 + //ogg_stream_init (&gpacpad->stream, gpacpad->serial);
32.517 + //gpacpad->packetno = 0;
32.518 + //gpacpad->pageno = 0;
32.519 + //gpacpad->eos = FALSE;
32.520 + /* we assume there will be some control data first for this pad */
32.521 + //gpacpad->state = GST_GPAC_PAD_STATE_CONTROL;
32.522 + //gpacpad->new_page = TRUE;
32.523 + //gpacpad->first_delta = FALSE;
32.524 + //gpacpad->prev_delta = FALSE;
32.525 + //gpacpad->pagebuffers = g_queue_new ();
32.526 +
32.527 + walk = g_slist_next (walk);
32.528 + }
32.529 +}
32.530 +
32.531 +/* Clear all buffers from the collectpads object */
32.532 +static void
32.533 +gst_gpac_mux_clear_collectpads (GstCollectPads * collect)
32.534 +{
32.535 + GSList *walk;
32.536 +
32.537 + for (walk = collect->data; walk; walk = g_slist_next (walk)) {
32.538 + GstGpacPad *gpacpad = (GstGpacPad *) walk->data;
32.539 + GstBuffer *buf;
32.540 +
32.541 + //gpac_stream_clear (&gpacpad->stream);
32.542 +/*
32.543 + while ((buf = g_queue_pop_head (gpacpad->pagebuffers)) != NULL) {
32.544 + gst_buffer_unref (buf);
32.545 + }
32.546 + g_queue_free (gpacpad->pagebuffers);
32.547 + gpacpad->pagebuffers = NULL;*/
32.548 + }
32.549 +}
32.550 +
32.551 +static GstStateChangeReturn
32.552 +gst_gpac_mux_change_state (GstElement * element, GstStateChange transition)
32.553 +{
32.554 + GstGpacMux *gpac_mux;
32.555 + GstStateChangeReturn ret;
32.556 +
32.557 + gpac_mux = GST_GPAC_MUX (element);
32.558 +
32.559 + switch (transition) {
32.560 + case GST_STATE_CHANGE_NULL_TO_READY:
32.561 + break;
32.562 + case GST_STATE_CHANGE_READY_TO_PAUSED:
32.563 + //gst_gpac_mux_clear (gpac_mux);
32.564 + //gst_gpac_mux_init_collectpads (gpac_mux->collect);
32.565 + gst_collect_pads_start (gpac_mux->collect);
32.566 + break;
32.567 + case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
32.568 + break;
32.569 + case GST_STATE_CHANGE_PAUSED_TO_READY:
32.570 + gst_collect_pads_stop (gpac_mux->collect);
32.571 + break;
32.572 + default:
32.573 + break;
32.574 + }
32.575 +
32.576 + ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
32.577 +
32.578 + switch (transition) {
32.579 + case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
32.580 + break;
32.581 + case GST_STATE_CHANGE_PAUSED_TO_READY:
32.582 + gst_gpac_mux_clear_collectpads (gpac_mux->collect);
32.583 + break;
32.584 + case GST_STATE_CHANGE_READY_TO_NULL:
32.585 + break;
32.586 + default:
32.587 + break;
32.588 + }
32.589 +
32.590 + return ret;
32.591 +
32.592 +}
32.593 +
32.594 +static gboolean
32.595 +gst_gpac_mux_plugin_init (GstPlugin * plugin)
32.596 +{
32.597 + return gst_element_register (plugin, "gpacmux", GST_RANK_NONE,
32.598 + GST_TYPE_GPAC_MUX);
32.599 +}
32.600 +
32.601 +GST_PLUGIN_DEFINE(GST_VERSION_MAJOR,
32.602 + GST_VERSION_MINOR,
32.603 + "gpacmux",
32.604 + "Muxes audio and video",
32.605 + gst_gpac_mux_plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME,
32.606 + GST_PACKAGE_ORIGIN)
32.607 +